[Samba] Samba Time Server Problem

Ian Stirling stirling at uk.ibm.com
Fri Sep 3 05:32:56 MDT 2010

I recently reinstalled a system running Samba as a WINS/Time server and I can no longer get Windows systems to access it correctly.   

I see the following now

[D:\Temp]net time \\timeserver
System error 5 has occurred.

Access is denied.

I am an administrator on this system and it works OK if I point it at another server I know is running Samba

[D:\Temp]net time \\othersystem
Current time at \\othersystem is 9/3/2010 11:42 AM

The command completed successfully.
What have I missed in the Samba config on my server that is causing this problem.   Here is my smb.conf

# testparm -s
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
        server string = Samba Server
        obey pam restrictions = Yes
        passdb backend = tdbsam
        pam password change = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
        unix password sync = Yes
        syslog = 0
        log file = /var/log/samba/log.%m
        max log size = 50
        smb ports = 139
        name resolve order = host
        time server = Yes
        dns proxy = No
        wins support = Yes
        ldap ssl = no
        panic action = /usr/share/samba/panic-action %d
        invalid users = root, daemon, bin, sys, adm, uucp, nuucp, lpd, imnadm, ipsec, lp, snapp, invscout

        comment = Home Directories
        valid users = %S
        create mask = 0700
        directory mask = 0700
        browseable = No

        comment = All Printers
        path = /var/spool/samba
        create mask = 0700
        printable = Yes
        browseable = No

        comment = Printer Drivers
        path = /var/lib/samba/printers

More information about the samba mailing list