[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Ldappasswd failure



This is my ldif file content

dn: uid=cbsuser,ou=People,dc=comverse-in,dc=com
uid: cbsuser
cn: cbsuser
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
shadowMax: 99999
shadowWarning: 7
loginShell: /bin/bash
uidNumber: 201
gidNumber: 100
homeDirectory: /home/cbsuser



Can u please elaborate where to add the uid attribute?
Thanks and Regards,
Naga Chaitanya



-----Original Message-----
From: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] On Behalf Of Dieter Kluenter
Sent: Wednesday, August 03, 2011 7:20 PM
To: openldap-technical@openldap.org
Subject: Re: Ldappasswd failure

Am Wed, 3 Aug 2011 17:30:40 +0530
schrieb Naga Chaitanya Palle <Naga.Chaitanya@aricent.com>:

> Hi,
>
> I have configured a openldap2.4.25 server on RHEL5.4 and added few
> users to the ldap. I want to assign password to the user and I am
> trying it out this way, but getting Naming violation error
>
> [root@dtr98 bin]# ldappasswd -xvv -D
> "cn=Manager,dc=comverse-in,dc=com" -W -S
> "uid=cbsuser,ou=People,dc=comverse-in,dc=com" New password: Re-enter
> new password: ldap_initialize( <DEFAULT> )
> Enter LDAP Password:
> Result: Naming violation (64)
> [root@dtr98 bin]#
>
> The user info is
> [root@dtr98 bin]# ldapsearch -x -LLL -s sub -b
> "dc=comverse-in,dc=com" "cn=cbsuser" dn:
> uid=cbsuser,ou=People,dc=comverse-in,dc=com cn: cbsuser
> objectClass: account
> objectClass: posixAccount
> objectClass: top
> objectClass: shadowAccount
> uidNumber: 300

the attribute uid: cbuser is missing.

-Dieter
--
Dieter Klünter | Systemberatung
sip: 7770535@sipgate.de
http://www.daasi.de/ldapcon2011/
GPG Key ID:8EF7B6C6


===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================