[Samba] 2.2.3a PDC sometimes stops accepting logons

Gerald (Jerry) Carter jerry at samba.org
Fri Apr 5 06:39:02 GMT 2002

On Tue, 2 Apr 2002, Marshall, Joshua wrote:

> Is there a way to find out what the codes above are? They definitely come 
> in pairs and when you get a pair of 0x0's it fails and when you get a 0x7 
> it works.

see include/nameserv.h and look around for QUERYFORPDC.

> Another question is: Is there a way to test for a logon using smbclient
> or similar tool? I'd like to be able to get a job in cron to test
> whether it's working and alert me before the windows users start to
> complain.

Check out rpcclient in HEAD for some of the netlogon commands.

cheers, jerry
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sam's Teach Yourself Samba in 24 Hours" 2ed.      ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

More information about the samba mailing list