summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--service_passwords.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/service_passwords.c b/service_passwords.c
index e515fe6..50749db 100644
--- a/service_passwords.c
+++ b/service_passwords.c
@@ -175,9 +175,6 @@ static int pre_bind(Slapi_PBlock *pb)
struct berval *credentials;
int is_replication;
int is_internal;
- int connId;
- int opId;
- long msgId;
char *parent_dn;
@@ -185,14 +182,11 @@ static int pre_bind(Slapi_PBlock *pb)
char fn[] = "pre_bind in service_passwords plug-in";
/* Obtain the bind information from the parameter block. */
- rc |= slapi_pblock_get(pb, SLAPI_BIND_TARGET, &dn);
- rc |= slapi_pblock_get(pb, SLAPI_BIND_METHOD, &method);
- rc |= slapi_pblock_get(pb, SLAPI_BIND_CREDENTIALS, &credentials);
- rc |= slapi_pblock_get(pb, SLAPI_OPERATION_MSGID, &msgId);
- rc |= slapi_pblock_get(pb, SLAPI_CONN_ID, &connId);
- rc |= slapi_pblock_get(pb, SLAPI_OPERATION_ID, &opId);
+ rc |= slapi_pblock_get(pb, SLAPI_BIND_TARGET, &dn);
+ rc |= slapi_pblock_get(pb, SLAPI_BIND_METHOD, &method);
+ rc |= slapi_pblock_get(pb, SLAPI_BIND_CREDENTIALS, &credentials);
rc |= slapi_pblock_get(pb, SLAPI_IS_REPLICATED_OPERATION, &is_replication);
- rc |= slapi_pblock_get(pb, SLAPI_IS_INTERNAL_OPERATION, &is_internal);
+ rc |= slapi_pblock_get(pb, SLAPI_IS_INTERNAL_OPERATION, &is_internal);
if (rc != 0) {
slapi_log_error(