From eb4fbaeee283a517cdb778bde9aba5a26d31334d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 27 Nov 2005 02:00:37 +0000 Subject: r11929: Add static, comments. Andrew Bartlett (This used to be commit 41f09ef9342d0c9f09475a189d2bbdb50e611528) --- source4/auth/auth_sam.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/auth') diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c index 56e61ea2a3..e65a5c70f6 100644 --- a/source4/auth/auth_sam.c +++ b/source4/auth/auth_sam.c @@ -26,7 +26,7 @@ #include "auth/auth.h" #include "lib/ldb/include/ldb.h" -const char *user_attrs[] = { +static const char *user_attrs[] = { /* requried for the krb5 kdc*/ "objectClass", "sAMAccountName", @@ -64,7 +64,7 @@ const char *user_attrs[] = { NULL, }; -const char *domain_ref_attrs[] = {"nETBIOSName", "nCName", "dnsRoot", NULL}; +static const char *domain_ref_attrs[] = {"nETBIOSName", "nCName", "dnsRoot", NULL}; /**************************************************************************** Do a specific test for an smb password being correct, given a smb_password and @@ -585,7 +585,7 @@ NTSTATUS sam_get_results_principal(struct ldb_context *sam_ctx, return NT_STATUS_OK; } - +/* Used in the gensec_gssapi and gensec_krb5 server-side code, where the PAC isn't available */ NTSTATUS sam_get_server_info_principal(TALLOC_CTX *mem_ctx, const char *principal, struct auth_serversupplied_info **server_info) { -- cgit