|
Hya, In the process of trying to solve the issue with Shibboleth authentication in Owncloud 6 with app user_servervars, I tried to debug some of the OC_* methods called by the app. I put this lines inside the code: OC_Log::write('servervars', \OCP\User::getUsers("", 10, 0), OC_Log::DEBUG); OC_Log::write('servervars', OC_User::userExists("[email protected]"), OC_Log::DEBUG); OC_Log::write('servervars', \OCP\User::userExists("[email protected]"), OC_Log::DEBUG); And after a successful authentication I see the following in the logs: {"app":"servervars","message":["safonso"],"level":0,"time":"2013-12-16T17:40:30+00:00"} {"app":"servervars","message":"1","level":0,"time":"2013-12-16T17:40:30+00:00"} {"app":"servervars","message":"1","level":0,"time":"2013-12-16T17:40:30+00:00"} I am a little confused here.. If getUsers only tells me I have one user (safonso) which is true, then why the methods OC_User::userExists and \OCP\User::userExists called with the user "[email protected]" is telling me the user exists? Can anyone explain this behavior? Cheers, Sérgio On 12/13/2013 03:04 PM, Sérgio Afonso
wrote:
Hya *, --
|
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud


