]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapcommon.h
add logs; fix bug in group/dn selection logic
[openldap] / servers / slapd / slapcommon.h
index 12a1b57ffd3e88e631216da0e0179495d2a3f577..ff29921cd1c54dcc9c2499bdf8fcc616e88ddd3d 100644 (file)
@@ -27,6 +27,7 @@ enum slaptool {
        SLAPINDEX,      /* database index tool */
        SLAPPASSWD,     /* password generation tool */
        SLAPTEST,       /* slapd.conf test tool */
+       SLAPAUTH,       /* test authz-regexp and authc/authz stuff */
        SLAPLAST
 };
 
@@ -50,6 +51,8 @@ typedef struct tool_vars {
        int tv_dryrun;
        struct berval tv_sub_ndn;
        FILE    *tv_ldiffp;
+       struct berval tv_authcID;
+       struct berval tv_authzID;
 } tool_vars;
 
 extern tool_vars tool_globals;
@@ -69,6 +72,8 @@ extern tool_vars tool_globals;
 #define dryrun tool_globals.tv_dryrun
 #define sub_ndn tool_globals.tv_sub_ndn
 #define ldiffp tool_globals.tv_ldiffp
+#define authcID tool_globals.tv_authcID
+#define authzID tool_globals.tv_authzID
 
 void slap_tool_init LDAP_P((
        const char* name,