[ale] Linux and actie directory

James Sumners james.sumners at gmail.com
Mon Aug 1 10:56:07 EDT 2011


I had never done this in C before, so it was a fun challenge this
morning. You can find my solution at [1], or attached.

[1] -- http://dl.dropbox.com/u/1038672/c_ldap_test.c

On Fri, Jul 29, 2011 at 17:35, Michael Potter <michael at potter.name> wrote:
> Ale Crew,
>
> I have a need to query active directory from Linux.
>
> Given a user name I need to find out what groups the user belong to.
>
> Ideally I would like some sample code written in C.
>
> Any help appreciated.
>
> --
> Michael Potter
> michael at potter.name



-- 
James Sumners
http://james.roomfullofmirrors.com/

"All governments suffer a recurring problem: Power attracts
pathological personalities. It is not that power corrupts but that it
is magnetic to the corruptible. Such people have a tendency to become
drunk on violence, a condition to which they are quickly addicted."

Missionaria Protectiva, Text QIV (decto)
CH:D 59
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c_ldap_test.c
Type: text/x-csrc
Size: 2690 bytes
Desc: not available
Url : http://mail.ale.org/pipermail/ale/attachments/20110801/f92903f5/attachment.bin 


More information about the Ale mailing list