This object is in archive! 

Specify A Domain for the Email Setting on SSO Settings?

Archived Sean H. 11 years ago

Is there any way that we can specify a domain for the email on SSO settings? we are bumping into an issue with using this as we do not specify a domain within our ldap settings. So anytime a user logs in using SSO the email goes to username@localhost. If we change that email address and save it. The next time the user logs in using SSO it creates a new account.

Best Answer
photo

We've fixed the problem in duplicating account and fix will be integrated in 2.3.10 release. All interested parties received it by email.

In order for it to work, you need to perform the following:

  1. Update system to newer version of files at application/modules/loginplus
  2. Already created accounts won't be connected with ldap, so you need to put in users table in db - ldap_id that is used to store ldap usernames. If you won't have it, it will create new account and after that, it should work without problems. So here is the solution of either deleting current admin/representatives users or put in db their usernames in ldap_id

In 3.0 we plan to integrate separate fields to enter email domain for users or either detect automatically mail/email field.

Replies (3)

photo
1

Thank you for reporting a problem. We'll check it and get back to you.

photo
1

Sean,

By default, if system doesn't get email from LDAP server, it will create account with username@localhost, it's correct behavior, as system should identify user and it does by email. But we see that others have such problem...

Even if you specify domain for email creation, how do you see the correct prefix before @domain.com should be taken, as different LDAP server give different parameters.

Do you need it as a flexible value to be added, so you could specify what value from LDAP server should be used as prefix to email (prefix@domain.com)

We want to make it universal, so all your feedback is valuable.

photo
1

We've fixed the problem in duplicating account and fix will be integrated in 2.3.10 release. All interested parties received it by email.

In order for it to work, you need to perform the following:

  1. Update system to newer version of files at application/modules/loginplus
  2. Already created accounts won't be connected with ldap, so you need to put in users table in db - ldap_id that is used to store ldap usernames. If you won't have it, it will create new account and after that, it should work without problems. So here is the solution of either deleting current admin/representatives users or put in db their usernames in ldap_id

In 3.0 we plan to integrate separate fields to enter email domain for users or either detect automatically mail/email field.

Replies have been locked on this page!