Re: [fossil-users] Building a new repository with the same users and passwords as an existing repository.

2012-09-25 Thread Clive Hayward
Is there a way to turn on group login from the command line?

Thanks
   Clive


On Tue, Sep 11, 2012 at 6:05 PM, Clive Hayward  wrote:
> On Tue, Sep 11, 2012 at 5:43 PM, Richard Hipp  wrote:
>>
>>
>> On Tue, Sep 11, 2012 at 7:25 PM, Clive Hayward 
>> 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



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


Re: [fossil-users] Building a new repository with the same users and passwords as an existing repository.

2012-09-11 Thread Clive Hayward
On Tue, Sep 11, 2012 at 5:43 PM, Richard Hipp  wrote:
>
>
> On Tue, Sep 11, 2012 at 7:25 PM, Clive Hayward 
> 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


Re: [fossil-users] Building a new repository with the same users and passwords as an existing repository.

2012-09-11 Thread Richard Hipp
On Tue, Sep 11, 2012 at 7:25 PM, Clive Hayward 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?

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
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Building a new repository with the same users and passwords as an existing repository.

2012-09-11 Thread Clive Hayward
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.

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?

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