[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Unable to add the user
On Mon, Dec 01, 2003 at 05:16:19AM -0800, Sachin C wrote:
>
> > If you use userPassword (with capital 'P').
> are attribute names case sensetive?
Yes!
> I am not sure
> about OpenLDAP but in MS AD i think they are not.
Oh it is a different story...
BTW: is there a command line tool available to list/import
entries from/to AD? (from Linux and Win)
>
> also dont we need to specify object hierarchy in
> objectClass?
> like:
>
> objectClass: top
> objectClass: person
> objectClass: inetorgperson
I am not sure, but it can be only better if you specify it.
(except if it requires an attribute you do not want)
>
>
> --- Csillag Tam?s <cstamas@digitus.itk.ppke.hu> wrote:
> > 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