[Samba] Samba 3.4.7 on Debian Squeeze does not allow Vista machines to connect to shares XP users can connect though

Siju George sgeorge.ml at gmail.com
Tue Mar 23 03:31:45 MDT 2010


Hi,

The following

ii  samba                                2:3.4.7~dfsg-1
SMB/CIFS file, print, and login server for Unix
ii  samba-common                         2:3.4.7~dfsg-1
common files used by both the Samba server and client
ii  samba-common-bin                     2:3.4.7~dfsg-1
common files used by both the Samba server and client

are installed on a squeeze ( 2.6.32-3-686 #1 SMP Thu Feb 25 06:14:20
UTC 2010 i686 GNU/Linux )

but when I connect from Vista Systems to the shares I am unable to do it.
With the same username and password I can connect the users from
Windows XP systems though.

( ***There is another samba server on OpenBSD 4.6 ( samba-3.0.34p1-ads
) which allows the users to connect from Vista Systems without any
trouble*** )

The error I get in the samba logs are

[2010/03/23 05:23:26,  3] auth/auth.c:222(check_ntlm_password)
 check_ntlm_password:  Checking password for unmapped user
[FTSLAMP]\[reebu]@[FINGENTPC12] with the new password interface
[2010/03/23 05:23:26,  3] auth/auth.c:225(check_ntlm_password)
 check_ntlm_password:  mapped user is: [PHPDEVSRV]\[reebu]@[FINGENTPC12]
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] auth/auth.c:271(check_ntlm_password)
 check_ntlm_password: sam authentication for user [reebu] succeeded
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  2] auth/auth.c:310(check_ntlm_password)
 check_ntlm_password:  authentication for user [reebu] -> [reebu] ->
[reebu] succeeded
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] auth/token_util.c:433(create_local_nt_token)
 Failed to fetch domain sid for FTSLAMP
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] auth/token_util.c:464(create_local_nt_token)
 Failed to fetch domain sid for FTSLAMP
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID
[S-1-5-21-3942886859-2832241399-1208315553-1005]
[2010/03/23 05:23:26,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID [S-1-22-2-1004]
[2010/03/23 05:23:26,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID [S-1-5-2]
[2010/03/23 05:23:26,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID [S-1-5-11]
[2010/03/23 05:23:26,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2010/03/23 05:23:26,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] libsmb/ntlmssp_sign.c:342(ntlmssp_sign_init)
 NTLMSSP Sign/Seal - Initialising with flags:
[2010/03/23 05:23:26,  3] libsmb/ntlmssp.c:62(debug_ntlmssp_flags)
 Got NTLMSSP neg_flags=0xe2088215
[2010/03/23 05:23:26,  3] smbd/password.c:269(register_existing_vuid)
 register_existing_vuid: User name: reebu      Real name: Reebu,,,
[2010/03/23 05:23:26,  3] smbd/password.c:279(register_existing_vuid)
 register_existing_vuid: UNIX uid 1002 is UNIX user reebu, and will be vuid 100
[2010/03/23 05:23:26,  3] smbd/password.c:211(register_homes_share)
 Adding homes service for user 'reebu' using home directory: '/home/reebu'
[2010/03/23 05:23:26,  3] smbd/process.c:1459(process_smb)
 Transaction 3 of length 98 (0 toread)
[2010/03/23 05:23:26,  3] smbd/process.c:1273(switch_message)
 switch message SMBtconX (pid 3168) conn 0x0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] lib/util_sid.c:228(string_to_sid)
 string_to_sid: Sid IPC_ does not start with 'S-'.
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  2] smbd/service.c:596(create_connection_server_info)
 user 'reebu' (from session setup) not permitted to access this share (IPC$)
[2010/03/23 05:23:26,  1] smbd/service.c:676(make_connection_snum)
 create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2010/03/23 05:23:26,  3] smbd/error.c:60(error_packet_set)
 error packet at smbd/reply.c(689) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED
[2010/03/23 05:23:26,  3] smbd/process.c:1459(process_smb)
 Transaction 4 of length 43 (0 toread)
[2010/03/23 05:23:26,  3] smbd/process.c:1273(switch_message)
 switch message SMBulogoffX (pid 3168) conn 0x0
[2010/03/23 05:23:26,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:26,  3] smbd/reply.c:1948(reply_ulogoffX)
 ulogoffX vuid=100
[2010/03/23 05:23:36,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:36,  3] smbd/connection.c:31(yield_connection)
 Yielding connection to
[2010/03/23 05:23:36,  3] smbd/server.c:849(exit_server_common)
 Server exit (failed to receive smb request)
[2010/03/23 05:23:42,  3] auth/auth.c:222(check_ntlm_password)
 check_ntlm_password:  Checking password for unmapped user
[FTSLAMP]\[anija]@[FINGENTPC12] with the new password interface
[2010/03/23 05:23:42,  3] auth/auth.c:225(check_ntlm_password)
 check_ntlm_password:  mapped user is: [PHPDEVSRV]\[anija]@[FINGENTPC12]
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] auth/auth.c:271(check_ntlm_password)
 check_ntlm_password: sam authentication for user [anija] succeeded
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  2] auth/auth.c:310(check_ntlm_password)
 check_ntlm_password:  authentication for user [anija] -> [anija] ->
[anija] succeeded
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] auth/token_util.c:433(create_local_nt_token)
 Failed to fetch domain sid for FTSLAMP
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] auth/token_util.c:464(create_local_nt_token)
 Failed to fetch domain sid for FTSLAMP
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID
[S-1-5-21-3942886859-2832241399-1208315553-1001]
[2010/03/23 05:23:42,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID [S-1-22-2-1005]
[2010/03/23 05:23:42,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID [S-1-5-2]
[2010/03/23 05:23:42,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID [S-1-5-11]
[2010/03/23 05:23:42,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID [S-1-22-2-1001]
[2010/03/23 05:23:42,  3] lib/privileges.c:63(get_privileges)
 get_privileges: No privileges assigned to SID [S-1-22-2-1002]
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] libsmb/ntlmssp_sign.c:342(ntlmssp_sign_init)
 NTLMSSP Sign/Seal - Initialising with flags:
[2010/03/23 05:23:42,  3] libsmb/ntlmssp.c:62(debug_ntlmssp_flags)
 Got NTLMSSP neg_flags=0xe2088215
[2010/03/23 05:23:42,  3] smbd/password.c:269(register_existing_vuid)
 register_existing_vuid: User name: anija      Real name: Anija Susan,,,
[2010/03/23 05:23:42,  3] smbd/password.c:279(register_existing_vuid)
 register_existing_vuid: UNIX uid 1003 is UNIX user anija, and will be vuid 100
[2010/03/23 05:23:42,  3] smbd/password.c:211(register_homes_share)
 Adding homes service for user 'anija' using home directory: '/home/anija'
[2010/03/23 05:23:42,  3] smbd/process.c:1459(process_smb)
 Transaction 3 of length 98 (0 toread)
[2010/03/23 05:23:42,  3] smbd/process.c:1273(switch_message)
 switch message SMBtconX (pid 3170) conn 0x0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] lib/util_sid.c:228(string_to_sid)
 string_to_sid: Sid IPC_ does not start with 'S-'.
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:210(push_sec_ctx)
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/uid.c:428(push_conn_ctx)
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:418(pop_sec_ctx)
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  2] smbd/service.c:596(create_connection_server_info)
 user 'anija' (from session setup) not permitted to access this share (IPC$)
[2010/03/23 05:23:42,  1] smbd/service.c:676(make_connection_snum)
 create_connection_server_info failed: NT_STATUS_ACCESS_DENIED
[2010/03/23 05:23:42,  3] smbd/error.c:60(error_packet_set)
 error packet at smbd/reply.c(689) cmd=117 (SMBtconX) NT_STATUS_ACCESS_DENIED
[2010/03/23 05:23:42,  3] smbd/process.c:1459(process_smb)
 Transaction 4 of length 43 (0 toread)
[2010/03/23 05:23:42,  3] smbd/process.c:1273(switch_message)
 switch message SMBulogoffX (pid 3170) conn 0x0
[2010/03/23 05:23:42,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:42,  3] smbd/reply.c:1948(reply_ulogoffX)
 ulogoffX vuid=100
[2010/03/23 05:23:52,  3] smbd/sec_ctx.c:310(set_sec_ctx)
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/23 05:23:52,  3] smbd/connection.c:31(yield_connection)
 Yielding connection to
[2010/03/23 05:23:52,  3] smbd/server.c:849(exit_server_common)
 Server exit (failed to receive smb request)

My Samba Configuration is

# testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Processing section "[PHP-Projects]"
Processing section "[misc]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
       workgroup = FTSLAMP
       server string = PHP Development Server
       update encrypted = Yes
       obey pam restrictions = Yes
       pam password change = Yes
       passwd program = /usr/bin/passwd %u
       passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
       unix password sync = Yes
       log level = 3
       syslog = 0
       log file = /var/log/samba/log.%m
       max log size = 1000
       dns proxy = No
       panic action = /usr/share/samba/panic-action %d
       valid users = %S
       create mask = 0700
       directory mask = 0700

[printers]
       comment = All Printers
       path = /var/spool/samba
       printable = Yes
       browseable = No
       browsable = No

[print$]
       comment = Printer Drivers
       path = /var/lib/samba/printers

[PHP-Projects]
       comment = PHP Projects
       path = /var/www/PHP-Projects
       valid users = @phpdevelopers
       force group = phpdevelopers
       read only = No
       force create mode = 0775
       force directory mode = 0775

[misc]
       comment = All testing and rubbish here :-)
       path = /var/www/misc
       valid users = @phpdevelopers
       force group = phpdevelopers
       read only = No
       force create mode = 0775
       force directory mode = 0775

relevant group file entries

phpdevelopers:x:1001:phpdev,reebu,anija
aphpdevelopers:x:1002:www-data,phpdev,reebu,anija

What could be the trouble?

Thanks

--Siju


More information about the samba mailing list