On Tue, Sep 11, 2012 at 5:43 PM, Richard Hipp <d...@sqlite.org> wrote:
>
>
> On Tue, Sep 11, 2012 at 7:25 PM, Clive Hayward <haywa...@chayward.com>
> wrote:
>>
>> With fossil version 1.23 [957b17af58], I am serving multiple
>> repositories using the directory-of-repository feature outlined by drh
>> in
>> http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg01486.html
>>
>> I wish to create new repositories using the same usernames, passwords
>> and permissions as a master repository.  I can create a new repository
>> and have web access with the same repository by turning on the
>> group-login feature but this doesn't add the users so they cannot
>> clone a repository.
>>
>> If I export then import the users configuration from the master
>> repository to the new repository.  The users exist but the passwords
>> need to be updated via the web-interface before they can clone the
>> repository.
>
>
> If you export/import the users, then set group-login, you should be able to
> login to the new repo using the password on the old one.  Is that not
> working for you?

I am able to login in to the web site no problem.  But cannot clone
the repository.  Here is the result of a clone command on a new
repository with login group turned on and user configuration imported:

                Bytes      Cards  Artifacts     Deltas
Sent:              53          1          0          0
Received:         152          3          0          0
Sent:              68          2          0          0
Error: login failed
Received:          52          1          0          0
Sent:              43          0          0          0
Error: login failed
Received:          52          1          0          0
Total network traffic: 956 bytes sent, 991 bytes received
fossil: server returned an error - clone aborted

>
> Unfortunately, the password hash used by Fossil includes the project code,
> so different repositories have different hashes even if the actual password
> text is the same.  (This is a security feature.)
>
>>
>>
>> How can I copy the configuration users and passwords and membership in
>> group-login from an existing repository?
>>
>> Also, shouldn't the group-login information be part of the
>> configuration export or accessible from the settings on the command
>> line?
>
>
> I don't think group-login should be part of configuration export/import.
> Configuration export/import is used to move configurations from one
> installation to another.  But at each installation, you (or at least I)
> typically have a different set of repos and so the group-login information
> no longer makes sense.
>
>>
>>
>> Regards,
>>
>> Clive Hayward
>> _______________________________________________
>> fossil-users mailing list
>> fossil-users@lists.fossil-scm.org
>> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
>
>
>
> --
> D. Richard Hipp
> d...@sqlite.org

Thanks
-- 
Clive Hayward
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to