Re: Auth ldap Active directory
Adam Tauno Williams <[email protected]> Wed, 06 May 2009 13:24:02 -0400
| Newsgroups | gmane.comp.cms.opengroupware.user |
|---|---|
| Message-ID | <1241630642.6083.5.camel@linux-m3mt> |
On Wed, 2009-05-06 at 12:14 -0400, Dirk Bartley wrote:
> Greetings
> Attempting to set up ldap authentication against active directory.
> Issue. How to get a dn into Defaults
> -bash-3.2$ Defaults write Defaults LDAPInitialBindDN
> 'cn=Administrator,cn=Users,dc=schupan,dc=com'
Nested quotes, the shell eats the outer quotes.
go@linux-m3mt:~> Defaults write NSGlobalDomain LDAPInitialBindDN
'"cn=fred,dc=example,dc=com"'
ogo@linux-m3mt:~> Defaults read NSGlobalDomain LDAPInitialBindDN
cn=fred,dc=example,dc=com
And it should be "Defaults write NSGlobalDomain" not "Defaults write
Defaults"; the first parameter after write is the application domain and
NSGlobalDomain is the domain shared by all the applications. First they
load NSGlobalDomain then they overlay their own domain (for example
'ogo-xmlrpcd-1.1').
> -bash-3.2$ Defaults read Defaults
> {
> LDAPInitialBindDN = cn;
> LDAPInitialBindPW = whopper;
> LDAPInitialBindSpecific = YES;
> LSAuthLDAPServer = "192.168.10.242";
> LSAuthLDAPServerPort = 389;
> LSAuthLDAPServerRoot = cn;
> }
> -bash-3.2$ man defaults
> No manual entry for defaults
I think it is covered in WMOGAG (pg. 21 if your looking at version
preM).
> What am I looking to put into LSAuthLDAPServerRoot? Is this the search
> base??
yes.
--
OpenGroupware.org Users
[email protected]
http://mail.opengroupware.org/mailman/listinfo/users