WINLOGON.EXE segfaults with SAMBA PDC and NetWare client 4.5

Matthew Zwier mzwier at alliance.kamsc.k12.mi.us
Sat Feb 27 16:04:53 GMT 1999


We're using samba 2.0.2 (i386 RPM release) to emulate an NT PDC with
our Linux (RedHat 5.2, 2.2.1 kernel) box.  With 2.0.0, we were able to 
validate usernames against and store profiles on our server just fine, 
but file copies between NT workstations and the SAMBA server would
regularly fail with various problems (mostly "Unexpected network
error").  With 2.0.2, the file transfer problem has been resolved, but 
now WINLOGON.EXE crashes with an access violation shortly after
entering a password.  The failure appears to generate the following
log entries:

[1999/02/27 10:47:07, 0] lib/util_sock.c:read_data(376)
  read_data: read failure. Error = Connection reset by peer
[1999/02/27 10:47:41, 0] lib/username.c:map_username(85)
  can't open username map /home/samba/private/users.map
[1999/02/27 10:47:41, 0] rpc_server/srv_samr.c:get_user_info_21(1072)
  get_user_info_21 - TODO: convert unix times to NTTIMEs

I can't figure out what effect, if any, the "can't open username map"
error has on the logon process.  The filename above is correct and
readable to smbd.

I don't know if the following have any impact on the situation, but
they make me nervous:

[1999/02/27 10:41:02, 0] param/loadparm.c:map_parameter(1568)
  Unknown parameter encountered: "domain controller"
[1999/02/27 10:41:02, 0] param/loadparm.c:lp_do_parameter(1940)
  Ignoring unknown parameter "domain controller"
[1999/02/27 10:41:02, 0] param/loadparm.c:map_parameter(1568)
  Unknown parameter encountered: "domain sid"
[1999/02/27 10:41:02, 0] param/loadparm.c:lp_do_parameter(1940)
  Ignoring unknown parameter "domain sid"
[1999/02/27 10:41:02, 0] param/loadparm.c:map_parameter(1568)
  Unknown parameter encountered: "domain group map"
[1999/02/27 10:41:02, 0] param/loadparm.c:lp_do_parameter(1940)
  Ignoring unknown parameter "domain group map"
[1999/02/27 10:41:02, 0] param/loadparm.c:map_parameter(1568)
  Unknown parameter encountered: "local group map"
[1999/02/27 10:41:02, 0] param/loadparm.c:lp_do_parameter(1940)
  Ignoring unknown parameter "local group map"

The workstation successfully joins the domain, but can't log in.
We're running NT4SP4, and falling back to the version of WINLOGON.EXE
distributed with NT4SP3 (now THAT was an interesting trick to attempt) 
had no effect.

We're also running NetWare client utilities 4.5 to access our Novell
servers.  Given the option not to login to Novell, WINLOGON.EXE still
crashes.  No crashes occur when logging in as a local user.

Is 2.0.2 an inadequate release for PDC services?  Or is there a bug of 
some variety in NT, Samba, or both?  Any help would be greatly
appreciated.  Thank you.

Matt Zwier
mzwier at alliance.kamsc.k12.mi.us



More information about the samba-ntdom mailing list