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

Please post here if you have problems in using Wing FTP Server.
Post Reply
fred9176
Posts: 23
Joined: Mon Jul 02, 2012 9:29 am

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

Post 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
Last edited by fred9176 on Mon Jul 09, 2012 9:28 am, edited 1 time in total.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

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

Post by FTP »

You must have the attribute "memberOf", I think Windows AD will have this attribute by default.
fred9176
Posts: 23
Joined: Mon Jul 02, 2012 9:29 am

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

Post 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
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

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

Post by FTP »

Yes, you are right, we will update the help document in the future version.
Post Reply