summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-09-17 17:56:16 +0000
committerJeremy Allison <jra@samba.org>2003-09-17 17:56:16 +0000
commitc699cb78ac95eb99f2f7867525f3392bd20bad55 (patch)
tree8118f9963201d0f5a7a163df5a554b47d05338bf /source3/nsswitch
parent3b66918aa70e41f688deb2f6965f398ef26b1708 (diff)
downloadsamba-c699cb78ac95eb99f2f7867525f3392bd20bad55.tar.gz
samba-c699cb78ac95eb99f2f7867525f3392bd20bad55.tar.bz2
samba-c699cb78ac95eb99f2f7867525f3392bd20bad55.zip
Obviously correct typo bugfix from Lin Li <linl@xandros.com>.
Jeremy. (This used to be commit a43ca66290ac1df9b00e3e43e32d8117b3d1b873)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c
index 21ae6478de..ea2868b2cf 100644
--- a/source3/nsswitch/winbindd_pam.c
+++ b/source3/nsswitch/winbindd_pam.c
@@ -95,7 +95,7 @@ enum winbindd_result winbindd_pam_auth(struct winbindd_cli_state *state)
/* Parse domain and username */
parse_domain_user(state->request.data.auth.user, name_domain, name_user);
- if ( !name_domain ) {
+ if ( !*name_domain ) {
DEBUG(5,("no domain separator (%s) in username (%s) - failing auth\n", lp_winbind_separator(), state->request.data.auth.user));
result = NT_STATUS_INVALID_PARAMETER;
goto done;