Results 1 to 1 of 1
I have connected to an ADS server...
I am able to list the ADS users using "wbinfo -u" and the ADS groups using "wbinfo -g"
I wrote a program to ...
- 10-17-2005 #1Linux Newbie
- Join Date
- May 2005
- Location
- Chennai,TamilNadu, India
- Posts
- 141
Command to get ADS users in Linux
I have connected to an ADS server...
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??


Reply With Quote