34 |
./configure [--with-mysql=<mysqldir>] |
./configure [--with-mysql=<mysqldir>] |
35 |
make |
make |
36 |
|
|
37 |
If MySQL is not installed in the default location (/usr/local/mysql), you |
Or simply build it with the rest of muddleftpd, add --with-authmysql to |
38 |
need to supply the --with-mysql option with the path to the base directory |
the configuration options of that configure script. |
|
of your MySQL setup. |
|
39 |
|
|
40 |
When you have run make, the file libauthmysql.so can be copied to the |
When you have run make, the file libauthmysql.so can be copied to the |
41 |
directory you wish to store muddleftpd modules in. This directory must be |
directory you wish to store muddleftpd modules in. This directory must be |
42 |
secure, so users cannot overwrite the module with a cracked version. A good |
secure, so users cannot overwrite the module with a cracked version. |
43 |
suggestion would be to store it in the same dir as the muddleftpd server |
By default it is put into @prefix@/lib from configure, if you dont set |
44 |
config files, typically /etc/muddleftpd. |
prefix this is /usr/local/lib/muddleftpd. |
45 |
|
|
46 |
USAGE: |
USAGE: |
47 |
|
|
48 |
In the groups that you wish authlibmysql to authenticate, you need to use |
In the groups that you wish authlibmysql to authenticate, you need to use |
49 |
the following to tell muddleftpd to use the authlibmysql module, replacing the |
the following to tell muddleftpd to use the authlibmysql module, replacing the |
50 |
directory here with the directory the authentication module is stored in: |
directory here with the directory the authentication module is stored in: |
51 |
|
(If unsure a locate libauthmysql.so may help). |
52 |
|
|
53 |
authmethod /etc/muddleftpd/libauthmysql.so |
authmethod /usr/local/lib/muddleftpd/libauthmysql.so |
54 |
|
|
55 |
To configure authlibmysql, the following directives have been added. You must |
To configure authlibmysql, the following directives have been added. You must |
56 |
specify these in the group section that is being configured. |
specify these in the group section that is being configured. |