On Mon, 23 Jan 2017 16:38:00 -0200 "Carlos A. P. Cunha via samba" <samba at lists.samba.org> wrote:> Hehe Sorry for the lack of information .... > > Follow: > > ------------------------------------------- > > Dc133 > > [global] > workgroup = <NAME> > realm = grupo.<DOMAIN> > netbios name = dc133 > server role = active directory domain controller > passdb backend = samba_dsdb > server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, > drepl, winbindd, ntp_signd, kcc,dnsupdate > map archive = No > map readonly = no > store dos attributes = Yes > vfs objects = dfs_samba4 acl_xattr > > # Disable Cups > load printers = no > printing = bsd > printcap name = /dev/null > disable spoolss = yes > ldap server require strong auth = no > > [netlogon] > path = /usr/local/samba/var/locks/sysvol/XXXX/scripts > read only = No > > [sysvol] > path = /usr/local/samba/var/locks/sysvol > read only = No > > ------------------------------------------- > > > Dc138 > > [global] > workgroup = <NAME> > realm = grupo.<DOMAIN> > netbios name = dc138 > server role = active directory domain controller > passdb backend = samba_dsdb > server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, > drepl, winbindd, ntp_signd, kcc,dnsupdate > map archive = No > map readonly = no > store dos attributes = Yes > vfs objects = dfs_samba4 acl_xattr > > # Disable Cups > load printers = no > printing = bsd > printcap name = /dev/null > disable spoolss = yes > ldap server require strong auth = no > > [netlogon] > path = /usr/local/samba/var/locks/sysvol/XXXX/scripts > read only = No > > [sysvol] > path = /usr/local/samba/var/locks/sysvol > read only = No >Well, you could try removing these lines from you smb.conf files: map archive = No map readonly = no store dos attributes = Yes vfs objects = dfs_samba4 acl_xattr They have no place on a DC ;-) Rowland
Hello! I removed these lines, restart samba / bind and still get the same error .... Em 23-01-2017 17:08, Rowland Penny via samba escreveu:> On Mon, 23 Jan 2017 16:38:00 -0200 > "Carlos A. P. Cunha via samba" <samba at lists.samba.org> wrote: > >> Hehe Sorry for the lack of information .... >> >> Follow: >> >> ------------------------------------------- >> >> Dc133 >> >> [global] >> workgroup = <NAME> >> realm = grupo.<DOMAIN> >> netbios name = dc133 >> server role = active directory domain controller >> passdb backend = samba_dsdb >> server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, >> drepl, winbindd, ntp_signd, kcc,dnsupdate >> map archive = No >> map readonly = no >> store dos attributes = Yes >> vfs objects = dfs_samba4 acl_xattr >> >> # Disable Cups >> load printers = no >> printing = bsd >> printcap name = /dev/null >> disable spoolss = yes >> ldap server require strong auth = no >> >> [netlogon] >> path = /usr/local/samba/var/locks/sysvol/XXXX/scripts >> read only = No >> >> [sysvol] >> path = /usr/local/samba/var/locks/sysvol >> read only = No >> >> ------------------------------------------- >> >> >> Dc138 >> >> [global] >> workgroup = <NAME> >> realm = grupo.<DOMAIN> >> netbios name = dc138 >> server role = active directory domain controller >> passdb backend = samba_dsdb >> server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, >> drepl, winbindd, ntp_signd, kcc,dnsupdate >> map archive = No >> map readonly = no >> store dos attributes = Yes >> vfs objects = dfs_samba4 acl_xattr >> >> # Disable Cups >> load printers = no >> printing = bsd >> printcap name = /dev/null >> disable spoolss = yes >> ldap server require strong auth = no >> >> [netlogon] >> path = /usr/local/samba/var/locks/sysvol/XXXX/scripts >> read only = No >> >> [sysvol] >> path = /usr/local/samba/var/locks/sysvol >> read only = No >> > Well, you could try removing these lines from you smb.conf files: > > map archive = No > map readonly = no > store dos attributes = Yes > vfs objects = dfs_samba4 acl_xattr > > They have no place on a DC ;-) > > Rowland >
Hi Carlos, If you were running "samba-tool drs showrepl", It seems like this bug could be the issue: https://bugzilla.samba.org/show_bug.cgi?id=11929 Which was encountered here: https://lists.samba.org/archive/samba/2015-March/190423.html Thanks, Bob On 24/01/17 08:59, Carlos A. P. Cunha via samba wrote:> Hello! > I removed these lines, restart samba / bind and still get the same > error .... > > > Em 23-01-2017 17:08, Rowland Penny via samba escreveu: >> On Mon, 23 Jan 2017 16:38:00 -0200 >> "Carlos A. P. Cunha via samba" <samba at lists.samba.org> wrote: >> >>> Hehe Sorry for the lack of information .... >>> >>> Follow: >>> >>> ------------------------------------------- >>> >>> Dc133 >>> >>> [global] >>> workgroup = <NAME> >>> realm = grupo.<DOMAIN> >>> netbios name = dc133 >>> server role = active directory domain controller >>> passdb backend = samba_dsdb >>> server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, >>> drepl, winbindd, ntp_signd, kcc,dnsupdate >>> map archive = No >>> map readonly = no >>> store dos attributes = Yes >>> vfs objects = dfs_samba4 acl_xattr >>> >>> # Disable Cups >>> load printers = no >>> printing = bsd >>> printcap name = /dev/null >>> disable spoolss = yes >>> ldap server require strong auth = no >>> >>> [netlogon] >>> path = /usr/local/samba/var/locks/sysvol/XXXX/scripts >>> read only = No >>> >>> [sysvol] >>> path = /usr/local/samba/var/locks/sysvol >>> read only = No >>> >>> ------------------------------------------- >>> >>> >>> Dc138 >>> >>> [global] >>> workgroup = <NAME> >>> realm = grupo.<DOMAIN> >>> netbios name = dc138 >>> server role = active directory domain controller >>> passdb backend = samba_dsdb >>> server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, >>> drepl, winbindd, ntp_signd, kcc,dnsupdate >>> map archive = No >>> map readonly = no >>> store dos attributes = Yes >>> vfs objects = dfs_samba4 acl_xattr >>> >>> # Disable Cups >>> load printers = no >>> printing = bsd >>> printcap name = /dev/null >>> disable spoolss = yes >>> ldap server require strong auth = no >>> >>> [netlogon] >>> path = /usr/local/samba/var/locks/sysvol/XXXX/scripts >>> read only = No >>> >>> [sysvol] >>> path = /usr/local/samba/var/locks/sysvol >>> read only = No >>> >> Well, you could try removing these lines from you smb.conf files: >> >> map archive = No >> map readonly = no >> store dos attributes = Yes >> vfs objects = dfs_samba4 acl_xattr >> >> They have no place on a DC ;-) >> >> Rowland >> >
On Mon, 23 Jan 2017 17:59:21 -0200 "Carlos A. P. Cunha via samba" <samba at lists.samba.org> wrote:> Hello! > I removed these lines, restart samba / bind and still get the same > error .... > >OK, your original post said this: 'When I execute the command to check the DRS.' I take it you mean with samba-tool, but what is the exact command you used ? and have you tried adding '-d5' to the end of the command to see if this shows more info ? Rowland