Hi again i followed your script with the apprpriate modifications and i got
the following message while i was runiing it:
ldap_initialize (<default>)
replace modify:
userPassword
replce userPassword:
modifying entry "uid alien,ou=accounts,dc=koutcons,dc=gr"
ldap_modify: Undefined info: modify: attribute type undefined
ldif_record() = 17
any ideas?
:)
Thanx again
Regards,
John Lazos
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:courier-users-admin@;lists.sourceforge.net]On Behalf Of Zenon
Panoussis
Sent: Friday, October 11, 2002 8:14 AM
To: [EMAIL PROTECTED]
Subject: Re: [courier-users] auth problem
John Lazos wrote:
>
> 3. Is is possible LDAP is returning a crypted password when you need the
> plaintext, or vice-versa?
If you are having problems authenticating against LDAP, it might very
well be because of the encryption hash. LDAP defaults to SSHA and courier
doesn't appear to be too fond of it. Try MD5 instead:
====
while [ "$user" != "telos" ]
do
echo "username (or \"telos\" to exit): "
read user
if [ "$user" != "telos" ]
then
echo "password: "
read password
hash=`slappasswd -v -h {md5} -s $password`
cat<<EOF>>modify.ldif
dn: uid=$user,ou=users,dc=koutcons,dc=gr
changetype: modify
modify: userPassword
userPassword: $hash
EOF
fi
done
ldapmodify -x -v -h localhost -D "cn=manager,dc=koutcons,dc=gr" -c -w
secret -f modify.ldif
====
Or something similar. Forgive my indentation.
Z
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users