[CalendarServer-users] PAM/Dovecot authentication
Glyph
glyph at twistedmatrix.com
Wed Jan 16 14:57:54 PST 2013
Hi Tom,
You can set up OpenLDAP with your existing MySQL database as a backend - at least, I'm assuming that what you mean is that your authentication records are in MySQL. (Dovecot and Postfix have nothing to do with authentication; they do email.) I've never done this, but check out the instructions for "back-sql" here: <http://www.openldap.org/faq/data/cache/978.html>.
-glyph
On Jan 16, 2013, at 11:19 AM, Dajka Tamás <viper at vipernet.hu> wrote:
> Hi Fred,
>
> actually I'm trying to install calendarserver beside a working
> dovecot+postfix+mysql, and I'm not wanting to switch to LDAP for all of
> that, but maybe would be easier.
>
> Cheers,
>
> Tom
>
> -----Original Message-----
> From: calendarserver-users-bounces at lists.macosforge.org
> [mailto:calendarserver-users-bounces at lists.macosforge.org] On Behalf Of
> Fredrik Unger
> Sent: Wednesday, January 16, 2013 8:10 PM
> To: calendarserver-users at lists.macosforge.org
> Subject: Re: [CalendarServer-users] PAM/Dovecot authentication
>
> Hi Tom,
> also not sure what you are after, are you interested in using LDAP or try to
> fit the other authentications methods with Calendarserver ?
>
> I use OpenLDAP for authenticating Calendarserver (abeit the very old debian
> stable release, but it should work in the newer version as well) I also use
> the same LDAP to authenticate dovecot, exim, inspircd and apache with svn,
> git. (all have LDAP support) I had a working setup for moinmoin wiki and
> bugzilla but disabled them as I did not use them. Moinmoin was not optimal,
> as it just "copied" the data to moinmoin, instead of using the full LDAP.
>
> For databases and PAM I did not try, but I think at least PAM has support.
>
> For other authentication with caldav I guess you have to develop something
> on your own if there is no support.
>
> /Fred
>
> On 01/16/2013 07:05 PM, Glyph wrote:
>> Tom,
>>
>> Yes, I mean in Python. No, there is no workaround. Workarounds are
>> generally for bugs; this is a new feature you're requesting :).
>>
>> I don't know what you mean by "a wiki server that uses mysql", or how
>> that would help Calendar Server. (I suspect you may be
>> misunderstanding the "wiki directory", which is specific to one wiki
>> server which does not use MySQL.)
>>
>> As far as I know, nobody has written it yet, but someone else might
>> answer your question and surprise me.
>>
>> Good luck,
>>
>> -glyph
>>
>> On Jan 16, 2013, at 1:52 AM, Dajka Tamás <viper at vipernet.hu
>> <mailto:viper at vipernet.hu>> wrote:
>>
>>> Hi Glyph,
>>> you mean in python?JThere is no workaround? I mean, install a wiki
>>> server that uses mysql, etc.
>>> And nobody has not written it yes?
>>> Thanks,
>>> Tom
>>> *From:*Glyph [mailto:glyph at twistedmatrix.com
>>> <http://twistedmatrix.com>] *Sent:*Wednesday, January 16, 2013 9:49
>>> AM *To:*Dajka Tamás *Cc:*calendarserver-users at lists.macosforge.org
>>> <mailto:calendarserver-users at lists.macosforge.org>
>>> *Subject:*Re: [CalendarServer-users] PAM/Dovecot authentication Hi
>>> Dajka, You will need to write some code to do this, but the directory
>>> service implementation is formally specified and it supports multiple
>>> backends. You can write your own backend; see the code in
>>>
> <http://trac.calendarserver.org/browser/CalendarServer/trunk/twistedcaldav/d
> irectory>.
>>> If you have more questions please feel free to ask :).
>>> -glyph
>>> On Jan 16, 2013, at 12:33 AM, Dajka Tamás <viper at vipernet.hu
>>> <mailto:viper at vipernet.hu>> wrote:
>>>
>>>
>>> Hi All,
>>> I'm pretty new to calendarserver ( and CalDav ), but I'm really
>>> interested. I want to connect the whole thing to a working system on
>>> a linux with dovecot/mysql. Is it possible to use the dovecot auth,
>>> mysql auth or any pam auth with the calendar server? If just for the
>>> user auth, than be it, I would install an LDAP for the other things.
>>> Thanks in advance,
>>> Tamas
>>> _______________________________________________
>>> calendarserver-users mailing list
>>> calendarserver-users at lists.macosforge.org
>>> <mailto:calendarserver-users at lists.macosforge.org>
>>> http://lists.macosforge.org/mailman/listinfo/calendarserver-users
>>>
>>
>>
>>
>> _______________________________________________
>> calendarserver-users mailing list
>> calendarserver-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo/calendarserver-users
>
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/calendarserver-users
>
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/calendarserver-users
More information about the calendarserver-users
mailing list