Hi Milan,

You have to set email for UserNameSearchFilter and UserNameAttribute
properties in user-mgt.xml as follows.

            <Property
name="UserNameSearchFilter">(&amp;(objectClass=person)(email=?))</Property>
            <Property name="UserNameAttribute">email</Property>


Thanks
Godwin



On Fri, Nov 27, 2015 at 4:31 PM, Milan Perera <[email protected]> wrote:

> Hi Godwin,
>
> I have attached the carbon.xml and user-mgt.xml with this.
> One other thing is im using embedded LDAP of IS as a secondary user store.
> So im attaching that config file as well
>
> Thanks,
>
> On Fri, Nov 27, 2015 at 3:22 PM, Godwin Shrimal <[email protected]> wrote:
>
>> Hi Milan,
>>
>> No, you don't need to add carbon.super for super tenant users,  Did you
>> configure carbon.xml and user-mgt.xml according to the [1], can you share
>> those files ?
>>
>> [1] https://docs.wso2.com/display/IS500/Email+Authentication​
>>
>>
>> Thanks
>> Godwin
>>
>> On Fri, Nov 27, 2015 at 3:04 PM, Milan Perera <[email protected]> wrote:
>>
>>> Hi all,
>>>
>>> In order to do $subject in *EMM 1.1.0*, I have followed [1].
>>> But still I was not able to login.
>>>
>>> I crated an user - *[email protected] <[email protected]>*
>>>
>>> When I was going to log in using that username, I couldn't do that since
>>> it threw an error saying invalid tenant domain.
>>> Then I tried *[email protected]@carbon.super *as the username and it
>>> worked.
>>>
>>> Is this an acceptable behaviour?
>>>
>>> ​[1] https://docs.wso2.com/display/IS500/Email+Authentication​
>>>
>>> --
>>> *Milan Perera *| Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 77 309 7088 | Work: +94 11 214 5345
>>> Email: [email protected] <[email protected]> | Web: www.wso2.com
>>> <http://lk.linkedin.com/in/milanharinduperera>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Godwin Amila Shrimal*
>> Senior Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> mobile: *+94772264165*
>> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
>> twitter: https://twitter.com/godwinamila
>>
>
>
>
> --
> *Milan Perera *| Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 77 309 7088 | Work: +94 11 214 5345
> Email: [email protected] <[email protected]> | Web: www.wso2.com
> <http://lk.linkedin.com/in/milanharinduperera>
>



-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to