[Samba] More on bind_dlz - documentation I have not found

Robert Moskowitz rgm at htt-consult.com
Fri Aug 28 14:56:15 UTC 2015



On 08/28/2015 10:42 AM, L.P.H. van Belle wrote:
> Are you setting up a AD DC or old style NT PDC ?
>
> see :
> /etc/default/sernet-samba to "classic". for NT PDC
> /etc/default/sernet-samba to "ad". for AD DC.
More:

# service sernet-samba-ad status
Checking for SAMBA AD services : [FAILED]

# service sernet-samba-ad start
Starting SAMBA AD services : [  OK  ]
# [ 4529.028579] nf_conntrack: automatic helper assignment is deprecated 
and it will be removed soon. Use the iptables CT target to attach 
helpers instead.

# service sernet-samba-ad status
Checking for SAMBA AD services : [  OK  ]

# samba-tool dns zonelist localhost
Password for [HOME\root]:  <- had to figure out what password to use!
Password for [HOME\root]:  <- got it the second try...
Failed to bind to uuid 50abc2a4-574d-40b3-9d66-ee4fd5fba076 for 
ncacn_ip_tcp:127.0.0.1[1024,sign,abstract_syntax=50abc2a4-574d-40b3-9d66-ee4fd5fba076/0x00000005,localaddress=127.0.0.1] 
NT_STATUS_LOGON_FAILURE
ERROR(runtime): uncaught exception - (-1073741715, 'Logon failure')
   File "/usr/lib/python2.7/site-packages/samba/netcmd/__init__.py", 
line 175, in _run
     return self.run(*args, **kwargs)
   File "/usr/lib/python2.7/site-packages/samba/netcmd/dns.py", line 
809, in run
     dns_conn = dns_connect(server, self.lp, self.creds)
   File "/usr/lib/python2.7/site-packages/samba/netcmd/dns.py", line 40, 
in dns_connect
     dns_conn = dnsserver.dnsserver(binding_str, lp, creds)


>
>
> greetz,
>
> Louis
>
>
>> -----Oorspronkelijk bericht-----
>> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
>> Robert Moskowitz
>> Verzonden: vrijdag 28 augustus 2015 16:13
>> Aan: Rowland Penny; samba at lists.samba.org
>> Onderwerp: Re: [Samba] More on bind_dlz - documentation I have
>> not found
>>
>>
>>
>> On 08/28/2015 10:03 AM, Rowland Penny wrote:
>>
>>> make sure samba is running
>> what services.  This is systemd which does not have a real chkconfig
>> --list, but I do get:
>>
>> sernet-samba-ad        0:off   1:off   2:off   3:on    4:off
>> 5:on    6:off
>> sernet-samba-ctdb       0:off   1:off   2:off   3:on    4:off
>> 5:on    6:off
>> sernet-samba-nmbd       0:off   1:off   2:off   3:on    4:off
>> 5:on    6:off
>> sernet-samba-smbd       0:off   1:off   2:off   3:on    4:off
>> 5:on    6:off
>> sernet-samba-winbindd   0:off   1:off   2:off   3:on    4:off
>> 5:on    6:off
>>
>> # service sernet-samba-smbd status
>> /etc/init.d/sernet-samba-smbd wants to status but SAMBA_START_MODE is
>> set to "none".
>> Disable /etc/init.d/sernet-samba-smbd or set SAMBA_START_MODE in
>> /etc/default/sernet-samba to "classic".
>> Exiting gracefully now.                                    [WARNING]
>>
>> and
>>
>> # systemctl -l status sernet-samba-smbd
>> sernet-samba-smbd.service - LSB: initscript for the SAMBA smbd
>>     Loaded: loaded (/etc/rc.d/init.d/sernet-samba-smbd)
>>     Active: active (exited) since Wed 1969-12-31 19:00:34 EST;
>> 45 years
>> 7 months ago
>>
>> Dec 31 19:00:34 homebase.home.htt sernet-samba-smbd[1118]:
>> /etc/rc.d/init.d/sernet-samba-smbd wants to start but SAMBA_START_MODE
>> is set to "none".
>> Dec 31 19:00:34 homebase.home.htt sernet-samba-smbd[1118]: Disable
>> /etc/rc.d/init.d/sernet-samba-smbd or set SAMBA_START_MODE in
>> Dec 31 19:00:34 homebase.home.htt sernet-samba-smbd[1118]:
>> /etc/default/sernet-samba to "classic".
>> Dec 31 19:00:34 homebase.home.htt sernet-samba-smbd[1118]: Exiting
>> gracefully now.[WARNING]
>> Dec 31 19:00:34 homebase.home.htt systemd[1]: Started LSB: initscript
>> for the SAMBA smbd.
>>
>>
>>
>>> and try this:
>>>
>>> samba-tool dns zonelist localhost -U Administrator
>>>
>>>
>>>
>>
>> -- 
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>
>>
>




More information about the samba mailing list