[Samba] intermitent domain logon failures

Robert Stanford rob at rotapile.com
Mon Oct 28 13:06:59 GMT 2002


I have an issue where at odd times, maybe after 3 days, maybe after a
week, people suddenly cant do domain logons. Unfortunately the machine
is 50km away so i'm sure theres more details I can glean once I can
interogate the users a bit more.

Things I have noticed:
Anyone currently logged in can still work fine.
A restart of samba fixes the issue (till it hapens next).
ps ax shows smbd and nmbd still running.
I forgot to run netstat so unfortunately can't comment if they were
listening.

However I did manage to grab a snapshots of the logs up to the point
samba was restarted. Heres a couple of snippets

 tail nmbd.log 
[2002/10/28 08:23:17, 1]
nmbd/nmbd_processlogon.c:process_logon_packet(69)
  process_logon_packet: Logon from 10.0.0.113: code = 0x12
[2002/10/28 08:32:28, 1]
nmbd/nmbd_processlogon.c:process_logon_packet(69)
  process_logon_packet: Logon from 10.0.0.110: code = 0x12
[2002/10/28 08:32:28, 1]
nmbd/nmbd_processlogon.c:process_logon_packet(69)
  process_logon_packet: Logon from 10.0.0.110: code = 0x12
[2002/10/28 08:34:02, 1]
nmbd/nmbd_processlogon.c:process_logon_packet(69)
  process_logon_packet: Logon from 10.0.0.109: code = 0x0
[2002/10/28 08:34:34, 0] nmbd/nmbd.c:sig_term(63)
  Got SIGTERM: going down...

 tail smbd.log 
[2002/10/21 21:30:57, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to 
[2002/10/21 21:30:57, 3] smbd/server.c:exit_server(492)
  Server exit (caught signal)
[2002/10/27 06:25:34, 0] smbd/server.c:sig_hup(384)
  Got SIGHUP
[2002/10/27 06:25:34, 1] smbd/server.c:open_sockets(220)
  Reloading services after SIGHUP
[2002/10/27 06:25:35, 1] lib/debug.c:debug_message(250)
  INFO: Debug class all level = 1   (pid 18438 from pid 18438)

We are running Debian woody
with samba 2.2.3a-6   
and Linux 2.4.19 i686

---smb.conf---

[global]
    workgroup = diggers
    server string = %h server (Samba %v)
    load printers = yes
    netbios name = admin
    domain logons = yes
    security = user
    os level = 34
    local master = yes
    preferred master = yes
    domain master = yes
    time server = yes
    wins support = yes
    name resolve order = wins bcast lmhosts
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    encrypt passwords = yes
    unix password sync = yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
#    use spnego = no
    domain admin group = lynj
    log level = 1
    log file = /var/log/samba/%m.log
    load printers = yes
    printcap name = /etc/printcap.cups
    printing = cups
    logon script = logon.bat

[homes]
    comment = Home Directories
    read only = No
    create mask = 0770
    directory mask = 0770
    browseable = No
    writeable = yes

[netlogon]
    comment = Domain logon services
    path = /home/netlogon
    public = no
    writeable = no
    browseable = no

other shares...

---end smb.conf---
---
¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤
   Robert Stanford 
º¤º°`°º¤ø,¸¸,ø¤º°`°º¤º




More information about the samba mailing list