On Monday 25 December 2006 16:52, Sadique Puthen wrote:
Hi,
I have a new schema file with the below entries,
[root@host128 schema]# cat local.schema
attributeType: ( 2.16.840.1.113730.3.1.241 NAME 'passworduser'
DESC 'Custome Testing'
SYNTAX 1.3.6.1.4.1.146.6.115.121.1.40 SINGLE-VALUE
X-ORIGIN 'user defined' )
objectClass: ( 2.16.840.1.113730.3.2.2 NAME 'custome'
SUP top STRUCTURAL
MUST passworduser)
Do you really need this to be structural? Eg, even if you fix your problem
below, this will likely not work (as you already have a structural
objectclass, and yours is not derived from that structural objectclass).
You probably want to make this objectclass Auxiliary.
Added in slapd.conf and restarted.
trying to add below ldif file.
dn: uid=guest20,ou=People,dc=example,dc=com
uid: guest20
cn: guest20
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
objectClass: passworduser
You defined passworduser as an attributeType above, not as an objectclass.
Regards,
Buchan
--
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)