[Samba] samba-tool time
James
lingpanda101 at gmail.com
Fri Feb 27 06:22:04 MST 2015
Both tests work for me. However I get the following error when
attempting against my member server
@domain1:~# samba-tool time member1.domain.local
ERROR(runtime): uncaught exception - Connection to SRVSVC pipe of server
'member1.domain.local' failed: NT_STATUS_ACCESS_DENIED
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/time.py",
line 59, in run
self.outf.write(net.time(server_name)+"\n")
If I substitute the member servers domain name with it's IP it succeeds.
#samba-tool time 10.0.0.10
Fri Feb 27 08:17:37 2015 EST
On 2/27/2015 7:12 AM, Rowland Penny wrote:
> On 27/02/15 11:45, L.P.H. van Belle wrote:
>> Ok.. very strange ..
>>
>> for me :
>> ERROR(runtime): uncaught exception - Connection to SRVSVC pipe of
>> server 'internal.domain.tld' failed: NT_STATUS_NONE_MAPPED
>>
>> for peter:
>> one works, one :
>> ERROR(runtime): uncaught exception - Connection to SRVSVC pipe of
>> server 'ulysses.home.serbe.ch' failed: NT_STATUS_ACCESS_DENIED
>> ERROR(runtime): uncaught exception - Connection to SRVSVC pipe of
>> server 'ptbtime1.ptb.de' failed: NT_STATUS_NO_MEMORY
>>
>> for Tim
>> ERROR(runtime): uncaught exception - Connection to SRVSVC pipe of
>> server 'dc1.domain.example.com' failed: NT_STATUS_REVISION_MISMATCH
>>
>> for Rowland.
>> no errors.
>>
>> :-/
>>
>>
>> Why am we see-ing all the different messages..
>> NT_STATUS_NONE_MAPPED
>> NT_STATUS_ACCESS_DENIED
>> NT_STATUS_NO_MEMORY
>> NT_STATUS_REVISION_MISMATCH
>>
>> ??
>> ... wel.. first lunch..
>>
>> Greetz,
>>
>> Louis
>>
>>
>>> -----Oorspronkelijk bericht-----
>>> Van: belle at bazuin.nl [mailto:samba-bounces at lists.samba.org]
>>> Namens L.P.H. van Belle
>>> Verzonden: vrijdag 27 februari 2015 10:16
>>> Aan: samba at lists.samba.org
>>> Onderwerp: [Samba] samba-tool time
>>>
>>> Hai,
>>> Can somebody try to run :
>>> samba-tool time
>>> and
>>> samba-tool time servername.fqdn
>>> when i run it, im getting :
>>> ERROR(runtime): uncaught exception - Connection to SRVSVC pipe
>>> of server 'internal.domain.tld' failed: NT_STATUS_NONE_MAPPED
>>> File
>>> "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py",
>>> line 175, in _run
>>> return self.run(*args, **kwargs)
>>> File
>>> "/usr/lib/python2.7/dist-packages/samba/netcmd/time.py", line
>>> 59, in run
>>> self.outf.write(net.time(server_name)+"\n")
>>>
>>> Greetz,
>>> Louis
>>>
>>> --
>>> To unsubscribe from this list go to the following URL and read the
>>> instructions: https://lists.samba.org/mailman/options/samba
>>>
>>>
>
> What!! you get time to eat :-D
>
> Sorry Louis, but it just works for me, no matter where I ask, DC or
> member server
>
> Rowland
>
--
-James
More information about the samba
mailing list