diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-11-27 02:00:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:48 -0500 |
commit | eb4fbaeee283a517cdb778bde9aba5a26d31334d (patch) | |
tree | 039ce2f24b22e80574760dbf150b72cda23e6fd2 /source4 | |
parent | 01fc59df4297020ce0252d6440b6d123a63e85ea (diff) | |
download | samba-eb4fbaeee283a517cdb778bde9aba5a26d31334d.tar.gz samba-eb4fbaeee283a517cdb778bde9aba5a26d31334d.tar.bz2 samba-eb4fbaeee283a517cdb778bde9aba5a26d31334d.zip |
r11929: Add static, comments.
Andrew Bartlett
(This used to be commit 41f09ef9342d0c9f09475a189d2bbdb50e611528)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/auth_sam.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |