Include userPassword in your ldif file before update.

KF
----- Original Message -----
From: "Chad Morland" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 3:05 AM
Subject: -ERR user record incorrect


> Hi I have qmail+ldap setup on my box and I am having problems when I try
> and pop the account. Here is what I get:
>
> [/usr/local/etc/openldap/scripts]root@gateway(ttyp0)
> [1:27pm]# telnet 0 110
> Trying 0.0.0.0...
> Connected to 0.
> Escape character is '^]'.
> +OK <[EMAIL PROTECTED]>
> user chadman
> +OK
> pass test
> -ERR user record incorrect
> Connection closed by foreign host.
>
> Here is the ldif file for this user:
> dn: uid=chadman,ou=accounts,dc=inquent,dc=com
> cn: Chad Morland
> sn: Morland
> objectclass: top
> objectclass: person
> objectclass: inetOrgPerson
> objectclass: qmailUser
> mail: [EMAIL PROTECTED]
> mailhost: pbdr.net
> mailMessageStore: /var/qmail/maildirs/chadman/Maildir
> uid: chadman
> accountStatus: enabled
>
> I imported it with the command:
> ldapadd -x -v -w password -D "cn=Manager,dc=inquent,dc=com" -f
> .ldif.tmp.chadman
>
> I set the password with this command:
> ldappasswd -x -v -w password -s blah \
> -D "cn=Manager,dc=inquent,dc=com"
"uid=swati2,ou=accounts,dc=inquent,dc=com"
>
> Where am I going wrong? I have seen a couple messages on the list relating
> to this issue yet noone seems to know how to fix it. Any ideas??
> .............................................
> Chad Morland
> Sr. UNIX Administrator
> InQuent Technologies Inc.
> T. 416-645-4554
> F. 416-645-3920
> www.inquent.com
> .............................................
>
>
>

Reply via email to