Added examples of hashed values for ldap_filters and ldap_maps.
This commit is contained in:
parent
d60a4a2d8a
commit
c15931024c
17
README.md
17
README.md
@ -35,11 +35,24 @@ However, we recommend that you declare the class and override a few parameters:
|
||||
|
||||
```
|
||||
class { 'nslcd':
|
||||
ldap_uris => ['ldap://ldap.mycompany.com'],
|
||||
ldap_ssl => 'on',
|
||||
ldap_uris => ['ldap://ldap.mycompany.com'],
|
||||
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
|
||||
|
||||
*todo*
|
||||
|
Loading…
Reference in New Issue
Block a user