I am on a linux machine and need to query active directory for the list of groups a particular machine name is a member of. I can do database connects with perl just fine but I am stumbling with connecting to AD. I have tried several examples I found on the internet and have been unable to get any to work. The active directory is located on native Windows 2003 servers. What would some code for me to try be? I have no plans to modify any data, only retrieve the groups.