Enterprise Security Enabled Login (PHP 3.3.14) [Released] [Resolved]

Server: aerospike-server-enterprise-3.5.8
Client: aerospike-client-php-3.3.13
AMC: aerospike-amc-enterprise-3.5.4
OS: CentOS release 6.6 (Final) x86_64

We are in the process of upgrading to Enterprise from Community. Without security enabled the system works fine.

I’ve added a user with read/write permissions and am able to login with the user through the aql command line.

I added the user/pass as defined in the documents ( I think ) https://github.com/aerospike/aerospike-client-php/blob/master/doc/aerospike_construct.md

protected $_aero_nodes = Array(

but received AEROSPIKE_NOT_AUTHENTICATED on put operations and ERR_RECORD_NOT_FOUND resolves to true on get operations.

I also tried a user in the superuser role and this fails with the same errors.

The client and server are running on the same physical box.

Hi. I just rolled out a new release (3.3.14) that should fix that issue. Can you try it?

WOW! yes, doing that now. will update thread after test

1 Like

Thanks, I appreciate someone verifying it :smile:

Appears to be working perfectly now. Very Nice!

I disabled persistent connection and it connects with the correct credentials and fails to connect with bad credentials.

verification data:

[blanked modules]# pwd
[blanked modules]# cat ../../../VERSION 
[blanked modules]# md5sum aerospike.so 
18645c438502bf471c2f903f27e5d24b  aerospike.so
[blanked modules]# md5sum /usr/lib64/php/modules/aerospike.so 
18645c438502bf471c2f903f27e5d24b  /usr/lib64/php/modules/aerospike.so

Thanks for the feedback!