an ODBC driver?
SolarWinds Serv-U is a file server that allows users to transfer files by using FTP, FTPS, SFTP, web browsers, and mobile devices. Serv-U runs on either Windows or Linux and supports both IPv4 and IPv6 networks.
To authenticate end users Serv-U can use its own user database or an external collection of user and group information. Serv-U supports two types of external authentication back ends: Windows Active Directory and relational databases accessible by using ODBC.
Storing users in an ODBC database can provide much faster response times when user counts grow above several thousand.
You can configure the ODBC connections in two locations:
Each server and each domain must have a unique ODBC connection to ensure that they are stored separately.
Serv-U File Server can populate an empty database with all the tables necessary to store its user and group information. Alternatively, Serv-U can also use an existing database shared with other applications and services.
Whichever option you choose, you need create an ODBC connection that connects to the target DBMS. This example shows how to connect to a SQL Server database from a Serv-U machine running on Linux.
Check with your vendor or reseller to find out whether your version of Serv-U is 32-bit or 64-bit. If it's 32-bit, download the 32-bit SQL Server ODBC driver for Linux. If it's 64-bit, download the 64-bit SQL Server ODBC driver for Linux.
For installation instructions, refer to the ODBC driver documentation.
Note You need the unixODBC Driver Manager installed on your machine. The Easysoft distribution includes a version of the unixODBC Driver Manager that the Easysoft SQL Server ODBC driver has been tested with. The Easysoft driver setup program gives you the option to install unixODBC.
/etc/odbc.ini
that connects to the SQL Server database. For example:
[SQLSERVER_SAMPLE] Driver=Easysoft ODBC-SQL Server Description=Easysoft SQL Server ODBC driver Server=myhost\myinstance Port=1433 Database=mydatabase User=myuser Password=mypassword
cd /usr/local/easysoft/unixODBC/bin ./isql.sh -v SQLSERVER
At the prompt, enter help
to display a list of tables. To exit, press Return in an empty prompt line.
If you are unable to connect, refer to this article and the SQL Server ODBC driver Knowledge Base for assistance.
These instructions show how to use this connection in Serv-U to populate an empty SQL Server database:
SQLSERVER_SAMPLE
) and the user name and password required to access the database.–Or–
and check if the user is correctly displayed in the list.
If the user is not correctly displayed, turn on Domain Activity > Log menu
If the ODBC connection has been successfully created, Serv-U creates all the necessary tables and columns to work with the external database.