[Samba] Listing all users in a remote Samba server

Steve Feehan sfeehan at sbb.uvm.edu
Thu Apr 7 18:22:40 GMT 2005


On Thu, Apr 07, 2005 at 02:10:09PM -0400, Erik Torres Serrano wrote:
> Hi,
> 
> I'm trying to develop a service for retrieving the entire user list of a 
> remote samba server. The expected result is the same expected from the 
> use of the samba command:
> 
> net rpc user
> 
> The service is coupled with one only request: should be written using 
> Perl language. I have search at the internet and I have read a lot of 
> documentation but I have no idea on how should I do it. Any clue or 
> comment will be welcome.
> 
> Best regards,
> 
> Erik

If the passdb is in LDAP you could query the directory directly 
via Net::LDAP.

-- 
Steve Feehan


More information about the samba mailing list