--===============1889254193==
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB"
Content-Disposition: inline


--tThc/1wpZn/ma/RB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Apr 07, 2008 at 02:03:32PM -0400, Ryan Steele wrote:
>=20
> #if defined(LDAP_CONSTRAINT_VIOLATION)
> if (rc =3D=3D LDAP_CONSTRAINT_VIOLATION)
> return NT_STATUS_PASSWORD_RESTRICTION;
> #endif
>=20
> ...to pdb_ldap.c didn't seem to change the behavior at all. I suspect
> it's because LDAP_CONSTRAINT_VIOLATION isn't defined anywhere in my
> 3.0.24 source, though I could certainly be wrong. I'm grabbing the
> latest source from git to see where that's defined, but if anybody wants
> to head me off at the pass with the information, it's certainly welcome.


If your LDAP libs don't have that define, you might try to
use the value from OpenLDAP:

#define LDAP_CONSTRAINT_VIOLATION 0x13

Volker

--tThc/1wpZn/ma/RB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFH+meZUzqjrWwMRl0RAlmgAJ9++cGlwD9Rb/1BYtScmqrx0eHFtwCeONNP
5Li7I+d5UUNIGcQwj9x+mCo=
=DlkA
-----END PGP SIGNATURE-----

--tThc/1wpZn/ma/RB--

--===============1889254193==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
--===============1889254193==--