diff options
author | Andrew Tridgell <tridge@samba.org> | 2002-03-09 19:38:47 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2002-03-09 19:38:47 +0000 |
commit | e69f020d3dcba8e4dfdaba9b89ff834d43eb2afd (patch) | |
tree | d5fbe2b61d1b5fcddd789973d4bb65d76dd3ff56 /source3/smbd | |
parent | b9becd752cce8b23a6b5082f013a6c6e0d4698e9 (diff) | |
download | samba-e69f020d3dcba8e4dfdaba9b89ff834d43eb2afd.tar.gz samba-e69f020d3dcba8e4dfdaba9b89ff834d43eb2afd.tar.bz2 samba-e69f020d3dcba8e4dfdaba9b89ff834d43eb2afd.zip |
a more informitive debug message when a SID can't be validated
(This used to be commit c55737fb25dfed4697b93a600e3bd770f84bf464)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/posix_acls.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index 7d2eff8066..ee1935a41f 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -439,7 +439,8 @@ static BOOL unpack_nt_owners(SMB_STRUCT_STAT *psbuf, uid_t *puser, gid_t *pgrp, if (security_info_sent & OWNER_SECURITY_INFORMATION) { sid_copy(&owner_sid, psd->owner_sid); if (!sid_to_uid( &owner_sid, puser, &sid_type)) { - DEBUG(3,("unpack_nt_owners: unable to validate owner sid.\n")); + DEBUG(3,("unpack_nt_owners: unable to validate owner sid for %s\n", + sid_string_static(&owner_sid))); return False; } } |