summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-11-15 19:40:00 +0000
committerJeremy Allison <jra@samba.org>2001-11-15 19:40:00 +0000
commit8220662c13b70930ee2650a3608f0cef0d0fe6ef (patch)
tree6099fbeebc9e24e67ef7077e650a2b473aae446d /source3/nsswitch/winbindd.c
parentc32b4b61610338f12093f3ad552c27b4f972e8fd (diff)
downloadsamba-8220662c13b70930ee2650a3608f0cef0d0fe6ef.tar.gz
samba-8220662c13b70930ee2650a3608f0cef0d0fe6ef.tar.bz2
samba-8220662c13b70930ee2650a3608f0cef0d0fe6ef.zip
Tidyup formatting a bit (spaces->tabs) whilst reading new code to understand
connection caching. Getting ready for back-merge to 2.2.3. Jeremy. (This used to be commit 5e8df83ba9924adf9df6827c06ed1a2adbe36edf)
Diffstat (limited to 'source3/nsswitch/winbindd.c')
-rw-r--r--source3/nsswitch/winbindd.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c
index c6a2f80336..30e5f41b9e 100644
--- a/source3/nsswitch/winbindd.c
+++ b/source3/nsswitch/winbindd.c
@@ -255,8 +255,8 @@ static struct dispatch_table dispatch_table[] = {
/* Enumeration functions */
- { WINBINDD_LIST_USERS, winbindd_list_users, "LIST_USERS" },
- { WINBINDD_LIST_GROUPS, winbindd_list_groups, "LIST_GROUPS" },
+ { WINBINDD_LIST_USERS, winbindd_list_users, "LIST_USERS" },
+ { WINBINDD_LIST_GROUPS, winbindd_list_groups, "LIST_GROUPS" },
{ WINBINDD_LIST_TRUSTDOM, winbindd_list_trusted_domains, "LIST_TRUSTDOM" },
/* SID related functions */
@@ -264,7 +264,7 @@ static struct dispatch_table dispatch_table[] = {
{ WINBINDD_LOOKUPSID, winbindd_lookupsid, "LOOKUPSID" },
{ WINBINDD_LOOKUPNAME, winbindd_lookupname, "LOOKUPNAME" },
- /* S*RS related functions */
+ /* Lookup related functions */
{ WINBINDD_SID_TO_UID, winbindd_sid_to_uid, "SID_TO_UID" },
{ WINBINDD_SID_TO_GID, winbindd_sid_to_gid, "SID_TO_GID" },
@@ -657,14 +657,12 @@ static void process_loop(int accept_sock)
flush_caches();
reload_services_file(True);
-
do_sighup = False;
}
if (do_sigusr1) {
print_winbindd_status();
-
- do_sigusr1 = False;
+ do_sigusr1 = False;
}
}
}