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

Re: change structural objectClass to another



You cannot change the structural objectClass of an entry;
delete and add again.

p.

> Hello list,
>
> 	I want to change some objectClasses for an entry in my ldap but
> It doesn't run correctly...
> I want to delete objectClasses 'top' and 'account' and replace them with
> 'inetOrgPerson' 'person' and 'organizationalPerson'...
>
> I think it is a problem with structural objectClasses 'account' and
> 'inetOrgPerson' but if i replace a structural by another... I thought
> that was right...
>
> my user is :
>
> dn: uid=michelle$, ou=People, dc=test,dc=be
> logonTime: 0
> displayName: MICHELLE$
> lmPassword: 7A02E342E4BE7FEBF4E4DB04AD460D7F
> primaryGroupID: 1201
> objectClass: top
> objectClass: account
> objectClass: posixAccount
> objectClass: shadowAccount
> objectClass: sambaAccount
> objectClass: gosaAccount
> acctFlags: [W          ]
> uid: michelle$
> uidNumber: 1065
> cn: MICHELLE$
> loginShell: /bin/false
> logoffTime: 0
> gidNumber: 100
> kickoffTime: 0
> pwdLastSet: 1074516097
> rid: 3130
> gecos: Samba machine account
> description: Samba machine account
> homeDirectory: /dev/null
> pwdCanChange: 0
> pwdMustChange: 0
> ntPassword: E75F0F76C6C56F859725E47F186C4745


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it