[Date Prev][Date Next] [Chronological] [Thread] [Top]

Assigning multiple groups for a user



Hi,

 

I am trying to setup LDAP for my company.  Basically I want to configure following application using LDAP.

 

Address book (outlook & Netscape)

Sendmail

Samaba PDC

Linx/Unix NFS

 

So far I have come up with the following ldif data, I want to store all data in a single tree ( Is there any draw  back storing like this?).

 

But I don?t know how to manage the groups assigning one user to multiple groups (like, mail, cvs, staff)

 

Also looking for some web based interface to add/modify/delete the users and groups. Using GQ LDAP client I was able add/delete/modify the data.

 

Can any one help me on this?

 

Thanks

SR

 

 
 
 
------------
dn: dc=percipia,dc=com
objectClass: top
objectClass: organization
o: Percipia
description: This is our organizations base dn. Everything is stored beneath this

dn: ou=people,dc=percipia,dc=com
objectClass: top
objectClass: organizationalunit
ou: people
description: This is the tree were user accounts are stored

dn: ou=groups,dc=percipia,dc=com
objectClass: top
objectClass: organizationalunit
ou: groups
description: This is the tree were Group  accounts are stored
dn: cn=mail,ou=groups,dc=percipia,dc=com
objectClass: posixgroup
objectClass: top
cn: mail
userPassword: {crypt}x
gidNumber: 7
memberUid: daemon
memberUid: sundaram

dn: cn=smb,ou=groups,dc=percipia,dc=com
objectClass: posixgroup
objectClass: top
cn: smb
userPassword: {crypt}x
gidNumber: 501
memberUid: sundaram
dn: uid=ravi,ou=people,dc=percipia,dc=com
uid: ravi
cn: Curley Anderson
objectClass: top
objectClass: person
objectClass: account
objectClass: posixAccount
objectClass: shadowAccount
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: officePerson
objectClass: zillaPerson
objectClass: sambaAccount
mail: CAnderson@percipia.com
givenname: Curley
sn: Anderson
uidNumber: 1003
gidNumber: 1002
rid: 500
homeDirectory: /home/groupB/ravi
userPassword: ravisecret
loginShell: /bin/bash
shadowLastChange: 11116
shadowMax: 99999
shadowWarning: 7
shadowFlag: 134539620
gecos: Curley Anderson
homePostalAddress: 14 Cherry Ln.$Plano TX 78888
postalAddress: 15 Fitzhugh Ave.
l: Dallas
st: TX
postalcode: 76888
c: US
pager: 800-555-1319
telephoneNumber: (800)555-1214
homePhone: 213-555-1314
mobile: 800-555-1318
title: Developemnt Engineer
URL: http://www.DigitalPenguins.com
reports: uid=spais,ou=MembergroupA,o=percipia
reports: uid=larry,ou=MembergroupA,o=percipia
 
dn: uid=Administrator, ou=people, dc=percipia, dc=com
cn: Administrator
objectClass: sambaAccount
objectClass: posixAccount
uid: Administrator
pwdLastSet: 0
logonTime: 0
logoffTime: 0
kickoffTime: 0
pwdCanChange: 0
pwdMustChange: 0
smbHome: \\%N\
homeDrive: U:
profilePath: \\%N\\profile
rid: 500
primaryGroupID: 512
lmPassword: 37D5B8AB8069F5B8AB5B8AB8B8AB8069
ntPassword: 5B8AB8B8AB85B8A5B8AB8B8AB82BE319
acctFlags: [UX	       ]
gecos: Samba Admin
homeDirectory: /
loginShell: /dev/null
uidNumber: 506
gidNumber: 0

dn: uid=nobody,ou=people, dc=percipia, dc=com
objectClass: sambaAccount
objectClass: posixAccount
uid: nobody
pwdLastSet: 1026225030
logonTime: 0
logoffTime: 2147483647
kickoffTime: 2147483647
pwdCanChange: 0
pwdMustChange: 2147483647
displayName: Nobody
cn: Nobody
rid: 501
primaryGroupID: 514
lmPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX
ntPassword: NO PASSWORDXXXXXXXXXXXXXXXXXXXXX
acctFlags: [NUX	       ]
objectClass: posixAccount
gecos: Nobody or Guest
homeDirectory: /
loginShell: /dev/null
uidNumber: 99
gidNumber: 99