a more informitive debug message when a SID can't be validated
authorAndrew Tridgell <tridge@samba.org>
Sat, 9 Mar 2002 19:38:47 +0000 (19:38 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sat, 9 Mar 2002 19:38:47 +0000 (19:38 +0000)
source/smbd/posix_acls.c

index 7d2eff806601552022cfdfaa60500907a383d631..ee1935a41f0e25204217b34f4fff184c62a26d34 100644 (file)
@@ -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;
                }
        }