So, got some time into things, it seems to me, that the fossil config
import command does not work properly.

My Testcase:
beowulf@PowerWolf:~$ fossil init repoA.fossil
project-id: c3c22922a11b4a6536af4c2506369f3926ae1d1f
server-id:  b7e6a9010387a9ea7d163c9f40c8a274192a9989
admin-user: user (initial password is "c4f619")
beowulf@PowerWolf:~$ fossil init repoB.fossil
project-id: 712a2638f821ca4b07add87a6c973fdca91be6ef
server-id:  d0edb779825b1a1ec11d35487e88e0b548d4ef20
admin-user: user (initial password is "382604")
beowulf@PowerWolf:~$ fossil config export user user.conf -R repoA.fossil
beowulf@PowerWolf:~$ fossil config import user.conf -R repoB.fossil
beowulf@PowerWolf:~$ fossil server -P 8090 .

Login to repoA via http://localhost:8090/repoA with (user/c4f619) works.
Login to repoB via http://localhost:8090/repoB with (user/c4f619) does not
work.

Hope this helps, fossil version is the same as on my NAS, it is the 1.30
stable for linux binary.

Regars,

Oliver

Oliver Friedrich <redtalonof+mailingl...@gmail.com> schrieb am Tue Feb 24
2015 at 07:26:33:

> > Now    my   problem    is,   if    I   connect    to   a    repo   via
>> > http://my.dyn.dns:8080/myrepo I am  able to log in as userA.  But if I
>> > do a logout, and  try to log in as userB, it  always refuses the logon
>> > and claims that the password is wrong. Trying to log in as userA again
>> > works.
>>
>> Reading this, I made a mistake. It is not that logon on the same repo
> does not work, but logon to another repo hostet by the same fossil server
> instance will deny my credentials, although all repos do share the same
> user settings. (tested with config export and diff)
>
>
>> What is  meant by  ``connect to a  repo'' in this  context? Do  you mean
>> point your browser to that URL, or do you mean you change the remote-url
>> for a fossil clone?
>>
>
> Yes, i meant an connect via http, logon on the webpage of the repository.
>
>>
>> > Can  anybody experience  anything like  that, or  explain to  me, that
>> > fossil server is not able to handle different users?
>>
>> Are you  running ``fossil  server /some/path'' as  root, or  just normal
>> user? Or some other invocation? What version of fossil on the server?
>>
>
> I run fossil server -P 8080 /some/path on my nas. This is done as root
> (cause nothing else is possible there).
>
> NAS> fossil version
> This is fossil version 1.30 [1df1b41c86] 2015-01-19 11:29:00 UTC
>
> This fossil is self compiled from the stable sources of 1.30.
>
> Thank you for your time and help.
>
_______________________________________________
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