| ||||||
Serv-U ODBC Database 的使用 Serv-U 5.0以上支持ODBC数据库,能够使用数据库管理帐号、权限,适用于需要提供 FTP 下载的 BBS 论坛、音乐网站、软件网站、电影网站、企业网络等等,特别在多台FTP服务器集群环境下,所有FTP服务器共享一套帐号数据库,维护管理。 使用的数据库例子可以在这本站或这下载到 http://www.serv-u.com/addons.asp 首先在新建域的时候,第四步选择如下: 将下载的数据库建立ODBC数据 之后在Serv-U中就可以使用ODBC数据源了 在Serv-U的ODBC设置中手动设置数据源名与各个数据对应的字段名,这一步也可以直接在ServUDaemon.ini文件中加入如下内容 [DomainXX] where XX is the domain number of the ODBC domain. ODBCTables=user accounts|group accounts|user access|group access|user IP access|group IP access ODBCColumns=user|password|skey|homedir||access|disable||relpaths|||changepass|quotaenable||||maxusers| ||ratioup|ratiodown|ratiocredit|quotacurrent|quotamax|expiration|privilege|passtype|ratiotype|groups|notes|indexno 之后重启服务器就可以了。 |