summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/wbinfo.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-01-06 19:57:14 +0000
committerGerald Carter <jerry@samba.org>2004-01-06 19:57:14 +0000
commitfac5e05ca1b56cb6e3ab6537d0848fa373c00831 (patch)
treeaf2b02a512e0a97ee52f8b3d3c01cdef6da1568a /source/nsswitch/wbinfo.c
parent52480d6d05c1008a25b4a45cbf7682fe227df83a (diff)
downloadsamba-fac5e05ca1b56cb6e3ab6537d0848fa373c00831.tar.gz
samba-fac5e05ca1b56cb6e3ab6537d0848fa373c00831.tar.xz
samba-fac5e05ca1b56cb6e3ab6537d0848fa373c00831.zip
remove unused seek_file(); don't hardcode '\' when printing the auth-user
Diffstat (limited to 'source/nsswitch/wbinfo.c')
-rw-r--r--source/nsswitch/wbinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/wbinfo.c b/source/nsswitch/wbinfo.c
index 792af84827f..7d25524f8ee 100644
--- a/source/nsswitch/wbinfo.c
+++ b/source/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);