svn commit: samba r12841 - in trunk/source/passdb: .
vlendec at samba.org
vlendec at samba.org
Wed Jan 11 13:24:01 GMT 2006
Author: vlendec
Date: 2006-01-11 13:24:01 +0000 (Wed, 11 Jan 2006)
New Revision: 12841
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12841
Log:
No idea where I found this, w2k3 reports computers and trusts as user. This
removes the necessity for gd to add LOOKUP_NAME_SAMR.
Volker
Modified:
trunk/source/passdb/passdb.c
Changeset:
Modified: trunk/source/passdb/passdb.c
===================================================================
--- trunk/source/passdb/passdb.c 2006-01-11 12:09:30 UTC (rev 12840)
+++ trunk/source/passdb/passdb.c 2006-01-11 13:24:01 UTC (rev 12841)
@@ -866,15 +866,7 @@
}
sid_peek_rid(user_sid, rid);
-
- if (pdb_get_acct_ctrl(sam_account) &
- (ACB_DOMTRUST|ACB_WSTRUST|ACB_SVRTRUST)) {
- /* We have to filter them out in lsa_lookupnames,
- * indicate that this is not a real user. */
- *type = SID_NAME_COMPUTER;
- } else {
- *type = SID_NAME_USER;
- }
+ *type = SID_NAME_USER;
pdb_free_sam(&sam_account);
return True;
}
More information about the samba-cvs
mailing list