[prev in list] [next in list] [prev in thread] [next in thread]
List: webmin-l
Subject: Re: [webmin-l] LDAP Users and Groups - Possible bug?
From: Murray Trainer <mtrainer () central-data ! net>
Date: 2004-12-20 6:50:17
Message-ID: 1103525417.5161.11.camel () vserver ! central-data ! net
[Download RAW message or body]
> On Sun, 2004-12-19 at 23:40, Murray Trainer wrote:
> > Hi Jamie,
> >
> > I noticed that the LDAP mail attribute of users created by the LDAP
> > Users and Groups module is of the form firstname.surname@domain while
> > the Cyrus mailbox uses the uid as its name. This makes it difficult to
> > deliver mail to the Cyrus mailbox with Postfix using LDAP alias tables
> > as the mail attribute does not match the mailbox name or uid. The
> > edited entry below from the file test.ldif included with the module is
> > the sort of format I think should be created. The mail attribute is
> > uid@domain and alias is firstname.surname@domain. It looks like the
> > modules behaviour was changed at some stage - deliberately or
> > accidentally? I have the module configured with the "Show fields for
> > given name and surname" set to "No" as I get duplicate sn attribute
> > errors with the schemas I am using if it is set to yes. The format of
> > the mail attribute may be different if it is set to yes but I can't test
> > that.
>
> Thanks for pointing this out - I don't use LDAP for email much myself,
> so didn't notice how odd it was to use the firstname and surname in the
> email address! I will add an option on the Module Config page in future
> versions to use the user@domain format for the mail attribute instead ..
>
> - Jamie
I just managed to get my Postfix LDAP aliases working with the current
setup so the fix isn't urgent but I will use the new option when it is
available. I have included a working query filter and result_attribute
below for anyone trying to get Postfix working with LDAP aliases because
it took me a fair while to get it right.
Murray
query_filter =(|(mail=%s@mydomain.net)(alias=%s@mydomain.net)(mail=%s)
(alias=%s))
result_attribute = uid
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
-
Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic