Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LDIF import - groupmembership as part of initial user load

1 view
Skip to first unread message

Dave

unread,
Dec 1, 2003, 8:53:18 PM12/1/03
to
Hi all,

I'm trying to include groupmembership as part of my importing of student
accounts. I have mucked around, and with assistance from other posts,
found the correct combination of setting groupmembership (user object),
member (group object) and securityequals. It works no worries, and
assigning rights to the group flows to the user.

However, if I try and set the groupmembership attribute as part of the
user creation, the attribute is not added to the user. All other
attributes are fine, and no errors in the LDIF import. The 'Group
Membership' attribute in the user object is just blank. (security equiv
exists correct, and 'Member' attrib on the group is fine).

If, however, I do the groupmembership as a seperate LDIF entry, it works.

I have attached two files, showing an example of the import and the
minor difference between the two. I have reasons for not wanting it to
work this way, if I can get it working with the groupmembership as part
of the user creation that would be good.

Appreciate any ideas.

Cheers
Dave

Membership works.txt
Membership fails.txt

Peter Kuo

unread,
Dec 3, 2003, 11:51:45 PM12/3/03
to
Dave,

Not sure if it helps, but you may need to enable 'allow forward references' in ICE (the -F switch)... assuming you are usisng ICE ...


Peter
Novell Product Support Forum
'NDS Rules!'


Dave

unread,
Dec 4, 2003, 12:14:20 AM12/4/03
to

Thanks Peter, but unfortunately no difference - just tried -F option on
each of the ICE commands I'm running to do the import and it didn't
change the result.

Any other ideas ? ;-)

db.

Dave

unread,
Dec 4, 2003, 12:20:05 AM12/4/03
to
Peter Kuo wrote:

Sorry Peter -- my mistake ... it's now working.
THANKS !

0 new messages