Guys @ Virtualmin Community
I have one question, I have read all the forum about that & their is only one topic raised about that
from our colleague mikelawford about 23rd of June 2009.
If I compare my server with his one based on info I had, my server is in pretty much advance state.
I am using LDAP for virtualmin, using following below article link written by -Bryan Petkus posted by andreychek, on 18th of May 2009, a very good article.
http://www.virtualmin.com/documentation/id,centos_5_install
Now the problem is every thing is working fine, accept ftp, SSH is successful.
I have the same type of issue what mikelawford is facing, despite of all my efforts, but FAILED.
I have installed my server using following steps.
-
Installed Cent OS 5.3 x64 the basic system bare minimum (only service run level 3).
-
yum update to update all installed packages & the kernel.
-
Restart server.
-
Using wget downloaded the install.sh script (GPL version).
-
Updated all VM packages from web interface.
-
Configured my server for openLDAP following the above article.
-
Change CentOS user Auth to openLDAP, using setup command.
-
Using VM created a website successfully.
-
Confirm in LDAP Users & Groups, user is created in LDAP & show in listing.
-
Test newly created user associated with domain site for SSH & FTP, for SSH I have used putty.exe & for FTP I have used filezilla, SSH successfull, filezilla failed for FTP, but same filezilla is able to connect using SFTP the SSH protocol, I can upload, delete, rename, move whatever I like I can do based on that user credentials, I tried other ftp programmes as well, but failed.
-
I tried on server, using ip address, using FQDN & localhost as well, but in all cases, failed, error is same, what mikelawford is facing.
-
I stoped IPTABLES (SELINUX is not installed, but to make thing clear, I have issued the following to disable SELINUX i.e. “setenforce 0”), still failed.
-
To confirm user Auth I am also using VPN to connect to this server, a local server is mounting this server file system as NFS & that local server had samba installed & samba is allowing LAN users to mount that share on windows, when ever a user on local LAN click on that share, username & password is asked, when provided correctly, user is able to connect & mount share to a drive letter, username & password is asked by remote Virtualmin Server via LDAP as back-end Auth mechanism (point 13 says that openLDAP is working fine).
-
Just for the safe side I checked LDAP support for Pro-FTPd, it is not installed, so I installed support for LDAP on Pro-FTPd, using following command, yum install proftpd-ldap.x86_64
-
I have consulted the following site for above setup,
http://www.castaglia.org/proftpd/doc/README.LDAP.html -
I did all that is mentioned
-
ProFTPd is a pain in a**, I am unable to sort it out.
pleaseeeeeeeeeeeeeeeeeeeeee help
Now the last bit.
I want to show directory listing on some directories, I have done following.
-
Click VM.
-
Select domain.
-
Click on Services.
-
Click on Configure Website.
-
Under Per-Directory Options, I click on Directory /home/domain_name/public_html
-
Click on Directory Indexing
-
I click on Select Below under Directory Index Options.
-
I click on Display fancy directory indexes
-
I click on Save & again Save & again on Save.
-
Check manually tail -f /var/log/messages
-
But to confirm, I manually restart Apache demon with following # /etc/init.d/httpd restart
-
When I check the result, two of the possible things may happen. 1st. Forbidden (most usual display on browser) 2nd, some times without any given reason CentOS default Apache Test page will pop-up. For this default Apache test page I have no definite answer, why at one point I am receiving Forbidden page, because absence of index.html page & why at another time I will be seeing default Apache page.
-
I know if I put options +Index in httpd.conf file it will display the directory listing, but in case of VM, manually inserting this directive still doesn’t serve the purpose.
-
Next thing I need to know is why forbidden or default Apache page is displayed randomly.
kind regards
-shuja