[Samba] Directory perms not visible from Properties|Security on clients

Richard Michael rmichael+samba at fields.utoronto.ca
Fri Oct 29 23:28:21 GMT 2004


Samba 3.0.7, XP Pro SP1 clients

When I view the "Properties|Security" tab on a folder from my XP SP1
clients, the checkboxes indicating the various permission settings are
all empty.

The share is functioning fine otherwise, permissions are OK when
inspected from the Unix side.

Does anyone know a work around (or fix!)?

This came up back in 2003, without resolution:
http://marc.theaimsgroup.com/?l=samba&m=105404730810537&w=2

It also came up earlier this month, again without resolution:
http://marc.theaimsgroup.com/?l=samba&m=109659106919277&w=2

There is a open bug (with a fair degree of reproducibility it seems):
https://bugzilla.samba.org/show_bug.cgi?id=1865

A level 4 debug log reveals that unix_mode (in dosmode.c) is properly
determining the mode (in this case, 0744).  Shortly after that, it
appears that the security descriptor is queried and the SIDs are fetched
from the cache, but just after all that takes place, it reports a
"Function not implemented" error followed by a
NT_STATUS_BUFFER_TOO_SMALL error.

I surmise from the archives that the "...TOO_SMALL" error is "just" RPC
reply fragmentation across multiple smbd processes.  (Does that mean it
isn't really a problem?  Is fragmentation of this type OK?)

Regards,
Richard


-------------------------------------
[2004/10/29 18:25:38, 3] smbd/vfs.c:reduce_name(834)
  reduce_name [Computer Administration/Test]
[/data/samba/shared-documents]
[2004/10/29 18:25:38, 3] smbd/vfs.c:reduce_name(939)
  reduce_name: Computer Administration/Test reduced to (null)
[2004/10/29 18:25:38, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(Computer Administration/Test) returning 0744
[2004/10/29 18:25:38, 3] smbd/vfs.c:reduce_name(834)
  reduce_name [Computer Administration/Test]
[/data/samba/shared-documents]
[2004/10/29 18:25:38, 3] smbd/vfs.c:reduce_name(939)
  reduce_name: Computer Administration/Test reduced to (null)
[2004/10/29 18:25:38, 4] smbd/open.c:open_file_shared1(1244)
  calling open_file with flags=0x0 flags2=0x0 mode=0744
[2004/10/29 18:25:38, 3] smbd/process.c:process_smb(1092)
  Transaction 19677 of length 88
[2004/10/29 18:25:38, 3] smbd/process.c:switch_message(887)
  switch message SMBnttrans (pid 13461) conn 0x837c740
[2004/10/29 18:25:38, 4] smbd/uid.c:change_to_user(194)
  change_to_user: Skipping user change - already user
[2004/10/29 18:25:38, 3]
smbd/nttrans.c:call_nt_transact_query_security_desc(1903)
  call_nt_transact_query_security_desc: file = Computer
Administration/Test
[2004/10/29 18:25:38, 3]
passdb/lookup_sid.c:fetch_sid_from_uid_cache(152)
  fetch sid from uid cache 500 ->
<<SNIP SID REMOVED>>
[2004/10/29 18:25:38, 3]
passdb/lookup_sid.c:fetch_sid_from_gid_cache(226)
  fetch sid from gid cache 500 ->
<<SNIP: SID REMOVED>>
[2004/10/29 18:25:38, 3]
smbd/nttrans.c:call_nt_transact_query_security_desc(1928)
  call_nt_transact_query_security_desc: sd_size = 120.
[2004/10/29 18:25:38, 3] smbd/error.c:error_packet(105)
  error string = Function not implemented
[2004/10/29 18:25:38, 3] smbd/error.c:error_packet(129)
  error packet at smbd/nttrans.c(101) cmd=160 (SMBnttrans)
NT_STATUS_BUFFER_TOO_SMALL
[2004/10/29 18:25:38, 3] smbd/process.c:process_smb(1092)
  Transaction 19678 of length 88
[2004/10/29 18:25:38, 3] smbd/process.c:switch_message(887)
  switch message SMBnttrans (pid 13461) conn 0x837c740



More information about the samba mailing list