Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Newer edit →
Useful Commands
(view source)
Revision as of 06:45, 19 June 2015
119 bytes added
,
06:45, 19 June 2015
→Check a specific user in LDAP catalogue
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==
Stephdl
Administrators
5,576
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search