[Samba] Problem using rpcclient as root user -- can't authenticate

Adam Nielsen adam.nielsen at uq.edu.au
Mon Jan 30 23:42:32 GMT 2006


> The problem I've encountered is with rpcclient.  It looks like it's 
> trying to treat the user as a domain user and not simply local to the 
> server.  For example:
> 
>  >  rpcclient berkeley -U root%XXXXXX -c "enumdrivers 2"

If that's the case, you should be able to use "-U HOSTNAME\\root" where
HOSTNAME is the NetBIOS name of the local machine, and can be used to
specify local UNIX users in domain form (this is the normal way of
specifying users in a domain that are local to a specific PC.)

Cheers,
Adam.


More information about the samba mailing list