[pmwiki-users] Fwd: using rsync for wiki sync
tamouse mailing lists
tamouse.lists at gmail.com
Wed Mar 28 20:39:06 CDT 2012
On Tue, Mar 27, 2012 at 7:11 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Tue, Mar 27, 2012 at 01:47:49AM -0500, tamouse mailing lists wrote:
>> On Mon, Mar 26, 2012 at 11:05 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>> > Encryptions in SiteAdmin.AuthUser should also translate across
>> > installations, as long as both installations support the same
>> > types of encryption. In other words, there's nothing site-specific
>> > about the encryption -- it simply uses PHP's crypt() function.
>> Well, this is interesting. I have two identical installations on my
>> box, one for staging, one for production, synchronized via git. If I
>> set the password in staging, push to a .git repository, then update
>> the production wiki by pulling from the same repository, the passwords
>> do not work. The same thing happens going the other way. These are
>> side-by-side in the same directory under the farm:
>> so, what am i doing wrong?
> I don't know -- perhaps something else is going on here.
> (1) What are the versions of PHP on each box?
Only one box here. 5.2.13
> (2) What are the first few characters of encrypted passwords on
> each box? Common ones would be things like "$1$..." or
> "$2$...", but other options are possible too.
var/tamwiki/wiki.d/SiteAdmin.AuthUser: tamara: $1$2b...
var/tamwikistage/wiki.d/SiteAdmin.AuthUser: tamara: $1$2b...
Identical, yet one works and the other doesn't.
A diff(1) shows the files are identical.
More information about the pmwiki-users