<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[iRedMail — Roundcube, auth by AD and two diffents domains]]></title>
	<link rel="self" href="http://www.iredmail.org/forum/feed-atom-topic4009.xml" />
	<updated>2012-10-12T01:58:18Z</updated>
	<generator>PunBB</generator>
	<id>http://www.iredmail.org/forum/topic4009-roundcube-auth-by-ad-and-two-diffents-domains.html</id>
		<entry>
			<title type="html"><![CDATA[Re: Roundcube, auth by AD and two diffents domains]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18567.html#p18567" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>PVerdin wrote:</cite><blockquote><p>Now: Is it possible to manage accounts through &quot;iRedAdmin&quot;?&nbsp; I not see new users logged.</p></blockquote></div><p>No, iRedAdmin doesn&#039;t work with AD. Why not manage users in AD directly.</p>]]></content>
			<author>
				<name><![CDATA[ZhangHuangbin]]></name>
				<uri>http://www.iredmail.org/forum/user2.html</uri>
			</author>
			<updated>2012-10-12T01:58:18Z</updated>
			<id>http://www.iredmail.org/forum/post18567.html#p18567</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Roundcube, auth by AD and two diffents domains]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18561.html#p18561" />
			<content type="html"><![CDATA[<p>I commented<br />$rcmail_config[&#039;username_domain&#039;] = &quot;ADdomain.local&quot;;<br />in /var/www/roundcubemail/config/main.inc.php <br />and it works as expected!!!</p><p>Now: Is it possible to manage accounts through &quot;iRedAdmin&quot;?&nbsp; I not see new users logged.</p>]]></content>
			<author>
				<name><![CDATA[PVerdin]]></name>
				<uri>http://www.iredmail.org/forum/user32061.html</uri>
			</author>
			<updated>2012-10-11T22:46:00Z</updated>
			<id>http://www.iredmail.org/forum/post18561.html#p18561</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Roundcube, auth by AD and two diffents domains]]></title>
			<link rel="alternate" href="http://www.iredmail.org/forum/post18560.html#p18560" />
			<content type="html"><![CDATA[<p>==== Required information ====<br />- iRedMail version: 0.8.2<br />- Store mail accounts in which backend LDAP<br />- Linux/BSD distribution name and version: CentOS 5.8<br />- Related log if you&#039;re reporting an issue: <br />==== </p><p>I&#039;am trying to use iRedmail with this scenario:<br />- ADdomain.local Active Directory domain<br />- maildomain.com for user&#039;s mail domain<br />The idea is that users use their account@ADdomain.local to authenticate, but using account@maildomain.com as their mail account.</p><p>I&#039;ve configured dovecot and posftix accord to IntegrationTutorials. Postfix answer right and dovecot (telnel localhost 143), too.<br />I&#039;ve queried: <br /><a href="http://www.iredmail.org/wiki/index.php?title=Integration/Active.Directory.iRedMail">http://www.iredmail.org/wiki/index.php? … y.iRedMail</a><br /><a href="http://www.iredmail.org/forum/topic3521-iredmail-support-problem-setting-up-ldap-with-windows-ad.html">http://www.iredmail.org/forum/topic3521 … ws-ad.html</a><br /><a href="http://www.iredmail.org/forum/topic3165-iredmail-support-integration-with-windows-domain.html">http://www.iredmail.org/forum/topic3165 … omain.html</a><br /><a href="http://www.iredmail.org/forum/topic3827-iredmail-support-diferents-mail-domain-and-local-domain.html">http://www.iredmail.org/forum/topic3827 … omain.html</a></p><p>But, when I made login through Roundcube, I get the user in ADdomain.local and not in maildomain.com.<br />What I making wrong? I&#039;ll be grateful with your help. Thanks in advance.</p><p>Here are my config files:<br />---------------------------------<br />/etc/postfix/ad_sender_login_maps.cf<br />------------------------------<br />server_host&nbsp; &nbsp; &nbsp;= dc.ADdomain.local<br />server_port&nbsp; &nbsp; &nbsp;= 389<br />version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 3<br />bind&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = yes<br />start_tls&nbsp; &nbsp; &nbsp; &nbsp;= no<br />bind_dn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= vmail<br />bind_pw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= vmailpwd<br />search_base&nbsp; &nbsp; &nbsp;= dc=ADdomain,dc=local<br />scope&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= sub<br />query_filter&nbsp; &nbsp; = (&amp;(mail=%u@maildomain.com)(objectClass=person)(!(userAccountContr<br />ol:1.2.840.113556.1.4.803:=2)))<br />result_attribute= userPrincipalName<br />result_format&nbsp; = %u@maildomain.com<br />debuglevel&nbsp; &nbsp; &nbsp; = 0</p><p>---------------------------------<br />/etc/postfix/ad_virtual_mailbox_maps.cf<br />---------------------------------<br />server_host&nbsp; &nbsp; &nbsp;= dc.ADdomain.local<br />server_port&nbsp; &nbsp; &nbsp;= 389<br />version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 3<br />xbind&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = yes<br />start_tls&nbsp; &nbsp; &nbsp; &nbsp;= no<br />bind_dn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= vmail<br />bind_pw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= vmailpwd<br />search_base&nbsp; &nbsp; &nbsp;= dc=ADdomain,dc=local<br />scope&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= sub<br />query_filter = (&amp;(objectClass=person)(mail=%u@maildomain.com))<br />result_attribute= userPrincipalName<br />result_format&nbsp; &nbsp;= maildomain.com/%u/Maildir/<br />debuglevel&nbsp; &nbsp; &nbsp; = 0</p><p>------------------------------<br />/etc/postfix/ad_virtual_group_maps.cf<br />------------------------------<br />server_host&nbsp; &nbsp; &nbsp;= dc.ADdomain.local<br />server_port&nbsp; &nbsp; &nbsp;= 389<br />version&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 3<br />bind&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = yes<br />start_tls&nbsp; &nbsp; &nbsp; &nbsp;= no<br />bind_dn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= vmail<br />bind_pw&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= vmailpwd<br />search_base&nbsp; &nbsp; &nbsp;= dc=ADdomain,dc=local<br />scope&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= sub<br />query_filter&nbsp; &nbsp; = (&amp;(objectClass=group)(sAMAccountName=%u))<br />special_result_attribute = member<br />result_attribute= userPrincipalName<br />debuglevel&nbsp; &nbsp; &nbsp; = 0</p><p>---------------------<br />/etc/dovecot-ldap.conf<br />---------------------<br />hosts&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= dc.ADdomain.local:3268<br />ldap_version&nbsp; &nbsp; = 3<br />auth_bind&nbsp; &nbsp; &nbsp; &nbsp;= yes<br />dn&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = vmail<br />dnpass&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = vmailpwd<br />base&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = dc=ADdomain,dc=local<br />scope&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= subtree<br />deref&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= never<br />user_filter = (&amp;(userPrincipalName=%n@ADdomain.local)(objectclass=person))<br />pass_filter&nbsp; &nbsp; &nbsp;= (&amp;(userPrincipalName=%u)(objectClass=person)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))<br />pass_attrs&nbsp; &nbsp; &nbsp; = userPassword=password<br />default_pass_scheme = CRYPT<br />user_attrs&nbsp; &nbsp; &nbsp; = =home=/var/vmail/vmail1/%Ld/%Ln/Maildir/,=mail=maildir:/var/vmail/vmail1/%Ld/%Ln/Maildir/</p><br /><p>---------------<br />/etc/dovecot.conf&nbsp; (only modified this from original)<br />---------------<br />auth_default_realm = ADdomain.local</p><p>---------------------------<br />/etc/postfix/transport<br />---------------------------<br />maildomain.com dovecot</p><br /><p>-----------------<br />/var/www/roundcubemail/config/main.inc.php (only modified this from original)<br />---------------<br />$rcmail_config[&#039;username_domain&#039;] = &quot;ADdomain.local&quot;;<br />$rcmail_config[&#039;smtp_user&#039;] = &quot;%u@maildomain.com&quot;;<br />$rcmail_config[&#039;mail_domain&#039;] = &#039;maildomain.com&#039;;</p>]]></content>
			<author>
				<name><![CDATA[PVerdin]]></name>
				<uri>http://www.iredmail.org/forum/user32061.html</uri>
			</author>
			<updated>2012-10-11T21:16:31Z</updated>
			<id>http://www.iredmail.org/forum/post18560.html#p18560</id>
		</entry>
</feed>
