37 |
./configure [--with-msql=<msqldir>] |
./configure [--with-msql=<msqldir>] |
38 |
make |
make |
39 |
|
|
40 |
|
Or simply build it with the rest of muddleftpd, add --with-authmsql to |
41 |
|
the configuration options of that configure script. |
42 |
If mSQL is not installed in the default location (/usr/local/Hughes), you |
If mSQL is not installed in the default location (/usr/local/Hughes), you |
43 |
need to supply the --with-msql option with the path to the base directory |
need to supply the --with-msql option with the path to the base directory |
44 |
of your mSQL setup. |
of your mSQL setup. |
45 |
|
|
46 |
After you have run make, the file libauthmsql.so can be copied to the |
After you have run make, the file libauthmsql.so can be copied to the |
47 |
directory you wish to store muddleftpd modules in. This directory must be |
directory you wish to store muddleftpd modules in. This directory must be |
48 |
secure, so users cannot overwrite the module with a cracked version. A good |
secure, so users cannot overwrite the module with a cracked version. |
49 |
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 |
50 |
config files, typically /etc/muddleftpd. |
prefix this is /usr/local/lib/muddleftpd. |
51 |
|
|
52 |
USAGE: |
USAGE: |
53 |
|
|
54 |
In the groups that you wish authlibmsql to authenticate, you need to use |
In the groups that you wish authlibmsql to authenticate, you need to use |
55 |
the following to tell muddleftpd to use the authlibmsql module, replacing the |
the following to tell muddleftpd to use the authlibmsql module, replacing the |
56 |
directory here with the directory the authentication module is stored in: |
directory here with the directory the authentication module is stored in: |
57 |
|
(If unsure a locate libauthmsql.so may help). |
58 |
|
|
59 |
authmethod /etc/muddleftpd/libauthmsql.so |
authmethod /usr/local/lib/muddleftpd/libauthmsql.so |
60 |
|
|
61 |
To configure authlibmsql, the following directives have been added. You must |
To configure authlibmsql, the following directives have been added. You must |
62 |
specify these in the group section that is being configured. |
specify these in the group section that is being configured. |