[Samba] Creating maching trust accounts

Horace mailinglist at lhplan.tk
Sun Jan 19 12:50:21 MST 2014


On 2014-01-19 13:43, Horace wrote:
> On 2014-01-19 12:23, Horace wrote:
>> Hello,
>> 
>> I have created a machine trust account with the following command
>> 'pdbedit -a -m -u machinename' and I noticed that after I execute the
>> following command 'pdbedit -L -v -u machinename', the Unix username is
>> in lowercase letters? Because when I attempt to join a domain with a
>> Windows 8.1 machine, it emits a error that it can't find the Machine
>> account? Does it matter if the machinename is in capitals or lowercase
>> ?
> 
> I just ran into another problem, which could be the cause of the issue
> abouve, I didn't realize that after migrating from 192.168.10.2 to
> 192.168.1.1, the dns entries would be out of date. In the mean time, I
> can't seem to find a reliable way to update the DNS entry with a new
> IP?. In the mean time, I will be fool around with 'samba-tool dns..'

None of the commands under samba-tool dns appear to work?

./samba-tool dns update 192.168.1.1 pdc-s2.accountsad.lhprojects.lan 
pdc-s2.accountsad.lhprojects.lan A 192.168.10.2 192.168.1.1 
-UAdministrator
...
dcerpc: alter_resp - rpc fault: WERR_OK
Failed to bind to uuid 50abc2a4-574d-40b3-9d66-ee4fd5fba076 for 
50abc2a4-574d-40b3-9d66-ee4fd5fba076 at ncacn_ip_tcp:192.168.1.1[1024,sign] 
NT_STATUS_NET_WRITE_FAULT
ERROR(runtime): uncaught exception - (-1073741614, 
'NT_STATUS_NET_WRITE_FAULT')
   File 
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", 
line 175, in _run
     return self.run(*args, **kwargs)
   File 
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", line 
1107, in run
     dns_conn = dns_connect(server, self.lp, self.creds)
   File 
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dns.py", line 
37, in dns_connect
     dns_conn = dnsserver.dnsserver(binding_str, lp, creds)

I've already search the mailing list and google and I couldn't find any 
simple solution to this error NT_STATUS_NET_WRITE_FAULT? Is there or 
more simply way to rebuilding Samba Internal DNS ? Or file that be 
manually edited ?

Samba Ver: 4.2.0pre1-GIT-a793ac0


More information about the samba mailing list