Problems with recent Smaba-TNG CVS
Paul J Collins
pjdc at eircom.net
Mon May 8 19:45:35 GMT 2000
I updated my CVS tree at approximately 18:30 GMT. The build went
fine, but when I log in from my workstation, I am told that my roaming
profile could not be found, and that my local one will be used. I OK
this and continue. My home dir is not mapped, and when I attempt to
access it using the \\server\share notation, I am asked for username
and password. Authentication fails.
When I log out and in again, I get the same roaming profile error, but
after I OK that, I am told that the domain is not available.
Tests using "ntlogin" in rpcclient succeed with no errors.
Looking in log.smb reveals that authentication for the account I was
attempting to use fails multiple times. This is the same smbpasswd I
have been using for a while now. Below is a sample of the kind of
info I get for a log in failure.
Am I doing something silly?
Paul.
--- BEGIN "log.smb" ---
cli_net_req_chal: LSA Request Challenge from \\. to STO-KERRIG: A3F59D2F48180793
make_q_req_chal: 542
make_q_req_chal: 552
000000 net_io_q_req_chal
0000 undoc_buffer: 00000001
000004 smb_io_unistr2 logon_srv
0004 uni_max_len: 00000004
0008 undoc : 00000000
000c uni_str_len: 00000004
0010 buffer : \.\.....
000018 smb_io_unistr2 logon_clnt
0018 uni_max_len: 0000000b
001c undoc : 00000000
0020 uni_str_len: 0000000b
0024 buffer : S.T.O.-.K.E.R.R.I.G...
00003a smb_io_chal clnt_chal
003a data: a3 f5 9d 2f 48 18 07 93
rpc_con_pipe_req: op_num 4 offset 66 used: 66
rpc_api_pipe_req: start: 0 off: 66
create_rpc_request: opnum: 0x4 data_len: 0x30
create_rpc_request: data_len: 30 auth_len: 0 alloc_hint: 18
000000 smb_io_rpc_hdr hdr
0000 major : 05
0001 minor : 00
0002 pkt_type : 00
0003 flags : 01
0004 pack_type : 10 00 00 00
prs_set_packtype: bigendian: No
0008 frag_len : 0030
000a auth_len : 0000
000c call_id : 00000097
000010 smb_io_rpc_hdr_req hdr_req
0010 alloc_hint: 00000018
0014 context_id: 0064
0016 opnum : 0004
frag_len: 0x30 data_len: 0x18 data_calc_len: 0x18
create_noauth_pdu: 95
create_noauth_pdu: 102
rpc_api_pipe_req: end: 24
ncalrpc_l_send_prs: data: 0x80a0bd0 len 48
[000] 05 00 00 01 10 00 00 00 30 00 00 00 97 00 00 00 ........ 0.......
[010] 18 00 00 00 64 00 04 00 01 00 00 00 04 00 00 00 ....d... ........
[020] 00 00 00 00 04 00 00 00 5C 00 5C 00 2E 00 00 00 ........ \.\.....
write_socket(14,48)
write_socket(14,48) wrote 48
rpc_api_pipe_req: start: 24 off: 66
create_rpc_request: opnum: 0x4 data_len: 0x30
create_rpc_request: data_len: 30 auth_len: 0 alloc_hint: 18
000000 smb_io_rpc_hdr hdr
0000 major : 05
0001 minor : 00
0002 pkt_type : 00
0003 flags : 00
0004 pack_type : 10 00 00 00
prs_set_packtype: bigendian: No
0008 frag_len : 0030
000a auth_len : 0000
000c call_id : 00000098
000010 smb_io_rpc_hdr_req hdr_req
0010 alloc_hint: 00000018
0014 context_id: 0064
0016 opnum : 0004
frag_len: 0x30 data_len: 0x18 data_calc_len: 0x18
create_noauth_pdu: 95
create_noauth_pdu: 102
rpc_api_pipe_req: end: 48
ncalrpc_l_send_prs: data: 0x80a0b00 len 48
[000] 05 00 00 00 10 00 00 00 30 00 00 00 98 00 00 00 ........ 0.......
[010] 18 00 00 00 64 00 04 00 0B 00 00 00 00 00 00 00 ....d... ........
[020] 0B 00 00 00 53 00 54 00 4F 00 2D 00 4B 00 45 00 ....S.T. O.-.K.E.
write_socket(14,48)
write_socket(14,48) wrote 48
rpc_api_pipe_req: start: 48 off: 66
create_rpc_request: opnum: 0x4 data_len: 0x30
create_rpc_request: data_len: 30 auth_len: 0 alloc_hint: 18
000000 smb_io_rpc_hdr hdr
0000 major : 05
0001 minor : 00
0002 pkt_type : 00
0003 flags : 00
0004 pack_type : 10 00 00 00
prs_set_packtype: bigendian: No
0008 frag_len : 0030
000a auth_len : 0000
000c call_id : 00000099
000010 smb_io_rpc_hdr_req hdr_req
0010 alloc_hint: 00000018
0014 context_id: 0064
0016 opnum : 0004
frag_len: 0x30 data_len: 0x18 data_calc_len: 0x18
create_noauth_pdu: 95
create_noauth_pdu: 102
rpc_api_pipe_req: end: 72
ncalrpc_l_send_prs: data: 0x80a0bd0 len 48
[000] 05 00 00 00 10 00 00 00 30 00 00 00 99 00 00 00 ........ 0.......
[010] 18 00 00 00 64 00 04 00 52 00 52 00 49 00 47 00 ....d... R.R.I.G.
[020] 00 00 A3 F5 9D 2F 48 18 07 93 00 00 89 00 00 00 ...../H. ........
write_socket(14,48)
write_socket(14,48) wrote 48
rpc_api_pipe_req: data_end: 72 and offset 66 wrong
rpc_con_pipe_req FAILED
cli_nt_setup_creds: request challenge failed
domain_client_validate: credentials failed (\\.)
SMB LM/NT Password did not match!
Rejecting user 'henry': authentication failed
32 bit error packet at line 493 cmd=115 (SMBsesssetupX) eclass=c000006d [Error: Unknown error (109,49152)]
error string = No such file or directory
size=35
smb_com=0x73
smb_rcls=109
smb_reh=0
smb_err=49152
smb_flg=136
smb_flg2=16384
smb_tid=0
smb_pid=51966
smb_uid=0
smb_mid=1792
smt_wct=0
smb_bcc=0
-- END "log.smb" --
--- BEGIN "smb.conf" ---
[global]
debug level = 100
netbios name = STO-KERRIG
server string = Samba (Primary DC)
workgroup = MELOCHORD
interfaces = 172.16.252.1/16
domain user map = /usr/local/samba-tng/private/domainuser.map
domain group map = /usr/local/samba-tng/private/domaingroup.map
security = user
domain logons = yes
encrypt passwords = yes
null passwords = no
os level = 65
domain master = yes
preferred master = yes
local master = yes
wins support = yes
time server = yes
logon script = login.bat
logon drive = H:
logon home = \\STO-KERRIG\%U
logon path = \\STO-KERRIG\profile\%U
#print related junk
print command = /usr/bin/lpr -r -P%p %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
printcap name = /etc/printcap
load printers = yes
[homes]
browseable = no
writable = yes
comment = Users' home directories
[netlogon]
path = /usr/local/samba-tng/netlogon
writable = no
guest ok = no
comment = PDC netlogon share
[profile]
path = /usr/local/samba-tng/profile
writeable = yes
[printers]
printing = bsd
comment = All Printers
path = /tmp
browseable = no
guest ok = yes
writable = no
printable = yes
[print$]
path = /usr/local/samba-tng/print
writable = yes
guest ok = yes
--- END "smb.conf" ---
--
Paul Collins <sneakums at eircom.net> - - - - - [ A&P,a&f ]
GPG: 0A49 49A9 2932 0EE5 89B2 9EE0 3B65 7154 8131 1BCD
PGP: 88BA 2393 8E3C CECF E43A 44B4 0766 DD71 04E5 962C
"Linux: it's just this operating system, you know?"
More information about the samba-ntdom
mailing list