[Samba] net ads info: failed to get server's current time
Guy-Laurent Subri
guy-laurent at subri.ch
Wed Oct 21 17:35:37 UTC 2015
Hi all,
We're having issues with Samba at work. I've searched a bit and the only
thing that have caught my eye is this: when I run the 'net ads info'
command on our DC --we have a Debian on which samba4 is installed and
configured as a AD DC-- I have the message "Failed to get server's
current time!", and "Server time: Thu, 01 Jan 1970 01:00:00 CET".
The thing is that if I run the 'date' command, it gives me the correct
date and time. I've checked ntpd and it looks alright too.
I've tried running 'net time set -S ipOfTheDC' thinking it would maybe
set the time correctly with the output of the 'date' command but it
didn't.
Also, but I think this is a known issue, if I run 'net time' I have a
segfault.
Does anybody have an idea of what is going on ? I'm pretty sure
something's wrong here, but I may be wrong too...
Thanks
Guy-Laurent
More information about the samba
mailing list