|
From: Jamie C. <jca...@we...> - 2004-12-13 04:47:51
|
On Mon, 2004-12-13 at 04:24, Craig White wrote: > Is it possible to have multiple attributes? It doesn't seem to work and > perhaps it is something that I am doing. > > I have added objectClass: inetLocalMailRecipient to the module config > I have listed mailLocalAddress twice in the 'extra LDAP properties to > allow editing' section but it only grabs the first value and lists it > twice - and editing them/deleting them creates errors. I can use > ldapadd/modify etc. to create the entries... > > # ldapsearch -x -h localhost -b 'dc=tobyhouse,dc=com' '(uid=craig)' > version: 2 > > # > # filter: (uid=craig) > # requesting: ALL > # > > # craig, People, tobyhouse, com > dn: uid=craig,ou=People,dc=tobyhouse,dc=com > cn: Craig White > uidNumber: 1000 > gecos: Craig White > mail: craig > uid: craig > gidNumber: 100 > sn: White > mailLocalAddress: craigwhite > mailLocalAddress: c.white > <major snippage but you get the idea> > > Is there a method of handling this within the module? Jamie, If this is > something that you want to consider adding, would it be possible to use > some type of symbol so that the field is only listed once but an > expanding/contracting # of attributes can be dealt with? This is really a bug in the module - it doesn't handle multiple instances of an attribute in templates properly. However, it is relatively easy to fix, and will be in the 1.174 development version of Webmin that I will release today .. - Jamie |