rpcclient

Greg Dickie greg at discreet.com
Mon Mar 22 17:28:06 GMT 1999


On 22-Mar-99 Luke Kenneth Casson Leighton wrote:
> On Mon, 22 Mar 1999, Greg Dickie wrote:
> 
>> 
>> Hi,
>> 
>>     I've been playing with rpcclient
> 
> which version? use latest cvs.

naturally

> 
>> a bit and therefore have some questions
>> ;-). 1) Is enumusers supposed to work?
> 
> yes.

boom! nope
   Stonewire.sw.man      620150062  Discreet Logic Stone & Wire Documentation
greg at madagascar:~> rpcclient -S montreal1 -U gdickie
Added interface ip=192.168.60.69 bcast=192.168.60.255 nmask=255.255.255.0
Enter Password:
smb: \> lsaquery
lsaquery

LSA Query Info Policy
Domain Member     - Domain: DL_MONTREAL SID:
S-1-5-21-1967852569-1490712752-444732941
Domain Controller - Domain: DL_MONTREAL SID:
S-1-5-21-1967852569-1490712752-444732941
smb: \> enumusers
enumusers

SAM Enumerate Users
From: MADAGASCAR To: \\MONTREAL1 Domain: DL_MONTREAL SID:
S-1-5-21-1967852569-1490712752-444732941
cli_pipe: return critical error. Error was ERRDOS - ERRpipebusy (All instances
of the requested pipe are busy.)


> 
>> I just get an ERRDOS. 2) I see there is
>> a way to add a group into the SAM but is there a way to add a user?
> 
> i just cracked that on friday.

yahoo!

>  
>> This tool is becoming extremely convenient for managing our network, we
>> query
>> the registry of each machine every night and can keep track of changes. 
> 
> totally awesome!  do you want to send example scripts to the list for
> putting in the contributed/ samba site?

Let me refine them a bit, but  it does have potential, now if only I could add
a user ;-(

Thx,
Greg

---------------------------------------------------------------------
Greg Dickie
Just A Guy*
*from discreet (no more logic)
Montreal 
(514) 954-7171
greg at discreet.com



More information about the samba-ntdom mailing list