ClearFoundation Tracker - ClearOS
View Issue Details
0006181ClearOSapp-samba - Windows Networkingpublic2015-11-12 15:102020-03-02 09:44
dloper 
 
normaltrivialalways
closedsuspended 
 
 
0006181: Full BDC functionality
Backup domain controllers should use the SID of the domain for their localsid. This is necessary for using a BDC as a domain controller on a remote LAN. Without this, current BDCs are not able to authenticate users. This becomes particularly painful on remote networks where local authentication is required.

Samba documentation has this to say:

"The following operation is useful only for machines that are being configured as a PDC or a BDC. DMS and workstation clients should have their own machine SID to avoid any potential namespace collision. Here is the way that the BDC SID can be synchronized to that of the PDC (this is the default NT4 domain practice also):root# net rpc getsid -S FRODO -Uroot%not24get" (DMS means domain member server)

All workstations joined to the domain already have the domain SID set to the same as the domain. This statement means that the localSID should be the same and when performing this in real world scenarios where the BDC is offsite, it resolves domain join and authentication issues.

While the documentation states that 'net rpc getsid -S SERVERNAME -Uwinadmin%password' should perform the task, it doesn't work.

Per the suggestion of the documentation where this appears (https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/NetCommand.html [^]), it would be wise to backup the localsid before replacing it in case a server ever needs to be removed as a BDC/PDC on the network.

net getlocalsid > /etc/samba/my-sid

-or-

net getlocalsid > /var/lib/samba/deprecated-local-sid

As a note, once this is done on the BDC, anyone logging into the domain controller will be given the logon scripts from the local netlogon. which should be enabled if enabled on the PDC and replicated. Currently it is disabled on the BDC as a share. Change:

Available = No

-to-

Available = Yes
No tags attached.
Issue History
2015-11-12 15:10dloperNew Issue
2016-02-16 12:54user2Statusnew => acknowledged
2016-02-16 12:54user2Target Version6.7.0 Updates => 6.8.0 Updates
2017-01-03 10:50user2Product Version6.7.0 =>
2017-01-03 10:50user2Target Version6.8.0 Updates => 7.4.0 Beta 1
2017-08-18 10:02user2Target Version7.4.0 Beta 1 => 7.4.0 Updates
2018-02-12 10:22user2Target Version7.4.0 Updates =>
2020-03-02 09:44NickHNote Added: 0013221
2020-03-02 09:44NickHStatusacknowledged => closed
2020-03-02 09:44NickHResolutionopen => suspended

Notes
(0013221)
NickH   
2020-03-02 09:44   
Migrated to https://gitlab.com/clearos/clearfoundation/app-samba/issues/16 [^]