Remote LDAP authentication

Hi everyone,

I have configured a Directory Assistance Database to authenticate user to Active Directory.

When I try to connect to a mailbox, I get the error “you are not authorized to connect to perform this operation.”.

Here is my da.nsf configuration :

Basics :

Domain type : LDAP

Domain name : portailtest

Search Order : 1

Make this domain available to :

Notes Client…

LDAP Clients

Group Authorization : Yes

Nested Group expansion : Yes

Enabled Yes

Naming Context Rules :

*/ */ */ */ */ * Enabled Trusted for credentials both at yes

LDAP

LDAP Configuration :

Hostname : ip address

credential

cn=administrator,cn=users,dc=portailtest

password

Base DN for search : cn=users,dc=portailtest

Channel encryption : none.

Port 389

Timeout:180

Maximum number of entries : 100

Dereference Alias on search : Always

Preferred mail format : Internet Mail Address

Attribute to be used as notes distinguished Name : cn

Type of search filter to use : custom

Customized Filters :

Mail Filter :

Authentication Filter : (|(sAMAccountName=%)(userPrincipalName=%))

Authorization Filter :

I have the feeling that my error is related to ACL. But I can’t find where it bug.

I’ve added a entry in every ACL, similar to :

cn=Firstname Lastname/cn=Users/dc=portailtest

Subject: Remote LDAP authentication

When I try to connect to a mailbox, I get the error “you are not authorized to connect to perform this operation.”.

So you are having a problem with authorization (what you can do), not authentication (who you are).

Attribute to be used as notes distinguished Name : cn

Type of search filter to use : custom

Customized Filters :

Mail Filter :

Authentication Filter : (|(sAMAccountName=%)(userPrincipalName=%))

Authorization Filter :

I’ve added a entry in every ACL, similar to :

cn=Firstname Lastname/cn=Users/dc=portailtest

It looks to me like you are probably mixing up a lot of approaches.

What you did, placing AD names in ACLs in Notes format, is ideal! That’s the main sticking point that some customers cannot overcome due to corporate policies or amount of effort involved. Once you do that, you should only have to set Type of search filter to use : Active Directory.

In fact, to make your life easier, you can even put AD groups in your ACLs since you have Group Authorization: Yes and Nested Group expansion: Yes.

The Attribute to be used as notes distinguished Name setting allows you to specify the name of an AD attribute that contains that AD entry’s Notes DN. Do not set this, as you have placed AD names in your ACLs.