Remove the global "struct cm_cred_struct" and associated calls, make
commit54cf9adb8b1f1f3f8b156fba37357e379722c93f
authorJeremy Allison <jra@samba.org>
Tue, 17 Mar 2009 22:01:20 +0000 (17 15:01 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Apr 2009 07:07:02 +0000 (15 09:07 +0200)
tree7bcbaebe1eb96a936c12d3dd23da80bfa9d95b1e
parent4c5e4ba358be2bcfd19495ab5a31c769041e62be
Remove the global "struct cm_cred_struct" and associated calls, make
callers pass in a struct user_auth_info * instead. This commit causes
smbc_set_credentials() to print out a message telling callers to use
smbc_set_credentials_with_fallback() instead, as smbc_set_credentials()
has a broken API (no SMBCCTX * pointer). No more global variables used
in the connection manager API for client dfs calls.
Jeremy.
(cherry picked from commit 8b44877eb82c1c9270cb8099fefc621922f82719)
17 files changed:
source3/client/client.c
source3/include/libsmb_internal.h
source3/include/popt_common.h
source3/include/proto.h
source3/lib/netapi/cm.c
source3/lib/util.c
source3/libsmb/clidfs.c
source3/libsmb/libsmb_context.c
source3/libsmb/libsmb_dir.c
source3/libsmb/libsmb_file.c
source3/libsmb/libsmb_stat.c
source3/libsmb/libsmb_xattr.c
source3/rpcclient/rpcclient.c
source3/utils/net_rpc.c
source3/utils/smbcacls.c
source3/utils/smbcquotas.c
source3/utils/smbtree.c