svc: use authuser for RealmInfo request
commitadfb559bfe78611c691854f374be3ec03fb757c3
authorStefan Becker <chemobejk@gmail.com>
Fri, 5 Dec 2014 20:39:15 +0000 (5 22:39 +0200)
committerStefan Becker <chemobejk@gmail.com>
Mon, 29 Dec 2014 18:29:59 +0000 (29 20:29 +0200)
tree848fea53138ca1d0b7c1800ee1325202ffa36d34
parent076298d9cda73426c2a9543d0db09bb608f000eb
svc: use authuser for RealmInfo 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.

(cherry picked from commit 0000548b61f7f91aa188f8d2945ca5bc3df96335)
src/core/sipe-svc.c