Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th May 2009, 13:02
t-mug t-mug is offline
Member
 
Join Date: Jun 2007
Posts: 70
Thanks: 11
Thanked 6 Times in 5 Posts
Default FTP User Disable Feature

At first glance it should be not be that hard to implement this:



I think this doesn't break the concept of ISPConfig 2. And it would be surely backward compatible, if all existing users get the box checked.

Would you integrate this feature, if available as a patch, into ISPConfig 2.x? What do you think about it?
Reply With Quote
Sponsored Links
  #2  
Old 14th May 2009, 12:17
t-mug t-mug is offline
Member
 
Join Date: Jun 2007
Posts: 70
Thanks: 11
Thanked 6 Times in 5 Posts
Default

Although the task is really a minor change: one thing makes me a bit confusing.
Till, how do you distribute an update of the field `doctype_def`, inside the doctype table? It seems that you don't perform db updates during ISPConfig install (update) time, when forms have changed... - so how would this be done??

The other post in this forum ("ISPConfig doctype (form) handling"), regarding to a changed doctype handling from database to filesystem, didn't help me. There is no /home/admispconfig/ispconfig/lib/doctypes/ folder and maybe you've changed the doctype handling again?

EDIT: Oh - I had never supposed that you delete the comlete db during update. So my grepping after "ALTER TABLE" had no chance there

Last edited by t-mug; 14th May 2009 at 12:50.
Reply With Quote
  #3  
Old 15th May 2009, 13:13
t-mug t-mug is offline
Member
 
Join Date: Jun 2007
Posts: 70
Thanks: 11
Thanked 6 Times in 5 Posts
Default One possibility to separate FTP and E-mail for 2.x

Look into the attachment, if you're in the mood. Otherwise: it's only half the way. In fact, I think, one can change this with similar effort to have FTP users without e-mail as well.

So instead of a checkbox - like in the attached solution - one could use an option field on the user tab, represented in the db as an char(1) field:
  1. => E-mail only
  2. => FTP & E-mail
  3. => FTP only
Then: only if the option value is > 1 you would define the /dev/false user directory in the password file. If the value is > 2 you would NOT write into virtualusertable of postfix.
Backward compabilty: for all already existing users the option '2' could be set. Make that sense?
Attached Files
File Type: gz email_user_only-2.2.32-patches.tar.gz (3.2 KB, 231 views)
Reply With Quote
  #4  
Old 15th May 2009, 23:56
sirrus sirrus is offline
Junior Member
 
Join Date: May 2009
Location: Frankfurt am Main
Posts: 15
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to sirrus Send a message via Skype™ to sirrus
Smile FTP Users

This patch is quite simple - but it seems to work...

In my opinion it would be easy to add an additional field for ftp_path too.

But this should be an addional option (ftp with path) to keep the original functionality.

Regards,
Andreas
Reply With Quote
  #5  
Old 16th May 2009, 00:35
t-mug t-mug is offline
Member
 
Join Date: Jun 2007
Posts: 70
Thanks: 11
Thanked 6 Times in 5 Posts
Default Almost ready

I am almost ready with a complete e-mail // FTP separation. Changed only a couple of lines! I will post this to the tipps and tricks section.

I would deny to hack around on this subject further (like configurable FTP dirs or fully virtual mail users) - too much effort for a falling star ... ;-)

I think ISPconfig 3 is the real thrill now. I think I'm going to love it, although usability is much more an issue for v3 than for v2 - surprisingly. But that's always the cost of flexibility, if you look closer.
Reply With Quote
  #6  
Old 16th May 2009, 00:43
sirrus sirrus is offline
Junior Member
 
Join Date: May 2009
Location: Frankfurt am Main
Posts: 15
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to sirrus Send a message via Skype™ to sirrus
Default ... ISPCOnfig 3

... is a good point - but I think the admin/reseller/customer seperation is not implemented yet...

Regards,
Andreas
Reply With Quote
  #7  
Old 16th May 2009, 03:52
t-mug t-mug is offline
Member
 
Join Date: Jun 2007
Posts: 70
Thanks: 11
Thanked 6 Times in 5 Posts
Default

ISPConfig 3 is stable.

See this post for my solution now: http://www.howtoforge.com/forums/sho...544#post188544
Reply With Quote
  #8  
Old 22nd May 2009, 23:30
sirrus sirrus is offline
Junior Member
 
Join Date: May 2009
Location: Frankfurt am Main
Posts: 15
Thanks: 4
Thanked 1 Time in 1 Post
Send a message via ICQ to sirrus Send a message via Skype™ to sirrus
Default ISPConfig3

It a totally different approach... I'm a bit confused by the new Admin/Client structure. But I can handle it now :-)

You're right - I'll move to ISPConfig3 - FTP users path can be configured now.

-> see Version 3.0.1.2

Regards,
Andreas
Reply With Quote
  #9  
Old 23rd May 2009, 10:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,981
Thanks: 825
Thanked 5,371 Times in 4,218 Posts
Default

Quote:
I think ISPconfig 3 is the real thrill now. I think I'm going to love it, although usability is much more an issue for v3 than for v2 - surprisingly. But that's always the cost of flexibility, if you look closer.
Fully agreed. We tried to find a good path between flexibility and easy usage. I know that some iSPConfig 2 users think that ispconfig 3 is not so easy to use, but thats always the case if you add more features and if the layout of the system changes to achieve this. In ISPConfig 2 everyone complained before that the same features were missing So you will never make the product that everone likes...
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 23rd May 2009, 10:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,981
Thanks: 825
Thanked 5,371 Times in 4,218 Posts
 
Default

Quote:
Originally Posted by sirrus View Post
... is a good point - but I think the admin/reseller/customer seperation is not implemented yet...
It is implemented. You can select in the customer settings that a customer may have "sub customers" and then he is a reseller.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
proFTPd passive mode problems bisbell Server Operation 8 6th August 2008 21:12
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
Website users? ctroyp General 25 6th January 2006 18:02


All times are GMT +2. The time now is 13:57.


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