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

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



On 08/28/2015 11:04 AM, Rowland Penny wrote:
> On 28/08/15 15:56, Robert Moskowitz wrote:
>>
>>
>> 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
>
> [snip]
>
> and try this:
>
> samba-tool dns zonelist localhost -U Administrator

# samba-tool dns zonelist localhost -U Administrator
Password for [HOME\Administrator]:
Password for [HOME\Administrator]:
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)


I am wondering if I know what passwords are for HOME\root or 
HOME\Administrator!

How were these set?





More information about the samba mailing list