Page 1 of 1

[solved] Map LDAP group to local user doesn't work

Posted: Tue Jul 03, 2012 3:04 pm
by fred9176
Hello,

I installed Wing FTP 4.0.8 on Debian Squeeze 64 bits and configured user access with authentication from our Active Directory (using LDAP authentication).

Mapping AD users to local users works fine, but the mapping of a LDAP group to local user doesn't work. Connexion is ok but the parameters of the local user (mainly virtual directories) are not used.

Do you have any idea of how I can get this to work ?
Thank you very much,

Fred

Re: Map LDAP group to local user doesn't work

Posted: Wed Jul 04, 2012 5:38 am
by FTP
You must have the attribute "memberOf", I think Windows AD will have this attribute by default.

Re: Map LDAP group to local user doesn't work

Posted: Wed Jul 04, 2012 7:50 am
by fred9176
memberOf is correctly set up for my user.

I found the solution : unkike for mapping ldap user to local user, I had to set the entire distinguished name of the group in order to make it work.
For example :
ftpgroup:someuser doesn't work
whereas CN=ftpgroup,OU=someOU,DC=domain,DC=local:someuser works fine.

Maibe you should add this to the documentation.

Best regards,

Fred

Re: Map LDAP group to local user doesn't work

Posted: Wed Jul 04, 2012 8:46 am
by FTP
Yes, you are right, we will update the help document in the future version.