hey thr....the extract i have given u is just a part of my schema......i do
have all the objectclasses in the schema file...and i have included in the
slapd.conf ..........and i have also restarted the server...

all my data is ldifs is getting added except for this one


dn: uid=admin,ou=ssausers,dc=ssainternal,dc=net
changetype: add
objectClass: top
objectClass: ssauser
objectClass: ssantuser
uid: admin
cn: admin
userpassword: admin
ssarole: administrator
ssarole: superadministrator
sn: admin
preferredlanguage: en_US
ntuserdomainid: ssainternal

thats why i thought must be there is some problem with the object classes
mentioned in this entry......i do have those in my schema......

objectclass( 1.3.6.1.4.1.28186.2.3
NAME 'ssauser'
DESC 'SSA User'
SUP ssabase STRUCTURAL
MAY( telephonenumber $ title $ mobile $ displayname $
 facsimiletelephonenumber $ preferredlanguage $ postaladdress $ c ) )

objectclass( 1.3.6.1.4.1.28186.2.6
NAME 'ssantuser'
DESC 'SSA NT User Profile'
SUP top STRUCTURAL
MUST ntuserdomainid )

another important thing.,....is there any place like a config file or
properties file where we put our OIDs which we are using??? coz there has to
be some place from where the server cross checks or does something to verify
the OIDs...

Waiting for your reply!!!
Shilpa


On 3/15/07, Buchan Milne <[EMAIL PROTECTED]> wrote:

On Thursday 15 March 2007, shilpa muramkar wrote:

> attributetype( 1.3.6.1.4.1.pqrs.1.12
>  NAME 'outofofficeon'
>  DESC 'Specifies if the user is out of office or not'
>  SYNTAX 'cis'
>  SINGLE-VALUE )
>
> attributetype( 1.3.6.1.4.1.pqrs.1.13
>  NAME 'timezone'
>  DESC 'Time zone of the entry'
>  SYNTAX 'cis'
>  SINGLE-VALUE )
>
> attributetype( 1.3.6.1.4.1.pqrs.1.14
>  NAME 'shippingaddress'
>  DESC 'Shipping address of the entry'
>  SYNTAX 'cis'
>  MULTI-VALUE )
>
> objectclass( 1.3.6.1.4.1.pqrs.2.1
>  NAME 'ssausergroup'
>  DESC 'SSA Usergroup'
>  SUP groupofuniquenames STRUCTURAL
>  MAY( ssarole $ ssaugtype ) )
>
> objectclass( 1.3.6.1.4.1.pqrs.2.2
>  NAME 'ssabase'
>  DESC 'SSA Base'
>  SUP top STRUCTURAL
>  MUST( uid $ cn $ sn )
>
>
> now i am trying to run an LDIF file which contains a sample data like
>
> dn: uid=admin,ou=ssausers,dc=ssainternal,dc=net
> changetype: add
> objectClass: top
> objectClass: ssauser
> objectClass: ssantuser
> uid: admin
> cn: admin
> userpassword: admin
> ssarole: administrator
> ssarole: superadministrator
> sn: admin
> preferredlanguage: en_US
> ntuserdomainid: ssainternal

It strikes me that you seem to be duplicating some information that is
already
defined in the samba schemas ...

>
> using the ldapadd command....all the data gets added except for the
above
> one. It gives me an error saying
>
> ldap_add: Invalid  syntax(21)
>
>                 additional info: objectClass: value #1 invalid per
syntax.
>
> Does it mean that the objectclasses i have mentioned in the above ldif
> entry are causing the problem?? i.e "ssauser", "ssantuser"?????

Where is the schema definition for "ssauser" ? It is not in the extract
above,
and this is the objectclass being complained about.

> Is it that the definitions of these objectclasses in schema is not
proper??

We can't tell, since it may be that you have no definition for this
objectclass, and if you do, we can't tell you anything about it (since it
is
missing in this mail).

> Or has it got anything to do with the way i have arranged the OIDs?

Most likely not.

> kindly help me out with this..........

Only if you provide sufficient information to be able to help ...

BTW, you say you created the schema file, but did you include it in your
slapd.conf ? Did you restart slapd after that ?

Regards,
Buchan

--
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)


Reply via email to