#243 Compiler warnings in account usability plugin
Closed: wontfix None Opened 12 years ago by rmeggins.

https://bugzilla.redhat.com/show_bug.cgi?id=743966

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?

commit changeset:334b965/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.

not really a bug but an upstream task

Added initial screened field value.

Metadata Update from @rmeggins:
- Issue assigned to rmeggins
- Issue set to the milestone: 1.2.10

7 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/243

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

3 years ago

Login to comment on this ticket.

Metadata