You are not logged in.

Dear visitor, welcome to Palo Community Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

dr_dolphin

Trainee

  • "dr_dolphin" started this thread

Posts: 3

Date of registration: Nov 1st 2006

Location: Russia, Voronezh

  • Send private message

1

Thursday, November 9th 2006, 1:13pm

Palo 1.5 User Management facilities

Hello !

I working now on some user management Palo 1.5 interface implemented on PHP via PHP API (legacy). In my understanding i should use standard mechanisms to access to the SYSTEM database. I can successfully add users to the SYSTEM database (palo_eadd and palo_dataset) and remove users from SYSTEM database by palo_edelete. Algorithm looks like this:

//Adding user
$res = palo_eadd($conn,'SYSTEM','#_USER_','S','some1','',1.0,FALSE);
$u_p = array('some1','password');
$u_g = array('some1','poweruser');
$res = palo_dataset($conn,'SYSTEM','#_USER_USER_PROPERTIES', $u_p,'educator',FALSE);
$res = palo_dataset($conn,'SYSTEM','#_USER_GROUP', $u_g, '1' ,FALSE);

//Removing user
$res = palo_edelete($conn, 'SYSTEM','#_USER_','some1');

So, when i made these changes to the system database i get my SYSTEM database corrupted and Palo can not to start anymore (Linux platform and Windows as well). It seems like some issue for me, because i expecting that Palo support data integrity checks on operations like this.
By the way - as i can see user's passwords stored in plain text format in the database - security issue as well from my point of view.

If i do something wrong please help me get the point in SYSTEM database operations. Thank you very much.

Posts: 540

Date of registration: Oct 23rd 2006

Location: Freiburg

  • Send private message

2

Thursday, November 9th 2006, 3:32pm

RE: Palo 1.5 User Management facilities

Hi dr_dolphin,

this problem will be fixed in the next release.

Regards,
Stephanie

Rate this thread