MACHINE.SID bug?

Dana Canfield canfield at uindy.edu
Fri Jan 8 16:24:02 GMT 1999


I've been having a real terrible time getting samba running my new server
(it runs fine for me on several other machines), and now I think I'm
getting closer to having an answer, and it seems to be related to the
MACHINE.SID.  I've discovered that on my new machine, if the MACHINE.SID
does not exist, smbd will hang, and the MACHINE.SID will not be created.
If the MACHINE.SID exists, the machine will not appear in browse lists,
will work properly for about 10 minutes, and then samba will stop
responding and smbd will spawn indefinitely until the machine crashes.  

Jon-Francois has helped by looking at the machine, and writing a new
smb.conf for me.  We hadn't gotten real far, but now that I've discovered
this additional tidbit about the MACHINE.SID, I thought it might be worth
sending to the list in case this is a bug of some kind.  I can't reproduce
the behavior on other machines, but I don't have anything that is
identical to this either.  The exact same binary and config file works on
other machines, but those have been RedHat 5.0 and 5.2.  My production
machine is RedHat 5.1 with Kernel 2.0.36.

Attached is the log.smb (level 20) that is produced without the
MACHINE.SID existing.  Anyone have any idea what it going on here?

Thanks

---
[1999/01/08 11:10:38, 1] smbd/server.c:main(613)
  smbd version 2.0.0beta5 started.
  Copyright Andrew Tridgell 1992-1998
  doing parameter server string = BALROG
  doing parameter encrypt passwords = Yes
  doing parameter passwd program = /usr/bin/passwd %u
  doing parameter passwd chat = *Enter*new*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
  doing parameter unix password sync = Yes
  doing parameter read prediction = Yes
  doing parameter read size = 4096
  doing parameter socket options = TCP_NODELAY
  doing parameter domain admin group = root admins bcantou
  doing parameter logon script = %m.bat
  doing parameter logon path = \\%L\Profiles\%U
  doing parameter logon drive = H:
  doing parameter domain logons = Yes
  doing parameter os level = 64
  doing parameter preferred master = Yes
  doing parameter domain master = Yes
  doing parameter wins support = Yes
  doing parameter guest account = samba
  doing parameter log file = /var/log/samba/log.%m
  doing parameter unix realname = yes
[1999/01/08 11:10:38, 2] param/loadparm.c:do_section(2182)
  Processing section "[homes]"
  doing parameter comment = Home Directories
  doing parameter browseable = no
  doing parameter writable = yes
  doing parameter oplocks = yes
[1999/01/08 11:10:38, 2] param/loadparm.c:do_section(2182)
  Processing section "[netlogon]"
  doing parameter comment = Network Logon Service
  doing parameter path = /home/samba/netlogon
  doing parameter guest ok = yes
  doing parameter share modes = no
  doing parameter locking = no
  doing parameter public = no
  doing parameter write list = root administrator canfield jfm
[1999/01/08 11:10:38, 2] param/loadparm.c:do_section(2182)
  Processing section "[Scratch]"
  doing parameter comment = Temporary file space
  doing parameter path = /tmp
  doing parameter read only = no
  doing parameter public = yes
  doing parameter oplocks = yes
[1999/01/08 11:10:38, 2] param/loadparm.c:do_section(2182)
  Processing section "[Datafiles]"
  doing parameter comment = Read-Only Class Datafiles
  doing parameter path = /home/samba/datafiles
  doing parameter public = yes
  doing parameter writable = yes
  doing parameter write list = @instructors
  doing parameter oplocks = yes
[1999/01/08 11:10:38, 2] param/loadparm.c:do_section(2182)
  Processing section "[UCSfiles]"
  doing parameter comment = UCS Datafiles
  doing parameter path = /home/samba/ucsfiles
  doing parameter public = yes
  doing parameter writable = yes
  doing parameter write list = @ucs
  doing parameter oplocks = yes
[1999/01/08 11:10:38, 2] param/loadparm.c:do_section(2182)
  Processing section "[Profiles]"
  doing parameter comment = Logon Profile Path
  doing parameter public = no
  doing parameter writable = yes
  doing parameter path = /home/profiles
[1999/01/08 11:10:38, 3] param/loadparm.c:lp_load(2504)
  pm_process() returned Yes
[1999/01/08 11:10:38, 3] param/loadparm.c:lp_add_ipc(1478)
  adding IPC service
[1999/01/08 11:10:38, 7] param/loadparm.c:lp_servicenumber(2596)
  lp_servicenumber: couldn't find printers
[1999/01/08 11:10:38, 7] param/loadparm.c:lp_servicenumber(2596)
  lp_servicenumber: couldn't find printers
[1999/01/08 11:10:38, 6] param/loadparm.c:lp_file_list_changed(1767)
  lp_file_list_changed()
  file /etc/smb.conf -> /etc/smb.conf  last mod_time: Fri Jan  8 11:10:05 1999
  
[1999/01/08 11:10:38, 4] lib/interface.c:get_broadcast(118)
  Derived broadcast address 192.146.191.255
[1999/01/08 11:10:38, 2] lib/interface.c:interpret_interfaces(213)
  Added interface ip=192.146.191.11 bcast=192.146.191.255 nmask=255.255.255.0
[1999/01/08 11:10:38, 1] smbd/files.c:file_init(219)
  file_init: Information only: requested 10000 open files, 246 are available.
[1999/01/08 11:10:38, 6] lib/charset.c:codepage_initialise(338)
  codepage_initialise: client code page = 850
[1999/01/08 11:10:38, 5] lib/charset.c:load_client_codepage(196)
  load_client_codepage: loading codepage 850.
  Adding chars 0x85 0xb7 (l->u = True) (u->l = True)
  Adding chars 0xa0 0xb5 (l->u = True) (u->l = True)
  Adding chars 0x83 0xb6 (l->u = True) (u->l = True)
  Adding chars 0xc6 0xc7 (l->u = True) (u->l = True)
  Adding chars 0x84 0x8e (l->u = True) (u->l = True)
  Adding chars 0x86 0x8f (l->u = True) (u->l = True)
  Adding chars 0x91 0x92 (l->u = True) (u->l = True)
  Adding chars 0x87 0x80 (l->u = True) (u->l = True)
  Adding chars 0x8a 0xd4 (l->u = True) (u->l = True)
  Adding chars 0x82 0x90 (l->u = True) (u->l = True)
  Adding chars 0x88 0xd2 (l->u = True) (u->l = True)
  Adding chars 0x89 0xd3 (l->u = True) (u->l = True)
  Adding chars 0x8d 0xde (l->u = True) (u->l = True)
  Adding chars 0xa1 0xd6 (l->u = True) (u->l = True)
  Adding chars 0x8c 0xd7 (l->u = True) (u->l = True)
  Adding chars 0x8b 0xd8 (l->u = True) (u->l = True)
  Adding chars 0xd0 0xd1 (l->u = True) (u->l = True)
  Adding chars 0xa4 0xa5 (l->u = True) (u->l = True)
  Adding chars 0x95 0xe3 (l->u = True) (u->l = True)
  Adding chars 0xa2 0xe0 (l->u = True) (u->l = True)
  Adding chars 0x93 0xe2 (l->u = True) (u->l = True)
  Adding chars 0xe4 0xe5 (l->u = True) (u->l = True)
  Adding chars 0x94 0x99 (l->u = True) (u->l = True)
  Adding chars 0x9b 0x9d (l->u = True) (u->l = True)
  Adding chars 0x97 0xeb (l->u = True) (u->l = True)
  Adding chars 0xa3 0xe9 (l->u = True) (u->l = True)
  Adding chars 0x96 0xea (l->u = True) (u->l = True)
  Adding chars 0x81 0x9a (l->u = True) (u->l = True)
  Adding chars 0xec 0xed (l->u = True) (u->l = True)
  Adding chars 0xe7 0xe8 (l->u = True) (u->l = True)
  Adding chars 0x9c 0x0 (l->u = False) (u->l = False)



More information about the samba-ntdom mailing list