[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: What DN (user name) I should use for connecting to ldap server?



On 06/21/10 15:42, sam wrote:
> Hi,
> 
> I have ldap server started up in freebsd.
> I tried to test it with Apache Directory Studio.
> When I open a New Connection in the Studio, it asks for User name.
> I entered "root" as user name, then go for the connection...
> 
> However I got following error message in ldap log file:
> 
> 
> Jun 21 23:14:51 hometest slapd[2417]: conn=1005 fd=11 ACCEPT from
> IP=192.168.1.100:57297 (IP=192.168.1.20:389)
> Jun 21 23:14:51 hometest slapd[2417]: conn=1005 op=0 do_bind: invalid dn
> (root)
> Jun 21 23:14:51 hometest slapd[2417]: conn=1005 op=0 RESULT tag=97
> err=34 text=invalid DN
> Jun 21 23:14:51 hometest slapd[2417]: conn=1005 fd=11 closed (connection
> lost)
> 
> 
> What value of DN I should enter in the ldap browser (Apache Directory
> Studio) in order to connect to the ldap server?
> 
> I have ldap listening to the following ports:
> hometest:openldap # netstat -an | egrep '389|636'
> tcp4       0      0 192.168.1.20.636       *.*                    LISTEN
> tcp4       0      0 192.168.1.20.389       *.*                    LISTEN
> 
> 
> Your help is much appreciated
> 
> Thanks
> Sam
> 
> 

cn=Manager,dc=mydomain,dc=tld

replace values according to your slapd.conf

Regards,
Zdenek

-- 
Zdenek Styblik
Net/Linux admin
OS TurnovFree.net
email: stybla@turnovfree.net
jabber: stybla@jabber.turnovfree.net