Wouldn't a LDAP schema change be better?
Adding fields requires an additional line in the schema, and additional
lines in whatever is reading or writing that particular record.
It would be a good idea to forward the schema and changes to Mitel, as the
mobile field is a rather important peice of information these days.
Besides, there are many offices with addresses such as:-

Suite X, Floor Y
ZZZ Some St,
Somewhere, SW, 0000


Regards,

Craig Foster


> -----Original Message-----
> From: John Powell [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, 2 December 2001 2:23 PM
> To: [EMAIL PROTECTED]
> Subject: [e-smith-devinfo] LDAP mods?
>
>
> I have been playing with LDAP.  My company has some different needs
> for a company directory than SME provides and I am looking to make
> some minor mods.

<snip>

> Why I write though is I am looking to "repurpose" a couple
> fields and
> want to know if I am going to seriously break anything in SME.  I
> guess I could do this right and add the fields to the db,
> web screens,
> etc., but that would be a fairly significant amount of
> tinkering that
> I would like to avoid.  What I am looking to do is use the "street"
> field for mobile phone, and the "city" field for pager, those seem
> like 2 safe fields to tinker with.  I could just do this and do the
> conversion in my scripts mentioned above (actually, already
> have), but
> would also like to properly list the fields on the LDAP
> server (under
> the correct attributes).
>
> I found where the LDIF file is created to populate the LDAP
> server in
> /etc/e-smith/events/console-save/S80ldap-rebuild .  I could make 2
> really minor hacks here, changing the (street address) "street:" to
> "mobile:" and (city) "l:" to "pager:" in the part where it
> writes the
> LDIF.  That creates a properly mapped LDAP server with my hacked
> fields.  I can handle the wrong labels on the user accounts page in
> SME server manager (I am the only one that sees them anyway).
>
> Bottom line, do these seem like "safe" fields to repurpose
> (am I going
> to break any SME dependancy if I do this)?  Any thoughts, stern
> warnings, abuse, etc. appreciated.
>
> Thanks,
>
> JP

Attachment: smime.p7s
Description: application/pkcs7-signature

Reply via email to