Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Feature Requests

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th October 2011, 00:17
LTxda LTxda is offline
Junior Member
 
Join Date: Oct 2011
Posts: 15
Thanks: 4
Thanked 2 Times in 2 Posts
Default AjaXplorer with ISPConfig...

I wanted to recommend AjaXplorer as an add-on or maybe for it to be distributed with ISPConfig. Great functionality, simple, extremely easy to setup, no database required, etc.

http://www.ajaxplorer.info/wordpress/
Reply With Quote
Sponsored Links
  #2  
Old 8th November 2011, 21:12
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

Do you know how to make it work as ftp web client? I tried without success... I want users to use their ftp users to login directly to their directories.

Thanks!
Reply With Quote
  #3  
Old 8th November 2011, 22:03
LTxda LTxda is offline
Junior Member
 
Join Date: Oct 2011
Posts: 15
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by erosbk View Post
Do you know how to make it work as ftp web client? I tried without success... I want users to use their ftp users to login directly to their directories.

Thanks!
It is pretty straight forward. Once you install you can setup a repository which is the user's chrooted path to the file system and create a user assigned to that repository. It'll work similar to web ftp. It's a really nice interface, etc. Give it a try and report back for others to read about. Let me know if you have any more questions.

EDIT: I haven't looked to see if it can be configured to utilize existing accounts on the system to authenticate users so worse case you might have to setup users with the same user/pass as their ftp accounts and just point them to their ftp root.

Last edited by LTxda; 8th November 2011 at 22:10.
Reply With Quote
  #4  
Old 9th November 2011, 01:54
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

I made it work:

Code:
In conf.php, modify the following:

        "AUTH_DRIVER" => array(
                "NAME"          => "ftp",
                "OPTIONS"       => array(
                        /* Id of the repository defined below */
                        "REPOSITORY_ID" => "dynamic_ftp",

                        /* Existing admin in the sense of ajaxplorer admin, to avoid alert at startup */
                        "ADMIN_USER"    => "admin",

                        /* If you want your use to connect any FTP they want, set this to TRUE */
                        "FTP_LOGIN_SCREEN" => "false",

                        "TRANSMIT_CLEAR_PASS"   => true)
        ),

$REPOSITORIES["dynamic_ftp"] = array(
        "DISPLAY"       => "FTP",
        "DRIVER"        => "ftp",
        "DRIVER_OPTIONS" => array(
                /* SEE access.ftp/manifest.xml for all available FTP parameters */
                "FTP_HOST"              => "ftp.domain.com",
                "FTP_PORT"              => "21",
                "PATH"                  => "/",

    /* use current ajax credentials */
    "USE_SESSION_CREDENTIALS"  => 1,
                /* If you want your use to connect any FTP they want,
                        forget options above, and set this one to true*/
                "DYNAMIC_FTP"   => "False",

                /* Set this to "rw", this will be the default rights for users */
                "DEFAULT_RIGHTS" => "rw"
        )
);
This will allow the user to login with his ftp user/pass directly to his home directory.

the problem is that, if the user writes a wrong user/password, it will login to ajax and will popup an error, but he will remain logued as the wrong user in ajax... I have to see how to workaround this...
Reply With Quote
The Following 2 Users Say Thank You to erosbk For This Useful Post:
LTxda (9th November 2011), till (9th November 2011)
  #5  
Old 9th November 2011, 05:14
LTxda LTxda is offline
Junior Member
 
Join Date: Oct 2011
Posts: 15
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Nice! Thanks for posting the info. At least I'll have a reference if I have to do something similar. Greatly appreciated.
Reply With Quote
  #6  
Old 9th November 2011, 05:19
LTxda LTxda is offline
Junior Member
 
Join Date: Oct 2011
Posts: 15
Thanks: 4
Thanked 2 Times in 2 Posts
Default

Maybe if this is added to the ISPConfig package there can be options automating the setup for FTP integration, independent functionality or hybrid.
Reply With Quote
  #7  
Old 9th November 2011, 14:26
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

Becarefull with this, if you use fail2ban to check for failed ftp login, you will ban the server IP or localhost IP.

This can be avoid using a regex in fail2ban.

Till, as I could see, integrating ajaxplorer with ispconfig as webftp client should not be difficult.

ISPConfig must create an ajaxplorer user/pass equal to ftpuser/pass when created (modified too when ftp pass is modified, etc), and a fixed repository must be declared in ajaxplorer.

Another option could be to use the table ftp_users for login purpose (I have to explore different options)

If this is viable, maybe I could work on it, but I don't know if you are taking the way of net2ftp as web ftp client.

Regards
Reply With Quote
  #8  
Old 9th November 2011, 14:45
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,070
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

In my opinion a webftp client like ajax explorer or net2ftp should stay a separate package like the webmail (roundcube, squirrelmail) and mysql (phpmyadmin) webclients. So each admin has the choice which FTP clients he wants to use and if he wants to use a webftp client at all.

If ajaxexplorer is a FTP client, it should be able to authenticate itself by FTP login like any other client?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #9  
Old 9th November 2011, 15:12
erosbk erosbk is offline
Senior Member
 
Join Date: Mar 2011
Posts: 337
Thanks: 49
Thanked 36 Times in 30 Posts
Default

I need to investigate a little more about ajaxexplorer. It is a really complete program very usefull for file management and database management (among others).

Here you can read his features (just a few lines)
http://www.ajaxplorer.info/wordpress...-introduction/

It can be configured to be used just as a simple ftp web client if someone wants (as I posted), but with a few changes it can be integrated with ispconfig.

It is very easy to use, visually it is lot better than net2ftp, and... as ftp, it allows drag and drop from desktop, preview of files (images included), direct file editing with indented code (very usefull for php code editing without file downloading).

I recommend you to test it.
Reply With Quote
The Following User Says Thank You to erosbk For This Useful Post:
LTxda (10th November 2011)
  #10  
Old 10th November 2011, 15:37
LTxda LTxda is offline
Junior Member
 
Join Date: Oct 2011
Posts: 15
Thanks: 4
Thanked 2 Times in 2 Posts
 
Default

What I really liked is that I could point to any place on the servers's file system and lock a user into that repository. I wasn't restricted to just the ftp root for a user, etc. Really powerful, easy to use and looks great.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 18:10
ISPConfig & AjaXplorer serverstage Tips/Tricks/Mods 5 19th October 2012 12:00
chroot SSH IspConfig2 kextra1 General 4 20th January 2011 18:41
ISPConfig 2.3.1-dev released till General 0 8th May 2006 22:18
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 05:07.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.