Samba TNG 2.6 trouble

Neil Hoggarth neil.hoggarth at physiol.ox.ac.uk
Tue Oct 10 09:13:24 GMT 2000


On Tue, 10 Oct 2000, Ryszard Hodiak wrote:

> I've compiled Samba TNG 2.6 on my Sun Ultra1 Solaris 2.6 using GNUcc and I
> believe do all I need to set up a Domain and so on and when I'm trying to
> add user with samedit I got following message:
> 
> samedit -S . -U root
> ...
> socket connect to /usr/local/samba/var/locks/.msrpc/samr failed
> ncalrpc_l_establish_connection: failed samr)
> ncalrpc_l_use_add: connection failed
> please use 'lsaquery' first, to ascertain the SID

Try actually su-ing to root before running samedit, as well as
connecting using "-U root". That seems to get you enough privilage to
open the samr socket, at least.

Regards,
-- 
Neil Hoggarth                                 Departmental Computer Officer
<neil.hoggarth at physiol.ox.ac.uk>                   Laboratory of Physiology
http://www.physiol.ox.ac.uk/~njh/                  University of Oxford, UK





More information about the samba-ntdom mailing list