svn commit: samba r11201 - in branches/SAMBA_4_0/source/include: .

abartlet at samba.org abartlet at samba.org
Thu Oct 20 03:55:35 GMT 2005


Author: abartlet
Date: 2005-10-20 03:55:35 +0000 (Thu, 20 Oct 2005)
New Revision: 11201

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11201

Log:
New filters for searching in secrets.ldb

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/include/secrets.h


Changeset:
Modified: branches/SAMBA_4_0/source/include/secrets.h
===================================================================
--- branches/SAMBA_4_0/source/include/secrets.h	2005-10-20 03:47:55 UTC (rev 11200)
+++ branches/SAMBA_4_0/source/include/secrets.h	2005-10-20 03:55:35 UTC (rev 11201)
@@ -58,8 +58,10 @@
 };
 
 #define SECRETS_PRIMARY_DOMAIN_DN "cn=Primary Domains"
-
+#define SECRETS_PRINCIPALS_DN "cn=Principals"
 #define SECRETS_PRIMARY_DOMAIN_FILTER "(&(flatname=%s)(objectclass=primaryDomain))"
 #define SECRETS_PRIMARY_REALM_FILTER "(&(realm=%s)(objectclass=primaryDomain))"
+#define SECRETS_KRBTGT_SEARCH "(&((|(realm=%s)(flatname=%s))(samAccountName=krbtgt)))"
+#define SECRETS_PRINCIPAL_SEARCH "(&((|(realm=%s)(flatname=%s))(servicePrincipalName=%s)))"
 
 #endif /* _SECRETS_H */



More information about the samba-cvs mailing list