[Samba] Netlogon stoped working
Rowland Penny
rpenny at samba.org
Tue Dec 6 17:00:21 UTC 2016
On Tue, 06 Dec 2016 17:30:48 +0100
"OLLIVIER Joël DGAC/CRNA-O" via samba <samba at lists.samba.org> wrote:
> Hello,
>
> I use Samba 4.4.7 on a Debian testing with bind9.9.5_DLZ.
> I have a DC and a test-station windows7.
> The execution of the login.bat was working fine and it stopped
> working suddently.
>
> Here is my krb5.conf :
> [libdefaults]
> default_realm = MYDOMAIN.XXX.XXX
> dns_lookup_realm = false
> dns_lookup_kdc = true
>
> Here is my smb.conf :
> [global]
> netbios name = MAMACHINE
> realm = MONDOMAIN.XXX.XXX
> server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, drepl,
> winbindd, ntp_signd, kcc, dnsupdate workgroup = MIB
> server role = active directory domain controller
> idmap_ldb:use rfc2307 = yes
>
> smb ports = 139
> #log level = 5 passdb:5 auth:10
> log level = 0
> log file = /var/log/samba/log.%m
> template shell = /bin/bash
> ldap server require strong auth = no
>
> # Full audit
> vfs object = full_audit
> full_audit:prefix = %u|%I|%m|%S
> full_audit:success = rmdir write pwrite connect disconnect
> fset_nt_acl rename full_audit:failure = connect
> full_audit:facility = local7
> full_audit:priority = notice
>
> [netlogon]
> path = /var/lib/samba/sysvol/mydomain.xxx.xxx/scripts/%G
> comment = Network Login Script
> writable = no
> browsable = no
>
> [sysvol]
> path = /var/lib/samba/sysvol
> read only = No
>
> I have seached in the log files and made a lot of tests, Ii have no
> more idea. Can you rescue me ?
>
> Thank you in advance
>
> Joël
You could start by removing the 'smb ports' line and putting
'[netlogon]' back to:
[netlogon]
path = /var/lib/samba/sysvol/mydomain.xxx.xxx/scripts
read only = No
Rowland
More information about the samba
mailing list