diff options
author | Günther Deschner <gd@samba.org> | 2008-04-13 19:22:24 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-13 19:25:59 +0200 |
commit | aea1a244eed1c474d8e95048563c2d304a4f3696 (patch) | |
tree | 35838b5ea16c19d44aac157d31023218ff533222 /source3/lib/netapi/netapi.h | |
parent | 631808843400c97f47f29a32ee990205dce7aa20 (diff) | |
download | samba-aea1a244eed1c474d8e95048563c2d304a4f3696.tar.gz samba-aea1a244eed1c474d8e95048563c2d304a4f3696.tar.bz2 samba-aea1a244eed1c474d8e95048563c2d304a4f3696.zip |
libnetapi: add libnetapi_set_use_kerberos
Don't unconditionally set the kerberos flag for authentication.
Guenther
(This used to be commit 15bef5ae413adf278cccc0e547c4b8ccd180eca2)
Diffstat (limited to 'source3/lib/netapi/netapi.h')
-rw-r--r-- | source3/lib/netapi/netapi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index 97fed2e1d3..0d21067a20 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/lib/netapi/netapi.h @@ -89,6 +89,7 @@ struct libnetapi_ctx { char *workgroup; char *password; char *krb5_cc_env; + int use_kerberos; }; /**************************************************************** @@ -133,6 +134,11 @@ NET_API_STATUS libnetapi_set_workgroup(struct libnetapi_ctx *ctx, /**************************************************************** ****************************************************************/ +NET_API_STATUS libnetapi_set_use_kerberos(struct libnetapi_ctx *ctx); + +/**************************************************************** +****************************************************************/ + const char *libnetapi_errstr(NET_API_STATUS status); /**************************************************************** |