Hello,

To use the "mail attribute instead of the "uid" attribute, along with
the realm, put
<uidattr>mail</uidattr>
<append-realm/>
in the <ldap> section of your c2s.xml. This should behave as you are expecting.

hope this helps.
John

On 9/2/08, Proskurin Kirill <[EMAIL PROTECTED]> wrote:
> Hello all!
>
>  Im make new ldap structure and my jabberd2 clients will auth against it.
>
>  At this time my users auth by "uid" field and takes a realm like this:
>
>  <id realm='domain.com'>domain.com</id>
>  <id realm='doaman2.com'>domain2.com</id>
>
>  <basedn
> realm='domain.com'>ou=People,dc=domain.com,dc=com</basedn>
>  <basedn
> realm='domain2.com'>ou=People,dc=domain2.com,dc=com</basedn>
>
>  My *new* LDAP structure looks like this:
>
>  domains-|
>         |domain1-|
>         |        |[EMAIL PROTECTED]
>         |
>         |domain2-|
>                  |[EMAIL PROTECTED]
>
>  Im want to use as login "mail" field of ldap user in multi domain jabber
> setup. But im cant user "@" symbol in login.
>
>  How can i must configure my jabberd2 to auth like this?
>  Deleting domain part with replaysing it by realm?
>  Or it is impossible at all?
>
>
>  --
>  Best regards,
>  Proskurin Kirill
>
>  --
>  To unsubscribe send a mail to
> [EMAIL PROTECTED]
>
>

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to