<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Times New Roman, Times, serif">Hi all , <br>
      <br>
      I am trying to configure the cyrus + Active directories
      authentication. <br>
      I have cyrus-imapd-2.4.6-5  and  Active Directory 2003 & 2010
      <br>
      <br>
      The  mailbox in cyrus  is in format of 
      <a class="moz-txt-link-abbreviated" href="mailto:firstname.lastname@domain.com">firstname.lastname@domain.com</a><br>
      But the problem is attributes  of Active directories like
      sAMAccountName:  userPrincipalName: & mail: are different (
      not same ) <br>
      <br>
      Example :--  <br>
      <br>
      mail: <a class="moz-txt-link-abbreviated" href="mailto:jayesh.shinde@domain.com">jayesh.shinde@domain.com</a><br>
      sAMAccountName: 10030<br>
      userPrincipalName: <a class="moz-txt-link-abbreviated" href="mailto:jshinde@domain.com">jshinde@domain.com</a><br>
      <br>
      Cyrus mailbox :-- <a class="moz-txt-link-abbreviated" href="mailto:jayesh.shinde@domain.com">jayesh.shinde@domain.com</a><br>
      <br>
      Requirement is :-- <br>
      ------------------------<br>
       I want to do auth by "sAMAccountName" name , this  sAMAccountName
      is use for  Windows desktop login. <br>
       And I want to keep same login & password credential for both
      windows + email login <br>
      <br>
       When I am trying do login with  pop3/ imap  with above </font><font
      face="Times New Roman, Times, serif">"sAMAccountName" of active
      directory  , </font><font face="Times New Roman, Times, serif">then
      I am not able to login. It gets fail. <br>
         <br>
      Where as if  I use "mail:" attribute of Active directory then I am
      able to login with  pop3 / imap  and able to all normal activity.
      <br>
      <br>
      1) Is any one come across such scenario or requirement , if yes
      how its getting manage ?<br>
      2) Is there any way or workaround by which I can do sucessfull
      login with "sAMAccountName" and get login in "Cyrus mailbox"  ? (
      which is mention in above example) <br>
      <br>
      Please suggest <br>
      <br>
      Regards<br>
      Jayesh Shinde<br>
      <br>
      <br>
      <br>
    </font>
  </body>
</html>