That is because your group entries, typically, are separate from your
user entries. I'm not sure what you mean up a normal ldap search but if
you want to search for objects that contain member you could do
'ldapsearch -x -LLL memberof=*'.

If you want to assign memberOf attributes to your user entries you need
at add the approriate objectClass to said user to add the attributes,
which may or may not be a class violation. I'm fairly certain LAM
doesn't support this, at least when I was doing this in the past it didn't.

On 12/21/2011 12:32 PM, Peter Brunnengräber wrote:
> Hi Darin, Indeed... or memberOf.  Looks like I didn't get my protein
> this morning.  After posting I have found some google entries... it
> doesn't appear under a normal ldap search for some reason unless
> specified, but it does if I specify it in the search.
> 
> Anyone know why that might be?
> 
> Thanks!  -Cheers, Peter.
> 
> ----- Original Message ----- From: "Darin Perusich"
> <[email protected]> To: [email protected] Sent:
> Wednesday, December 21, 2011 11:45:48 AM Subject: Re: [Lam-public]
> Member attribute on user?
> 
> Do you mean you want 'member' attribute assigned to your user entry?
> 
> Such as: dn: uid=user1... objectClass: top objectClass: person 
> objectClass: inetOrgPerson cn: user1 uid: user1 member: group1
> 
> On 12/21/2011 11:12 AM, Peter Brunnengräber wrote:
>> Hello all, I have a question about groups...
>> 
>> When I add someone to a group, how do I have the "member" attribute
>> become set for the user?
>> 
>> Thanks!  -Cheers, Peter.
> 

-- 
Darin Perusich
Email: [email protected]
Office: 716-888-3690
The information transmitted is intended only for the person or entity to which
it is addressed and may contain confidential and/or privileged material. Any
review, retransmission, dissemination or other use of, or taking of any action
in reliance upon, this information by persons or entities other than the
intended recipient is prohibited. If you are not the intended recipient of this 
message, please contact the sender and delete this material from this computer.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to