ldap: Fixed group attribute mappings for older Ubuntu versions (<12.04).
This commit is contained in:
parent
3760f961f5
commit
8896fa28f8
1 changed files with 2 additions and 2 deletions
|
@ -16,12 +16,12 @@ map passwd gecos displayName
|
|||
map passwd loginShell "${loginShell:-/bin/bash}"
|
||||
map passwd homeDirectory "${unixHomeDirectory:-/home/$sAMAccountName}"
|
||||
filter group (&(objectClass=group)(gidNumber=*))
|
||||
<% if @operatingsystem == "CentOS" -%>
|
||||
<% if @operatingsystem == "CentOS" or (@operatingsystem == "Ubuntu" and scope.function_versioncmp([@operatingsystemrelease, '12.04']) < 0) -%>
|
||||
map group uniqueMember member
|
||||
<% end -%>
|
||||
<% else -%>
|
||||
pagesize 500
|
||||
<% if @operatingsystem != "CentOS" -%>
|
||||
<% if @operatingsystem != "CentOS" and (@operatingsystem == "Ubuntu" and scope.function_versioncmp([@operatingsystemrelease, '12.04']) >= 0) -%>
|
||||
map group member uniqueMember
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
|
|
Loading…
Add table
Reference in a new issue