[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sunucu
Subject:    [Linux-sunucu] Re: Dovecot + Active Directory
From:       Veysi GÜMÜŞ <veysi () 4gbilisim ! com>
Date:       2009-05-22 10:07:32
Message-ID: 3CA35B19B2664FF9B9E93DE2905C71D6 () 4G
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


dovecot-ldap.conf kopyalamayı unutmuşum

hosts = 192.168.2.100
base = dc=4gbilisim, dc=local
ldap_version = 3
auth_bind = yes
auth_bind_userdn = 4GBILISIM\%u
dn = cn=Administrator, cn=Users, dc=4gbilisim, dc=local
dnpass = 1234567
user_attrs = sAMAccountName=home
user_filter = (&(objectClass=Person)(|(mail=%u)(sAMAccountName=%u)))
pass_filter = (&(objectClass=Person)(sAMAccountName=%u))


  ----- Original Message ----- 
  From: Veysi GÜMÜŞ 
  To: linux-sunucu@liste.linux.org.tr 
  Sent: Friday, May 22, 2009 1:05 PM
  Subject: [Linux-sunucu] Dovecot + Active Directory


  Merhaba,

  Dovecot'a user bilgilerini AD üzerinden aldırmaya çalışıyorum. Ad üzerinde açılan \
kullanıcı isimleriyle pop3 servisini kullanabiliyorum. doğrulama işlemini aynı \
zamanda e-posta kısmına girmiş olduğu mail adresiyle yapamıyorum. aşağıda test ve log \
çıktılarım mevcut. Şimdiden teşekkür ederim.



  dovecot-ldap.conf

  telnet localhost 110
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  +OK Dovecot ready.
  user veysi.gumus
  +OK
  pass 1234
  +OK Logged in.
  list
  +OK 0 messages:
  .

  May 22 12:58:15 mailsrv01 dovecot: auth(default): client out: OK        1       \
                user=veysi.gumus
  May 22 12:58:15 mailsrv01 dovecot: auth(default): master in: REQUEST    1       \
                1716    1
  May 22 12:58:15 mailsrv01 dovecot: auth(default): ldap(veysi.gumus,127.0.0.1): user \
search: base=dc=4gbilisim, dc=local scope=subtree \
filter=(&(objectClass=Person)(|(mail=veysi.gumus)(sAMAccountName=veysi.gumus))) \
                fields=sAMAccountName
  May 22 12:58:19 mailsrv01 dovecot: auth(default): ldap(veysi.gumus,127.0.0.1): \
                result: sAMAccountName(home)=veysi.gumus
  May 22 12:58:19 mailsrv01 dovecot: auth(default): master out: USER      1       \
                veysi.gumus     home=veysi.gumus
  May 22 12:58:19 mailsrv01 dovecot: pop3-login: Login: user=<veysi.gumus>, \
method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, secured


  telnet localhost 110
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
  +OK Dovecot ready.
  user veysi@4gbilisim.com
  +OK
  pass 1234
  -ERR Authentication failed.


  May 22 13:04:06 mailsrv01 dovecot: auth(default): new auth connection: pid=1743
  May 22 13:04:19 mailsrv01 dovecot: auth(default): client in: AUTH       1       \
PLAIN   service=pop3    secured lip=127.0.0.1   rip=127.0.0.1   lport=110   \
                rport=64652      resp=<hidden>
  May 22 13:04:19 mailsrv01 dovecot: auth(default): \
                ldap(veysi@4gbilisim.com,127.0.0.1): invalid credentials
  May 22 13:04:21 mailsrv01 dovecot: auth(default): client out: FAIL      1       \
user=veysi@4gbilisim.com




  __________ ESET NOD32 Antivirus Akıllı Güvenlik tarafından sağlanan bilgiler, virüs \
imza veritabanı sürümü: 4095 (20090521) __________

  İleti ESET NOD32 Antivirus Akıllı Güvenlik tarafından denetlendi.

  http://www.nod32.com.tr


  __________ ESET NOD32 Antivirus Akıllı Güvenlik tarafından sağlanan bilgiler, virüs \
imza veritabanı sürümü: 4095 (20090521) __________

  İleti ESET NOD32 Antivirus Akıllı Güvenlik tarafından denetlendi.

  http://www.nod32.com.tr



------------------------------------------------------------------------------


  _______________________________________________
  Linux-sunucu E-Posta Listesi
  Linux-sunucu@liste.linux.org.tr

  Liste kurallarını http://liste.linux.org.tr/kurallar.php  bağlantısından \
okuyabilirsiniz;

  Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen \
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1 dakika \
içinde üyeliğinizi sonlandırabilirsiniz.  \
http://liste.linux.org.tr/mailman/listinfo/linux-sunucu



  __________ ESET NOD32 Antivirus Akıllı Güvenlik tarafından sağlanan bilgiler, virüs \
imza veritabanı sürümü: 4095 (20090521) __________

  İleti ESET NOD32 Antivirus Akıllı Güvenlik tarafından denetlendi.

  http://www.nod32.com.tr




__________ ESET NOD32 Antivirus Akıllı Güvenlik tarafından sağlanan bilgiler, virüs \
imza veritabanı sürümü: 4095 (20090521) __________

İleti ESET NOD32 Antivirus Akıllı Güvenlik tarafından denetlendi.

http://www.nod32.com.tr


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-9" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>dovecot-ldap.conf kopyalamayı 
unutmuşum</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>hosts = 192.168.2.100<BR>base = dc=4gbilisim, 
dc=local<BR>ldap_version = 3<BR>auth_bind = yes<BR>auth_bind_userdn = 
4GBILISIM\%u<BR>dn = cn=Administrator, cn=Users, dc=4gbilisim, 
dc=local<BR>dnpass = 1234567<BR>user_attrs = sAMAccountName=home<BR>user_filter 
= (&amp;(objectClass=Person)(|(mail=%u)(sAMAccountName=%u)))<BR>pass_filter = 
(&amp;(objectClass=Person)(sAMAccountName=%u))<BR></FONT></DIV>
<DIV><FONT size=2 face=Arial>&nbsp;</DIV></FONT>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; \
MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">  <DIV style="FONT: 10pt arial">----- Original \
Message ----- </DIV>  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=veysi@4gbilisim.com href="mailto:veysi@4gbilisim.com">Veysi GÜMÜŞ</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A 
  title=linux-sunucu@liste.linux.org.tr 
  href="mailto:linux-sunucu@liste.linux.org.tr">linux-sunucu@liste.linux.org.tr</A> 
  </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, May 22, 2009 1:05 PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [Linux-sunucu] Dovecot + Active 
  Directory</DIV>
  <DIV><BR></DIV>
  <DIV><FONT size=2 face=Arial>Merhaba,</FONT></DIV>
  <DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT size=2 face=Arial>Dovecot'a user bilgilerini AD üzerinden aldırmaya 
  çalışıyorum. Ad üzerinde açılan kullanıcı isimleriyle pop3 servisini 
  kullanabiliyorum. doğrulama işlemini aynı zamanda e-posta kısmına girmiş 
  olduğu mail adresiyle yapamıyorum. aşağıda test ve log çıktılarım mevcut. 
  Şimdiden teşekkür ederim.</FONT></DIV>
  <DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT size=2 face=Arial>dovecot-ldap.conf</FONT></DIV>
  <DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT size=2 face=Arial>telnet localhost 110<BR>Trying 
  127.0.0.1...<BR>Connected to localhost.<BR>Escape character is '^]'.<BR>+OK 
  Dovecot ready.<BR>user veysi.gumus<BR>+OK<BR>pass 1234<BR>+OK Logged 
  in.<BR>list<BR>+OK 0 messages:<BR>.<BR></FONT></DIV>
  <DIV><FONT size=2 face=Arial>May 22 12:58:15 mailsrv01 dovecot: auth(default): 
  client out: OK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; user=veysi.gumus<BR>May 22 12:58:15 
  mailsrv01 dovecot: auth(default): master in: REQUEST&nbsp;&nbsp;&nbsp; 
  1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1716&nbsp;&nbsp;&nbsp; 1<BR>May 22 
  12:58:15 mailsrv01 dovecot: auth(default): ldap(veysi.gumus,127.0.0.1): user 
  search: base=dc=4gbilisim, dc=local scope=subtree 
  filter=(&amp;(objectClass=Person)(|(mail=veysi.gumus)(sAMAccountName=veysi.gumus))) \
  fields=sAMAccountName<BR>May 22 12:58:19 mailsrv01 dovecot: auth(default): 
  ldap(veysi.gumus,127.0.0.1): result: sAMAccountName(home)=veysi.gumus<BR>May 
  22 12:58:19 mailsrv01 dovecot: auth(default): master out: 
  USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  veysi.gumus&nbsp;&nbsp;&nbsp;&nbsp; home=veysi.gumus<BR>May 22 12:58:19 
  mailsrv01 dovecot: pop3-login: Login: user=&lt;veysi.gumus&gt;, method=PLAIN, 
  rip=127.0.0.1, lip=127.0.0.1, secured<BR></FONT></DIV>
  <DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT size=2 face=Arial>telnet localhost 110<BR>Trying 
  127.0.0.1...<BR>Connected to localhost.<BR>Escape character is '^]'.<BR>+OK 
  Dovecot ready.<BR>user <A 
  href="mailto:veysi@4gbilisim.com">veysi@4gbilisim.com</A><BR>+OK<BR>pass 
  1234<BR>-ERR Authentication failed.<BR></FONT></DIV>
  <DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
  <DIV><FONT size=2 face=Arial>May 22 13:04:06 mailsrv01 dovecot: auth(default): 
  new auth connection: pid=1743<BR>May 22 13:04:19 mailsrv01 dovecot: 
  auth(default): client in: AUTH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PLAIN&nbsp;&nbsp; 
  service=pop3&nbsp;&nbsp;&nbsp; secured lip=127.0.0.1&nbsp;&nbsp; 
  rip=127.0.0.1&nbsp;&nbsp; lport=110&nbsp;&nbsp; 
  rport=64652&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; resp=&lt;hidden&gt;<BR>May 22 
  13:04:19 mailsrv01 dovecot: auth(default): ldap(<A 
  href="mailto:veysi@4gbilisim.com,127.0.0.1">veysi@4gbilisim.com,127.0.0.1</A>): 
  invalid credentials<BR>May 22 13:04:21 mailsrv01 dovecot: auth(default): 
  client out: FAIL&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A 
  href="mailto:user=veysi@4gbilisim.com">user=veysi@4gbilisim.com</A><BR></FONT></DIV>
  <DIV><FONT size=2 face=Arial>&nbsp;</DIV></FONT><BR><BR>__________ ESET NOD32 
  Antivirus Akıllı Güvenlik tarafından sağlanan bilgiler, virüs imza veritabanı 
  sürümü: 4095 (20090521) __________<BR><BR>İleti ESET NOD32 Antivirus Akıllı 
  Güvenlik tarafından denetlendi.<BR><BR><A 
  href="http://www.nod32.com.tr">http://www.nod32.com.tr</A><BR><BR><BR>__________ 
  ESET NOD32 Antivirus Akıllı Güvenlik tarafından sağlanan bilgiler, virüs imza 
  veritabanı sürümü: 4095 (20090521) __________<BR><BR>İleti ESET NOD32 
  Antivirus Akıllı Güvenlik tarafından denetlendi.<BR><BR><A 
  href="http://www.nod32.com.tr">http://www.nod32.com.tr</A><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Linux-sunucu E-Posta 
  Listesi<BR>Linux-sunucu@liste.linux.org.tr<BR><BR>Liste kurallarını 
  http://liste.linux.org.tr/kurallar.php&nbsp; bağlantısından 
  okuyabilirsiniz;<BR><BR>Bu Listede neden bulunduğunuzu bilmiyorsanız veya 
  artık bu listeden gelen e-postaları almak istemiyorsanız aşağıdaki bağlantı 
  adresini kullanarak 1 dakika içinde üyeliğinizi 
  sonlandırabilirsiniz.<BR>http://liste.linux.org.tr/mailman/listinfo/linux-sunucu<BR><BR><BR><BR>__________ \
  ESET NOD32 Antivirus Akıllı Güvenlik tarafından sağlanan bilgiler, virüs imza 
  veritabanı sürümü: 4095 (20090521) __________<BR><BR>İleti ESET NOD32 
  Antivirus Akıllı Güvenlik tarafından 
  denetlendi.<BR><BR>http://www.nod32.com.tr<BR><BR></BLOCKQUOTE><BR>
<BR>
__________ ESET NOD32 Antivirus Akıllı Güvenlik tarafından sağlanan bilgiler, virüs \
imza veritabanı sürümü: 4095 (20090521) __________<BR> <BR>
İleti ESET NOD32 Antivirus Akıllı Güvenlik tarafından denetlendi.<BR>
<BR>
<A HREF="http://www.nod32.com.tr">http://www.nod32.com.tr</A><BR>


</BODY></HTML>



_______________________________________________
Linux-sunucu E-Posta Listesi
Linux-sunucu@liste.linux.org.tr

Liste kurallar=FDn=FD http://liste.linux.org.tr/kurallar.php  ba=F0lant=FDs=
=FDndan okuyabilirsiniz;

Bu Listede neden bulundu=F0unuzu bilmiyorsan=FDz veya art=FDk bu listeden g=
elen e-postalar=FD almak istemiyorsan=FDz a=FEa=F0=FDdaki ba=F0lant=FD adre=
sini kullanarak 1 dakika i=E7inde =FCyeli=F0inizi sonland=FDrabilirsiniz.
http://liste.linux.org.tr/mailman/listinfo/linux-sunucu


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic