Old 14th August 2007, 23:36
catdude catdude is offline
Senior Member
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
Default Automating user addition

I posted essentially this message over in the Configuration forum, but I'll provide a little more detail here. This is not strictly related to the development of ISPConfig, but instead to a utility to allow migration to ISPConfig.

I am in the process of moving user e-mail and web accounts over from a Plesk box to ISPConfig (I don't rermember which version we have, but it was downloaded and installed around 3 months ago and I don't have the option of upgrading it). I have been handling the user migration with some perl scripts that connect to MySQL on the Plesk box, grab the domains names to be created and the e-mail addresses associated with the domain, and writing the info to a file.

On the ISPConfig machine my script stuffed records into isp_isp_domain, dns_a, isp_dep, etc but I'm afraid I must be missing some of the records that should be inserted.

I see that there are a lot of library functions available in scripts/lib/classes, but I am not quite clear on what I need to be calling. Can anyone here help me identify the PHP functions I need to call to:
* Add a client
* Add a domain under that client
* Add email addresses under that domain

If I can get this figured out and working cleanly, I hope to be able to release a Plesk migration utility.
Reply With Quote
Sponsored Links
Old 14th August 2007, 23:45
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts


the only working solution is to use the remoting interface. You can not call any of the functions in lib/classes externally without using the complete ISPConfig forms library. The remoting interface will work with your ISPConfig version too, you will just have to recompile the PHP that comes with ISPConfig to support XML.

Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote


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 13:19
Anything I can do against illegal login-requests? schmidtedv Installation/Configuration 17 7th November 2008 10:25
Automating user addition catdude Installation/Configuration 7 15th August 2007 10:39
Can't get fail2ban to work. boast Server Operation 2 26th June 2007 01:55
log files cruz Technical 3 15th May 2007 15:35

All times are GMT +2. The time now is 02:45.

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