1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00

Obviously correct typo bugfix from Lin Li <linl@xandros.com>.

Jeremy.
(This used to be commit f91da7d99b)
This commit is contained in:
Jeremy Allison 2003-09-17 17:57:18 +00:00
parent 338889379d
commit 9dab796ed5

View File

@ -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;