>
> hi all
>
> im trying to set up weave server under existing apache configuration,
> no separate virthost. weaveserver lives under existing LDAP auth area
> defined in apache, so it would seem i should use
> WEAVE_AUTH_ENGINE=none, since i dont want weaveserver to do auth,
> correct?
>
Correct.
> weave sync addon fails to connect though with invalid password or
> username. apache log shows only the following:
>
> 192.168.1.104 - leho [06/Nov/2009:10:16:53 +0200] "GET /weaveserver/
> user/1/leho/node/weave HTTP/1.1" 401 1 "-" "Mozilla/5.0 (Macintosh; U;
> Intel Mac OS X 10.5; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4"
>
With only 1 byte being returned, that strongly suggests that the
username in the path is not matching the username in the basic-auth.
The log says that it starts correct, but I'm wondering if the LDAP
auth area is doing something wacky. Even though you aren't
authenticating on it, it still needs to match.
The check for this is done at line 128 of the 0.5/index.php file. Try
sticking "error_log('auth' . $auth_user . ' path: ' . $username);"
right before that, and see if they match
Regards,
Toby Elliott
Mozilla