[dev] preferences naming is not ldap compliant.

Jan Schneider jan@horde.org
Fri, 14 Dec 2001 16:13:09 +0100


Zitat von kaalh@smol.org:

> Surlignage Atif Ghaffar <aghaffar@developer.ch>:
> 
> well .. I made it ;)
> 
> I've put the map data in the /module/config/prefs.php.dist files , seems
> to be 
> a better place than conf.php.
> 
> let's see an example from imp/config/prefs.php.dist:
> 
> // user signature
> $_prefs['signature'] = array(
>     'value' => '',
>     'locked' => false,
>     'shared' => true,
>     'type' => 'implicit',
>     'map' => array('ldap' => 'impSignature')
> );
> 
> for sql backend, it's possible to do smtgh like :
> 
> // user signature
> $_prefs['signature'] = array(
>     'value' => '',
>     'locked' => false,
>     'shared' => true,
>     'type' => 'implicit',
>     'map' => array('sql' => 'impSignature')
> );

Just to make some things clear: Stuff like signature, full_name, from_addr 
are not really prefs anymore. They are altogether stored in identities as a 
serialized array. The entrie in prefs.php are just for setting which parts 
of the identity are locked and to provide default values.

Jan.

::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::