Steve Ankeny
2015-Apr-23 19:12 UTC
[Samba] How do you join a Linux mailserver to a Samba domain?
I'm running Samba 4.1.6, Ubuntu 14.04 with Dovecot, Postfix & SOGo When I try to connect to the mailserver via Thunderbird, it gives me a specific error -- Unable to open the summary file for Inbox. Perhaps there was an error on disc, or the full path is too long. I've looked at (and reset) file permissions on the local drive where mail is stored but not the mailserver, and I'm wondering whether the mailserver needs to be identified in Samba somewhere (AD MMC)
Steve Ankeny
2015-Apr-23 19:20 UTC
[Samba] How do you join a Linux mailserver to a Samba domain?
I tried to create a new user in ADUC on Windows (using the AD MMC) and received another error that appears to relate to the issue -- I presume it's speaking of storage space in my Samba AD DC but "df" shows otherwise. Can someone point me to a tutorial?
Andrey Repin
2015-Apr-23 22:10 UTC
[Samba] How do you join a Linux mailserver to a Samba domain?
Greetings, Steve Ankeny!> I'm running Samba 4.1.6, Ubuntu 14.04 with Dovecot, Postfix & SOGo> When I try to connect to the mailserver via Thunderbird, it gives me a > specific error --> Unable to open the summary file for Inbox. Perhaps there was an error on > disc, or the full path is too long.> I've looked at (and reset) file permissions on the local drive where > mail is stored but not the mailserver, and I'm wondering whether the > mailserver needs to be identified in Samba somewhere (AD MMC)I'm not entirely sure you can do it with 14.04. Last I check it lacks necessary packages. But here's the list of things you need: 1. Samba server joined AD. 2. Correctly set IDMAP on the server. 3. libnss-winbind and libpam-winbind 4. getent passwd <username> should return AD users proper. 5. Dovecot using PAM auth. Given 1-4 working proper, p.5: # doveconf -n # 2.0.19: /etc/dovecot/dovecot.conf # OS: Linux 3.13.0-49-generic i686 Ubuntu 12.04.5 LTS disable_plaintext_auth = no mail_privileged_group = mail mbox_write_locks = fcntl dotlock passdb { driver = pam } protocols = pop3 imap ssl_cert = </etc/ssl/certs/ssl-cert-snakeoil.pem ssl_key = </etc/ssl/private/ssl-cert-snakeoil.key userdb { driver = passwd } Works like a charm for me. -- With best regards, Andrey Repin Friday, April 24, 2015 01:06:33 Sorry for my terrible english...
Steve Ankeny
2015-Apr-24 11:40 UTC
[Samba] How do you join a Linux mailserver to a Samba domain?
thx, Bob . . . The e-mail problems appears to be a permissions and summary file issue. I gave the users Administrative permissions, and everything worked perfectly. Then I compacted the folders and rebuilt the summary files, took away Administrator permissions, and everything STILL works perfectly. When I posted the question, I wondered if there was some step in joining the mailserver I'd missed. I'm told when Microsoft Exchange is installed, it adds entries to Active Directory, and I wondered about alternative mailservers. I see no place in the ADUC MMC to identify the SOGo/Dovecot mailserver. The same server functions as the Samba AD DC, and alternatively, I wondered if I should use a Windows Server as a Domain Controller pointing back to Samba AD DC Would that identify my mailserver? I also don't understand why the ADUC MMC failed to created a "new" user. On 04/23/2015 03:38 PM, Bob Miller wrote:> It's getting quite far out of date, so I dont' publish links to it > publicly, but you can find how to configure dovecot for samba4 here: > > http://cocnm.computerisms.ca/index.php/Install_Qmail-ldap,_Dovecot,_and_Related_Email_Services#Obtain_and_Install_Dovecot > > > On 15-04-23 12:20 PM, Steve Ankeny wrote: >> I tried to create a new user in ADUC on Windows (using the AD MMC) >> >> and received another error that appears to relate to the issue -- >> >> >> >> >> I presume it's speaking of storage space in my Samba AD DC but "df" >> shows otherwise. >> >> Can someone point me to a tutorial? >> >
Daniel Müller
2015-Apr-24 12:03 UTC
[Samba] How do you join a Linux mailserver to a Samba domain?
SOGo/Openchange is not willing i f it is not holding the fsmo roles. And by the way in an multiple DC replicating environment you can kill your domain on the fly even with a real "Exchange-Server" if you are not carefull enough. So the only way to make OPenchange live in your domain ist o join it as dc. And status of development as far as I know this is hard to do. Or you manage to provision as new domain and write a script per scp to add users to both domains. Good Luck Daniel EDV Daniel M?ller Leitung EDV Tropenklinik Paul-Lechler-Krankenhaus Paul-Lechler-Str. 24 72076 T?bingen Tel.: 07071/206-463, Fax: 07071/206-499 eMail: mueller at tropenklinik.de Internet: www.tropenklinik.de -----Urspr?ngliche Nachricht----- Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Steve Ankeny Gesendet: Freitag, 24. April 2015 13:40 An: Bob Miller; samba at lists.samba.org Betreff: Re: [Samba] How do you join a Linux mailserver to a Samba domain? thx, Bob . . . The e-mail problems appears to be a permissions and summary file issue. I gave the users Administrative permissions, and everything worked perfectly. Then I compacted the folders and rebuilt the summary files, took away Administrator permissions, and everything STILL works perfectly. When I posted the question, I wondered if there was some step in joining the mailserver I'd missed. I'm told when Microsoft Exchange is installed, it adds entries to Active Directory, and I wondered about alternative mailservers. I see no place in the ADUC MMC to identify the SOGo/Dovecot mailserver. The same server functions as the Samba AD DC, and alternatively, I wondered if I should use a Windows Server as a Domain Controller pointing back to Samba AD DC Would that identify my mailserver? I also don't understand why the ADUC MMC failed to created a "new" user. On 04/23/2015 03:38 PM, Bob Miller wrote:> It's getting quite far out of date, so I dont' publish links to it > publicly, but you can find how to configure dovecot for samba4 here: > > http://cocnm.computerisms.ca/index.php/Install_Qmail-ldap,_Dovecot,_an > d_Related_Email_Services#Obtain_and_Install_Dovecot > > > On 15-04-23 12:20 PM, Steve Ankeny wrote: >> I tried to create a new user in ADUC on Windows (using the AD MMC) >> >> and received another error that appears to relate to the issue -- >> >> >> >> >> I presume it's speaking of storage space in my Samba AD DC but "df" >> shows otherwise. >> >> Can someone point me to a tutorial? >> >-- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba