[Samba] Error when adding user NT_STATUS_CONNECTION_REFUSED

Marc Muehlfeld samba at marc-muehlfeld.de
Wed Jan 22 12:42:07 MST 2014


Hello,

Am 22.01.2014 03:40, schrieb lp101:
> Any idea what the following error message is describing and how to
> troubleshoot? Newly joined DC. Using Ubuntu 12.04 and Samba 4.1.4 from a
> tarball. Used samba-tool. Windows Users & Computers app gives error as
> well.
>
> ERROR(ldb): Failed to add user 'usertest':  -
> ../source4/dsdb/samdb/ldb_modules/ridalloc.c:547: No RID Set DN -
> Request for remote creation of RID Set for this DC failed: Failed to
> send MSG_DREPL_ALLOCATE_RID to dreplsrv at 1054:
> NT_STATUS_CONNECTION_REFUSED


Your new joined DC tries to ask the DC that owns the RID master FSMO 
role for a set of RIDs, but this machine refuses the connection. So your 
new DC doesn't have RIDs, what prevents you from creating users on that 
machine.

Is your replication working?
# samba-tool drs showrepl

Check, which of your DC owns the RID master role
# samba-tool fsmo show
Then have a look on that machine, if Samba works correctly on that 
machine. Maybe you removed this machine meanwhile and the role wasn't 
transfered to a different DC.


[1] http://msdn.microsoft.com/en-us/library/cc223749.aspx
[2] 
http://technet.microsoft.com/en-us/library/cc773108%28v=ws.10%29.aspx#United%20States%20%28English%29


Regards,
Marc


More information about the samba mailing list