...continued samedit issues

Luke Kenneth Casson Leighton lkcl at samba.org
Wed Apr 12 02:39:03 GMT 2000

On Wed, 12 Apr 2000, Kelly Smelser wrote:

> After:
> /samedit -S . -U root
> [root at .]  createuser somename
> or
> [root at .]  createuser somemachine$
> I get:
> socket connect to /tmp/.msrpc/.samr/agent failed:  Connection refused
> socket connet to /opt/samba-tng/var/locks/.msrpc/samr failed:

this is the important one, it tells you that you're not running samrd.

> Connection refused
> ncalrpm_l_establish_connection:  failed samr)
> ncalrpc_l_use_add:  connection failed
> please use 'lsaquery' first to acertain the SID
> Can anyone offer any assistance on this?  The daemons are started and
> all appears to be well, but this is what I get when I attempt to add
> users with samedit.

check the log.samr file.

always, if you get an error in the client-side log files, your instant,
knee-jerk reaction should be to look in the server-side logs.

More information about the samba-ntdom mailing list