LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-28-2011, 06:33 AM   #1
ross.sysadm
LQ Newbie
 
Registered: Feb 2011
Posts: 3

Rep: Reputation: 0
Postfix + Cyrus-Imapd via Kerberos with AD users.


Hi there.
I install on my gentoo OS, Postfix + Cyrus-Imapd +Cyrus-Sasl with Kerberos and ldap support.

1. Create keytab on my Windows srv 2008 (AD+KDC):
ktpass -princ host/srv-mydomain.local@MYDOMAIN.LOCAL -mapuser ldapmail@MYDOMAIN.LOCAL -crypto RC4-HMAC-NT -ptype KRB5_NT_SRV_INST -pass "mypasswd" -out c:\mail.keytab

2. Copy mail.keytab via SCP to linux server (srv-mydomain.local)
changed permission
chown root.kerberos /etc/mail/mail.keytab
where kerberos:
cat /etc/group | grep kerberos
kerberos::1100:root,postfix,cyrus
kinit this keytab:

kinit -V -k -t /etc/mail/mail.keytab host srv-mydomain.local@MYDOMAIN.LOCAL
Authenticated to Kerberos v5

3. saslauthd start with next option:
ps ax | grep sasl
27593 ? Ss 0:00 /usr/sbin/saslauthd -a kerberos5

cat smtp.conf
pwcheck_method: saslauthd
mech_list: gssapi

sasl_pwcheck_method: saslauthd
sasl_mech_list: gssapi
sasl_keytab: /etc/mail/mail.keytab

I want, my users to be held authenticated via Kerberos, without using a login & password.
Postfix & Cyrus-Imapd should verify the existence of these users in AD.

So what is my next steps ???

many thanks ALL for your help :)

--
Ross
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail server Postfix 2.2.3 Dovecot and Cyrus-Imapd on Centos 5.5 dalvis Linux - Server 1 08-20-2010 06:03 AM
Postfix and Cyrus-imapd manya Linux - General 1 12-22-2007 08:43 AM
error 550 in mail.log (postfix + cyrus imapd) gyaban05 Linux - Networking 0 01-24-2006 02:23 AM
FC3 - Postfix - Cyrus-imapd - login error Gribler Linux - Software 2 12-14-2004 02:51 PM
postfix and cyrus-imapd fail on fedora core 2 kwingate Fedora 3 12-13-2004 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration