Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- May 2005
- Chennai,TamilNadu, India
Command to get ADS users in Linux
I am able to list the ADS users using "wbinfo -u" and the ADS groups using "wbinfo -g"
I wrote a program to get the ADS users by comparing the /etc/passwd file username with the username returned from the function "getpwent()"
But in this function if there is a local user with name as same as the ADS username it gets listed as an local user...
What i want to know is ... is there a function which is equivalent to the command "wbinfo -u" so that i can get the ADS users??