-----Original Message-----
From: John Lazos [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 1:23 PM
To: Mike Jackson
Subject: RE: Need Help!!!
-----Original Message-----
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 11, 2002 1:07 PM
To: [EMAIL PROTECTED]
Subject: Re: Need Help!!!
John Lazos ([EMAIL PROTECTED]) wrote:
> Hi,
>
> i 'm trying to change the password of a user to {md5} and i'm using the
> following script:
>
> MUID=alien
> PASS=123456
> hash= slappasswd -v -h {md5} -s $password
> cat > modify.ldif <<EOF
> dn: uid=$MUID,ou=accounts,dc=koutcons,dc=gr
> changetype: modify
> modify: userPassword
> userPassword : $hash
> EOF
> ldapmodify -x -v -w secret -D "cn=Manager,dc=koutcons,dc=gr" -f
modify.ldif
>
> as result i'm getting the following:
>
> 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
>
userPassword : is not an attribute. userPassword: is. Fix the
whitespace in your script.
--
Mike
Hi again it was error in my print in my previous email. actually is
userPassword:
but i still get that message.