svn commit: samba r3290 - in
branches/SAMBA_4_0/source/ntvfs/unixuid: .
metze at samba.org
metze at samba.org
Wed Oct 27 13:38:31 GMT 2004
Author: metze
Date: 2004-10-27 13:38:30 +0000 (Wed, 27 Oct 2004)
New Revision: 3290
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/ntvfs/unixuid&rev=3290&nolog=1
Log:
allow SID_ANONYMOUS ( "S-1-5-7" ) to be the users sid
metze
Modified:
branches/SAMBA_4_0/source/ntvfs/unixuid/vfs_unixuid.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/unixuid/vfs_unixuid.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/unixuid/vfs_unixuid.c 2004-10-27 12:59:41 UTC (rev 3289)
+++ branches/SAMBA_4_0/source/ntvfs/unixuid/vfs_unixuid.c 2004-10-27 13:38:30 UTC (rev 3290)
@@ -57,7 +57,7 @@
/* make sure its a user, not a group */
atype = samdb_result_uint(res[0], "sAMAccountType", 0);
- if (!atype || (!(atype & ATYPE_ACCOUNT))) {
+ if (atype && (!(atype & ATYPE_ACCOUNT))) {
DEBUG(0,("sid_to_unixuid: sid %s is not an account!\n", sidstr));
talloc_free(ctx);
return NT_STATUS_ACCESS_DENIED;
More information about the samba-cvs
mailing list