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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 13th March 2012, 02:24
desanidesigns desanidesigns is offline
Junior Member
 
Join Date: Mar 2012
Posts: 10
Thanks: 2
Thanked 1 Time in 1 Post
Question Remote Users, Adding a Client

I've been trying to get the 'client_add' remoting option to work as I would expect, but maybe I'm expecting too much.

Trying to add a new client, I am setting the following variables:
PHP Code:
$params = array(
"company_name" => $client_data['companyname'],
"contact_name" => $client_data['firstname']." ".$client_data['lastname'],
"username" => $details['option1']['value'],
"password" => $details['option3']['value'],
"language" => "en",
"usertheme" => 'default',
"street" => $client_data['address1']." ".$client_data['address2'],
"zip" => $client_data['postcode'],
"city" => $client_data['city'],
"state" => $client_data['state'],
"country" => $client_data['country'],
"telephone" => $client_data['phonenumber'],
"mobile" => "",
"fax" => "",
"email" => $client_data['email'],
"internet" => $client_data['domainname'],
"icq" =>"",
"notes" => $client_data['notes'],
"default_webserver" => $options['option3']['value'],
"default_mailserver" => $options['option3']['value'],
"default_dnsserver" => $options['option3']['value'],
"default_dbserver" => $options['option3']['value'],
"limit_web_ip" => $options['option2']['value'],
"template_master" => $options['option1']['value']); 
What isn't working as expected, is the "limit_web_ip." What I am expecting is that when the user creates a new site, they will only be able to use the IP I set in this field, assuming it is one of the server's configured IP addresses. Am I correct?

If yes, it is not working properly. The user can still select the asterisk or any of the IP addresses assigned to the server. How do I resolve this?

If I am incorrect, is there any functionality built in that would allow this restriction?

Thanks
Reply With Quote
Sponsored Links
 

Bookmarks

Tags
api, remote, remote users, remoting framework

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
Need help with ISPConfig Mail and Squirrelmail m.xander Installation/Configuration 109 3rd February 2012 00:15
Can't access to my website - after install problem pallermo Installation/Configuration 18 4th June 2010 13:29
Remote Framework - Client Add - Ispconfig 3 Germanius General 5 23rd December 2009 18:16
Strato Server - Restoring with SystemImager popper2001 HOWTO-Related Questions 5 28th July 2007 10:18
Creating image with Systemimager cuongtim HOWTO-Related Questions 3 18th November 2006 13:55


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


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