Changes

From SME Server
Jump to navigationJump to search
119 bytes added ,  06:45, 19 June 2015
Line 567: Line 567:  
'''for sme8'''
 
'''for sme8'''
 
   ldapsearch -x -D cn=root,dc=mycompany,dc=local -w $(cat /etc/ldap.secret) -b ou=Users,dc=mycompany,dc=local "uid=stephane"
 
   ldapsearch -x -D cn=root,dc=mycompany,dc=local -w $(cat /etc/ldap.secret) -b ou=Users,dc=mycompany,dc=local "uid=stephane"
 +
 +
===Retrieve the ldap base===
 +
in a template you can do
 +
  baseDN = "ou=Users,{ esmith::util::ldapBase($DomainName); }";
    
==Log==
 
==Log==

Navigation menu