Added examples of hashed values for ldap_filters and ldap_maps.
This commit is contained in:
parent
d60a4a2d8a
commit
c15931024c
13
README.md
13
README.md
@ -37,9 +37,22 @@ However, we recommend that you declare the class and override a few parameters:
|
|||||||
class { 'nslcd':
|
class { 'nslcd':
|
||||||
ldap_uris => ['ldap://ldap.mycompany.com'],
|
ldap_uris => ['ldap://ldap.mycompany.com'],
|
||||||
ldap_ssl => 'on',
|
ldap_ssl => 'on',
|
||||||
|
ldap_filters => { group => '(&(objectClass=group)(gidNumber=*))',
|
||||||
|
passwd => '(&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*))',
|
||||||
|
shadow => '(&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*))',
|
||||||
|
},
|
||||||
|
ldap_maps => { group => 'uniqueMember member',
|
||||||
|
passwd => ['homedirectory unixHomeDirectory', 'uid sAMAccountName', 'gecos displayName', ],
|
||||||
|
shadow => ['shadowLastChange pwdLastSet', 'uid sAMAccountName', ],
|
||||||
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Reference
|
## Reference
|
||||||
|
|
||||||
*todo*
|
*todo*
|
||||||
|
Loading…
Reference in New Issue
Block a user