EMERGENCY: User profile for Win98 domain logon lost after upgrade to Oct 5 CVS code

shui at pointsnorth.com shui at pointsnorth.com
Wed Oct 7 17:08:21 GMT 1998


Hello all,

I'm in very big big trouble here.  In an attempt to enable domain logon for
NT workstations as well, I fetched the CVS code
on Oct 5, 98.  I successful built it with no error.  I copied the smb.conf
from a workable Sambav1.9.18p8 to the Samba2.0alpha.
Then I started the smbd and nmbd of Samba2.0alpha.  I rebooted one of the
Windows 98 (which used to be working happily
with Samba1.9.18p8).  I can do a domain logon.  However, Samba log showed
that it attempts to perform the netlogon but for
a short while, everything is disconnected.  A net use on the Windows98
workstation showed that service netlogon was disconnected.
Other services didn't even show up on the output of net use.  Strange
enough, the Windows 98 then tries to look for the policy file
which it never will in Samba1.9.18p8.   I'm forced to fall back to
1.9.18p8.

Could some one please provide assistance on why that happens?  I don't even
have a chance to test the domain logon on
NT yet.  The Oct 5 CVS code doesn't seem to be working with Windows 98 yet.
Anyone has a similar experience before.
I'll greatly appreciate for any comment or advise.  I'm in urgent need to
solve this problem.

Thanks a lot for your help!  Below please find the smb.conf and extract
from smb.log.  I'm sorry if the message is real long 'cause
I set the debug level to 10.  By the way, from the error message, the
server keeps complaining about my second printer and said
"Couldn't find printers".  Why?

Sandie

------- SMB.CONF ------

workgroup = yyctpa
server string = Calgary, 'B' Agency Server
security = user
password level = 2
domain controller=yes
domain logons = yes
preferred master=yes
domain master=yes
wins support=yes
logon script = %U.bat
debug level = 10
encrypt passwords = yes
unix password sync = yes
passwd program = /bin/nispasswd %u
passwd chat = *New\spassword* %n\n *enter\snew\spassword* %n\n
*password*changed* .

[netlogon]

     path = /usr/local/samba2.0a/samba/netlogon
     writeable = no
     guest ok = no
     root preexec = /usr/local/samba2.0a/samba/bin/makelogonscript %U %h

[homes]

     comment = Home Directories
     browseable = no
     writeable = no
     write list = %S

[ibmlaser]

     printable = yes
     comment = "IBM Laser Printer"
     public = yes
     browseable = yes
     printer name = print01
     path = /tmp

[lexmark]

     printable = yes
     comment = "LexMark Laser Printer"
     public = yes
     browseable = yes
     printer name = print02
     path = /tmp

------- SMB.LOG ------
1998/10/07 08:27:19, 1] smbd/service.c:make_connection(482)
  yyctpa1f (204.50.11.40) connect to service netlogon as user testuser
(uid=1001
, gid=10) (pid 1212)
[1998/10/07 08:27:19, 1] smbd/service.c:make_connection(482)
  yyctpa1f (204.50.11.40) connect to service netlogon as user testuser
(uid=1001
, gid=10) (pid 1215)
[1998/10/07 08:27:20, 1] smbd/service.c:make_connection(482)
  yyctpa1f (204.50.11.40) connect to service netlogon as user testuser
(uid=1001
, gid=10) (pid 1218)
1998/10/07 08:29:19, 1] smbd/service.c:make_connection(482)
  yyctpa1f (204.50.11.40) connect to service netlogon as user testuser
(uid=1001
, gid=10) (pid 1245)
[1998/10/07 08:29:23, 1] smbd/service.c:make_connection(482)
  yyctpa1f (204.50.11.40) connect to service netlogon as user testuser
(uid=1001
, gid=10) (pid 1248)
[1998/10/07 08:32:47, 1] smbd/service.c:make_connection(482)
  yyctpa1f (204.50.11.40) connect to service ibmlaser as user testuser
(uid=1001
, gid=10) (pid 1254)
  doing parameter encrypt passwords = yes
  doing parameter unix password sync = yes
  doing parameter passwd program = /bin/nispasswd %u
  doing parameter passwd chat = *New\spassword* %n\n *enter\snew\spassword*
%n\n
 *password*changed* .
[1998/10/07 08:36:40, 2] param/loadparm.c:do_section(2154)
  Processing section "[netlogon]"
  doing parameter path = /usr/local/samba2.0a/samba/netlogon
  doing parameter writeable = no
  doing parameter guest ok = no
  doing parameter root preexec =
/usr/local/samba2.0a/samba/bin/makelogonscript
%U %h
[1998/10/07 08:36:40, 2] param/loadparm.c:do_section(2154)
  Processing section "[ibmlaser]"
  doing parameter printable = yes
  doing parameter comment = "IBM Laser Printer"
  doing parameter public = yes
  doing parameter browseable = yes
  doing parameter printer name = print01
  doing parameter path = /tmp
[1998/10/07 08:36:40, 2] param/loadparm.c:do_section(2154)
  Processing section "[lexmark]"
  doing parameter printable = yes
  doing parameter comment = "LexMark Laser Printer"
  doing parameter public = yes
  doing parameter browseable = yes
  doing parameter printer name = print02
  doing parameter path = /tmp
[1998/10/07 08:36:40, 3] param/loadparm.c:lp_load(2476)
  pm_process() returned Yes
[1998/10/07 08:36:40, 3] param/loadparm.c:lp_add_ipc(1450)
  adding IPC service
[1998/10/07 08:36:40, 7] param/loadparm.c:lp_servicenumber(2554)
 lp_servicenumber: couldn't find printers
[1998/10/07 08:36:40, 7] param/loadparm.c:lp_servicenumber(2554)
  lp_servicenumber: couldn't find printers

(*** This lines keep repeating for a number of times -- SKIP **)
[1998/10/07 08:37:40, 6] param/loadparm.c:lp_file_list_changed(1739)
  lp_file_list_changed()
  file /usr/local/samba2.0a/samba/lib/smb.conf ->
/usr/local/samba2.0a/samba/lib
/smb.conf  last mod_time: Wed Oct  7 08:36:25 1998

[1998/10/07 08:37:47, 6] param/loadparm.c:lp_file_list_changed(1739)
  lp_file_list_changed()
  file /usr/local/samba2.0a/samba/lib/smb.conf ->
/usr/local/samba2.0a/samba/lib
/smb.conf  last mod_time: Wed Oct  7 08:36:25 1998

[1998/10/07 08:37:56, 10] lib/util.c:read_smb_length_return_keepalive(2181)
  got smb length of 35
[1998/10/07 08:37:56, 6] smbd/process.c:process_smb(564)
  got message type 0x0 of len 0x23
[1998/10/07 08:37:56, 3] smbd/process.c:process_smb(565)
  Transaction 8 of length 39
[1998/10/07 08:37:56, 5] lib/util.c:show_msg(996)
  size=35
  smb_com=0x71
  smb_rcls=0
smb_reh=0
  smb_err=0
  smb_flg=0
  smb_flg2=0
[1998/10/07 08:37:56, 5] lib/util.c:show_msg(1002)
  smb_tid=2
  smb_pid=6595
  smb_uid=100
  smb_mid=4609
  smt_wct=0
[1998/10/07 08:37:56, 5] lib/util.c:show_msg(1012)
  smb_bcc=0
[1998/10/07 08:37:56, 3] smbd/process.c:switch_message(402)
  switch message SMBtdis (pid 1254)
[1998/10/07 08:37:56, 1] smbd/service.c:close_cnum(508)
  yyctpa1f (204.50.11.40) closed connection to service ibmlaser
[1998/10/07 08:37:56, 3] smbd/connection.c:yield_connection(40)
  Yielding connection to ibmlaser
[1998/10/07 08:37:56, 3] smbd/connection.c:yield_connection(40)
  Yelding connection to STATUS.
1998/10/07 08:37:56, 8] lib/util.c:fcntl_lock(4339)
  fcntl_lock 10 35 0 1 2
[1998/10/07 08:37:56, 8] lib/util.c:fcntl_lock(4400)
  Lock call successful
[1998/10/07 08:37:56, 8] lib/util.c:fcntl_lock(4339)
  fcntl_lock 10 35 0 1 3
[1998/10/07 08:37:56, 8] lib/util.c:fcntl_lock(4400)
  Lock call successful
[1998/10/07 08:37:56, 6] lib/util.c:write_socket(1839)
  write_socket(7,39) wrote 39
[1998/10/07 08:37:56, 3] smbd/process.c:smbd_process(806)
  end of file from client
[1998/10/07 08:37:56, 2] smbd/server.c:exit_server(405)
  Closing connections
[1998/10/07 08:37:56, 3] smbd/server.c:exit_server(430)
  Server exit (normal exit)

(*** The whole process repeats until yielding all connections ***)

1998/10/07 08:38:21, 3] smbd/process.c:switch_message(402)
  switch message SMBtdis (pid 1233)
[1998/10/07 08:38:21, 3] smbd/service.c:close_cnum(508)
  yyctpa06 (204.50.11.6) closed connection to service IPC$
[1998/10/07 08:38:21, 3] smbd/connection.c:yield_connection(40)
  Yielding connection to IPC$

Changed root to /
[1998/10/07 08:38:42, 3] smbd/oplock.c:open_oplock_ipc(50)
  open_oplock_ipc: opening loopback UDP socket.
[1998/10/07 08:38:42, 3] lib/util.c:open_socket_in(3276)
  bind succeeded on port 0
[1998/10/07 08:38:42, 3] smbd/oplock.c:open_oplock_ipc(75)
  open_oplock ipc: pid = 1359, global_oplock_port = 58070
[1998/10/07 08:38:42, 3] smbd/process.c:smbd_process(755)
  priming nmbd

1998/10/07 08:38:57, 0] smbd/process.c:smbd_process(838)
  Reloading services after SIGHUP
[1998/10/07 08:38:57, 5] param/loadparm.c:free_service(1320)
  free_service: Freeing service netlogon
[1998/10/07 08:38:57, 5] param/loadparm.c:free_service(1320)
  free_service: Freeing service homes
[1998/10/07 08:38:57, 5] param/loadparm.c:free_service(1320)
  free_service: Freeing service notes
[1998/10/07 08:38:57, 5] param/loadparm.c:free_service(1320)
  free_service: Freeing service root
[1998/10/07 08:38:57, 5] param/loadparm.c:free_service(1320)
  free_service: Freeing service software





More information about the samba-ntdom mailing list