C++ Active Directory and Linux(UBUNTU) integration

I am working on a project that involves a windows server running a domain with active directory. A C++ program is in a linux machine that is in the same domain, this program need to check a given ip address and see who is the user of this ip and check in what group is the user. I need this program for the Linux machine

PD: The ip is given by another program
A C++ program is in a linux machine that is in the same domain ...
It's possible you're not thinking about this in the right way.

A program isn't in a domain. Possibly you mean it communicates with the Windows Active Directory. But it may not know the IP addresses of workstations.

It just doesn't seem like you've thought it thru.
I am describing the scenario that the linux computer is in the same domain that the windows machine i am clear that a domain is not a program. the c++ program is in the Linux machine, I need from Linux communicate to windows AD via a script, ldap, c++ library for that if they are available), the main problem is that if I have an ip , I need to ask windows AD who is the user that have that ip and after the user is found to what group he belongs to. All this need to be do from linux
Topic archived. No new replies allowed.