Anonymous | Login | 2024-12-22 00:03 MST |
Main | My View | View Issues | Change Log | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013531 | ClearOS | app-samba - Windows Networking | public | 2017-03-08 08:01 | 2020-03-03 03:00 | ||||
Reporter | dloper | ||||||||
Assigned To | |||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | suspended | ||||||
Platform | OS | OS Version | |||||||
Product Version | 7.3.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0013531: BDC does not join PDC | ||||||||
Description | When configured to Master/Slave, BDC won't finish initialization. The following things are items I had to do to get it to work as a BDC: ================================================ modified nslcd.conf: The default regex in nslcd does not pick up the plus in proper usernames (ie. user+DOMAIN). The default regex is see (man nslcd.conf): /^[a-z0-9._@$][a-z0-9._@$\\~-]*[a-z0-9._@$~-]$/i I had to add the following: validnames /^[a-z0-9._@$][a-z0-9._@+$\\~-]*[a-z0-9._@$~-]$/i I then had to chattr +i /etc/nslcd.conf since the file is automatically generated. ================================================ Had to set the localsid to match the domain sid. DOMAINSID=`net getdomainsid |grep -oh "S-1-5.*$"`;if [ -v DOMAINSID ]; then net setlocalsid $DOMAINSID; fi This should ALWAYS be the case with a Backup Domain Controller. The big separator between a PDC and a BDC is the 'domain master = No' parameter in /etc/smb.conf. All other parameters like 'preferred master = Yes' should be the same as the PDC. ================================================ The directories in /var for samba and her children were not created. I had to do the following: mkdir -p /var/samba/drivers mkdir -p /var/samba/netlogon mkdir -p /var/samba/profiles chown winadmin:domain_users /var/samba/* chmod g+w /var/samba/profiles chmod g+s /var/samba/profiles ================================================ I had to set the interfaces to bind to the interface of the LAN network interface object. Only the loopback was set and bind interfaces only had been 'No'. New settings were: # Network bind interfaces only = Yes interfaces = lo enp0s8 ================================================ Since this BDC is to be located on a site and subnet different than the PDC, I had to make this server the WINS Server. This was a configuration choice and not an error ================================================ After confirming that I had the domainsid, ldap was replicating, and that the smb, winbind, and nmb services were running, I set the initialized flag: touch /var/clearos/samba_common/initialized | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Notes | |
(0013271) NickH (developer) 2020-03-03 03:00 |
Migrated to https://gitlab.com/clearos/clearfoundation/app-samba/issues/21 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2017-03-08 08:01 | dloper | New Issue | |
2017-04-10 09:08 | user2 | Status | new => acknowledged |
2017-08-11 12:38 | dloper | Target Version | 7.3.1 Updates => 7.4.0 |
2017-08-18 10:03 | user2 | Target Version | 7.4.0 => 7.4.0 Updates |
2018-02-12 10:14 | user2 | Target Version | 7.4.0 Updates => |
2020-03-03 03:00 | NickH | Note Added: 0013271 | |
2020-03-03 03:00 | NickH | Status | acknowledged => closed |
2020-03-03 03:00 | NickH | Resolution | open => suspended |