i dont mean to flood the list, and i sincerely apologize if i'm causing any kind of inconvinience for anybody, but this is freaking me out. i can individualy add those entries through an ldif file, but i can't add them all at once using just one file. kurt, maybe you could help me out?
dn: ou=Roles, o=adirdev.com
$ldapmodify -a -r -v -f tmp.ldif -D "cn=root,o=adirdev.com"
adding new entry ou=Roles, o=adirdev.com
dn: cn=ARMAusers, ou=Roles, o=adirdev.com
cn: ARMA Administrators
uniquemember: uid=fbar, ou=People, o=adirdev.com
## Entry for ARMAVision Users ##
dn: ou=People, o=adirdev.com
dn: uid=fbar, ou=ARMAusers, o=adirdev.com
cn: Foo Bar
$ldapmodify -a -r -v -f my.ldif -D "cn=root,o=adirdev.com"
ldapmodify: invalid format (line 2 of entry: cn=ARMAadmins, ou=Roles, o=adirdev.com)
NOTICE line 2 is NOT what its complaining about but actually is
dn: cn=ARMAadmins, ou=Roles, o=adirdev.com
and i know for sure i'm feeding it the same file. is that a bug?
i'm using ldap 2.0.11 with solaris
From: Ankur Shah
Sent: Friday, July 27, 2001 12:40 PM
Subject: RE: ldapadd
i figured out what the problem was. Apparently, i can't have 2 'o's (organizations) in my schema(?) Although, i dont quite understand why one should be restricted to defining just one 'o'. Anyway, i changed the base dn in slapd.conf and i'm working w/the o (o=adirtech.com) that i wanted to keep in the first place. now there's just one mystery, though. when i try to add more entries to the schema from the ldif file that i created, ldapadd/ldapmodify chokes on it, giving the following error:
#ldapmodify -a -r -v -f ARMAvision.ldif -D "cn=root,o=adirtech.com"
ldapmodify: missing value on line 3 (attr is objectclass: top)
could anybody comment on whats wrong w/that. I read the RFC on LDIF and searched for the solution but couldn't find one.
thanks in advance
P.S. I still dont know why/when a server throws the "Resource currently unvailable" error. any help would be greatly appreciated.