git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61859a1
)
Remove trailing withespace from wbinfo -m which breaks gdm auth.
author
Andreas Schneider
<anschneider@suse.de>
Mon, 21 Jul 2008 09:52:10 +0000
(11:52 +0200)
committer
Jeremy Allison
<jra@samba.org>
Thu, 24 Jul 2008 20:41:37 +0000
(13:41 -0700)
Signed-off-by: Andreas Schneider <anschneider@suse.de>
(This used to be commit
12848e8eb91bf60551ada78e3430ee25142e366b
)
source3/nsswitch/wbinfo.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/wbinfo.c
b/source3/nsswitch/wbinfo.c
index 2fb46c4a2f701f5cf30cd7824d1ec91989069e79..c1d41a53fdc785e91c867d38966d50a0df09c1f3 100644
(file)
--- a/
source3/nsswitch/wbinfo.c
+++ b/
source3/nsswitch/wbinfo.c
@@
-359,10
+359,11
@@
static bool wbinfo_list_domains(bool list_all_domains, bool verbose)
}
for (i=0; i<num_domains; i++) {
- d_printf("%-16s", domain_list[i].short_name);
-
- if (!print_all) {
- d_printf("\n");
+ if (print_all) {
+ d_printf("%-16s", domain_list[i].short_name);
+ } else {
+ d_printf("%s", domain_list[i].short_name);
+ d_printf("\n");
continue;
}