Control: tags -1 + moreinfo unreproducible

Hello Dean,

I'm sorry no one has answered your report until now.

On 03/05/11 01:50 PM, Dean Rantala wrote:
Passing the -y option (read password from file) causes failure to bind.

Example:

ldapadd -x -D 'cn=admin,dc=example,dc=com' -y /etc/pam_ldap.secret < input.ldif

However, the following will work:

ldapadd -x -D 'cn=admin,dc=example,dc=com' -w `cat /etc/pam_ldap.secret` < 
input.ldif

Regarding my pam_ldap.secret file:

1) It is owned by root
2) It has permissions 600 set
3) It has no cr/lf at the end of the file (double checked with a hex editor)
4) I am running these commands as root

I can't reproduce this, based on your report:

# dpkg-query -W ldap-utils
ldap-utils      2.4.23-7.3
# od -c /etc/pam_ldap.secret
0000000   a   d   m   i   n   p   w
0000007
# ldapwhoami -x -D cn=admin,dc=example,dc=com -y /etc/pam_ldap.secret
dn:cn=admin,dc=example,dc=com

If you are still having this problem, can you provide any more information that would help with diagnosing it?

thanks,
Ryan


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to