[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Query: simple authenticated bind request
- To: openldap-technical@openldap.org
- Subject: Query: simple authenticated bind request
- From: Vinay Kalkoti <kalkoti.vinay@gmail.com>
- Date: Tue, 3 Aug 2010 18:20:25 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=xZ+gXQmpFioaYp7rKeiAQm6eR0o4JXBxr7spzAi9LMA=; b=orHPxohLvpkZc7SYb90R9vNHxJIVwPnUn4oN9akaXjfqi34HlS+92gTL4mqCi6skCG ww9q26LA1uXh1hkmC6UP2O4c/WuiTU+5yMJFxYedLXd33MecY+qYaY9ZCwIjzt7JrHJu 0SMUr+cVEvEZZCSpF90nYUrLc2SSXw90NsOQE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wlUD6MMGS//2fE6b1qxMtCMITOyGICnmtcvNzqTYkJxHiV+LKB0Wenvo/1vtFZ3Oj0 NGgrO4KbX1eXmtBWs8RnjgLvFIJk3SErWB+RSwTSBpK7qrn4uMn/rrzYmy512o7fQYPs tfkdtnNfOfEwWIM9gqbxvqJLKkx+E8hmvhmC4=
Hi,
I am trying to setup OpenLDAP client with user/password authenticated
bind to authenticate against an OpenLDAP server.
This is how my /etc/ldap.conf look like
host xx.xx.xx.xx
base dc=my_comp,dc=com
bind_policy soft
pam_lookup_policy yes
pam_password exop
nss_initgroups_ignoreusers root,ldap
nss_schema rfc2307bis
nss_map_attribute uniqueMember member
ldap_version 3
pam_filter objectClass=posixAccount
tls_checkpeer no
#ssl on
ssl no
binddn cn=Administrator,dc=my_comp,dc=com <============ I am giving
the root DN
bindpw Administrator
scope sub
If I give the root DN, it works, But, if I give a non-root DN in
binddn, I get "invalid credentials (49)" error.
Does OpenLDAP server always require root DN for binding ?.
Is there a way to provide non-root DN for binddn ?
Thanks,
Vinay