rpcclient

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


try rpcclient -S neumann -U administrator -W DOMAIN
enter the administrator's password for the target domain.

is the target an NT PDC or a Samba PDC?

also, try setting debug log level to 100 in smb.conf or specify -d 100 on
the command line (if that works!)

as mentioned to matthew (and now to you, stefan), "critical error" tells
me nothing: a Netmon text-print-out provides full info.

luke


On Fri, 9 Oct 1998, Stefan Schmieta wrote:

> I'm having the same problem as Matthew, i.e. I can't get user info
> with the NT User Manager. When I try it takes a while and then
> display "RPC call failed". Here's what happens with rpcclient:
> 
> rutcor:~/samba/source> bin/rpcclient -S neumann
> Added interface ip=128.6.70.40 bcast=128.6.70.255 nmask=255.255.255.0
> Enter Password:
> smb: \> lsaquery
> lsaquery
> 
> LSA Query Info Policy
> Domain Member     - Domain: RUTCOR-DOMAIN SID: S-1-5-21-95803528-180370111-114328357
> Domain Controller - Domain: RUTCOR-DOMAIN SID: S-1-5-21-95803528-180370111-114328357
> smb: \> enumusers -g -u
> enumusers -g -u
> 
> SAM Enumerate Users
> From: rutcor To: \\NEUMANN Domain: RUTCOR-DOMAIN SID: S-1-5-21-95803528-180370111-114328357
> cli_pipe: return critical error. Error was code 0
> 
> smb: \>
> 
> Neumann is a running the latest alpha of Samba obtained via CVS an hour
> ago (it's a Sun4 Sparc running NetBSD 1.3.2). It's set up as PDC for our
> tiny network of NT workstations. Serving passwords and logon scripts works 
> fine. Another thing that doesn't work is browsing Neumann. If I double
> click on it in the net'hood I get "Access denied". Listing shares via
> smbclient does work fine though.
> 
> I'd be happy to provide more detailed info on our configuration or debug
> logs. Just let me know what you need. 
> 
>   Stefan 
> 
> On Fri, 9 Oct 1998, Luke Kenneth Casson Leighton wrote:
> 
> > 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




More information about the samba-ntdom mailing list