Setup:
- Samba 3.5.6 (Debian Stable release, amd64);
- Testing Windows 7 client behaviour, specifically with regard to users
who don't yet have profiles.
The Windows docs state that a domain logon for a new user will cause the
default network profile to be used if available, if not then a default
local profile is used instead. The location for the default network
profile is NETLOGON/Default User.v2 and I have content in that location.
However, a domain logon for a new user does not pick up the default
network profile, it falls through to the default local profile, which is
not what I want.
If I increase log level to 3 for Samba, I see this relating to the
default network profile location:
--
[2012/06/27 11:07:04.787396, 1] smbd/service.c:1070(make_connection_snum)
davee7vm (:::10.0.1.90) connect to service netlogon initially as user
test1 (uid=1577, gid=100) (pid 14326)
[2012/06/27 11:07:04.787427, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/06/27 11:07:04.787453, 3] smbd/reply.c:865(reply_tcon_and_X)
tconX service=NETLOGON
[2012/06/27 11:07:04.788984, 3] smbd/process.c:1485(process_smb)
Transaction 77 of length 112 (0 toread)
[2012/06/27 11:07:04.789003, 3] smbd/process.c:1294(switch_message)
switch message SMBtrans2 (pid 14326) conn 0x7fa7ba071750
[2012/06/27 11:07:04.789015, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (1577, 100) - sec_ctx_stack_ndx = 0
[2012/06/27 11:07:04.789041, 3] smbd/trans2.c:5099(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2012/06/27 11:07:04.789256, 3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Default User.v2 (fnum = -1) level=1004 call=5
total_data=0
[2012/06/27 11:07:04.789900, 3] smbd/process.c:1485(process_smb)
Transaction 78 of length 112 (0 toread)
[2012/06/27 11:07:04.789916, 3] smbd/process.c:1294(switch_message)
switch message SMBtrans2 (pid 14326) conn 0x7fa7ba071750
[2012/06/27 11:07:04.789927, 3] smbd/trans2.c:5099(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2012/06/27 11:07:04.789946, 3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Default User.v2 (fnum = -1) level=1005 call=5
total_data=0
[2012/06/27 11:07:04.790968, 3] smbd/process.c:1485(process_smb)
Transaction 79 of length 112 (0 toread)
[2012/06/27 11:07:04.790983, 3] smbd/process.c:1294(switch_message)
switch message SMBtrans2 (pid 14326) conn 0x7fa7ba071750
[2012/06/27 11:07:04.790995, 3] smbd/trans2.c:5099(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2012/06/27 11:07:04.791020, 3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Default User.v2 (fnum = -1) level=1005 call=5
total_data=0
[2012/06/27 11:07:04.791487, 3] smbd/process.c:1485(process_smb)
Transaction 80 of length 112 (0 toread)
[2012/06/27 11:07:04.791515, 3] smbd/process.c:1294(switch_message)
switch message SMBtrans2 (pid 14326) conn 0x7fa7ba071750
[2012/06/27 11:07:04.791526, 3] smbd/trans2.c:5099(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2012/06/27 11:07:04.791544, 3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Default User.v2 (fnum = -1) level=1004 call=5
total_data=0
[2012/06/27 11:07:04.792884, 3] smbd/process.c:1485(process_smb)
Transaction 81 of length 134 (0 toread)
[2012/06/27 11:07:04.792900, 3] smbd/process.c:1294(switch_message)
switch message SMBtrans2 (pid 14326) conn 0x7fa7ba071750
[2012/06/27 11:07:04.792910, 3] smbd/trans2.c:5099(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2012/06/27 11:07:04.792981, 3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Default User.v2/NTUSER.DAT (fnum = -1) level=1004
call=5 total_data=0
[2012/06/27 11:07:04.793628, 3] smbd/process.c:1485(process_smb)
Transaction 82 of length 134 (0 toread)
[2012/06/27 11:07:04.793643, 3] smbd/process.c:1294(switch_message)
switch message SMBtrans2 (pid 14326) conn 0x7fa7ba071750
[2012/06/27 11:07:04.793654, 3] smbd/trans2.c:5099(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2012/06/27 11:07:04.793674, 3] smbd/trans2.c:5225(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Default User.v2/NTUSER.DAT (fnum = -1) level=1005
call=5 total_data=0
[2012/06/27 11:07:04.794405, 3] smbd/process.c:1485(process_smb)
Transaction 83 of length 134 (0 toread)
[2012/06/27 11:07:04.794419, 3] smbd/process.c:1294(switch_message)
switch message SMBtrans2 (pid 14326) conn 0x7fa7ba071750
[2012/06/27 11:07:04.794429, 3] smbd/trans2.c:5099(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2012/06/27 11:07:04.794447, 3]