NT WS 4.0 Sp3 can´t login into Samba controlled domain
Christian Ambach
ambach at unfall.klinik.uni-mainz.de
Tue Nov 24 18:11:26 GMT 1998
Hi Guys !
I´ve got an NT WS4.0 here with SP3 and an Samba 2.0beta2 on Linux.
I created an machine account for the NT Box, the name is BV, by smbpasswd -a -m bv$
When I use the network control in NT I get a message "The machine account does not exist or is not accessible".
This is my smbpasswd file
#
# SMB password file.
#
ambach:502:***:[DU ]:LCT-365A8CA8:Christian Ambach
ktel:503:30C722E57B621A3FAAD3B435B51404EE:BA519CACD7A2BBB50763CD94EEB6F5EB:[DU ]:LCT-3651BBFA:
bv$:500:03366C649152D368AAD3B435B51404EE:4AAD84F57F1957A1FD31039D435BA64C:[W]:LCT-3651BB71:
and here an excerpt of the log: (smbd -d 20)
[1998/11/24 19:13:27, 1] smbd/server.c:main(619)
smbd version 2.0.0beta2 started.
Copyright Andrew Tridgell 1992-1998
[1998/11/24 19:13:27, 2] smbd/server.c:main(623)
uid=0 gid=0 euid=0 egid=0
[1998/11/24 19:13:27, 3] param/loadparm.c:init_globals(814)
Initialising global parameters
[1998/11/24 19:13:27, 3] param/params.c:pm_process(538)
params.c:pm_process() - Processing configuration file "/etc/smb.conf"
[1998/11/24 19:13:27, 3] param/loadparm.c:do_section(2159)
Processing section "[global]"
doing parameter workgroup = UNFALLCHIRURGIE
doing parameter guest account = nobody
doing parameter keep alive = 30
doing parameter os level = 2
doing parameter security = share
doing parameter printing = bsd
doing parameter printcap name = /etc/printcap
doing parameter load printers = yes
doing parameter server string = %h Samba Server %v
doing parameter interfaces = 134.93.79.49/255.255.255.0
doing parameter wins support = yes
doing parameter os level = 2
doing parameter preferred master = yes
doing parameter local master = yes
doing parameter domain master = yes
doing parameter encrypt passwords = yes
doing parameter netbios name = Lx1
doing parameter domain logons = yes
[1998/11/24 19:13:27, 2] param/loadparm.c:do_section(2176)
Processing section "[homes]"
doing parameter comment = Heimatverzeichnis
doing parameter browseable = no
doing parameter read only = no
doing parameter create mode = 0750
[1998/11/24 19:13:27, 2] param/loadparm.c:do_section(2176)
Processing section "[printers]"
doing parameter comment = All Printers
doing parameter browseable = no
doing parameter printable = yes
doing parameter public = no
doing parameter read only = yes
doing parameter create mode = 0700
doing parameter directory = /tmp
[1998/11/24 19:13:27, 2] param/loadparm.c:do_section(2176)
Processing section "[Install]"
doing parameter comment = Installverzeichnis
doing parameter browseable = yes
doing parameter read only = no
doing parameter public = yes
doing parameter path = /install
[...]
[1998/11/24 19:13:27, 7] lib/util_sid.c:string_to_sid(109)
string_to_sid: converted SID S-1-5-21-2679584760-1107086205-3812469782
ok
[...] Now BV tries to get into the domain
[1998/11/24 19:14:14, 3] smbd/oplock.c:open_oplock_ipc(75)
open_oplock ipc: pid = 407, global_oplock_port = 1035
[1998/11/24 19:14:14, 3] smbd/process.c:smbd_process(755)
priming nmbd
[...]
[1998/11/24 19:14:15, 3] smbd/process.c:switch_message(402)
switch message SMBsesssetupX (pid 407)
[1998/11/24 19:14:15, 3] smbd/reply.c:reply_sesssetup_and_X(599)
Domain=[UNFALLCHIRURGIE] NativeOS=[Windows NT 1381] NativeLanMan=[]
[1998/11/24 19:14:15, 3] smbd/reply.c:reply_sesssetup_and_X(603)
sesssetupX:name=[AMBACH]
[1998/11/24 19:14:15, 6] param/loadparm.c:lp_file_list_changed(1761)
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Tue Nov 24 17:13:49 1998
[...]
smb_com=0x71
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
[1998/11/24 19:14:16, 5] lib/util.c:show_msg(466)
smb_tid=1
smb_pid=51966
smb_uid=0
smb_mid=768
smt_wct=0
[1998/11/24 19:14:16, 5] lib/util.c:show_msg(476)
smb_bcc=0
[1998/11/24 19:14:16, 6] lib/util_sock.c:write_socket(185)
write_socket(6,39)
[1998/11/24 19:14:16, 6] lib/util_sock.c:write_socket(188)
write_socket(6,39) wrote 39
[1998/11/24 19:14:16, 10] rom /dev/random.
[1998/11/24 19:14:16, 4] locking/shmem_sysv.c:sysv_shm_open(544)
Trying sysv shmem open of size 1048576
[1998/11/24 19:14:16, 5] locking/shmem_sysv.c:shm_initialize(424)
shm_initialize : initializing shmem size 1048576
[1998/11/24 19:14:16, 6] locking/shmem_sysv.c:shm_alloc(253)
shm_alloc : allocated 52 bytes at offset 48
[1998/11/24 19:14:16, 3] locking/shmem_sysv.c:sysv_shm_open(702)
Initialised IPC area of size 1048576
[1998/11/24 19:14:16, 6] param/loadparm.c:lp_file_list_changed(1761)
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Tue Nov 24 17:13:49 1998
[1998/11/24 19:14:16, 2] smbd/server.c:main(707)
Changed root to /
[1998/11/24 19:14:16, 3] smbd/oplock.c:open_oplock_ipc(50)
open_oplock_ipc: opening loopback UDP socket.
[1998/11/24 19:14:16, 3] lib/util_sock.c:open_socket_in(675)
bind succeeded on port 0
[1998/11/24 19:14:16, 3] smbd/oplock.c:open_oplock_ipc(75)
open_oplock ipc: pid = 408, global_oplock_port = 1037
[1998/11/24 19:14:16, 3] smbd/process.c:smbd_process(755)
priming nmbd
[1998/11/24 19:14:16, 3] lib/util_sock.c:send_one_packet(604)
sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM
[1998/11/24 19:14:16, 4] lib/time.c:TimeInit(110)
Serverzone is -3600
[1998/11/24 19:14:16, 10] lib/util_sock.c:read_smb_length_return_keepalive(445)
got smb length of 68
[1998/11/24 19:14:16, 6] smbd/process.c:process_smb(564)
got message type 0x81 of len 0x44
[1998/11/24 19:14:16, 3] smbd/process.c:process_smb(565)
Transaction 0 of length 72
[1998/11/24 19:14:16, 2] smbd/reply.c:reply_special(95)
netbios connect: name1=LX1 name2=BV
[1998/11/24 19:14:16, 6] param/loadparm.c:lp_file_list_changed(1761)
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Tue Nov 24 17:13:49 1998
[1998/11/24 19:14:16, 5] smbd/connection.c:claim_connection(127)
trying claim /var/lock STATUS. 100000
[1998/11/24 19:14:16, 8] lib/util.c:fcntl_lock(2750)
fcntl_lock 7 7 0 1 1
[1998/11/24 19:14:16, 8] lib/util.c:fcntl_lock(2811)
Lock call successful
[1998/11/24 19:14:16, 8] lib/util.c:fcntl_lock(2750)
fcntl_lock 7 7 0 1 2
[1998/11/24 19:14:16, 8] lib/util.c:fcntl_lock(2811)
Lock call successful
[1998/11/24 19:14:16, 5] smbd/reply.c:reply_special(147)
init msg_type=0x81 msg_flags=0x0
[1998/11/24 19:14:16, 6] lib/util_sock.c:write_socket(185)
write_socket(6,4)
[1998/11/24 19:14:16, 6] lib/util_sock.c:write_socket(188)
write_socket(6,4) wrote 4
[1998/11/24 19:14:17, 10] lib/util_sock.c:read_smb_length_return_keepalive(445)
got smb length of 170
[1998/11/24 19:14:17, 6] smbd/process.c:process_smb(564)
got message type 0x0 of len 0xaa
[1998/11/24 19:14:17, 3] smbd/process.c:process_smb(565)
Transaction 1 of length 174
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(460)
size=170
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(466)
smb_tid=0
smb_pid=51966
smb_uid=0
smb_mid=0
smt_wct=0
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(476)
smb_bcc=135
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2950)
[000] 02 50 43 20 4E 45 54 57 4F 52 4B 20 50 52 4F 47 .PC NETW ORK PROG
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[010] 52 41 4D 20 31 2E 30 00 02 58 45 4E 49 58 20 43 RAM 1.0. .XENIX C
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[020] 4F 52 45 00 02 4D 49 43 52 4F 53 4F 46 54 20 4E ORE..MIC ROSOFT N
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[030] 45 54 57 4F 52 4B 53 20 31 2E 30 33 00 02 4C 41 ETWORKS 1.03..LA
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[040] 4E 4D 41 4E 31 2E 30 00 02 57 69 6E 64 6F 77 73 NMAN1.0. .Windows
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[050] 20 66 6F 72 20 57 6F 72 6B 67 72 6F 75 70 73 20 for Wor kgroups
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[060] 33 2E 31 61 00 02 4C 4D 31 2E 32 58 30 30 32 00 3.1a..LM 1.2X002.
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[070] 02 4C 41 4E 4D 41 4E 32 2E 31 00 02 4E 54 20 4C .LANMAN2 .1..NT L
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[080] 4D 20 30 2E 31 32 00 M 0.12.
[1998/11/24 19:14:17, 3] smbd/process.c:switch_message(402)
switch message SMBnegprot (pid 408)
[1998/11/24 19:14:17, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [PC NETWORK PROGRAM 1.0]
[1998/11/24 19:14:17, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [XENIX CORE]
[1998/11/24 19:14:17, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [MICROSOFT NETWORKS 1.03]
[1998/11/24 19:14:17, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [LANMAN1.0]
[1998/11/24 19:14:17, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [Windows for Workgroups 3.1a]
[1998/11/24 19:14:17, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [LM1.2X002]
[1998/11/24 19:14:17, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [LANMAN2.1]
[1998/11/24 19:14:17, 3] smbd/negprot.c:reply_negprot(332)
Requested protocol [NT LM 0.12]
[...]
smb_bcc=24
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2950)
[000] 2B 4C D3 F9 62 61 AB 43 55 4E 46 41 4C 4C 43 48 +L..ba.C UNFALLCH
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[010] 49 52 55 52 47 49 45 00 IRURGIE.
[1998/11/24 19:14:17, 6] lib/util_sock.c:write_socket(185)
write_socket(6,97)
[1998/11/24 19:14:17, 6] lib/util_sock.c:write_socket(188)
write_socket(6,97) wrote 97
[1998/11/24 19:14:17, 10] lib/util_sock.c:read_smb_length_return_keepalive(445)
got smb length of 168
[1998/11/24 19:14:17, 6] smbd/process.c:process_smb(564)
got message type 0x0 of len 0xa8
[1998/11/24 19:14:17, 3] smbd/process.c:process_smb(565)
Transaction 2 of length 172
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(460)
size=168
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(466)
smb_tid=0
smb_pid=51966
smb_uid=0
smb_mid=0
smt_wct=13
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[0]=117 (0x75)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[1]=116 (0x74)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[2]=61440 (0xF000)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[3]=50 (0x32)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[4]=0 (0x0)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[5]=408 (0x198)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[6]=0 (0x0)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[7]=1 (0x1)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[8]=1 (0x1)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[9]=0 (0x0)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[10]=0 (0x0)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[11]=212 (0xD4)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[12]=0 (0x0)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(476)
smb_bcc=55
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2950)
[000] 00 00 42 56 24 00 55 4E 46 41 4C 4C 43 48 49 52 ..BV$.UN FALLCHIR
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[010] 55 52 47 49 45 00 57 69 6E 64 6F 77 73 20 4E 54 URGIE.Wi ndows NT
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[020] 20 31 33 38 31 00 00 57 69 6E 64 6F 77 73 20 4E 1381..W indows N
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[030] 54 20 34 2E 30 00 00 T 4.0..
[1998/11/24 19:14:17, 3] smbd/process.c:switch_message(402)
switch message SMBsesssetupX (pid 408)
[1998/11/24 19:14:17, 3] smbd/reply.c:reply_sesssetup_and_X(599)
Domain=[UNFALLCHIRURGIE] NativeOS=[Windows NT 1381] NativeLanMan=[]
[1998/11/24 19:14:17, 3] smbd/reply.c:reply_sesssetup_and_X(603)
sesssetupX:name=[BV$]
[1998/11/24 19:14:17, 6] param/loadparm.c:lp_file_list_changed(1761)
lp_file_list_changed()
file /etc/smb.conf -> /etc/smb.conf last mod_time: Tue Nov 24 17:13:49 1998
[1998/11/24 19:14:17, 3] smbd/reply.c:reply_sesssetup_and_X(721)
Registered username bv$ for guest access
[1998/11/24 19:14:17, 7] param/loadparm.c:lp_servicenumber(2576)
lp_servicenumber: couldn't find bv$
[1998/11/24 19:14:17, 3] param/loadparm.c:lp_add_home(1431)
adding home directory bv$ at /dev/null
[1998/11/24 19:14:17, 6] smbd/reply.c:reply_sesssetup_and_X(783)
Client requested max send size of 61440
[1998/11/24 19:14:17, 3] smbd/process.c:chain_reply(715)
Chained message
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(460)
size=168
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=3
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(466)
smb_tid=0
smb_pid=51966
smb_uid=0
smb_mid=0
smt_wct=4
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[0]=255 (0xFF)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[1]=0 (0x0)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[2]=0 (0x0)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(471)
smb_vwv[3]=24 (0x18)
[1998/11/24 19:14:17, 5] lib/util.c:show_msg(476)
smb_bcc=41
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2950)
[000] C0 9D 89 EE 0B D6 DE 7B 77 BB EC D8 D9 1E 91 8A .......{ w.......
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[010] B4 36 34 27 6D 2F A9 7C 5C 5C 4C 58 31 5C 49 50 .64'm/.| \\LX1\IP
[1998/11/24 19:14:17, 10] lib/util.c:dump_data(2958)
[020] 43 24 00 3F 3F 3F 3F 3F 00 C$.????? .
[1998/11/24 19:14:17, 3] smbd/process.c:switch_message(402)
switch message SMBtconX (pid 408)
[1998/11/24 19:14:17, 4] smbd/reply.c:reply_tcon_and_X(301)
Got device type ?????
[1998/11/24 19:14:17, 10] passdb/passdb.c:iterate_getsmbpwnam(140)
search by name: bv
[1998/11/24 19:14:17, 10] passdb/smbpass.c:startsmbfilepwent(45)
startsmbfilepwent: opening file /etc/smbpasswd
[1998/11/24 19:14:17, 6] passdb/smbpass.c:getsmbfilepwent(159)
getsmbfilepwent: skipping comment or blank line
[1998/11/24 19:14:17, 6] passdb/smbpass.c:getsmbfilepwent(159)
getsmbfilepwent: skipping comment or blank line
[1998/11/24 19:14:17, 6] passdb/smbpass.c:getsmbfilepwent(159)
getsmbfilepwent: skipping comment or blank line
[1998/11/24 19:14:17, 5] passdb/smbpass.c:getsmbfilepwent(252)
getsmbfilepwent: returning passwd entry for user ambach, uid 502
[1998/11/24 19:14:17, 5] passdb/smbpass.c:getsmbfilepwent(252)
getsmbfilepwent: returning passwd entry for user ktel, uid 503
[1998/11/24 19:14:17, 10] passdb/smbpass.c:getsmbfilepwent(206)
getsmbfilepwent: entry invalidated for user issendorff
[1998/11/24 19:14:17, 5] passdb/smbpass.c:getsmbfilepwent(252)
getsmbfilepwent: returning passwd entry for user bv$, uid 500
[1998/11/24 19:14:17, 5] passdb/smbpass.c:getsmbfilepwent(252)
getsmbfilepwent: returning passwd entry for user pc4$, uid 505
[1998/11/24 19:14:17, 4] passdb/smbpass.c:getsmbfilepwent(140)
getsmbfilepwent: end of file reached
[1998/11/24 19:14:17, 5] passdb/smbpass.c:getsmbfilepwent(300)
getsmbfilepwent: end of file reached.
[1998/11/24 19:14:17, 7] passdb/smbpass.c:endsmbfilepwent(81)
endsmbfilepwent: closed password file.
[1998/11/24 19:14:17, 3] smbd/password.c:pass_check_smb(494)
Couldn't find user bv in smb_passwd file.
[1998/11/24 19:14:17, 10] passdb/passdb.c:iterate_getsmbpwnam(140)
search by name: bv$
[1998/11/24 19:14:17, 10] passdb/smbpass.c:startsmbfilepwent(45)
startsmbfilepwent: opening file /etc/smbpasswd
[1998/11/24 19:14:17, 6] passdb/smbpass.c:getsmbfilepwent(159)
getsmbfilepwent: skipping comment or blank line
[1998/11/24 19:14:17, 6] passdb/smbpass.c:getsmbfilepwent(159)
getsmbfilepwent: skipping comment or blank line
[1998/11/24 19:14:17, 6] passdb/smbpass.c:getsmbfilepwent(159)
getsmbfilepwent: skipping comment or blank line
[1998/11/24 19:14:17, 5] passdb/smbpass.c:getsmbfilepwent(252)
getsmbfilepwent: returning passwd entry for user ambach, uid 502
[1998/11/24 19:14:17, 5] passdb/smbpass.c:getsmbfilepwent(252)
getsmbfilepwent: returning passwd entry for user ktel, uid 503
[1998/11/24 19:14:17, 10] passdb/smbpass.c:getsmbfilepwent(206)
getsmbfilepwent: entry invalidated for user issendorff
[1998/11/24 19:14:17, 5] passdb/smbpass.c:getsmbfilepwent(252)
getsmbfilepwent: returning passwd entry for user bv$, uid 500
[1998/11/24 19:14:17, 10] passdb/passdb.c:iterate_getsmbpwnam(156)
found by name: bv$
[1998/11/24 19:14:17, 7] passdb/smbpass.c:endsmbfilepwent(81)
endsmbfilepwent: closed password file.
[1998/11/24 19:14:17, 4] smbd/password.c:smb_password_ok(394)
Checking SMB password for user bv$
[1998/11/24 19:14:17, 5] smbd/password.c:smb_password_ok(413)
challenge received
[1998/11/24 19:14:17, 4] smbd/password.c:smb_password_ok(421)
smb_password_ok: Checking NT MD4 password
[1998/11/24 19:14:17, 4] smbd/password.c:smb_password_ok(425)
NT MD4 password check succeeded
[1998/11/24 19:14:17, 3] smbd/password.c:authorise_login(719)
ACCEPTED: session list username and given password ok
[1998/11/24 19:14:17, 3] smbd/service.c:make_connection(380)
Connect path is /tmp
[1998/11/24 19:14:17, 5] smbd/uid.c:become_user(293)
become_user uid=(0,500) gid=(100,100)
[1998/11/24 19:14:17, 3] lib/util.c:ChDir(653)
chdir to /tmp
[1998/11/24 19:14:17, 3] lib/util.c:ChDir(653)
chdir to /usr/local/samba/bin
[1998/11/24 19:14:17, 5] smbd/uid.c:unbecome_user(343)
unbecome_user now uid=(0,0) gid=(0,0)
[1998/11/24 19:14:17, 3] smbd/service.c:make_connection(482)
bv (134.93.79.54) connect to service IPC$ as user bv$ (uid=500, gid=100) (pid 408)
[...]
Hope you can help me.
Christian Ambach
More information about the samba-ntdom
mailing list