TNG-1.9 login problems

Matthew Brichacek mmbrich at ductamerica.com
Sat Apr 8 08:43:02 GMT 2000


Hello,

I compliled tng-1.9 on my linux mandrake 7.0 machine and the install went fine,
i executed all of the daemons in sbin and loged out of my win98 machine, after
this i was unable to gain access to the network and windows would say "The
Request is not supported by the network.  My config file has not changed though
the versions so i am sure that is not it.  here are some of my logfiles. i had
debug = 20so they may be large, i will put in the ones that i saw a change
through.
Thanks
Matthew

log.smb

load_unicode_map: loading unicode map for codepage 850.
loaded services
Becoming a daemon.
fcntl_lock 4 6 0 1 1
Lock call successful
bind succeeded on port 139
bind succeeded on port 139
waiting for a connection
do_reseed: got 40 bytes from /dev/urandom.
get_sam_domain_name: PDC/BDC DUCTAMERICA
read_sid: Domain: DUCTAMERICA
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
read_sid_from_file /usr/local/samba/private/DUCTAMERICA.SID: sid S-1-5-21-1027092324-3789277122-2277139020
get_member_domain_sid: sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
S-1-5-21-1027092324-3789277122-2277139020
sid_to_string returning S-1-5-32
Map:	Domain:	BUILTIN	SID:	S-1-5-32
sid_to_string returning S-1-1
Map:	Domain:	Global Domain	SID:	S-1-1
sid_to_string returning S-1-1-0
Map:	Domain:	Everyone	SID:	S-1-1-0
sid_to_string returning S-1-2-0
Map:	Domain:	LOCAL	SID:	S-1-2-0
sid_to_string returning S-1-3-0
Map:	Domain:	Creator Owner	SID:	S-1-3-0
sid_to_string returning S-1-3-1
Map:	Domain:	Creator Group	SID:	S-1-3-1
sid_to_string returning S-1-3-2
Map:	Domain:	Creator Server Owner	SID:	S-1-3-2
sid_to_string returning S-1-3-3
Map:	Domain:	Creator Server Group	SID:	S-1-3-3
sid_to_string returning S-1-5
Map:	Domain:	NT Authority	SID:	S-1-5
sid_to_string returning S-1-5-1
Map:	Domain:	DIALUP	SID:	S-1-5-1
sid_to_string returning S-1-5-2
Map:	Domain:	NETWORK	SID:	S-1-5-2
sid_to_string returning S-1-5-3
Map:	Domain:	BATCH	SID:	S-1-5-3
sid_to_string returning S-1-5-4
Map:	Domain:	Interactive	SID:	S-1-5-4
sid_to_string returning S-1-5-6
Map:	Domain:	Service	SID:	S-1-5-6
sid_to_string returning S-1-5-7
Map:	Domain:		SID:	S-1-5-7
sid_to_string returning S-1-5-9
Map:	Domain:	SERVER LOGON	SID:	S-1-5-9
sid_to_string returning S-1-5-11
Map:	Domain:	Authenticated Users	SID:	S-1-5-11
sid_to_string returning S-1-5-18
Map:	Domain:	SYSTEM	SID:	S-1-5-18
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
Map:	Domain:	DUCTAMERICA	SID:	S-1-5-21-1027092324-3789277122-2277139020
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
Map:	Domain:	DUCTAMERICA	SID:	S-1-5-21-1027092324-3789277122-2277139020
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Sat Apr  8 03:49:25 2000

Changed root to /
open_oplock_ipc: opening loopback UDP socket.
bind succeeded on port 0
open_oplock ipc: pid = 20670, global_oplock_port = 1027
Serverzone is 18000
got smb length of 68
got message type 0x81 of len 0x44
Transaction 0 of length 72
NBT message
[000] 81 00 00 44 20 45 44 45  50 45 4E 46 41 44 41 44  ...D EDE PENFADAD
[010] 44 43 41 43 41 43 41 43  41 43 41 43 41 43 41 43  DCACACAC ACACACAC
[020] 41 43 41 43 41 00 20 45  4E 45 42 46 45 46 45 43  ACACA. E NEBFEFEC
[030] 41 43 41 43 41 43 41 43  41 43 41 43 41 43 41 43  ACACACAC ACACACAC
[040] 41 43 41 43                                       ACAC 
netbios connect: name1=COMP03           name2=MATT           
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Sat Apr  8 03:49:25 2000

claiming  100000
init msg_type=0x81 msg_flags=0x0
write_socket(8,4)
write_socket(8,4) wrote 4
got smb length of 154
got message type 0x0 of len 0x9a
Transaction 1 of length 158
size=154
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=1
smb_pid=6703
smb_uid=0
smb_mid=20227
smt_wct=0
smb_bcc=119
[000] 02 50 43 20 4E 45 54 57  4F 52 4B 20 50 52 4F 47  .PC NETW ORK PROG
[010] 52 41 4D 20 31 2E 30 00  02 4D 49 43 52 4F 53 4F  RAM 1.0. .MICROSO
[020] 46 54 20 4E 45 54 57 4F  52 4B 53 20 33 2E 30 00  FT NETWO RKS 3.0.
[030] 02 44 4F 53 20 4C 4D 31  2E 32 58 30 30 32 00 02  .DOS LM1 .2X002..
[040] 44 4F 53 20 4C 41 4E 4D  41 4E 32 2E 31 00 02 57  DOS LANM AN2.1..W
[050] 69 6E 64 6F 77 73 20 66  6F 72 20 57 6F 72 6B 67  indows f or Workg
[060] 72 6F 75 70 73 20 33 2E  31 61 00 02 4E 54 20 4C  roups 3. 1a..NT L
[070] 4D 20 30 2E 31 32 00                              M 0.12. 
switch message SMBnegprot (pid 20670)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [MICROSOFT NETWORKS 3.0]
Requested protocol [DOS LM1.2X002]
Requested protocol [DOS LANMAN2.1]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [NT LM 0.12]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Sat Apr  8 03:49:25 2000
switch message SMBsesssetupX (pid 20670)
vuid_init_db: opened
lookup user 50be,1
000000 vuid_io_key key
0000 pid : 000050be
0004 vuid: 0001
000000 vuid_io_user_struct usr
_prs_uint32 error (uid) ps: io Yes align 4 offset 0 err 1 data (nil)
passlen: 24 0 Domain=[]  NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0]
sesssetupX:name=[MATTHEW]
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf  last mod_time: Sat Apr  8 03:49:25 2000

lookupsmbpwntnam: nt user name \matthew
name 'matthew' split into domain:DUCTAMERICA and nt name:matthew'
initialising map /usr/local/samba/private/domainuser.map
file_modified: /usr/local/samba/private/domainuser.map modified
load_name_map: Scanning name map /usr/local/samba/private/domainuser.map
Read line |root=Administrator|
make_name_entry:,Administrator,root
unix_name_to_nt_name_info: unix_name:root
unix_name_to_nt_name_info: unix gid:0
map_domain_name_to_sid: overriding blank name to DUCTAMERICA
map_domain_name_to_sid: DUCTAMERICA
compare: BUILTIN
compare: Global Domain
compare: Everyone
compare: LOCAL
compare: Creator Owner
compare: Creator Group
compare: Creator Server Owner
compare: Creator Server Group
compare: NT Authority
compare: DIALUP
compare: NETWORK
compare: BATCH
compare: Interactive
compare: Service
compare: 
compare: SERVER LOGON
compare: Authenticated Users
compare: SYSTEM
compare: DUCTAMERICA
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
found S-1-5-21-1027092324-3789277122-2277139020
reset_wk_maps: Initializing maps
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
nt name DUCTAMERICA\Administrator gid 0 mapped to S-1-5-21-1027092324-3789277122-2277139020-500
unixname = root, ntname = DUCTAMERICA\Administrator type = 1
Read line ||
load_name_map: Added 1 entries to name map.
Scanning username map /dsk/user.map
Checking SMB password, user matthew domain 
password_ok: check SMB auth
check_domain_security: COMP03(2)
get_any_dc_name: domain DUCTAMERICA
local domain server list: 
cli_connection_init_auth: \\. \PIPE\lsarpc
copy_nt_creds: null creds
ncalrpc_l_use_add
ncalrpc_l_find: lsarpc [20670,0]
root is in 10 groups: 0, 1, 2, 3, 4, 6, 10, 11, 50, 509
uid 0 registered to name root
Clearing default real name
uid 0 vuid 100 registered to unix name root
storing user 50be,64
000000 vuid_io_key key
0000 pid : 000050be
0004 vuid: 0064
000000 vuid_io_user_struct usr
    0000 uid: 00000000
    0004 gid: 00000000
    0008 name: root
    0010 requested_name: root
    0018 real_name: <Full Name>
    0024 guest: 00000000
    0028 n_groups: 0000000a
    002c : 00000000
    0030 : 00000001
    0034 : 00000002
    0038 : 00000003
    003c : 00000004
    0040 : 00000006
    0044 : 0000000a
    0048 : 0000000b
    004c : 00000032
    0050 : 000001fd
    000054 net_io_user_info3 usr
ncalrpc_l_establish_connection: connecting to lsarpc
socket open succeeded.  file name: /tmp/.msrpc/.lsarpc/agent
socket connect to /tmp/.msrpc/.lsarpc/agent failed: Connection refused
redirect failed, attempt direct connection
socket open succeeded.  file name: /usr/local/samba/var/locks/.msrpc/lsarpc
create_user_creds: lsarpc 0 0
000004 creds_io_cmd creds
    0004 version: 0000
    0006 command: 0000
000008 vuid_io_key key
0008 pid : 000050be
000c vuid: 0064
    000e name   : lsarpc
    0018 ptr_creds: 00000000
write_socket(13,28)
write_socket(13,28) wrote 28
ncalrpc_l_use_add: num_users: 1
Bind RPC Pipe: \PIPE\lsarpc
Bind Abstract Syntax:
[000] 78 57 34 12 34 12 CD AB  EF 00 01 23 45 67 89 AB  xW4.4... ...#Eg..
[010] 00 00 00 00                                       .... 
Bind Transfer Syntax:
[000] 04 5D 88 8A EB 1C C9 11  9F E8 08 00 2B 10 48 60  .]...... ....+.H`
[010] 02 00 00 00                                       .... 
create_rpc_noauth_bind_req
000000 smb_io_rpc_hdr_rb 
    000000 smb_io_rpc_hdr_bba 
        0000 max_tsize: 1630
        0002 max_rsize: 1630
        0004 assoc_gid: 000050be
    0008 num_elements: 01
    000c context_id  : 0064
    000e num_syntaxes: 01
    00000f smb_io_rpc_iface 
        000010 smb_io_rpc_uuid uuid
            0010 time_low: 12345778
            0014 time_mid: 1234
            0016 time_hiv: abcd
            0018 rem: ef 00 01 23 45 67 89 ab 
        0020 version: 00000000
    000024 smb_io_rpc_iface 
        000024 smb_io_rpc_uuid uuid
            0024 time_low: 8a885d04
            0028 time_mid: 1ceb
            002a time_hiv: 11c9
            002c rem: 9f e8 08 00 2b 10 48 60 
        0034 version: 00000002
000000 smb_io_rpc_hdr hdr
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 0b
    0003 flags     : 00
    0004 pack_type : 10 00 00 00 
prs_set_packtype: bigendian: No
    0008 frag_len  : 0048
    000a auth_len  : 0000
    000c call_id   : 00000001
ncalrpc_l_send_prs: data: 0x809f0a0 len 72
[000] 05 00 0B 00 10 00 00 00  48 00 00 00 01 00 00 00  ........ H.......
[010] 30 16 30 16 BE 50 00 00  01 00 00 00 64 00 01 00  0.0..P.. ....d...
[020] 78 57 34 12 34 12 CD AB  EF 00 01 23 45 67 89 AB  xW4.4... ...#Eg..
[030] 00 00 00 00 04 5D 88 8A  EB 1C C9 11 9F E8 08 00  .....].. ........
[040] 2B 10 48 60 02 00 00 00                           +.H`.... 
write_socket(13,72)
write_socket(13,72) wrote 72
ncalrpc_l_receive: 123
000000 smb_io_rpc_hdr hdr
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 0c
    0003 flags     : 03
    0004 pack_type : 10 00 00 00 
prs_set_packtype: bigendian: No
    0008 frag_len  : 0044
    000a auth_len  : 0000
    000c call_id   : 00000001
[000] 05 00 0C 03 10 00 00 00  44 00 00 00 01 00 00 00  ........ D.......
[010] 30 16 30 16 BE 50 00 00  0E 00 5C 50 49 50 45 5C  0.0..P.. ..\PIPE\
[020] 6C 73 61 72 70 63 64 00  01 00 00 00 00 00 00 00  lsarpcd. ........
[030] 04 5D 88 8A EB 1C C9 11  9F E8 08 00 2B 10 48 60  .]...... ....+.H`
[040] 02 00 00 00                                       .... 
ncalrpc_l_receive: len 68
rpc_check_hdr: rdata->data_size: 68
000000 smb_io_rpc_hdr rpc_hdr   
    0000 major     : 05
    0001 minor     : 00
    0002 pkt_type  : 0c
    0003 flags     : 03
    0004 pack_type : 10 00 00 00 
prs_set_packtype: bigendian: No
    0008 frag_len  : 0044
    000a auth_len  : 0000
    000c call_id   : 00000001
rpc_check_hdr: (after smb_io_rpc_hdr call) rdata->data_size: 68
prs_set_packtype: bigendian: No
cli_pipe: fragment first and last both set
rpc_api_pipe: return OK
000000 smb_io_rpc_hdr_ba 
    000000 smb_io_rpc_hdr_bba 
        0000 max_tsize: 1630
        0002 max_rsize: 1630
        0004 assoc_gid: 000050be
    000008 smb_io_rpc_addr_str 
        0008 len: 000e
        000a str: \PIPE\lsarpcd.
    000018 smb_io_rpc_results 
        0018 num_results: 01
        001c result     : 0000
        001e reason     : 0000
    000020 smb_io_rpc_iface 
        000020 smb_io_rpc_uuid uuid
            0020 time_low: 8a885d04
            0024 time_mid: 1ceb
            0026 time_hiv: 11c9
            0028 rem: 9f e8 08 00 2b 10 48 60 
        0030 version: 00000002
bind_rpc_pipe: searching pipe name: client:\PIPE\lsarpc server:\PIPE\lsass
bind_rpc_pipe: pipe_name \PIPE\lsass != expected pipe \PIPE\lsarpcd.  oh well!
bind_rpc_pipe: accepted!
LSA Open Policy2
make_open_pol2: attr:0 da:33554432
make_lsa_obj_attr
Setting 528 in 5 groups: 1076361344, 1076361344, 50, 61, 502
become_unix_sec_ctx uid=(0,0) gid=(0,0) vuser=(20670,66)
dos_ChDir to /tmp
trans <\PIPE\LANMAN> data=0 params=94 setup=0
calling named_pipe
named pipe command on <LANMAN> name
Got API command 132 of form <OOWb54WrLh> <WB21BWDWWDDDDDDDzzzD> (tdscnt=0,tpscnt=94,mdrcnt=373,mprcnt=6)
Doing WWkstaUserLogon
lookup user 0,66
000000 vuid_io_key key
0000 pid : 00000000
0004 vuid: 0066
000000 vuid_io_user_struct usr
_prs_uint32 error (uid) ps: io Yes align 4 offset 0 err 1 data (nil)
Unsupported API command
send_trans_reply: max_data_ret: 0 datalen: 0 plen: 4
copy_trans_params_and_data: params[0..4] data[0..0]
size=60
smb_com=0x25
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=1
smb_tid=1
smb_pid=6703
smb_uid=102
smb_mid=20483
smt_wct=10
smb_vwv[0]=4 (0x4)
smb_vwv[1]=0 (0x0)
smb_vwv[2]=0 (0x0)
smb_vwv[3]=4 (0x4)
smb_vwv[4]=56 (0x38)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=0 (0x0)
smb_vwv[7]=60 (0x3C)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=0 (0x0)
smb_bcc=5
[000] 00 32 00 00 00                                    .2... 
write_socket(8,64)
write_socket(8,64) wrote 64
receive_smb: length < 0!
end of file from client
dos_ChDir to /downloads/samba-tng-alpha.1.9/source
unbecome_user now uid=(0,0) gid=(0,0)
Closing connections
matt (19 closed connection to service IPC$
Yielding connection to IPC$
Server exit (normal exit)


log.nmbd

is_myname("COMP03") returns 1
is_myname("DA-DRIVE") returns 1
is_myname("MATT") returns 0
is_myname("COMP03") returns 1
is_myname("DA-DRIVE") returns 1
is_myname("OFFICE") returns 0
is_myname("COMP03") returns 1
is_myname("DA-DRIVE") returns 1
write_browse_list: Wrote browse list into file /usr/local/samba/locks/browse.dat
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet UNICAST_SUBNET: found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet UNICAST_SUBNET: found.
read_udp_socket: lastip 2 lastport 138 read: 212
Received a packet of len 212 from (2) port 138
nmbd_subnetdb:namelist_entry_compare()
0 == memcmp( "DUCTAMERICA<1d>", "DUCTAMERICA<1d>", 88 )
find_name_on_subnet: on subnet 216.2- found name DUCTAMERICA<1d> source=2
process_dgram: datagram from MATT<00> to DUCTAMERICA<1d> IP  for \MAILSLOT\BROWSE of type 1 len=44
is_myname("MATT") returns 0
debug_browse_data():
  0 char ......MATT...... hex 01 87 a0 bb 0d 00 4d 41 54 54 00 00 00 00 00 00
 10 char ......... A...U. hex 00 00 00 00 00 00 04 00 03 20 41 00 15 04 55 aa
 20 char athalon 550.     hex 61 74 68 61 6c 6f 6e 20 35 35 30 00
process_host_announce: from MATT<00> IP to DUCTAMERICA<1d> for server MATT.
process_host_announce: ttl=900 server type=00412003 comment=athalon 550
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
is_myname("MATT") returns 0
create_server_on_workgroup: Created server entry MATT of type 40412003 (athalon 550) on workgroup DUCTAMERICA.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet 198.172.10.113: found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
announce_myself_to_domain_master_browser: t (955183858) - last(955183798) < 900
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet UNICAST_SUBNET: found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet UNICAST_SUBNET: found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet  found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
announce_myself_to_domain_master_browser: t (955183858) - last(955183798) < 900
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet UNICAST_SUBNET: found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet UNICAST_SUBNET: found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet  found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
announce_myself_to_domain_master_browser: t (955183868) - last(955183798) < 900
dump_workgroups()
 dump workgroup on subnet  198.172.10.113: netmask=  255.255.255.0:
	DUCTAMERICA(1) current master browser = COMP03
		COMP03 400c9b0b (Linux DA Server)
		DA-DRIVE 40009a0b (Linux DA Server)
		MATT 40412003 (athalon 550)
dump_workgroups()
 dump workgroup on subnet  216.229.12.163: netmask=255.255.255.248:
	DUCTAMERICA(1) current master browser = COMP03
		COMP03 400c9b0b (Linux DA Server)
		DA-DRIVE 40009a0b (Linux DA Server)
		OFFICE 40402203 (Ductamerica Workstation)
		MATT 40412003 (athalon 550)
dump_workgroups()
 dump workgroup on subnet  UNICAST_SUBNET: netmask= 
	DUCTAMERICA(1) current master browser = UNKNOWN
		COMP03 40099b0b (Linux DA Server)
		DA-DRIVE 40009a0b (Linux DA Server)
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet UNICAST_SUBNET: found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet : found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet 21 found.
find_workgroup_on_subnet: workgroup search for DUCTAMERICA on subnet UNICAST_SUBNET: found.
is_myname("COMP03") returns 1
is_myname("DA-DRIVE") returns 1
is_myname("MATT") returns 0
is_myname("COMP03") returns 1
is_myname("DA-DRIVE") returns 1
is_myname("OFFICE") returns 0
is_myname("MATT") returns 0
is_myname("COMP03") returns 1
is_myname("DA-DRIVE") returns 1

log.netlogon
deal_with_creds: clnt_cred=548F4C69A6EC6425
cred_store:
make_creds_key: dom DUCTAMERICA wks COMP03
[000] 64 75 63 74 61 6D 65 72  69 63 61 00 63 6F 6D 70  ductamer ica.comp
[010] 30 33 00                                          03. 
SAM Logon (Network). Domain:[DUCTAMERICA].  User:[matthew]
Opened policy hnd[3] register_policy_hnd: vuser [20670, 65]
[000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 01 00 00 00                                       .... 
Found policy hnd[3] [000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 01 00 00 00                                       .... 
policy pnum=3 setting name to sam_connect
Found policy hnd[3] [000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 01 00 00 00                                       .... 
Found policy hnd[3] [000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 01 00 00 00                                       .... 
Getting policy vuser_key pnum=3 pid=20670 vuid=65
Opened policy hnd[4] register_policy_hnd: vuser [20670, 65]
[000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 02 00 00 00                                       .... 
Found policy hnd[4] [000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 02 00 00 00                                       .... 
policy pnum=4 setting name to sam_domain
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
Setting policy sid=S-1-5-21-1027092324-3789277122-2277139020
Found policy hnd[4] [000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 02 00 00 00                                       .... 
policy(pnum=4 sam_domain): Setting policy state
Service setting policy sid=S-1-5-21-1027092324-3789277122-2277139020
_samr_open_domain: 260
samr_lookup_names: 1434
Found policy hnd[4] [000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 02 00 00 00                                       .... 
policy(pnum=4 sam_domain): Getting policy state
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
Getting policy sid=S-1-5-21-1027092324-3789277122-2277139020
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
pol_sid: S-1-5-21-1027092324-3789277122-2277139020
name 'matthew' split into domain:DUCTAMERICA and nt name:matthew'
reset_wk_maps: Initializing maps
lookupsmbpwntnam: nt user name matthew
name 'matthew' split into domain:DUCTAMERICA and nt name:matthew'
initialising map /usr/local/samba/private/domainuser.map
file_modified: /usr/local/samba/private/domainuser.map modified
load_name_map: Scanning name map /usr/local/samba/private/domainuser.map
Read line |root=Administrator|
make_name_entry:,Administrator,root
unix_name_to_nt_name_info: unix_name:root
unix_name_to_nt_name_info: unix gid:0
map_domain_name_to_sid: overriding blank name to DUCTAMERICA
map_domain_name_to_sid: DUCTAMERICA
compare: BUILTIN
compare: Global Domain
compare: Everyone
compare: LOCAL
compare: Creator Owner
compare: Creator Group
compare: Creator Server Owner
compare: Creator Server Group
compare: NT Authority
compare: DIALUP
compare: NETWORK
compare: BATCH
compare: Interactive
compare: Service
compare: 
compare: SERVER LOGON
compare: Authenticated Users
compare: SYSTEM
compare: DUCTAMERICA
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
found S-1-5-21-1027092324-3789277122-2277139020
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
nt name DUCTAMERICA\Administrator gid 0 mapped to S-1-5-21-1027092324-3789277122-2277139020-500
unixname = root, ntname = DUCTAMERICA\Administrator type = 1
Read line ||
load_name_map: Added 1 entries to name map.
search by uid: 210
startfileent: opening file /usr/local/samba/private/smbpasswd
getsamfile21pwent
get_number: 502:AB94A67DCBF0DCC0AAD3B435B51404EE:D4A85E1EB082A2E55B22877FE2879D18:Matthew Brichacek:/home/mmbrich:/bin/bash -> 502
getsmbfilepwent: returning passwd entry for unix user mmbrich, unix uid 502
unixuser:mmbrich uid:502 acb:10
pwdb_smb_map_names: unix mmbrich nt NULL unix 502 nt-1
lookupsmbpwnam: unix user name mmbrich
lookupsmbpwuid: unix uid 502
file_modified: /usr/local/samba/private/domainuser.map not modified
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
map_unixid: enum entry unix group root 0 nt Administrator S-1-5-21-1027092324-3789277122-2277139020-500
getsamfile21pwent
getsamfile21pwent: nt_name=mmbrich, unix_name=mmbrich
Home server: comp03
getsamfile21pwent
get_number: 503:6FD899DC607CA814AAD3B435B51404EE:2A5B19109F46E699C909E42C4A8F1478:Kristy Schlickbernd:/home/kristy:/bin/bash -> 503
getsmbfilepwent: returning passwd entry for unix user kristy, unix uid 503
unixuser:kristy uid:503 acb:10
pwdb_smb_map_names: unix kristy nt NULL unix 503 nt-1
lookupsmbpwnam: unix user name kristy
lookupsmbpwuid: unix uid 503
file_modified: /usr/local/samba/private/domainuser.map not modified
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
map_unixid: enum entry unix group root 0 nt Administrator S-1-5-21-1027092324-3789277122-2277139020-500
getsamfile21pwent
getsamfile21pwent: nt_name=kristy, unix_name=kristy
Home server: comp03
getsamfile21pwent
get_number: 521:71CC48557B3DE521AAD3B435B51404EE:82CAF3379861794804020A9DEF2B6273:Jethro Hopkins:/home/jethro:/bin/bash -> 521
getsmbfilepwent: returning passwd entry for unix user jethro, unix uid 521
unixuser:jethro uid:521 acb:10
pwdb_smb_map_names: unix jethro nt NULL unix 521 nt-1
lookupsmbpwnam: unix user name jethro
lookupsmbpwuid: unix uid 521
file_modified: /usr/local/samba/private/domainuser.map not modified
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
map_unixid: enum entry unix group root 0 nt Administrator S-1-5-21-1027092324-3789277122-2277139020-500
getsamfile21pwent
getsamfile21pwent: nt_name=jethro, unix_name=jethro
Home server: comp03
getsamfile21pwent
get_number: 528:AB94A67DCBF0DCC0AAD3B435B51404EE:D4A85E1EB082A2E55B22877FE2879D18:Matthew Brichacek:/home/mmbrich:/bin/bash -> 528
getsmbfilepwent: returning passwd entry for unix user matthew, unix uid 528
unixuser:matthew uid:528 acb:10
pwdb_smb_map_names: unix matthew nt NULL unix 528 nt-1
lookupsmbpwnam: unix user name matthew
lookupsmbpwuid: unix uid 528
file_modified: /usr/local/samba/private/domainuser.map not modified
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
map_unixid: enum entry unix group root 0 nt Administrator S-1-5-21-1027092324-3789277122-2277139020-500
getsamfile21pwent
getsamfile21pwent: nt_name=matthew, unix_name=matthew
Home server: comp03
found by unix_uid: 210
endfileent: closed file.
pwdb_sam_map_names: unix matthew nt matthew unix 528 nt3112
lookupsmbpwnam: unix user name matthew
lookupsmbpwuid: unix uid 528
file_modified: /usr/local/samba/private/domainuser.map not modified
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
map_unixid: enum entry unix group root 0 nt Administrator S-1-5-21-1027092324-3789277122-2277139020-500
pwdb_sam_map_name: found unix user matthew nt matthew uid 528 rid 0xc28
lookupsmbgrpgid: unix gid 0
initialising map /usr/local/samba/private/localgroup.map
file_modified: /usr/local/samba/private/localgroup.map modified
load_name_map: Scanning name map /usr/local/samba/private/localgroup.map
Read line |smb=BUILTIN\Administrators|
make_name_entry:BUILTIN,Administrators,smb
unix_name_to_nt_name_info: unix_name:smb
unix_name_to_nt_name_info: unix gid:61
map_domain_name_to_sid: BUILTIN
compare: BUILTIN
sid_to_string returning S-1-5-32
found S-1-5-32
map_domain_name_to_sid: BUILTIN
compare: BUILTIN
sid_to_string returning S-1-5-32
found S-1-5-32
make_mydomain_sid: group Administrators in builtin domain
sid_to_string returning S-1-5-32-544
nt name BUILTIN\Administrators gid 61 mapped to S-1-5-32-544
unixname = smb, ntname = BUILTIN\Administrators type = 4
load_name_map: Added 1 entries to name map.
sid_to_string returning S-1-5-32-544
map_unixid: enum entry unix group smb 61 nt Administrators S-1-5-32-544
initialising map /usr/local/samba/private/domaingroup.map
file_modified: /usr/local/samba/private/domaingroup.map modified
load_name_map: Scanning name map /usr/local/samba/private/domaingroup.map
Read line |smb="Domain Admins"|
make_name_entry:,Domain Admins,smb
unix_name_to_nt_name_info: unix_name:smb
unix_name_to_nt_name_info: unix gid:61
map_domain_name_to_sid: overriding blank name to DUCTAMERICA
map_domain_name_to_sid: DUCTAMERICA
compare: BUILTIN
compare: Global Domain
compare: Everyone
compare: LOCAL
compare: Creator Owner
compare: Creator Group
compare: Creator Server Owner
compare: Creator Server Group
compare: NT Authority
compare: DIALUP
compare: NETWORK
compare: BATCH
compare: Interactive
compare: Service
compare: 
compare: SERVER LOGON
compare: Authenticated Users
compare: SYSTEM
compare: DUCTAMERICA
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
found S-1-5-21-1027092324-3789277122-2277139020
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-512
nt name DUCTAMERICA\Domain Admins gid 61 mapped to S-1-5-21-1027092324-3789277122-2277139020-512
unixname = smb, ntname = DUCTAMERICA\Domain Admins type = 2
load_name_map: Added 1 entries to name map.
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-512
map_unixid: enum entry unix group smb 61 nt Domain Admins S-1-5-21-1027092324-3789277122-2277139020-512
pwdb_sam_map_name: found gid 0 and group rid 0x3e9 for unix user matthew
not yet root: unbecome root depth is 1
lookup_added_user_name: nt name: matthew rid: c28
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
name: matthew sid: S-1-5-21-1027092324-3789277122-2277139020 rid: c28 type: 1
Found policy hnd[4] [000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 02 00 00 00                                       .... 
policy(pnum=4 sam_domain): Getting policy state
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020
Getting policy sid=S-1-5-21-1027092324-3789277122-2277139020
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-3112
lookupsmbpwsid: nt sid S-1-5-21-1027092324-3789277122-2277139020-3112
file_modified: /usr/local/samba/private/domainuser.map not modified
search by uid: 210
startfileent: opening file /usr/local/samba/private/smbpasswd
getsamfile21pwent
get_number: 502:AB94A67DCBF0DCC0AAD3B435B51404EE:D4A85E1EB082A2E55B22877FE2879D18:Matthew Brichacek:/home/mmbrich:/bin/bash -> 502
getsmbfilepwent: returning passwd entry for unix user mmbrich, unix uid 502
unixuser:mmbrich uid:502 acb:10
pwdb_smb_map_names: unix mmbrich nt NULL unix 502 nt-1
lookupsmbpwnam: unix user name mmbrich
lookupsmbpwuid: unix uid 502
file_modified: /usr/local/samba/private/domainuser.map not modified
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
map_unixid: enum entry unix group root 0 nt Administrator S-1-5-21-1027092324-3789277122-2277139020-500
getsamfile21pwent
getsamfile21pwent: nt_name=mmbrich, unix_name=mmbrich
Home server: comp03
getsamfile21pwent
get_number: 503:6FD899DC607CA814AAD3B435B51404EE:2A5B19109F46E699C909E42C4A8F1478:Kristy Schlickbernd:/home/kristy:/bin/bash -> 503
getsmbfilepwent: returning passwd entry for unix user kristy, unix uid 503
unixuser:kristy uid:503 acb:10
pwdb_smb_map_names: unix kristy nt NULL unix 503 nt-1
lookupsmbpwnam: unix user name kristy
lookupsmbpwuid: unix uid 503
file_modified: /usr/local/samba/private/domainuser.map not modified
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
map_unixid: enum entry unix group root 0 nt Administrator S-1-5-21-1027092324-3789277122-2277139020-500
getsamfile21pwent
getsamfile21pwent: nt_name=kristy, unix_name=kristy
Home server: comp03
getsamfile21pwent
get_number: 521:71CC48557B3DE521AAD3B435B51404EE:82CAF3379861794804020A9DEF2B6273:Jethro Hopkins:/home/jethro:/bin/bash -> 521
getsmbfilepwent: returning passwd entry for unix user jethro, unix uid 521
unixuser:jethro uid:521 acb:10
pwdb_smb_map_names: unix jethro nt NULL unix 521 nt-1
lookupsmbpwnam: unix user name jethro
lookupsmbpwuid: unix uid 521
file_modified: /usr/local/samba/private/domainuser.map not modified
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
map_unixid: enum entry unix group root 0 nt Administrator S-1-5-21-1027092324-3789277122-2277139020-500
getsamfile21pwent
getsamfile21pwent: nt_name=jethro, unix_name=jethro
Home server: comp03
getsamfile21pwent
get_number: 528:AB94A67DCBF0DCC0AAD3B435B51404EE:D4A85E1EB082A2E55B22877FE2879D18:Matthew Brichacek:/home/mmbrich:/bin/bash -> 528
getsmbfilepwent: returning passwd entry for unix user matthew, unix uid 528
unixuser:matthew uid:528 acb:10
pwdb_smb_map_names: unix matthew nt NULL unix 528 nt-1
lookupsmbpwnam: unix user name matthew
lookupsmbpwuid: unix uid 528
file_modified: /usr/local/samba/private/domainuser.map not modified
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
map_unixid: enum entry unix group root 0 nt Administrator S-1-5-21-1027092324-3789277122-2277139020-500
getsamfile21pwent
getsamfile21pwent: nt_name=matthew, unix_name=matthew
Home server: comp03
found by unix_uid: 210
endfileent: closed file.
pwdb_sam_map_names: unix matthew nt matthew unix 528 nt3112
lookupsmbpwnam: unix user name matthew
lookupsmbpwuid: unix uid 528
file_modified: /usr/local/samba/private/domainuser.map not modified
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-500
map_unixid: enum entry unix group root 0 nt Administrator S-1-5-21-1027092324-3789277122-2277139020-500
pwdb_sam_map_name: found unix user matthew nt matthew uid 528 rid 0xc28
lookupsmbgrpgid: unix gid 0
file_modified: /usr/local/samba/private/localgroup.map not modified
sid_to_string returning S-1-5-32-544
map_unixid: enum entry unix group smb 61 nt Administrators S-1-5-32-544
file_modified: /usr/local/samba/private/domaingroup.map not modified
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-512
map_unixid: enum entry unix group smb 61 nt Domain Admins S-1-5-21-1027092324-3789277122-2277139020-512
pwdb_sam_map_name: found gid 0 and group rid 0x3e9 for unix user matthew
not yet root: unbecome root depth is 1
Found policy hnd[4] [000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 02 00 00 00                                       .... 
Getting policy vuser_key pnum=4 pid=20670 vuid=65
Opened policy hnd[5] register_policy_hnd: vuser [20670, 65]
[000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 03 00 00 00                                       .... 
TODO: verify that the rid exists
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-3112
Setting policy sid=S-1-5-21-1027092324-3789277122-2277139020-3112
Found policy hnd[5] [000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 03 00 00 00                                       .... 
policy(pnum=5 ): Setting policy state
Service setting policy sid=S-1-5-21-1027092324-3789277122-2277139020-3112
samr_query_usergroups: 2256
Found policy hnd[5] [000] 00 00 00 00 00 CB 39 66  37 A1 BF 01 C0 50 00 00  ......9f 7....P..
[010] 03 00 00 00                                       .... 
policy(pnum=5 ): Getting policy state
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-3112
Getting policy sid=S-1-5-21-1027092324-3789277122-2277139020-3112
sid_to_string returning S-1-5-21-1027092324-3789277122-2277139020-3112
lookupsmbpwsid: nt sid S-1-5-21-1027092324-3789277122-2277139020-3112
file_modified: /usr/local/samba/private/domainuser.map not modified
search by uid: 210
startfileent: opening file /usr/local/samba/private/smbpasswd
getsamfile21pwent
get_number: 502:AB94A67DCBF0DCC0AAD3B435B51404EE:D4A85E1EB082A2E55B22877FE2879D18:Matthew Brichacek:/home/mmbrich:/bin/bash -> 502
getsmbfilepwent: returning passwd entry for unix user mmbrich, unix uid 502
unixuser:mmbrich uid:502 acb:10
pwdb_smb_map_names: unix mmbrich nt NULL unix 502 nt-1



according to all the logs i actually get logged on and then it disconnects
after that.  I tried a few different things as far as turning off daemons and
replacing them too.  When i would turn off or replace the lsarpcd with a later
version(tng-1.7) i would get a "invalid username/password" at the domain login
on win98.



More information about the samba-ntdom mailing list