From e8c2eeb0d88795f7357a2646d98557cf445546a3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 18 Jul 2001 21:50:20 +0000 Subject: the nss and pam modules in winbind don't have strchr_m() yet, so use strchr() for the moment (This used to be commit c2c1f2027e6e623bba59610e3aa41618773e6361) --- source3/nsswitch/winbindd_pam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/nsswitch/winbindd_pam.c') diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c index e69268fe2a..0cbc3166c8 100644 --- a/source3/nsswitch/winbindd_pam.c +++ b/source3/nsswitch/winbindd_pam.c @@ -31,8 +31,8 @@ static void parse_domain_user(char *domuser, fstring domain, fstring user) char *p; char *sep = lp_winbind_separator(); if (!sep) sep = "\\"; - p = strchr_m(domuser,*sep); - if (!p) p = strchr_m(domuser,'\\'); + p = strchr(domuser,*sep); + if (!p) p = strchr(domuser,'\\'); if (!p) { fstrcpy(domain,""); fstrcpy(user, domuser); -- cgit