Issue - My users want to log in using their Active Directory authentication credentials, and I don't know how to deploy this in Serv-U.
Resolution - Configure either Windows Authentication or LDAP Authentication in your Serv-U Domain.
Many Serv-U administrators find themselves asking:
"What is the difference between Windows Authentication and LDAP Authentication in Serv-U? And which one should I configure?"
And we are here to assist with this choice.
|Windows vs. LDAP|
Both LDAP and Active Directory are used to allow users to connect to Serv-U by using Active Directory credentials. LDAP additionally allows for authentication against other LDAP servers like Apache Directory Server and OpenLDAP.
Even though the LDAP configuration can be slightly more difficult to set up, if an admin asks for a recommendation on which to use we would prefer LDAP due to ease of use once it is configured correctly.
After you make the choice, configure Windows or LDAP authentication
|Windows Authentication Configuration||LDAP Authentication Configuration|
The following images show what a successful HTTP login looks like for the user and the Serv-U admin. Note that LDAP and Windows Authentication looks identical in the logs.
The login page for the user named LDAP
The log entries for the admin for a successful login and logout can be viewed under Serv-U admin console > Domain Activity > Log.
Being able to read and understand the log is useful for not only this issue, but for many other issues in Serv-U. If an error occurs Serv-U will most likely have the error in its log. If you see no such errors then Serv-U did not capture the issue in the connection, and with LDAP and AD authentication, we urge you to review the directory machine's log.
The following articles contain more information about setting up and understanding the log files in Serv-U:
|Please keep Serv-U up to date|
Finally we urge any administrator working with LDAP or Windows authentication to make sure their Serv-U installation is up to date.