2008/10/16 Brian O'Mahony <brian.omahony at curamsoftware.com>
> I haven't done very much with LDAP on linux, so wanted to ask about running
> LDAP queries on a linux box against an Active Directory Services (win2003).
>> Basically, what I want to do is check everybody in the passwd file, take
> the user account, run an LDAP query against the ADS server, and return just
> the name and the primaryGroupID value.
>> Any easy way of doing this from linux?
>> B
>
I wont give you exact way of doing that but when I've done something similar
last time I've found those two links very helpful:
http://library.pantek.com/Applications/Samba/Samba-3%20By%20Example/http://www.brentnorris.net/samba2005.html
hopefully they will help you as well ;)
Enjoy and Regards
--
Marcin 'iwi' Iwinski
jid: iwi at jabber.org | rlu: 417243
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!