Paul J Stevens wrote:
Dave Smith wrote:
The only issue I have is how to set up shared and public folders. I have
done this successfully using sql auth, but nothing I have tried has given
any joy using ldap.
The actual shared folders don't have any connection to ldap. They are
setup in sql only. You do need a __public__ user in AD though if you
want public mailboxes.
Is this possible, and is so, what is the recommended method.
There's a nice howto on the wiki:
http://www.dbmail.org/dokuwiki/doku.php?id=shared-mbox
Thanks for this - this confirms what I thought.
However, if I use the setup in the wiki, the public user will actually be
[EMAIL PROTECTED]
and this won't work.
If I use sAMAccountName for “CN_STRING” and “FIELD_UID” instead of
“userPrincipalName” then that should work, but I lose the ability to
have multiple domains.
The line that stops this working is in misc.c in mailbox_add_namespace
:
if ((owner = auth_get_userid(owner_idnr))==NULL)
return NULL;
If this line was moved after the chunk that checks for
PUBLIC_FOLDER_USER then this may well work just with a user added to the
dbmail_users table.
Would somebody in the dev team care to comment? I am happy to test this.
I am using 2.1.7.
Thanks