![]() |
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:
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 |
Quote:
|
Quote:
|
The functions to add / edit / delete server IP adresses have been added in the svn stable branch. I've added the chnaged files.
You can get the SVN stable release with: svn export svn://svn.ispconfig.org/ispconfig3/branches/ispconfig-3.0.4 the required files are: interface/lib/classes/remoting.inc.php interface/web/admin/lib/remote.conf.php Copy these files into your ispconfig installation, then enable the new functions in the remote user. The function names are: server_ip_get, server_ip_update and server_ip_delete |
Quote:
Edit: After changing all the domains to the asterisk, aside from those needing their ssl cert, nothing went awry. Must have been a misconfig on my part somewhere else causing the issue. |
In ISPConfig a IP address is either visible to all clients (if no client is assigned to the IP) or one client.
Quote:
A function to disable the * wildcard will be availble in ISPConfig 3.0.5 as you can see in the roadmap: http://bugtracker.ispconfig.org/inde...1977&project=3 |
Quote:
|
Quote:
1) Create a "fake" client account and assign it the "main" ip which is internally used for all sites with *. So there is no site where this IP address is selected directly,all sites that point in DNS to this IP use * instead. 2) All websites that dont use SSL use *. The clients have no other choice then using * as there are no other IP's active on the server 'globally' and the only other IP is assigned to the fake client. 3) If you add a ssl site that requires a separate IP, add this new ip under system > Server IP and assign it to the client that owns this sl site. So this IP will only show up for him and no other customers. |
Quote:
Code:
$params = array("server_id" => 1); |
The usage on all functions is similar. So if you refer to one of the _get functions, then you can pass an array as parameter to search or select values.
|
| All times are GMT +2. The time now is 06:30. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.