Failed on PDC for NT4 -> /??/D:/WINNT/system32/userinit.exe

Christian Habelmann Christian.Habelmann at alcatel.de
Mon May 3 09:25:31 GMT 1999


Hello,

after successfully trying samba 2.0.2 on linux 2.2.1 with
an old win95 client (first 95 release) I failed with setting up an
PDC.
I several times (re-) installed / tried win NT 4 SP4 clients
to get run on samba 2.0.2 & 2.0.3 and failed.

After loading a few files client want to connect to [homes]
and seems to try to load windows specific files which are (fully user
accessable) under local fs from remote!?

[1999/05/02 23:03:56, 3] lib/doscalls.c:dos_ChDir(327)
  dos_ChDir to /home/habelmann/nt_workspace
[1999/05/02 23:03:56, 3] smbd/trans2.c:call_trans2qfilepathinfo(1297)   
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 257
[1999/05/02 23:03:56, 5] smbd/filename.c:unix_convert(351)
  unix_convert called on file "\??\D:\WINNT\system32\userinit.exe"      
[1999/05/02 23:03:56, 3] lib/util.c:unix_clean_name(609)
  unix_clean_name [/??/D:/WINNT/system32/userinit.exe]
[1999/05/02 23:03:56, 5] smbd/mangle.c:is_8_3(335)
  Checking userinit.exe for 8.3      
[1999/05/02 23:03:56, 5] smbd/filename.c:unix_convert(460)
  unix_convert begin: name = ??/D:/WINNT/system32/userinit.exe, dirpath
= , star
t = ??/D:/WINNT/system32/userinit.exe
[1999/05/02 23:03:56, 5] smbd/filename.c:unix_convert(554)
  Intermediate not found ??
[1999/05/02 23:03:56, 8] lib/util.c:is_in_path(2432)
  is_in_path: ??/D:/WINNT/system32/userinit.exe
[1999/05/02 23:03:56, 8] lib/util.c:is_in_path(2437)
  is_in_path: no name list.
[1999/05/02 23:03:56, 3] lib/util.c:unix_clean_name(609)
  unix_clean_name [??/D:/WINNT/system32/userinit.exe]
[1999/05/02 23:03:56, 3] smbd/trans2.c:call_trans2qfilepathinfo(1303)
  fileinfo of ??/D:/WINNT/system32/userinit.exe failed (No such file or
director
y)

..
..
..
[1999/05/02 23:03:56, 3] smbd/trans2.c:call_trans2qfilepathinfo(1297)   
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 257
[1999/05/02 23:03:56, 5] smbd/filename.c:unix_convert(351)
  unix_convert called on file "\userinit.exe"
[1999/05/02 23:03:56, 3] lib/util.c:unix_clean_name(609)
  unix_clean_name [/userinit.exe]    
[1999/05/02 23:03:56, 5] smbd/mangle.c:is_8_3(335)
  Checking userinit.exe for 8.3      
[1999/05/02 23:03:56, 5] smbd/filename.c:unix_convert(460)
  unix_convert begin: name = userinit.exe, dirpath = , start =
userinit.exe
...
[1999/05/02 23:03:56, 3] smbd/trans2.c:call_trans2qfilepathinfo(1303)   
  fileinfo of userinit.exe failed (No such file or directory)
[1999/05/02 23:03:56, 3] smbd/error.c:error_packet(138)
  error packet at line 1309 cmd=50 (SMBtrans2) eclass=1 ecode=2
[1999/05/02 23:03:56, 3] smbd/error.c:error_packet(143)
  error string = No such file or directory

This has been with two different computers with or without ntconfig.pol.
I could log on, but procedure interrupts after some add. filerequest
(e.g explorere.exe ...)
After hours of testing I decide to install on another system win95
(first release).

What should i say .. there was also a (different?) fault.
I tried to match both (esp. Network-) configurations( both 95 systems)
as similiar as possible, but on new system I can log on also, but
startup script
(wich connects drives) will not be started and profile isn't read
from server.
I found the service profile wasn't connected:

working (old PC):

[1999/05/02 22:33:17, 3] smbd/ipc.c:named_pipe(3479)
  named pipe command on <LANMAN> name 
[1999/05/02 22:33:17, 3] smbd/ipc.c:api_reply(3424)
  Got API command 56 of form <zWrLh> <B21BzzzWDDzzDDWWzWzDWb21W>
(tdscnt=0,tpscn
t=47,mdrcnt=449,mprcnt=6)
[1999/05/02 22:33:17, 3] smbd/ipc.c:api_reply(3429)
  Doing RNetUserGetInfo
[1999/05/02 22:33:17, 3] smbd/ipc.c:api_RNetUserGetInfo(2414)
    Username of UID 1000 is habelman  
[1999/05/02 22:33:17, 4] smbd/ipc.c:api_RNetUserGetInfo(2419)
  RNetUserGetInfo level=11
[1999/05/02 22:33:17, 4] lib/util.c:automount_server(2059)
  Home server: nt_fileserver


doesn't work (win 95b):

[1999/05/02 22:36:01, 3] smbd/ipc.c:named_pipe(3479)
  named pipe command on <LANMAN> name 
[1999/05/02 22:36:01, 3] smbd/ipc.c:api_reply(3424)
  Got API command 13 of form <WrLh> <B16BBDz>
(tdscnt=0,tpscnt=19,mdrcnt=427,mpr
cnt=6)
[1999/05/02 22:36:01, 3] smbd/ipc.c:api_reply(3429)
  Doing RNetServerGetInfo
[1999/05/02 22:36:01, 4] smbd/ipc.c:api_RNetServerGetInfo(2064)
  NetServerGetInfo level 1
[1999/05/02 22:36:01, 4] smbd/ipc.c:get_server_info(1064)
  Servertype search: 3fffffff
[1999/05/02 22:36:01, 4] smbd/ipc.c:get_server_info(1116)
  s: dom mismatch                 BER1 80001000
     BER1
[1999/05/02 22:36:01, 4] smbd/ipc.c:get_server_info(1131)
  **SV**        NT_FILESERVER    99b0b               Samba
2.0.2            BER1
[1999/05/02 22:36:01, 4] smbd/ipc.c:get_server_info(1131)
  **SV**               SERVER     9a03               Samba
2.0.2            BER1
[1999/05/02 22:36:01, 4] smbd/ipc.c:get_server_info(1131)
  **SV**                SAMBA     9a03               Samba
2.0.2            BER1


Why do both 95 system send different api commands?
Prior in file everything was the same output.
Domain has been set to BER1 on both systems (wins was deactivated).


# Samba config file created using SWAT
# from default.christian.net (192.168.1.1)
# Date: 1999/02/23 18:41:42

# Global parameters
	netbios name = NT_FILESERVER
	netbios aliases = server samba
	log file = /var/adm/smblogs/log.%m
	deadtime = 30
	shared mem size = 4048576
	character set = ISO8859-1
	lm announce = False
	guest account = samba_guest
	invalid users = root
	create mask = 0740
	directory mask = 0700
	hosts allow = localhost, 192.168.1.
	printer driver location = \\nt_fileserver\shared_driver$
	case sensitive = Yes
	#browseable = no
	wide links = No
	dont descend = /proc,/dev,/boot,/usr,/var
	announce as = NT
	debug level = 3 
	mangled names = yes 
	case sensitive = no
# von hier an domain support
	security = user
	domain logons = yes
	workgroup = BER1
	domain master = yes
	wins support  = yes
	logon path =  \\%N\profile
#logon path =  \\%L\profile
        logon drive = h:
#        logon home = \\%N\%u\nt_workspace
	logon home = \\%N\%U

	encrypt passwords = yes
#	domain admin users = habelman
	#domain groups = arbeitsplatz_1

[netlogon]
        path = %H/netlogon
	logon script = START.BAT
        read only = yes
        guest ok = no
        browseable = Yes
	locking = no
	public = no

[profile]
        path = %H/profile
        browseable = Yes
#        username = %S
#        only user = Yes
        read only = no

[configurations]
        path = %H/nt_temp_storage
        browseable = Yes
        read only = no
#        username = %u
#        only user = Yes


[www]
	path = %H/www
	browseable = no
	read only = no
#	username = %S
#        only user = Yes


[update]
	path = /home/samba_public_shared/update
	force user = samba_guest
	read only = yes
        browseable = Yes


[shared_space]
	path = /home/samba_public_shared/tmp
	guest account = nobody
	invalid users = 
	force user = samba_guest
	force group = 65534
	read only = no
	create mask = 0744
	directory mask = 0755
	guest ok = Yes
	hosts allow = 
	case sensitive = No
	browseable = Yes
	wide links = Yes
	dont descend = 
	printable = true

[shared_applications]
	path = /home/samba_public_shared/applications
	read only = yes
        guest ok = no
        hosts allow =
        browseable = no
        dont descend = /home/samba_public_shared/applications/nick_l


[shared_driver]
	path = /home/samba_public_shared/drivers
        read only = yes
        guest ok = yes
        hosts allow =
        browseable = yes
	dont descend = /home/samba_public_shared/applications/nick_l

[CDROM]
	path = /cdrom
	guest account = nobody
	invalid users = 
	create mask = 0744
	directory mask = 0755
	hosts allow = 
	case sensitive = No
	browseable = Yes
	fake oplocks = Yes
	wide links = Yes
	dont descend = 
	read only = yes

[diskette_A]
        path = /diskette_A
	root postexec = /etc/umount /diskette_A
        guest account = nobody
        invalid users =
        create mask = 0744
        directory mask = 0755
        hosts allow =
        case sensitive = No
        browseable = Yes
        #fake oplocks = Yes
        wide links = no
        dont descend =
        read only = no

[homes]
	comment = "Arbeitsverzeichnis von %u"
	path = %H/nt_workspace
	username = %S
	guest account = nobody
	invalid users = 
	read only = no
	writeable = yes
	create mask = 0700
	directory mask = 0700
	only user = Yes
#	hosts allow = 
	#browseable = no
	browseable = yes
	wide links = Yes
	follow symlinks = no
	dont descend = 




PS: After (failed) login all filesystems can be accessed via samba.


Thanks a lot for your help!




________________________________________________
Christian Habelmann     |  SSD Berlin  VB/EAD-3
ATC Maintenance & Support Team
Email:    Christian.Habelmann at alcatel.de
VAX-mail: 64513::Habelmann
Tel :     +49 30 7002-3489


More information about the samba-ntdom mailing list