Luke Kenneth Casson Leighton lkcl at switchboard.net
Thu Oct 8 15:08:03 GMT 1998

evil_unix_box$ rpcclient -S janus -U [% / admin / user / whatever]
Enter Password: xxxxx
smb> lsaquery
DOMAIN: JANUS_DOMAIN_MEMBER SID: S-1-5-21-xxxx-xxx-xxx
DOMAIN: JANUS_DOMAIN_NAME  SID: S-1-5-21-xxxx-xxx-xxx
smb> enumusers -g -u
lots of user info
smb> exit

On Thu, 8 Oct 1998, Matthew Geier wrote:

>  How does this work ?. I cant get any sense out of it..
> janus:~/ftp/samba/source/bin> ./rpcclient \\\\janus\\
> service: \\janus\
> Can't find include file /usr/local/samba/lib/smb.UNKNOWN.conf
> Can't find include file smb.UNKNOWN.conf
> Can't find include file /usr/local/samba/lib/smb..conf
> Can't find include file /usr/local/samba/lib/smb.%G.conf
> Added interface ip= bcast= nmask=
> Enter Password:
> error connecting to (No route to host)
> cli_establish_connection: failed to connect to JANUS<00> (
> rpcclient_connect: connection failed
> warning: connection could not be established to <20>
> this version of smbclient may crash if you proceed
> janus:~/ftp/samba/source/bin> 
>  I was hoping to see if rpcclient could get a user list from the server
> something that ive not been able to do with usermgr.exe even though
> some people say it works...

i say it works.  if i'm a liar, send me a text printout of a netmon trace
and i'll _fix_ it!

More information about the samba-ntdom mailing list