[Samba] net ads info: failed to get server's current time

Rowland Penny rowlandpenny241155 at gmail.com
Wed Oct 21 18:06:33 UTC 2015


On 21/10/15 18:35, Guy-Laurent Subri wrote:
> 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".

It works for me on a Debian 4.1.17 DC, so you may have something 
mis-configured, have you altered the smb.conf in any way ? do you have 
ntp installed and configured correctly ?

Rowland

>
> 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