svc: use authuser for RealInfo request
commit0000548b61f7f91aa188f8d2945ca5bc3df96335
authorStefan Becker <chemobejk@gmail.com>
Fri, 5 Dec 2014 20:39:15 +0000 (5 22:39 +0200)
committerStefan Becker <chemobejk@gmail.com>
Fri, 5 Dec 2014 20:54:51 +0000 (5 22:54 +0200)
tree8325e95d1a91ca0cb4600dee9cedd7f62aae8184
parent92d4ab86e5db37edbd6747625657ee339d193891
svc: use authuser for RealInfo request

A user reported in this forum entry

  https://sourceforge.net/p/sipe/discussion/688534/thread/e7d7035e/#d3b1

that he gets a different response to the RealmInfo request if it uses
username or authuser. Only the latter response allows him to login
successfully.

Use authuser for the RealmInfo request, but only if it looks like
"user@domain". I.e. authuser will not be used if the user has specified
DOMAIN\account as login name.
src/core/sipe-svc.c