[Samba] Samba 3.0 PDC on debian linux
Philippe Dhont (Sea-ro)
Philippe.Dhont at searo.be
Tue Jun 10 09:53:17 GMT 2003
Hi,
I try to install my linux as PDC.
I followed the samba project documentation and some other doc.
My samba is 3.0.0 alpha2.4
My smb.conf is with the user securrity, domain logons etc... Just like it
should be
I added the computername with the "$" sign
Added the computername in smbpasswd but when i try to connect with my
win2000 workstation i get
"unknown user name or bad password"
I try to connect via the root logon (tried others also).
And how can i list the users from smbpasswd ???
These are the loggings:
Log.10.51.10.159
[2003/06/10 11:46:18, 6] param/loadparm.c:lp_file_list_changed(2621)
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last
mod_time: Fri Jun 6 15:43:25 2003
[2003/06/10 11:46:18, 3] smbd/oplock.c:init_oplocks(1214)
open_oplock_ipc: opening loopback UDP socket.
[2003/06/10 11:46:18, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(302)
Linux kernel oplocks enabled
[2003/06/10 11:46:18, 3] smbd/oplock.c:init_oplocks(1245)
open_oplock ipc: pid = 21620, global_oplock_port = 1080
[2003/06/10 11:46:18, 4] lib/time.c:get_serverzone(122)
Serverzone is -7200
[2003/06/10 11:46:18, 6] smbd/process.c:process_smb(881)
got message type 0x81 of len 0x44
[2003/06/10 11:46:18, 3] smbd/process.c:process_smb(882)
Transaction 0 of length 72
[2003/06/10 11:46:18, 2] smbd/reply.c:reply_special(80)
netbios connect: name1=LNX name2=LNXTEST
[2003/06/10 11:46:18, 2] smbd/reply.c:reply_special(94)
Log.lnxtest
[2003/06/10 11:46:18, 6] param/loadparm.c:lp_file_list_changed(2621)
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last
mod_time: Fri Jun 6 15:43:25 2003
[2003/06/10 11:46:18, 5] smbd/connection.c:claim_connection(162)
claiming 0
[2003/06/10 11:46:18, 5] smbd/reply.c:reply_special(136)
init msg_type=0x81 msg_flags=0x0
[2003/06/10 11:46:18, 6] lib/util_sock.c:write_socket(407)
write_socket(16,4)
[2003/06/10 11:46:18, 6] lib/util_sock.c:write_socket(410)
write_socket(16,4) wrote 4
[2003/06/10 11:46:18, 6] smbd/process.c:process_smb(881)
got message type 0x0 of len 0x85
[2003/06/10 11:46:18, 3] smbd/process.c:process_smb(882)
Transaction 1 of length 137
[2003/06/10 11:46:18, 5] lib/util.c:show_msg(456)
[2003/06/10 11:46:18, 5] lib/util.c:show_msg(466)
size=133
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51283
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=98
[2003/06/10 11:46:18, 3] smbd/process.c:switch_message(676)
switch message SMBnegprot (pid 21620)
[2003/06/10 11:46:18, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/06/10 11:46:18, 5] auth/auth_util.c:debug_nt_user_token(494)
NT user token: (NULL)
[2003/06/10 11:46:18, 5] auth/auth_util.c:debug_unix_user_token(513)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2003/06/10 11:46:18, 5] smbd/uid.c:change_to_root_user(218)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/06/10 11:46:18, 3] smbd/negprot.c:reply_negprot(427)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2003/06/10 11:46:18, 3] smbd/negprot.c:reply_negprot(427)
Requested protocol [LANMAN1.0]
[2003/06/10 11:46:18, 3] smbd/negprot.c:reply_negprot(427)
Requested protocol [Windows for Workgroups 3.1a]
[2003/06/10 11:46:18, 3] smbd/negprot.c:reply_negprot(427)
Requested protocol [LM1.2X002]
[2003/06/10 11:46:18, 3] smbd/negprot.c:reply_negprot(427)
Requested protocol [LANMAN2.1]
[2003/06/10 11:46:18, 3] smbd/negprot.c:reply_negprot(427)
Requested protocol [NT LM 0.12]
[2003/06/10 11:46:18, 6] param/loadparm.c:lp_file_list_changed(2621)
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last
mod_time: Fri Jun 6 15:43:25 2003
[2003/06/10 11:46:18, 6] param/loadparm.c:lp_file_list_changed(2621)
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last
mod_time: Fri Jun 6 15:43:25 2003
[2003/06/10 11:46:18, 3] smbd/negprot.c:reply_nt1(301)
using SPNEGO
[2003/06/10 11:46:18, 3] smbd/negprot.c:reply_negprot(504)
Selected protocol NT LM 0.12
[2003/06/10 11:46:18, 5] smbd/negprot.c:reply_negprot(510)
negprot index=5
[2003/06/10 11:46:18, 5] lib/util.c:show_msg(456)
[2003/06/10 11:46:18, 5] lib/util.c:show_msg(466)
size=127
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=0
smt_wct=17
smb_vwv[ 0]= 5 (0x5)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]= 256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]= 65 (0x41)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 256 (0x100)
smb_vwv[ 7]=29696 (0x7400)
smb_vwv[ 8]= 84 (0x54)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]= 227 (0xE3)
smb_vwv[11]= 128 (0x80)
smb_vwv[12]=64529 (0xFC11)
smb_vwv[13]=13603 (0x3523)
smb_vwv[14]=49967 (0xC32F)
smb_vwv[15]=34817 (0x8801)
smb_vwv[16]=15103 (0x3AFF)
smb_bcc=58
[2003/06/10 11:46:18, 6] lib/util_sock.c:write_socket(407)
write_socket(16,131)
[2003/06/10 11:46:18, 6] lib/util_sock.c:write_socket(410)
write_socket(16,131) wrote 131
[2003/06/10 11:46:18, 6] smbd/process.c:process_smb(881)
got message type 0x0 of len 0xc6
[2003/06/10 11:46:18, 3] smbd/process.c:process_smb(882)
Transaction 2 of length 202
[2003/06/10 11:46:18, 5] lib/util.c:show_msg(456)
[2003/06/10 11:46:18, 5] lib/util.c:show_msg(466)
size=198
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=64
smt_wct=12
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 198 (0xC6)
smb_vwv[ 2]=16644 (0x4104)
smb_vwv[ 3]= 50 (0x32)
smb_vwv[ 4]= 0 (0x0)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 0 (0x0)
smb_vwv[ 7]= 66 (0x42)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]= 0 (0x0)
smb_vwv[10]= 212 (0xD4)
smb_vwv[11]=32768 (0x8000)
smb_bcc=139
[2003/06/10 11:46:18, 3] smbd/process.c:switch_message(676)
switch message SMBsesssetupX (pid 21620)
[2003/06/10 11:46:18, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/06/10 11:46:18, 5] auth/auth_util.c:debug_nt_user_token(494)
NT user token: (NULL)
[2003/06/10 11:46:18, 5] auth/auth_util.c:debug_unix_user_token(513)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2003/06/10 11:46:18, 5] smbd/uid.c:change_to_root_user(218)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/06/10 11:46:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X(534)
wct=12 flg2=0xc807
[2003/06/10 11:46:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(446)
Doing spnego session setup
[2003/06/10 11:46:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(470)
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
[2003/06/10 11:46:18, 3] smbd/sesssetup.c:reply_spnego_negotiate(351)
Got OID 1 3 6 1 4 1 311 2 2 10
[2003/06/10 11:46:18, 3] smbd/sesssetup.c:reply_spnego_negotiate(358)
Got secblob of size 32
[2003/06/10 11:46:18, 5] auth/auth.c:make_auth_context_subsystem(446)
Making default auth method list for security=user, encrypt passwords = yes
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend rhosts
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'rhosts'
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend hostsequiv
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'hostsequiv'
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend samstrict
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'samstrict'
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend sam
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'sam'
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend unix
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'unix'
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend winbind
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'winbind'
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend smbserver
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'smbserver'
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend trustdomain
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'trustdomain'
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend ntdomain
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'ntdomain'
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(45)
Attempting to register auth backend guest
[2003/06/10 11:46:18, 5] auth/auth.c:smb_register_auth(57)
Successfully added auth method 'guest'
[2003/06/10 11:46:18, 5] auth/auth.c:load_auth_module(362)
load_auth_module: Attempting to find an auth method to match guest
[2003/06/10 11:46:18, 5] auth/auth.c:load_auth_module(383)
load_auth_module: auth method guest has a valid init
[2003/06/10 11:46:18, 5] auth/auth.c:load_auth_module(362)
load_auth_module: Attempting to find an auth method to match sam
[2003/06/10 11:46:18, 5] auth/auth.c:load_auth_module(383)
load_auth_module: auth method sam has a valid init
[2003/06/10 11:46:18, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(33)
Got NTLMSSP neg_flags=0xe0008297
NTLMSSP_NEGOTIATE_UNICODE
NTLMSSP_NEGOTIATE_OEM
NTLMSSP_REQUEST_TARGET
NTLMSSP_NEGOTIATE_SIGN
NTLMSSP_NEGOTIATE_LM_KEY
NTLMSSP_NEGOTIATE_NTLM
NTLMSSP_NEGOTIATE_ALWAYS_SIGN
NTLMSSP_NEGOTIATE_128
NTLMSSP_NEGOTIATE_KEY_EXCH
[2003/06/10 11:46:18, 5] auth/auth.c:get_ntlm_challenge(93)
auth_get_challenge: module guest did not want to specify a challenge
[2003/06/10 11:46:18, 5] auth/auth.c:get_ntlm_challenge(93)
auth_get_challenge: module sam did not want to specify a challenge
[2003/06/10 11:46:18, 5] auth/auth.c:get_ntlm_challenge(132)
auth_context challenge created by random
[2003/06/10 11:46:18, 5] auth/auth.c:get_ntlm_challenge(133)
challenge is:
[2003/06/10 11:46:18, 5] lib/util.c:dump_data(1886)
[000] 53 24 18 03 5A 4E F2 4F S$..ZN.O
[2003/06/10 11:46:18, 6] lib/util_sock.c:write_socket(407)
write_socket(16,214)
[2003/06/10 11:46:18, 6] lib/util_sock.c:write_socket(410)
write_socket(16,214) wrote 214
[2003/06/10 11:46:18, 6] smbd/process.c:process_smb(881)
got message type 0x0 of len 0x124
[2003/06/10 11:46:18, 3] smbd/process.c:process_smb(882)
Transaction 3 of length 296
[2003/06/10 11:46:18, 5] lib/util.c:show_msg(456)
[2003/06/10 11:46:18, 5] lib/util.c:show_msg(466)
size=292
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=128
smt_wct=12
smb_vwv[ 0]= 255 (0xFF)
smb_vwv[ 1]= 292 (0x124)
smb_vwv[ 2]=16644 (0x4104)
smb_vwv[ 3]= 50 (0x32)
smb_vwv[ 4]= 0 (0x0)
smb_vwv[ 5]= 0 (0x0)
smb_vwv[ 6]= 0 (0x0)
smb_vwv[ 7]= 160 (0xA0)
smb_vwv[ 8]= 0 (0x0)
smb_vwv[ 9]= 0 (0x0)
smb_vwv[10]= 212 (0xD4)
smb_vwv[11]=32768 (0x8000)
smb_bcc=233
[2003/06/10 11:46:18, 3] smbd/process.c:switch_message(676)
switch message SMBsesssetupX (pid 21620)
[2003/06/10 11:46:18, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/06/10 11:46:18, 5] auth/auth_util.c:debug_nt_user_token(494)
NT user token: (NULL)
[2003/06/10 11:46:18, 5] auth/auth_util.c:debug_unix_user_token(513)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2003/06/10 11:46:18, 5] smbd/uid.c:change_to_root_user(218)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/06/10 11:46:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X(534)
wct=12 flg2=0xc807
[2003/06/10 11:46:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(446)
Doing spnego session setup
[2003/06/10 11:46:18, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(470)
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
[2003/06/10 11:46:18, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(284)
Got user=[root] domain=[lnx2003] workstation=[LNXTEST] len1=24 len2=24
[2003/06/10 11:46:18, 6] param/loadparm.c:lp_file_list_changed(2621)
lp_file_list_changed()
file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf last
mod_time: Fri Jun 6 15:43:25 2003
[2003/06/10 11:46:18, 5] auth/auth_util.c:make_user_info_map(209)
make_user_info_map: Mapping user [lnx2003]\[root] from workstation
[LNXTEST]
[2003/06/10 11:46:18, 5]
passdb/secrets.c:secrets_fetch_trusted_domain_password(300)
secrets_fetch failed!
[2003/06/10 11:46:18, 5] libsmb/trustdom_cache.c:trustdom_cache_fetch(170)
no entry for trusted domain lnx2003 found.
[2003/06/10 11:46:18, 5] auth/auth_util.c:make_user_info(125)
attempting to make a user_info for root (root)
[2003/06/10 11:46:18, 5] auth/auth_util.c:make_user_info(135)
making strings for root's user_info struct
[2003/06/10 11:46:18, 5] auth/auth_util.c:make_user_info(177)
making blobs for root's user_info struct
[2003/06/10 11:46:18, 3] auth/auth.c:check_ntlm_password(216)
check_ntlm_password: Checking password for unmapped user
[lnx2003]\[root]@[LNXTEST] with the new password interface
[2003/06/10 11:46:18, 3] auth/auth.c:check_ntlm_password(219)
check_ntlm_password: mapped user is: [lnx2003]\[root]@[LNXTEST]
[2003/06/10 11:46:18, 5] lib/util.c:dump_data(1886)
[000] 53 24 18 03 5A 4E F2 4F S$..ZN.O
[2003/06/10 11:46:18, 5] auth/auth.c:check_ntlm_password(256)
check_ntlm_password: guest authentication for user [root] FAILED with
error NT_STATUS_LOGON_FAILURE
[2003/06/10 11:46:18, 3] smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2003/06/10 11:46:18, 3] smbd/uid.c:push_conn_ctx(287)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2003/06/10 11:46:18, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2003/06/10 11:46:18, 5] auth/auth_util.c:debug_nt_user_token(494)
NT user token: (NULL)
[2003/06/10 11:46:18, 5] auth/auth_util.c:debug_unix_user_token(513)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2003/06/10 11:46:18, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(454)
getsmbfilepwent: returning passwd entry for user Ca_philippe_tst$, uid
10000
[2003/06/10 11:46:18, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(454)
getsmbfilepwent: returning passwd entry for user CA_PHILIPE_TST$, uid
10001
[2003/06/10 11:46:18, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(454)
getsmbfilepwent: returning passwd entry for user lnxtest$, uid 10002
[2003/06/10 11:46:18, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(454)
getsmbfilepwent: returning passwd entry for user philippe-dhont$, uid
10003
[2003/06/10 11:46:18, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(454)
getsmbfilepwent: returning passwd entry for user test, uid 1003
[2003/06/10 11:46:18, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(454)
getsmbfilepwent: returning passwd entry for user lnxtest.searo.home$, uid
1007
[2003/06/10 11:46:18, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(503)
getsmbfilepwent: end of file reached.
[2003/06/10 11:46:18, 7] passdb/pdb_smbpasswd.c:endsmbfilepwent(277)
endsmbfilepwent_internal: closed password file.
[2003/06/10 11:46:18, 3] smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/06/10 11:46:18, 3] auth/auth_sam.c:check_sam_security(437)
Couldn't find user 'root' in passdb file.
[2003/06/10 11:46:18, 5] auth/auth.c:check_ntlm_password(256)
check_ntlm_password: sam authentication for user [root] FAILED with error
NT_STATUS_NO_SUCH_USER
[2003/06/10 11:46:18, 2] auth/auth.c:check_ntlm_password(301)
check_ntlm_password: Authentication for user [root] -> [root] FAILED with
error NT_STATUS_NO_SUCH_USER
[2003/06/10 11:46:18, 5] auth/auth_util.c:free_user_info(1082)
attempting to free (and zero) a user_info structure
[2003/06/10 11:46:18, 6] lib/util_sock.c:write_socket(407)
write_socket(16,94)
[2003/06/10 11:46:18, 6] lib/util_sock.c:write_socket(410)
write_socket(16,94) wrote 94
[2003/06/10 11:46:18, 3] smbd/process.c:timeout_processing(1095)
end of file from client
[2003/06/10 11:46:18, 5] lib/gencache.c:gencache_shutdown(88)
Closing cache file
[2003/06/10 11:46:18, 5] libsmb/namecache.c:namecache_shutdown(79)
namecache_shutdown: netbios namecache closed successfully.
[2003/06/10 11:46:18, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2003/06/10 11:46:18, 5] auth/auth_util.c:debug_nt_user_token(494)
NT user token: (NULL)
[2003/06/10 11:46:18, 5] auth/auth_util.c:debug_unix_user_token(513)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
[2003/06/10 11:46:18, 5] smbd/uid.c:change_to_root_user(218)
change_to_root_user: now uid=(0,0) gid=(0,0)
[2003/06/10 11:46:18, 2] smbd/server.c:exit_server(558)
Closing connections
[2003/06/10 11:46:18, 3] smbd/connection.c:yield_connection(61)
Yielding connection to
[2003/06/10 11:46:18, 5] smbd/oplock.c:receive_local_message(107)
receive_local_message: doing select with timeout of 1 ms
[2003/06/10 11:46:18, 3] smbd/server.c:exit_server(601)
Server exit (normal exit)
netbios connect: local=lnx remote=lnxtest
More information about the samba
mailing list