View Single Post
Old 23rd May 2009, 06:00
patrick232 patrick232 is offline
Junior Member
Join Date: May 2009
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts


i did some investigation in the code, especially
* /usr/share/ispconfig/remoting_client/example.php
* /usr/share/ispconfig/interface/lib/classes/
* /usr/share/ispconfig/interface/web/login/index.php

at first i tried to alter example.php according to my needs (user, pwd, server-uri), but it didnt work. i got: "SOAP Error: The login failed. Username or password wrong."

so i took a look into and found something i dont understand. the script tries to find the user/pwd in the database-table "remote_user" - which is empty on my setup. after adding a dummy-user with md5(pwd) the example.php-script told me that logging in and logging out was successfully. so i consider the "soap-part" is working properly.

the next step ill do is, to make look for the user/pwd in the database-table "sys_user". when a user/pwd is found ill create a session just like its done in /web/login/index.php.

maybe im on the very wrong way, but I really dont have any clue whats that "remote_user"-table about - so any hint or some suggestions from the devs would be very nice

best regards
Reply With Quote