Added examples of hashed values for ldap_filters and ldap_maps.

This commit is contained in:
Schonecker, Brian 2015-11-20 11:51:03 -05:00
parent d60a4a2d8a
commit c15931024c

View File

@ -37,9 +37,22 @@ 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_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*