Re: [CentOS] ldap: adding user to multiple groups

2010-05-08 Thread aurfalien
On May 8, 2010, at 11:12 AM, Craig White wrote: > On Sat, 2010-05-08 at 10:38 -0700, aurfal...@gmail.com wrote: >> On May 8, 2010, at 10:28 AM, Craig White wrote: > I would simply try adding a 'description' to an LDAP group and then > see > if you can add/delete members to that group. BRILLIAN

Re: [CentOS] ldap: adding user to multiple groups

2010-05-08 Thread Craig White
On Sat, 2010-05-08 at 10:38 -0700, aurfal...@gmail.com wrote: > On May 8, 2010, at 10:28 AM, Craig White wrote: > > No - I just checked and the same thing still exists even if I add the > > 'top' objectclass to a 'non-samba' group but if it's a samba group, I > > have no problem adding/removing me

Re: [CentOS] ldap: adding user to multiple groups

2010-05-08 Thread aurfalien
On May 8, 2010, at 10:28 AM, Craig White wrote: > On Sat, 2010-05-08 at 10:13 -0700, Craig White wrote: >> On Sat, 2010-05-08 at 09:43 -0700, aurfal...@gmail.com wrote: >>> On May 8, 2010, at 9:37 AM, Craig White wrote: >>> > I tried that a while back, together with webmin and that php

Re: [CentOS] ldap: adding user to multiple groups

2010-05-08 Thread aurfalien
On May 8, 2010, at 10:28 AM, Craig White wrote: > On Sat, 2010-05-08 at 10:13 -0700, Craig White wrote: >> On Sat, 2010-05-08 at 09:43 -0700, aurfal...@gmail.com wrote: >>> On May 8, 2010, at 9:37 AM, Craig White wrote: >>> > I tried that a while back, together with webmin and that php >

Re: [CentOS] ldap: adding user to multiple groups

2010-05-08 Thread Craig White
On Sat, 2010-05-08 at 10:13 -0700, Craig White wrote: > On Sat, 2010-05-08 at 09:43 -0700, aurfal...@gmail.com wrote: > > On May 8, 2010, at 9:37 AM, Craig White wrote: > > > > >> I tried that a while back, together with webmin and that php thing. > > >> > > >> I was kinda hoping to use webmin for

Re: [CentOS] ldap: adding user to multiple groups

2010-05-08 Thread Craig White
On Sat, 2010-05-08 at 09:43 -0700, aurfal...@gmail.com wrote: > On May 8, 2010, at 9:37 AM, Craig White wrote: > > >> I tried that a while back, together with webmin and that php thing. > >> > >> I was kinda hoping to use webmin for everything; DNS, DHCP, LDAP so > >> that a jr sys admin could man

Re: [CentOS] ldap: adding user to multiple groups

2010-05-08 Thread aurfalien
On May 8, 2010, at 9:37 AM, Craig White wrote: >> I tried that a while back, together with webmin and that php thing. >> >> I was kinda hoping to use webmin for everything; DNS, DHCP, LDAP so >> that a jr sys admin could manage our intranet based services. But >> with LDAP, webmin doesn't seem to

Re: [CentOS] ldap: adding user to multiple groups

2010-05-08 Thread Craig White
On Sat, 2010-05-08 at 07:04 -0700, aurfal...@gmail.com wrote: > On May 6, 2010, at 10:20 PM, Arun Khan wrote: > > > On Fri, May 7, 2010 at 12:52 AM, wrote: > >> On May 6, 2010, at 12:00 PM, Arun Khan wrote: > >> > >>> > >>> > >>> Even though you may not require the SMB extensions, the smbldaptoo

Re: [CentOS] ldap: adding user to multiple groups

2010-05-08 Thread aurfalien
On May 6, 2010, at 10:20 PM, Arun Khan wrote: > On Fri, May 7, 2010 at 12:52 AM, wrote: >> On May 6, 2010, at 12:00 PM, Arun Khan wrote: >> >>> >>> >>> Even though you may not require the SMB extensions, the smbldaptools >>> may be worth looking into. It's toolset are similar to the regular >>>

Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Arun Khan
On Fri, May 7, 2010 at 12:52 AM, wrote: > On May 6, 2010, at 12:00 PM, Arun Khan wrote: > >> >> >> Even though you may not require the SMB extensions, the smbldaptools >> may be worth looking into.  It's toolset are similar to the regular >> Linux user management tools, with the backend taking ca

Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Paul Heinlein
On Fri, 7 May 2010, Arun Khan wrote: > Even though you may not require the SMB extensions, the smbldaptools > may be worth looking into. It's toolset are similar to the regular > Linux user management tools, with the backend taking care of > populating the LDAP DIT and you keeping your sanity

Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread aurfalien
On May 6, 2010, at 12:00 PM, Arun Khan wrote: > On Thu, May 6, 2010 at 11:33 PM, wrote: >> Not having much luck adding a user to more then 1 group in OpenLDAP >> thats provided in Centos. >> >> Any suggestions to have the outcome of having a user belong to >> multiple groups? >> >> Should I crea

Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Arun Khan
On Thu, May 6, 2010 at 11:33 PM, wrote: > Not having much luck adding a user to more then 1 group in OpenLDAP > thats provided in Centos. > > Any suggestions to have the outcome of having a user belong to > multiple groups? > > Should I create a new group that has multiple GIDs and assign a user

Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread aurfalien
On May 6, 2010, at 11:47 AM, Paul Heinlein wrote: > On Thu, 6 May 2010, aurfal...@gmail.com wrote: > >>> In short: >>> >>> 1. Define the posixGroup DN >>> 2. Add one or more memberUid entries. >> >> So would I extend this and add members there instead of in there own >> entry? How would it look?

Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Paul Heinlein
On Thu, 6 May 2010, aurfal...@gmail.com wrote: >> In short: >> >> 1. Define the posixGroup DN >> 2. Add one or more memberUid entries. > > O, I think I follow. > > Say my current group definition in ldap is; > > # pm, groups, foo.bar > dn: cn=pm,ou=groups,dc=foo,dc=bar > objectClass: top > objec

Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread aurfalien
On May 6, 2010, at 11:35 AM, Paul Heinlein wrote: > On Thu, 6 May 2010, aurfal...@gmail.com wrote: > >> Hi all, >> >> Not having much luck adding a user to more then 1 group in OpenLDAP >> thats provided in Centos. >> >> Any suggestions to have the outcome of having a user belong to >> multiple gr

Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Paul Heinlein
On Thu, 6 May 2010, aurfal...@gmail.com wrote: > Hi all, > > Not having much luck adding a user to more then 1 group in OpenLDAP > thats provided in Centos. > > Any suggestions to have the outcome of having a user belong to > multiple groups? > > Should I create a new group that has multiple GID

Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread aurfalien
Sorry for that. Adding via ldap. I've tried adding groupOfNames to the users ldif file like so; objectClass: groupOfNames ... member: cn=staff,ou=groups,dc=foo,dc=bar member: cn=pm,ou=groups,dc=foo,dc=bar Both staff and pm are defined as follows; # staff, groups, logan.tv dn: cn=staff,ou=groups

Re: [CentOS] ldap: adding user to multiple groups

2010-05-06 Thread Jacob Bresciani
are you adding users to local groups in /etc/group or are you creating groups in ldap? On 2010-05-06, at 11:03 AM, aurfal...@gmail.com wrote: > Hi all, > > Not having much luck adding a user to more then 1 group in OpenLDAP > thats provided in Centos. > > Any suggestions to have the outcome