SOAP data not well formatted
@jcrogez has found that SOAP data are not well formated when trying to debug the session activity issue (#845 (closed)).
Indeed, a simple test with lemonldap-ng-portal/example/soaptest.pl and this configuration in lemonldap-ng.ini :
; SOAP FUNCTIONS
; Remove comment to activate SOAP Functions getCookies(user,pwd) and
; error(language, code)
Soap = 1
; Note that getAttibutes() will be activated but on a different URI
; (http://auth.example.com/index.pl/sessions)
; You can also restrict attributes and macros exported by getAttributes
exportedAttr = uid mail _session_id _utime loginHistory
{code}
give the following result:
{code:perl}
$VAR1 = {
'attributes' => {
'uid' => 'dwho',
'_session_id' => 'f054c21df2de611716da17b7b984c2b2',
'mail' => 'dwho@badwolf.org',
'_utime' => '1442997183',
'loginHistory' => {
'successLogin' => {
's-gensym20' => {
'_utime' => '1442915191',
'ipAddr' => '127.0.0.1'
},
's-gensym16' => {
'ipAddr' => '127.0.0.1',
'_utime' => '1442936081'
},
's-gensym12' => {
'ipAddr' => '127.0.0.1',
'_utime' => '1442997183'
},
's-gensym14' => {
'_utime' => '1442992872',
'ipAddr' => '127.0.0.1'
},
's-gensym18' => {
'_utime' => '1442934145',
'ipAddr' => '127.0.0.1'
}
}
}
},
'error' => '0'
};