summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-09-17 17:57:18 +0000
committerJeremy Allison <jra@samba.org>2003-09-17 17:57:18 +0000
commit9dab796ed56ffea2e373df5be1ec17a77f600285 (patch)
treee71069b424a7a974ceec94c00122414bfb874df1 /source3/nsswitch
parent338889379d1b493059f4ff9dc1c0938c7d4e3639 (diff)
downloadsamba-9dab796ed56ffea2e373df5be1ec17a77f600285.tar.gz
samba-9dab796ed56ffea2e373df5be1ec17a77f600285.tar.bz2
samba-9dab796ed56ffea2e373df5be1ec17a77f600285.zip
Obviously correct typo bugfix from Lin Li <linl@xandros.com>.
Jeremy. (This used to be commit f91da7d99bc2d9e57c411ceb0c2eb812654f3701)
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;