View Single Post
  #3  
Old 17th January 2013, 13:27
Croydon Croydon is offline
ISPConfig Developer
 
Join Date: Jul 2007
Location: Koblenz, Germany
Posts: 931
Thanks: 16
Thanked 261 Times in 208 Posts
Default

Starting with 3.0.5 you can pass encrypted passwords, too.
You have to set an additional parameter then:

$record_record = $client->client_get($session_id, $record['client_id']);
$record_record['limit_web_quota'] = 10;
$record_record['password'] = '$1$xxxxxxxxxxxxx'; // encrypted password
$record_record['_ispconfig_pw_crypted'] = 1; // tell the api that you send encrypted pw

$client->client_update($session_id, $record['client_id'], 0, $record_record);
__________________
Marius Cramer

pixcept KG
Reply With Quote