[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Adding LDAP user to multiple groups
Hi,
I'm trying to add a user to multiple groups using an ldif file. Here's how I'm attempting to do so:
dn: uid=user,ou=people,dc=example,dc=org
cn: User Man
gidNumber: 1000, 1004, 1010
objectClass: top
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
sn: Man
uid: User
uidNumber: 1030
When I try to ldapadd this entry I get the following error:
adding new entry "uid=user,ou=people,dc=example,dc=org"
ldapadd: update failed: uid=user,ou=people,dc=example,dc=org
ldap_add: Invalid syntax (21)
additional info: gidNumber: value #0 invalid per syntax
Am I doing something wrong here? Thanks for any help in advance.
- Delamatrix