On Tue, Mar 27, 2012 at 7:11 AM, Patrick R. Michaud <[email protected]> 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 <[email protected]> >> 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?
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. _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
