svn commit: samba r16334 - branches/SAMBA_3_0/source/passdb trunk/source/passdb

derrell at samba.org derrell at samba.org
Sat Jun 17 12:42:32 GMT 2006


vlendec at samba.org writes:

> Author: vlendec
> Date: 2006-06-17 07:20:47 +0000 (Sat, 17 Jun 2006)
> New Revision: 16334
> ...
> Changeset:
> Modified: branches/SAMBA_3_0/source/passdb/pdb_ldap.c
> ...
> +		if (pdb_get_username(newpwd) == NULL) {
> +			return NT_STATUS_INVALID_PARAMETER;
> +		}
> ...
> +	if (pdb_get_username(user) == NULL) {
> +		return NT_STATUS_INVALID_PARAMETER;
> +	}
> +

This patch passes what looks to be a password in some cases, and a user name
in other cases, to the same pdb_get_username() function.  That seems odd, so I
thought I'd point it out in case it was unintentional.

Derrell


More information about the samba-technical mailing list