[Samba] Error - unable to validate owners SID

Mead, Tom tmead at bci.it
Fri Feb 15 04:22:03 GMT 2002

I am running Samba 2.2.3a on Solaris 8 with NT4 and windows 2000 clients
(both NT4 and w2k have the same problem). I have a situation where by I have
a windows NT application installed onto the samba share. When i try to start
the application it crashes with an error complaining that it is unable to
read a file. The debug log shows the following with relation to the file
".root.passwords": -

[2002/02/14 17:49:21, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/common/config/.root.passwords]
[2002/02/14 17:49:21, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(common/config/.root.passwords) returning 0644
[2002/02/14 17:49:21, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [common/config/.root.passwords]
[2002/02/14 17:49:21, 2] smbd/open.c:open_file(216)
  INSTALL opened file common/config/.root.passwords read=Yes write=No
[2002/02/14 17:49:21, 3] smbd/posix_acls.c:unpack_nt_owners(443)
  unpack_nt_owners: unable to validate owner sid.
[2002/02/14 17:49:21, 2] smbd/close.c:close_normal_file(212)
  kplus closed file common/config/.root.passwords (numopen=9)
[2002/02/14 17:49:21, 3] smbd/error.c:error_packet(91)
  error string = No such file or directory
[2002/02/14 17:49:21, 3] smbd/error.c:error_packet(103)
  error packet at smbd/nttrans.c(1399) cmd=160 (SMBnttrans)

I have no trouble opening the same file on the PC with notepad. I have also
used samba2.0.0 with solaris 2.6 and NT4 with the same application for quite
some time with no issues of this nature. If i downgrade the samba software
to 2.0.5a it works on NT4 clients but not windows 2000.

This same problem was previously posted back in december with Samba 2.2.2
and the following reply was given: -

On Thu, Dec 20, 2001 at 02:10:53AM +0800, anthony loupos wrote:
> Here's a strange issue: 
> I'm running winnt4 with Samba 2.2.2 on Solaris 2.8. Basically, a windows
app. has been installed onto a Samba share. The windows app has difficulties
accessing text files on the share. I notice that in log.smbd, I get an error
message (that corresponds to the file the app can't open). Here's a snippet
from the file:  
> [2001/12/19 12:32:23, 3] smbd/posix_acls.c:unpack_nt_owners(442) 
> unpack_nt_owners: unable to validate owner sid. 
This is a bug I fixed in 2.2 CVS, it should be fixed in 2.2.3. Check out the
CVS to be sure. Jeremy. 
Any feedback on this problem would be appreciated.

More information about the samba mailing list