Hello Janos,

now piler is upgrades from 0.1.25-rc2 to 1.1.0 and all mails are reindex 
because of new sphinx installation, too.

Because I now using a domain (samba4) in my test lab I want to try so instead 
of plain imap-login.

With sogo/openchange it works great, so I thought using parameters as used for 
sogo.


So far everything works. 
I can login using sso.php, but I can’t see my maladies in username->settings 
and I am not able to search my archive because the empty mailaddress field.


I can login using sso.php with DOMAIN\christian
—> then in username->settings->email address: <None found>

I can login using sso.php with [email protected]
—> then in username->settings->email address: <None found>

I cannot login using login.php with [email protected]  or with  
DOMAIN\christian
—> thats ok because i have to enter my correct emailaddress [email protected]


I can login using login.php with [email protected]      <<<<< thats my 
emailaddress
—> then in username->settings->email address: <[email protected]>
And I am able to search for mails.



My config-site.php:
$config['ENABLE_IMAP_AUTH'] = 0;
$config['ENABLE_SSO_LOGIN'] = 1;

$config['ENABLE_LDAP_AUTH'] = 1;
$config['LDAP_HOST'] = 'ad1.domain.local';
$config['LDAP_BASE_DN'] = 'OU=employees,dc=domain,dc=local';
$config['LDAP_HELPER_DN'] = 'CN=piler,CN=users,DC=domain,DC=local';
$config['LDAP_HELPER_PASSWORD'] = 'xxxxxxxx';
$config['LDAP_MAIL_ATTR'] = 'mail';



I think my problem is the different username for domain then the emailaddress.

So I try ldapsearch for my emailaddress:
ldapsearch -h ad1.domain.local -D 'CN=piler,CN=users,DC=domain,DC=local' -b 
‚OU=employees,DC=domain,DC=local' -x -W 
'(&(objectClass=user)([email protected]))'
 
….
userPrincipalName: [email protected]
sAMAccountName: christian
mail: [email protected]
givenName: Christian
…


So I need to map the ‚mail‘-attribute to the Emailaddress-filed in 
Username->settings.




Hope you understand what’s going wrong in my case.
Why the mail-attribute is not bind to emailaddress after login.


Chris


Reply via email to