Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler warnings in account usability plugin #243

Closed
389-ds-bot opened this issue Sep 12, 2020 · 4 comments
Closed

Compiler warnings in account usability plugin #243

389-ds-bot opened this issue Sep 12, 2020 · 4 comments
Labels
closed: fixed Migration flag - Issue
Milestone

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/243


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?
@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 12, 2020
@389-ds-bot 389-ds-bot added this to the 1.2.10 milestone Sep 12, 2020
@389-ds-bot
Copy link
Author

Comment from rmeggins (@richm) at 2012-01-11 03:10:24

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.

@389-ds-bot
Copy link
Author

Comment from rmeggins (@richm) at 2012-02-09 05:31:49

not really a bug but an upstream task

@389-ds-bot
Copy link
Author

Comment from nkinder (@nkinder) at 2012-08-28 04:14:37

Added initial screened field value.

@389-ds-bot
Copy link
Author

Comment from rmeggins (@richm) at 2017-02-11 22:55:52

Metadata Update from @richm:

  • Issue assigned to richm
  • Issue set to the milestone: 1.2.10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant