svn commit: samba r12676 - in trunk/source/nsswitch: .
gd at samba.org
gd at samba.org
Mon Jan 2 17:01:07 GMT 2006
Author: gd
Date: 2006-01-02 17:01:07 +0000 (Mon, 02 Jan 2006)
New Revision: 12676
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12676
Log:
cosmetic function name changes.
Guenther
Modified:
trunk/source/nsswitch/winbindd_cred_cache.c
trunk/source/nsswitch/winbindd_pam.c
Changeset:
Modified: trunk/source/nsswitch/winbindd_cred_cache.c
===================================================================
--- trunk/source/nsswitch/winbindd_cred_cache.c 2006-01-02 16:54:58 UTC (rev 12675)
+++ trunk/source/nsswitch/winbindd_cred_cache.c 2006-01-02 17:01:07 UTC (rev 12676)
@@ -31,7 +31,7 @@
static TALLOC_CTX *mem_ctx;
-const char *get_ccache_name_from_list_by_username(const char *username)
+const char *get_ccache_name_by_username(const char *username)
{
struct WINBINDD_CCACHE_ENTRY *entry;
@@ -43,7 +43,7 @@
return NULL;
}
-struct WINBINDD_CCACHE_ENTRY *get_ccache_from_list_by_name(const char *username)
+struct WINBINDD_CCACHE_ENTRY *get_ccache_by_username(const char *username)
{
struct WINBINDD_CCACHE_ENTRY *entry;
@@ -66,7 +66,7 @@
return i;
}
-NTSTATUS remove_ccache_from_list_by_name(const char *ccname)
+NTSTATUS remove_ccache_by_ccname(const char *ccname)
{
struct WINBINDD_CCACHE_ENTRY *entry;
Modified: trunk/source/nsswitch/winbindd_pam.c
===================================================================
--- trunk/source/nsswitch/winbindd_pam.c 2006-01-02 16:54:58 UTC (rev 12675)
+++ trunk/source/nsswitch/winbindd_pam.c 2006-01-02 17:01:07 UTC (rev 12676)
@@ -1745,7 +1745,7 @@
/* what we need here is to find the corresponding krb5 ccache name *we*
* created for a given username and destroy it (as the user who created it) */
- entry = get_ccache_from_list_by_name(state->request.data.logoff.user);
+ entry = get_ccache_by_username(state->request.data.logoff.user);
if (entry == NULL) {
DEBUG(10,("winbindd_pam_logoff: could not get ccname for user %s\n",
state->request.data.logoff.user));
@@ -1783,7 +1783,7 @@
} else {
DEBUG(10,("winbindd_pam_logoff: successfully destroyed ccache %s for user %s\n",
entry->ccname, state->request.data.logoff.user));
- remove_ccache_from_list_by_name(entry->ccname);
+ remove_ccache_by_ccname(entry->ccname);
}
result = krb5_to_nt_status(ret);
More information about the samba-cvs
mailing list