/etc/phpldapadmin/templates/creation/simpleSecurityObject.xml is in phpldapadmin 1.2.2-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE template SYSTEM "template.dtd">
<template>
<askcontainer>1</askcontainer>
<description>New Simple Security Object</description>
<icon>ldap-user.png</icon>
<invalid>0</invalid>
<rdn>userid</rdn>
<!--<regexp>^ou=People,o=.*,</regexp>-->
<title>Generic: Simple Security Object</title>
<visible>1</visible>
<objectClasses>
<objectClass id="account"></objectClass>
<objectClass id="simpleSecurityObject"></objectClass>
</objectClasses>
<attributes>
<attribute id="userid">
<display>User Name</display>
<icon>ldap-uid.png</icon>
<order>1</order>
<page>1</page>
<spacer>1</spacer>
</attribute>
<attribute id="userPassword">
<display>Password</display>
<icon>lock.png</icon>
<order>5</order>
<page>1</page>
<post>=php.PasswordEncrypt(%enc%;%userPassword%)</post>
<verify>1</verify>
</attribute>
</attributes>
</template>
|