[pmwiki-users] Fwd: using rsync for wiki sync

Patrick R. Michaud pmichaud at pobox.com
Tue Mar 27 07:11:53 CDT 2012


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:
> 
>    /var/www/farm/var/
>        tamwiki/
>        tamwikistage/
> 
> 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?
  (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.

Pm




More information about the pmwiki-users mailing list