[phpldapadmin] Preventing deletion of attributes

Cristian Rigamonti <[email protected]> Wed, 5 Oct 2011 09:54:42 +0200
Newsgroups gmane.comp.ldap.davedap
Message-ID <20111005075442.GA2463@merlino>
--===============8682195745338447318==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA"
Content-Disposition: inline


--AqsLC8rIMeq19msA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi, I'm using a slightly customised version of PLA to manage a database usi=
ng
the standard InetOrgPerson schema.

I'd like to make sure that users can't accidentally delete the userPassword
attribute by setting an empty value and confirming the update operation.

I guess the right way (tm) to do this would be to use a custom LDAP schema =
with
the userPassword attribute defined as MUST attribute: can you confirm that =
PLA
would then deny the operation in this case?

Otherwise, in the short run it could be easier for me to patch PLA than to
switch to a new LDAP schema: can you suggest if there is any feature in PLA=
 that
I could easily customise to add a check for an empty userPassword attribute?
(I had a quick look at the configuration values and at htdocs/update_confir=
m.php
but I couldn't find anything that could be obviously related).

Thanks!

Cri

--=20
GPG/PGP Key-Id 0x943A5F0E      -    http://www.linux.it/~cri/cri.asc

--AqsLC8rIMeq19msA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature

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

iEYEARECAAYFAk6MDUIACgkQrSAagZQ6Xw4+pwCcCdjepZzH/HJNSWh7Ec5oE+Xt
RvQAn2OLJhbpHBNcaWT0L7exjx8puWd5
=U+9e
-----END PGP SIGNATURE-----

--AqsLC8rIMeq19msA--


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

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
--===============8682195745338447318==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

______________________________________
phpLDAPadmin development mailing list.
To unsbuscribe: https://lists.sourceforge.net/lists/listinfo/phpldapadmin-devel
http://phpldapadmin.sourceforge.net/

--===============8682195745338447318==--