[Samba] Listing all users in a remote Samba server

Erik Torres Serrano erik at bioinfo.cu
Thu Apr 7 18:55:55 GMT 2005


Unfortunately is a standalone Samba server :(

Steve Feehan wrote:

>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.
>
>  
>



More information about the samba mailing list