diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-09-29 15:16:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:31 -0500 |
commit | 98038f71a7b072912c974d131012335ca22c5259 (patch) | |
tree | ff092ffa845b426f8df25ee82f846ef08f634c02 /source4/ldap_server | |
parent | 59f43d2b58271c4beeab14104014dcd1ae059997 (diff) | |
download | samba-98038f71a7b072912c974d131012335ca22c5259.tar.gz samba-98038f71a7b072912c974d131012335ca22c5259.tar.bz2 samba-98038f71a7b072912c974d131012335ca22c5259.zip |
r25428: forward declarations of enums are not portable,
so pass struct cli_credentials *cred instead of
enum credentials_use_kerberos use_kerberos.
metze
(This used to be commit b945aaa9dadc4c0595340d35725b49bac8e5778e)
Diffstat (limited to 'source4/ldap_server')
-rw-r--r-- | source4/ldap_server/ldap_backend.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c index e81c5bf445..ae0fd207b5 100644 --- a/source4/ldap_server/ldap_backend.c +++ b/source4/ldap_server/ldap_backend.c @@ -64,10 +64,8 @@ NTSTATUS ldapsrv_backend_Init(struct ldapsrv_connection *conn) if (conn->server_credentials) { char **sasl_mechs = NULL; struct gensec_security_ops **backends = gensec_security_all(); - enum credentials_use_kerberos use_kerberos - = cli_credentials_get_kerberos_state(conn->server_credentials); struct gensec_security_ops **ops - = gensec_use_kerberos_mechs(conn, backends, use_kerberos); + = gensec_use_kerberos_mechs(conn, backends, conn->server_credentials); int i, j = 0; for (i = 0; ops && ops[i]; i++) { if (ops[i]->sasl_name && ops[i]->server_start) { |