summaryrefslogtreecommitdiff
path: root/source3/auth/proto.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-04-06 06:46:26 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-04-06 00:33:31 +0200
commit48646ee69aeb8f963d5d34abdaec783283efea71 (patch)
treeafd7bd50eed08be3d6dc680ddf7876bade92bebe /source3/auth/proto.h
parent86baefe2245a74f1777418b1e2c7b97e33c42529 (diff)
downloadsamba-48646ee69aeb8f963d5d34abdaec783283efea71.tar.gz
samba-48646ee69aeb8f963d5d34abdaec783283efea71.tar.bz2
samba-48646ee69aeb8f963d5d34abdaec783283efea71.zip
s3-auth: Make server_info const in create_local_token()
Andreas Schneider <asn@samba.org> correctly points out that this input parameter should now be const, and that found a bug where I used then used it incorrectly as a talloc context. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 6 00:33:31 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/auth/proto.h')
-rw-r--r--source3/auth/proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/proto.h b/source3/auth/proto.h
index 15e79dda0a..b88bb8c626 100644
--- a/source3/auth/proto.h
+++ b/source3/auth/proto.h
@@ -102,7 +102,7 @@ struct samu;
NTSTATUS make_server_info_sam(struct auth_serversupplied_info **server_info,
struct samu *sampass);
NTSTATUS create_local_token(TALLOC_CTX *mem_ctx,
- struct auth_serversupplied_info *server_info,
+ const struct auth_serversupplied_info *server_info,
DATA_BLOB *session_key,
struct auth_serversupplied_info **session_info_out);
NTSTATUS create_token_from_username(TALLOC_CTX *mem_ctx, const char *username,