svn commit: samba r11929 - in branches/SAMBA_4_0/source/auth: .
abartlet at samba.org
abartlet at samba.org
Sun Nov 27 02:00:39 GMT 2005
Author: abartlet
Date: 2005-11-27 02:00:37 +0000 (Sun, 27 Nov 2005)
New Revision: 11929
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11929
Log:
Add static, comments.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/auth/auth_sam.c
Changeset:
Modified: branches/SAMBA_4_0/source/auth/auth_sam.c
===================================================================
--- branches/SAMBA_4_0/source/auth/auth_sam.c 2005-11-27 02:00:12 UTC (rev 11928)
+++ branches/SAMBA_4_0/source/auth/auth_sam.c 2005-11-27 02:00:37 UTC (rev 11929)
@@ -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 @@
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 @@
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)
{
More information about the samba-cvs
mailing list