Hallöchen!
"Charles Corrigan" <charles@xxxxxxxxxxxx> writes:
>> From: Torsten Bronger [mailto:bronger@xxxxxxxxxxxxxxxxxxxxx]
>> Sent: 24 April 2005 19:43
>> To: phpwiki-talk@xxxxxxxxxxxxxxxxxxxxx
>> Subject: [Phpwiki-talk] phpwiki-1.3.11_rc3: Login problems
>>
>> For the editorial collaborative work on a student newspaper, we need
>> a Wiki with some sort authentication, i.e., nobody outside should be
>> able to read the draft versions. If this is impossible to achieve,
>> at least only authorised people must be able to do any changes.
>>
>> Is this possible with phpWiki?
>
> Yes. Have a look at the file doc/README.security - with a small
> amount of change, it should be possible to do what you want.
Thank you, I managed to customise it to what I wanted. I create new
users manually directly in the mySQL database. Later, the user sets
his password. (Passwords are encrypted so that I don't see them
accidentally, but I recommend my users not to use valuable
passwords.) Is this a good approach?
>> [...]
>>
>> No I fiddle around with 1.3.11 RC3. While there is a login and
>> password facility, I'm unable to login. It always says "Password
>> invalid", no matter which login name I try. What's goind wrong?
>
> Did you create an admin user id and password in the config.ini?
Yes, this was not the problem.
The breakthrough was getting rid of the table prefix. Some parts of
phpWiki wanted to have a table "user", others "PREFIX_user". The
only solution was deleting it. Then, two fields in table "user"
were commented out in mysql-initialize.sql (e.g. "groupname"), but I
needed them for the Db authentication method.
Moreover, USER_AUTH_METHOD must have been "first-only", because
"strict" yielded
Fatal error: Call to a member function on a non-object in
/export/websites/9/1/sb003732/wiki/lib/WikiUser/PearDb.php on
line 173
when I tried to log in as an unauthorised user.
By the way, what does "Overlage Session data" mean?
Tschö,
Torsten.
--
Torsten Bronger, aquisgrana, europa vetus
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
|