]> git.sur5r.net Git - openldap/blobdiff - contrib/slapd-modules/nssov/nssov.h
ITS#8097 nssov: clean up some compiler warnings
[openldap] / contrib / slapd-modules / nssov / nssov.h
index eae55f76559ddaaed8b9e38413279b6fd2005353..bef9495969a5f9966d17bd2f6a6e6091619f1bd2 100644 (file)
@@ -164,6 +164,9 @@ void nssov_cfg_init(nssov_info *ni,const char *fname);
     }                                                                          \
   }                                                                            \
 
+/* Find the given attribute's value in the RDN of the DN. */
+void nssov_find_rdnval(struct berval *dn,AttributeDescription *ad,struct berval *value);
+
 /* This tries to get the user password attribute from the entry.
    It will try to return an encrypted password as it is used in /etc/passwd,
    /etc/group or /etc/shadow depending upon what is in the directory.
@@ -303,7 +306,6 @@ int pam_pwmod(nssov_info *ni,TFILE *fp,Operation *op,uid_t calleruid);
   { \
     /* define common variables */ \
     int32_t tmpint32; \
-    int rc; \
        nssov_##db##_cbp cbp; \
        slap_callback cb = {0}; \
        SlapReply rs = {REP_RESULT}; \