On 12/14/10 04:30 PM, Brett wrote:
Hi Alan,

Thanks for the reply. I have implemented the syslog change but see nothing in 
/var/adm/messages thusfar. is there some svccfg setting required to switch the 
cifs implementation into debug mode?

There are no svccfg tricks to manipulate debug information.

I also used the dtrace script in the following simple test :-
user on both windows 7 x64 machine and solaris is "owner" and has same password.
map cifs share (zfs) owned by "owner" from solaris server to windows host as letter 
"I:"
attempt to move i:\0random\test.txt to i:\test.txt fails with "please remove write 
protection" dialog on windows client.

here is the dtrace :-

   1   6677 smb_pre_nt_create_andx:-smb_op-NtCreateX-start cmd=162 [uid=1 tid=2]
   1   6677 smb_pre_nt_create_andx:-smb_op-NtCreateX-start \test.txt
   1   6676 smb_post_nt_create_andx:-smb_op-NtCreateX-done cmd[162]: 
status=0xc0000034 (class=1 code=2)

0xc0000034 is STATUS_OBJECT_NAME_NOT_FOUND

   1   6676 smb_post_nt_create_andx:-smb_op-NtCreateX-done \test.txt: fid=65535
   1   6677 smb_pre_nt_create_andx:-smb_op-NtCreateX-start cmd=162 [uid=1 tid=2]
   1   6677 smb_pre_nt_create_andx:-smb_op-NtCreateX-start \0random\test.txt
   1   6676 smb_post_nt_create_andx:-smb_op-NtCreateX-done cmd[162]: 
status=0xc0000022 (class=1 code=5)
   1   6676 smb_post_nt_create_andx:-smb_op-NtCreateX-done \0random\test.txt: 
fid=65535

0xc0000022 is STATUS_ACCESS_DENIED

I would like to ascertain the following :-
1) on solaris side which user does it think has made the mapping? Anonymous or 
"owner"

The SessionSetupX-done probe should report the account that was
authenticated and whether it was logged in as a user or guest.

2) Im guessing that if it is mapping correctly as user "owner" then the issue 
is something to do with acl's on the zfs. How can i find the acl preventing the move?

This should show the ACL:

        /bin/ls -lV

This will show the DOS attributes (check for read-only 'R')

        /bin/ls -/c

Alan
_______________________________________________
cifs-discuss mailing list
cifs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/cifs-discuss

Reply via email to