Hi once more....my problem solved...
you wrote me:

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

i used only:
hash=`slappasswd -v -h {md5} -s $password`
cat<<EOF>>modify.ldif
dn: uid=$user,ou=accounts,dc=koutcons,dc=gr
changetype: modify

userPassword: $hash


Thanks a lot for your help  :)).

Regards
John Lazos

Koutoudis Consulting

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:courier-users-admin@;lists.sourceforge.net]On Behalf Of Zenon
Panoussis
Sent: Friday, October 11, 2002 3:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [courier-users] auth problem




John Lazos wrote:

> modifying entry "uid alien,ou=accounts,dc=koutcons,dc=gr"

I assume that's a typo. It should read
"uid=alien,ou=accounts,dc=koutcons,dc=gr" ,
with an equal sign ...................here.^

> ldap_modify: Undefined info: modify: attribute type undefined

Possibilities:

1. You are not using (a schema with) the userPassword attribute.
    Look in /etc/[ldap]/slapd.conf to see if core.schema is included.
    Do ldapsearch -x -D "[admindn]" -b "dc=koutcons,dc=gr" -W uid=*
    to see the same on the command line.
2. You have a typo/error in your ldapmodify command in the script.
    Is admin really called manager? Is it cn=manager or uid=manager?
    Copy/paste the -D argument from your rootdn line in slapd.conf.

Install and run GQ to see what your LDAP structure looks like and
what exactly needs to be changed.

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

Reply via email to