[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: removing a field from ldap entry
Check out.
http://www.ietf.org/rfc/rfc2849.txt
That should have what you need.
On Thu, 7 Aug 2003, Jason Williams wrote:
> hello everyone...
> I have the following entry in my test system:
>
>
> # blackberry, Users, courtesymortgage, com
> dn: uid=blackberry,ou=Users,dc=courtesymortgage,dc=com
> cn: blackberry
> sn: blackberry
> uid: blackberry
> uidNumber: 1003
> gidNumber: 1000
> homeDirectory: /home/blackberry
> loginShell: /bin/bash
> gecos: System User
> description: System User
> objectClass: inetOrgPerson
> objectClass: posixAccount
> objectClass: sambaAccount
> pwdLastSet: 0
> logonTime: 0
> logoffTime: 2147483647
> kickoffTime: 2147483647
> pwdCanChange: 0
> pwdMustChange: 2147483647
> displayName: System User
> acctFlags: [UX]
> rid: 3006
> primaryGroupID: 3001
>
> I created this user using the idealx scripts. I made the users primary
> group loanofficers.
> I then added this user to a second group, cm. This is evident when I do:
>
> [root@PDC-SRV sbin]# groups blackberry
> blackberry : loanofficers cm
>
> Below, are the entries for loanofficers and cm groups.
>
> # loanofficers, Groups, courtesymortgage, com
> dn: cn=loanofficers,ou=Groups,dc=courtesymortgage,dc=com
> objectClass: posixGroup
> cn: loanofficers
> gidNumber: 1000
>
> # cm, Groups, courtesymortgage, com
> dn: cn=cm,ou=Groups,dc=courtesymortgage,dc=com
> objectClass: posixGroup
> cn: cm
> gidNumber: 1001
> memberUid: jwilliams
> memberUid: blackberry
>
> My question is this: I want to remove this user from the 'cm' group, but im
> not sure how.
> Anyone know of a good way to change this for this user? Im a little unclear
> on exactly how to do it so I thought i'd ask.
>
> Thanks.
>
> Jason
>