TNG-1.0.5 Problems
Tom Crummey
tom at ee.ucl.ac.uk
Thu Mar 30 17:53:35 GMT 2000
Hello,
samba-TNG cvs 18:50 BST 30/3/00 Solaris 2.7 gcc 2.8.1
rpcclient fails with the same error as you Matthew:
script:
./rpcclient -S . -U root -l log
Enter Password:
[root at .]$ createuser asterix$
createuser asterix$
Abort (core dumped)
Log:
doing parameter logon script = %a.exe
doing parameter logon drive = m:
doing parameter logon home = \\sonic\homes
doing parameter logon path = \\sonic\profile\%username%
doing parameter domain logons = Yes
doing parameter domain group map = /opt/samba-TNG/maps/domaingroup.map
doing parameter os level = 65
doing parameter preferred master = Yes
doing parameter domain master = Yes
doing parameter local master = yes
doing parameter wins support = Yes
doing parameter hosts allow = @hosts_smb_test
doing parameter mangling char = ^
doing parameter wide links = No
[2000/03/30 18:17:51, 3] param/loadparm.c:lp_load(2834)
pm_process() returned Yes
[2000/03/30 18:17:51, 7] param/loadparm.c:lp_servicenumber(2926)
lp_servicenumber: couldn't find homes
added interface ip=128.40.38.34 bcast=128.40.255.255 nmask=255.255.0.0
cmd_set: options: fffffeaf
set_user_password: read
2000/03/30 18:17:53 client started (version TNG-prealpha)
cli_connection_init_auth: \\. \PIPE\samr
copy_nt_creds: null creds
ncalrpc_l_use_add
ncalrpc_l_find: samr [24901,0]
root is in 11 groups: 1, 0, 2, 3, 4, 5, 6, 7, 8, 9, 12
uid 0 registered to name root
Clearing default real name
uid 0 vuid 100 registered to unix name root
vuid_init_db: opened
storing user 6145,64
000000 vuid_io_key key
0000 pid : 00006145
0004 vuid: 0064
000000 vuid_io_user_struct usr
0000 uid: 00000000
0004 gid: 00000001
0008 name: root
0010 requested_name: root
0018 real_name: <Full Name>
0024 guest: 00000000
0028 n_groups: 0000000b
002c : 00000001
0030 : 00000000
0034 : 00000002
0038 : 00000003
003c : 00000004
0040 : 00000005
0044 : 00000006
0048 : 00000007
004c : 00000008
0050 : 00000009
0054 : 0000000c
000058 net_io_user_info3 usr
000058 smb_io_time logon_time
0058 low : 00000000
005c high: 00000000
000060 smb_io_time logoff_time
0060 low : 00000000
0064 high: 00000000
000068 smb_io_time kickoff_time
0068 low : 00000000
006c high: 00000000
000070 smb_io_time pass_last_set_time
0070 low : 00000000
0074 high: 00000000
000078 smb_io_time pass_can_change_time
0078 low : 00000000
007c high: 00000000
000080 smb_io_time pass_must_change_time
0080 low : 00000000
0084 high: 00000000
000088 smb_io_unihdr hdr_user_name
0088 uni_str_len: 0000
008a uni_max_len: 0000
008c buffer : 00000000
000090 smb_io_unihdr hdr_full_name
0090 uni_str_len: 0000
0092 uni_max_len: 0000
0094 buffer : 00000000
000098 smb_io_unihdr hdr_logon_script
0098 uni_str_len: 0000
009a uni_max_len: 0000
009c buffer : 00000000
0000a0 smb_io_unihdr hdr_profile_path
00a0 uni_str_len: 0000
00a2 uni_max_len: 0000
00a4 buffer : 00000000
0000a8 smb_io_unihdr hdr_home_dir
00a8 uni_str_len: 0000
00aa uni_max_len: 0000
00ac buffer : 00000000
0000b0 smb_io_unihdr hdr_dir_drive
00b0 uni_str_len: 0000
00b2 uni_max_len: 0000
00b4 buffer : 00000000
00b8 logon_count : 0000
00ba bad_pw_count : 0000
00bc user_id : 00000000
00c0 group_id : 00000000
00c4 num_groups : 00000000
00c8 buffer_groups : 00000000
00cc user_flgs : 00000000
00d0 user_sess_key: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000e0 smb_io_unihdr hdr_logon_srv
00e0 uni_str_len: 0000
00e2 uni_max_len: 0000
00e4 buffer : 00000000
0000e8 smb_io_unihdr hdr_logon_dom
00e8 uni_str_len: 0000
00ea uni_max_len: 0000
00ec buffer : 00000000
00f0 buffer_dom_id : 00000000
00f4 padding : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0
0 00 00 00 00 00 00
011c num_other_sids: 00000000
0120 buffer_other_sids: 00000000
000124 smb_io_unistr2 - NULL user_name
000124 smb_io_unistr2 - NULL full_name
000124 smb_io_unistr2 - NULL logon_script
000124 smb_io_unistr2 - NULL profile_path
000124 smb_io_unistr2 - NULL home_dir
000124 smb_io_unistr2 - NULL dir_drive
0124 num_groups2 : 00000000
000128 smb_io_unistr2 - NULL logon_srv
000128 smb_io_unistr2 - NULL logon_dom
000128 smb_io_dom_sid2 dom_sid
0128 num_auths: 00000000
00012c smb_io_dom_sid sid
012c sid_rev_num: 00
012d num_auths : 00
012e id_auth[0] : 00
012f id_auth[1] : 00
0130 id_auth[2] : 00
0131 id_auth[3] : 00
0132 id_auth[4] : 00
0133 id_auth[5] : 00
ncalrpc_l_establish_connection: connecting to samr
socket open succeeded. file name: /tmp/.msrpc/.samr/agent
socket connect to /tmp/.msrpc/.samr/agent failed: No such file or directory
redirect failed, attempt direct connection
socket open succeeded. file name: /opt/samba-TNG/var/locks/.msrpc/samr
create_user_creds: samr 0 0
000004 creds_io_cmd creds
0004 version: 0000
0006 command: 0000
000008 vuid_io_key key
0008 pid : 00006145
000c vuid: 0064
000e name : samr
0014 ptr_creds: 00000000
write_socket(6,24)
write_socket(6,24) wrote 24
ncalrpc_l_use_add: num_users: 1
Bind RPC Pipe: \PIPE\samr
Bind Abstract Syntax:
[000] 12 34 57 78 12 34 AB CD EF 00 01 23 45 67 89 AC .4Wx.4.. ...#Eg..
[010] 00 00 00 01 ....
Bind Transfer Syntax:
[000] 8A 88 5D 04 1C EB 11 C9 9F E8 08 00 2B 10 48 60 ..]..... ....+.H`
[010] 00 00 00 02 ....
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: 00006145
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 ac
0020 version: 00000001
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: 75c68 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 45 61 00 00 01 00 00 00 64 00 01 00 0.0.Ea.. ....d...
[020] 78 57 34 12 34 12 CD AB EF 00 01 23 45 67 89 AC xW4.4... ...#Eg..
[030] 01 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(6,72)
write_socket(6,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 45 61 00 00 0C 00 5C 50 49 50 45 5C 0.0.Ea.. ..\PIPE\
[020] 73 61 6D 72 64 00 00 00 01 00 00 00 00 00 00 00 samrd... ........
[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: 00006145
000008 smb_io_rpc_addr_str
0008 len: 000c
000a str: \PIPE\samrd.
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: searching pipe name: client:\PIPE\browser server:\PIPE\ntsvcs
bind_rpc_pipe: searching pipe name: client:\PIPE\samr server:\PIPE\lsass
bind_rpc_pipe: pipe_name \PIPE\lsass != expected pipe \PIPE\samrd. oh well!
bind_rpc_pipe: accepted!
PANIC: assert failed at rpc_client/cli_pipe.c(1011)
PANIC: assert failed
Tom.
----------------------------------------------------------------------------
Tom Crummey, Systems and Network Manager, EMAIL: tom at ee.ucl.ac.uk
Department of Electronic and Electrical Engineering,
University College London, TEL: +44 (0)20 7679 3898
Torrington Place, FAX: +44 (0)20 7388 9307
London, UK, WC1E 7JE.
----------------------------------------------------------------------------
More information about the samba-ntdom
mailing list