Re: [courier-users] Re: Using LDAP with virtual and normal accounts

This is a discussion on Re: [courier-users] Re: Using LDAP with virtual and normal accounts within the Courier-Imap forums, part of the Mail Servers and Related category; --Apple-Mail-5--555971300 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On ...


Go Back   Usenet Forums > Mail Servers and Related > Courier-Imap

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-29-2005
Gordon Messmer
 
Posts: n/a
Default Re: [courier-users] Re: Using LDAP with virtual and normal accounts


--Apple-Mail-5--555971300
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed

On May 28, 2005, at 6:02 PM, Lloyd Zusman wrote:

>
> OK. I think I understand. When you say "leave the first setting
> off",
> are you referring to the LDAP_MAILROOT setting?


Yes.

> If so, then I think I understand what you're describing here. For
> handling both cases via authldap, I presume it goes like this ...
>
> - I don't use LDAP_MAILROOT, LDAP_GLOB_UID, or LDAP_GLOB_GID at all.


Right.

> - I use homeDirectory (from LDAP_HOMEDIR), uidNumber (from LDAP_UID),
> and gidNumber (from LDAP_GID) in both cases, as follows:
> ...Is my understanding correct?


Yes.

>>
>> Put '/var/vmail/quack@abc.com/' in that entry's homeDirectory
>> attribute.
>>

>
> One question: do I need the trailing slash for all homeDirectory
> values?


I don't think so.

> Thanks a lot for your cogent and quite helpful explanations.


No problem. :)



--Apple-Mail-5--555971300
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "><DIV><DIV>On May 28, 2005, at =
6:02 PM, Lloyd Zusman wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><DIV =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">OK.<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>I think I understand.<SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>When you say "leave the first =
setting off",</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">are you referring to the =
LDAP_MAILROOT setting?</DIV></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Yes.</DIV><BR><BLOCKQUOTE =
type=3D"cite"><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">If so, then I think I understand =
what you're describing here.<SPAN class=3D"Apple-converted-space">=A0 =
</SPAN>For</DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">handling both cases via =
authldap, I presume it goes like this ...</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">- I don't use =
LDAP_MAILROOT, LDAP_GLOB_UID, or LDAP_GLOB_GID at =
all.</DIV></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Right.</DIV><BR><BLOCKQUOTE =
type=3D"cite"><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">- I use homeDirectory (from =
LDAP_HOMEDIR), uidNumber (from LDAP_UID),</DIV><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><SPAN =
class=3D"Apple-converted-space">=A0 </SPAN>and gidNumber (from LDAP_GID) =
in both cases, as follows:</DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">...Is my =
understanding correct?</DIV></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Yes.</DIV><BR><BLOCKQUOTE =
type=3D"cite"><BLOCKQUOTE type=3D"cite"><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: =
14px; "><BR></DIV><DIV style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; ">Put '/var/vmail/<A =
href=3D"mailto:quack@abc.com">quack@abc.com</A>/' in that entry's =
homeDirectory attribute.</DIV> <BR></BLOCKQUOTE><DIV style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; =
min-height: 14px; "><BR></DIV><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">One question: =
do I need the trailing slash for all homeDirectory =
values?</DIV></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>I don't think =
so.</DIV><BR><BLOCKQUOTE type=3D"cite"><DIV style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Thanks a lot =
for your cogent and quite helpful =
explanations.</DIV></BLOCKQUOTE><BR></DIV><DIV>No problem.=A0 =
:)</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><FONT =
class=3D"Apple-style-span" color=3D"#0000DD"><BR =
class=3D"khtml-block-placeholder"></FONT></BODY></HTML>=

--Apple-Mail-5--555971300--


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/.../courier-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0