summaryrefslogtreecommitdiff
path: root/source3/nsswitch/wbinfo.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-01-06 19:57:50 +0000
committerGerald Carter <jerry@samba.org>2004-01-06 19:57:50 +0000
commita7d76e7cec64cc94021dcec7ddced56c960f2253 (patch)
treedab663bbe7333d257a647c2a8ca9b987649e35d8 /source3/nsswitch/wbinfo.c
parentba97fc434ac233179633f6acd3b2cd56cb2b1f86 (diff)
downloadsamba-a7d76e7cec64cc94021dcec7ddced56c960f2253.tar.gz
samba-a7d76e7cec64cc94021dcec7ddced56c960f2253.tar.bz2
samba-a7d76e7cec64cc94021dcec7ddced56c960f2253.zip
remove unused seek_file(); don't hardcode '\' when printing the auth-user
(This used to be commit 175c5c9faa8c1cb3577eb96598434e6097d408c7)
Diffstat (limited to 'source3/nsswitch/wbinfo.c')
-rw-r--r--source3/nsswitch/wbinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c
index 792af84827..7d25524f8e 100644
--- a/source3/nsswitch/wbinfo.c
+++ b/source3/nsswitch/wbinfo.c
@@ -923,7 +923,7 @@ static void wbinfo_get_auth_user(void)
/* Pretty print authorised user info */
- d_printf("%s%s%s%s%s\n", domain ? domain : "", domain ? "\\" : "",
+ d_printf("%s%s%s%s%s\n", domain ? domain : "", domain ? lp_winbind_separator(): "",
user, password ? "%" : "", password ? password : "");
SAFE_FREE(user);