1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-15 05:57:49 +03:00

Address gcc warnings.

I could not fix the "passing arg 5 of `ldap_search_s'" completely with
gcc -Wall. A non-developer compile does not complain though.

Volker
This commit is contained in:
Volker Lendecke -
parent c7d39a7426
commit dcbbbd66a9

View File

@ -503,7 +503,7 @@ int smb_ldap_search(struct smb_ldap_privates *ldap_state,
continue;
rc = ldap_search_s(ldap_state->ldap_struct, base, scope,
filter, attrs, attrsonly, res);
filter, (char **)attrs, attrsonly, res);
}
if (rc == LDAP_SERVER_DOWN) {