« Return to Thread: correct way to ldapmodify certain entries

correct way to ldapmodify certain entries

by Damon Getsman :: Rate this Message:

Reply to Author | View in Thread

I am trying to learn basic administration of users/groups in a PAM/LDAP setting, but I assure you my question is strictly about how to correctly write an .ldif for ldapmodify, and thus on topic.  :)

I see that the LDAP database is set up with group entries as such:
dn: cn=executiv,ou=Group,dc=ouah,dc=net
objectClass: posixGroup
objectClass: top
cn: executiv
userPassword: {crypt}!
gidNumber: 4000
memberUid: yankee
memberUid: doodle
memberUid: dandy

What I need to do is add more memberUid s to this and other entries.  I attempted to write an .ldif as follows:
dn: cn=executiv,ou=Group,dc=ouah,dc=net
changetype: add
memberUid: diddy
memberUid: whee

and was quickly informed by ldapmodify that this was not the correct way to do such.  I'm having trouble finding a detailed account of how to add multiple instances of the same attribute within an entry online and in my LDAP: System Administration ORA book.

I'd appreciate any pointers you can give.  :)

Thanks in advance,
Damon Getsman
--- You are currently subscribed to ldap@... as: [lists@...] To unsubscribe send email to ldap-request@... with the word UNSUBSCRIBE as the SUBJECT of the message.

 « Return to Thread: correct way to ldapmodify certain entries

LightInTheBox - Buy quality products at wholesale price!