Ldap notes: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
No edit summary |
|||
Line 2: | Line 2: | ||
/opt/zimbra/bin/ldapsearch -x -H 'ldap://server:389' -w X -D uid=zimbra,cn=admins,cn=zimbra -b '' '(objectclass=zimbraAccount)' | /opt/zimbra/bin/ldapsearch -x -H 'ldap://server:389' -w X -D uid=zimbra,cn=admins,cn=zimbra -b '' '(objectclass=zimbraAccount)' | ||
/opt/zimbra/bin/ldapsearch -x -H 'ldap://server:389' -w X -D uid=zimbra,cn=admins,cn=zimbra -b '' '(uid=david.thornton)' | /opt/zimbra/bin/ldapsearch -x -H 'ldap://server:389' -w X -D uid=zimbra,cn=admins,cn=zimbra -b '' '(uid=david.thornton)' | ||
Revision as of 19:07, 19 October 2012
Searches
/opt/zimbra/bin/ldapsearch -x -H 'ldap://server:389' -w X -D uid=zimbra,cn=admins,cn=zimbra -b '(objectclass=zimbraAccount)'
/opt/zimbra/bin/ldapsearch -x -H 'ldap://server:389' -w X -D uid=zimbra,cn=admins,cn=zimbra -b '(uid=david.thornton)'
mod_authz_ldap config
(with zimbra)
LoadModule authz_ldap_module modules/mod_authz_ldap.so <IfModule mod_authz_ldap.c> <Location /private> # AuthzLDAPEngine on AuthzLDAPBindDN uid=zimbra,cn=admins,cn=zimbra AuthzLDAPBindPassword X AuthzLDAPServer server # Comment out to search the hwole DIT # AuthzLDAPUserBase ou=people,dc=domain,dc=ca AuthzLDAPUserKey zimbraMailDeliveryAddress AuthzLDAPUserScope subtree AuthzLDAPMethod ldap AuthType basic AuthName "Zimbra" AuthGroupFile /dev/null require valid-user </Location> </IfModule>