Re: [Samba] Windows 7 v. Samba: why is default network profile in 'NETLOGON/Default User.v2' not used?

2012-07-02 Thread Dave Ewart
On Friday, 29.06.2012 at 17:33 +0200, Harry Jede wrote:

 According to KB-973289 http://support.microsoft.com/kb/973289 the
 owner should be everyone. Everyone has SID S-1-1-0
 http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q243330 . Do
 you have a usermapping for everyone?

(Thanks for your reply, Harry)

We don't, actually: I read those instructions and, since our NETLOGON
share is not generally writeable and our Samba isn't configured to use
ACLs, those permissions wouldn't apply when following the recipe as
described in the link above.  Nowhere I've read suggests that the
ownership setting is *critical*: our NETLOGON share presents as
read-only guest, in effect.

Do you think the ownership is critical and that Windows is rejecting the
use of 'Default User.v2' simply because it can't ascertain that it's
EVERYONE-owned, despite the fact that it could read it if it tried?!

(I admit I side-stepped this part of the process and hoped it wouldn't
matter, since reconfiguring Samba to allow this type of change would be
potentially disruptive!)

Thanks,

Dave.

-- 
Dave Ewart
da...@ceu.ox.ac.uk
Computing Manager, Cancer Epidemiology Unit
University of Oxford / Cancer Research UK
N 51.7516, W 1.2152


signature.asc
Description: Digital signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] Windows 7 v. Samba: why is default network profile in 'NETLOGON/Default User.v2' not used?

2012-06-29 Thread Dave Ewart
On Wednesday, 27.06.2012 at 11:59 +0100, Dave Ewart wrote:

 [2012/06/27 11:07:04.794950,  3] smbd/process.c:1294(switch_message)
   switch message SMBtrans2 (pid 14326) conn 0x7fa7ba071750
 [2012/06/27 11:07:04.794960,  3] smbd/trans2.c:5099(call_trans2qfilepathinfo)
   call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
 [2012/06/27 11:07:04.794978,  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.797603,  3] smbd/process.c:1485(process_smb)
   Transaction 85 of length 142 (0 toread)
 [2012/06/27 11:07:04.797620,  3] smbd/process.c:1294(switch_message)
   switch message SMBsesssetupX (pid 14326) conn 0x0

No-one has replied to my thread, so perhaps this is an ususual issue.
To help to debug it myself, can someone explain what Samba is 'doing'
during the above log section?  It looks to be Doing Something with
'Default User.v2/NTUSER.DAT', but it's not a file open or read, because
I know what those look like in the logs.  What is
'call_trans2qfilepathinfo'?

All help appreciated,

Thanks,

Dave.

-- 
Dave Ewart
da...@ceu.ox.ac.uk
Computing Manager, Cancer Epidemiology Unit
University of Oxford / Cancer Research UK
N 51.7516, W 1.2152


signature.asc
Description: Digital signature
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] Windows 7 v. Samba: why is default network profile in 'NETLOGON/Default User.v2' not used?

2012-06-29 Thread Harry Jede
On 17:26:27 wrote Dave Ewart:
 On Wednesday, 27.06.2012 at 11:59 +0100, Dave Ewart wrote:
  [2012/06/27 11:07:04.794950,  3]
  smbd/process.c:1294(switch_message)
  
switch message SMBtrans2 (pid 14326) conn 0x7fa7ba071750
  
  [2012/06/27 11:07:04.794960,  3]
  smbd/trans2.c:5099(call_trans2qfilepathinfo)
  
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
  
  [2012/06/27 11:07:04.794978,  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.797603,  3] smbd/process.c:1485(process_smb)
  
Transaction 85 of length 142 (0 toread)
  
  [2012/06/27 11:07:04.797620,  3]
  smbd/process.c:1294(switch_message)
  
switch message SMBsesssetupX (pid 14326) conn 0x0
 
 No-one has replied to my thread, so perhaps this is an ususual issue.
 To help to debug it myself, can someone explain what Samba is 'doing'
 during the above log section?  It looks to be Doing Something with
 'Default User.v2/NTUSER.DAT', but it's not a file open or read,
 because I know what those look like in the logs.  What is
 'call_trans2qfilepathinfo'?
According to KB-973289 http://support.microsoft.com/kb/973289 the 
owner should be everyone. Everyone has SID S-1-1-0 
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q243330 . Do you 
have a usermapping for everyone?

 
 All help appreciated,
 
 Thanks,
 
 Dave.


-- 

Regards
Harry Jede
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


[Samba] Windows 7 v. Samba: why is default network profile in 'NETLOGON/Default User.v2' not used?

2012-06-27 Thread Dave Ewart
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]