You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a few compiler warnings showing up when compiling the account
usability plug-in:
../ds.git/ldap/servers/plugins/acct_usability/acct_usability.c: In function
?auc_create_response_ctrl?:
../ds.git/ldap/servers/plugins/acct_usability/acct_usability.c:245: warning:
passing argument 1 of ?slapi_get_pwpolicy? from incompatible pointer type
../ds.git/ldap/servers/slapd/slapi-plugin.h:4917: note: expected ?struct
Slapi_DN *? but argument is of type ?char *?
../ds.git/ldap/servers/plugins/acct_usability/acct_usability.c: In function
?auc_pre_search?:
../ds.git/ldap/servers/plugins/acct_usability/acct_usability.c:385: warning:
implicit declaration of function ?plugin_call_acl_plugin?
The text was updated successfully, but these errors were encountered:
commit changeset:334b965a2a6fb43157b8e3b7ed3102497884dc8f/389-ds-base
Author: Nathan Kinder nkinder@redhat.com
Date: Thu Oct 6 08:32:48 2011 -0700
This addresses 2 compiler warnings that are seen when compiling the
account usability plug-in. One issue is that we are passing a 'char *'
to slapi_get_pwpolicy(), which expects a 'Slapi_DN *'. The other
issue is that we are calling plugin_call_acl_plugin(), which is not
a public function. This function is wrapped by the public function
slapi_access_allowed(), which we should use instead.
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/243
https://bugzilla.redhat.com/show_bug.cgi?id=743966
The text was updated successfully, but these errors were encountered: