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

Re: Unable to add the user



On Mon, Dec 01, 2003 at 05:47:34PM +0530, nraaman@chennai.tcs.co.in wrote:
> 
> Hi,
> 
> Please check the content of ldif file.
> 
> dn: uid=nraaman,dc=tcs,dc=com
> uid: nraaman
> objectclass: inetorgperson
> userpassword: daipoda
> sn: Narayana
> cn: Raaman
If you use userPassword (with capital 'P').
You should include 'objectClass: posixAccount'

See this link:
http://ldap.akbkhome.com/objectclass/inetOrgPerson.html?click=1070281576#userPassword
> 
> 
> On Mon, Dec 01, 2003 at 03:42:10PM +0530, nraaman@chennai.tcs.co.in wrote:
> > Hi,
> >
> > When i tried to add the user in the databases. Its giving following error.
> >
> > [root@aaacr root]# /usr/local/ldap/bin/ldapadd -x -W -D "uid=root, dc=tcs, dc=com" <
> > /home/nraaman/useradd.ldif
> > Enter LDAP Password:
> > adding new entry "uid=nraaman,dc=tcs,dc=com"
> > ldapadd: update failed: uid=nraaman,dc=tcs,dc=com
> > ldap_add: Internal (implementation specific) error (80)
> >         additional info: no structuralObjectClass operational attribute
> 
> Show the contents of useradd.ldif....
> 
> Who created the useradd.ldif file you or a script?
> 
> --
> cstamas
> Pazmany Peter Catholic University
>  Hungary
> 
> 
> 
> 

> This mail was scanned by Interscan Virus Wall of Mailserver2 at SNR, TCS, Chennai