Re: [fossil-users] Single sign-on (Login Group) configuration?
On 10 Aug 2013 21:54:59 -0600 Andy Bradford amb-fos...@bradfords.org wrote: Hello, After having recently discovered the single sign-on functionality provided by the Login Groups configuration, I've started experimenting with it. I must be doing something wrong because it doesn't seem to work: I started a fossil server on port serving fossils out of /tmp. In /tmp I have 3 fossils (new.fossil,one.fossil,two.fossil). I added them all to the same Login Group and added a user to new.fossil named someone. Then I tried to clone two.clone: $ fossil clone http://someone@remote:/two twoclone.fossil Password for Fossil user someone: remember password (Y/n)? y Round-trips: 2 Artifacts sent: 0 received: 1 Error: login failed missing or incorrect password for user someone What have I missed? I googled and couldn't really find any documentation for how this is supposed to work, and I even grep'ed the www directory in the fossil repository to no avail (next step sources). Here's some data from the config table in the two.fossil DB: project-code|f2b6f81f58bff6b8e6b8be1a5c1a679d7402351b|1376190998 project-name|Two|1376191759 peer-repo-3aeaa6385a3e39cf|/tmp/new.fossil| peer-name-3aeaa6385a3e39cf|New| peer-name-7844a4a7c15dad42|One| peer-repo-7844a4a7c15dad42|/tmp/one.fossil| login-group-code|03c19721921c03aa| login-group-name|Team1| And new.fossil: project-code|3aeaa6385a3e39cf1f654e4ab54f3ecd36ed1e6b|1376152719 peer-repo-7844a4a7c15dad42|/tmp/one.fossil| peer-name-7844a4a7c15dad42|One| login-group-code|03c19721921c03aa| login-group-name|Team1| peer-name-f2b6f81f58bff6b8|Two|1376191901 peer-repo-f2b6f81f58bff6b8|/tmp/two.fossil|1376191901 Thanks, User information is not cloned. If you want clone it from original server to cloned one you must use : fossil configuration pull user --overwrite original_repo_url HTH --- --- Eduardo Morras emorr...@yahoo.es ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Single sign-on (Login Group) configuration?
Hello, After having recently discovered the single sign-on functionality provided by the Login Groups configuration, I've started experimenting with it. I must be doing something wrong because it doesn't seem to work: I started a fossil server on port serving fossils out of /tmp. In /tmp I have 3 fossils (new.fossil,one.fossil,two.fossil). I added them all to the same Login Group and added a user to new.fossil named someone. Then I tried to clone two.clone: $ fossil clone http://someone@remote:/two twoclone.fossil Password for Fossil user someone: remember password (Y/n)? y Round-trips: 2 Artifacts sent: 0 received: 1 Error: login failed missing or incorrect password for user someone What have I missed? I googled and couldn't really find any documentation for how this is supposed to work, and I even grep'ed the www directory in the fossil repository to no avail (next step sources). Here's some data from the config table in the two.fossil DB: project-code|f2b6f81f58bff6b8e6b8be1a5c1a679d7402351b|1376190998 project-name|Two|1376191759 peer-repo-3aeaa6385a3e39cf|/tmp/new.fossil| peer-name-3aeaa6385a3e39cf|New| peer-name-7844a4a7c15dad42|One| peer-repo-7844a4a7c15dad42|/tmp/one.fossil| login-group-code|03c19721921c03aa| login-group-name|Team1| And new.fossil: project-code|3aeaa6385a3e39cf1f654e4ab54f3ecd36ed1e6b|1376152719 peer-repo-7844a4a7c15dad42|/tmp/one.fossil| peer-name-7844a4a7c15dad42|One| login-group-code|03c19721921c03aa| login-group-name|Team1| peer-name-f2b6f81f58bff6b8|Two|1376191901 peer-repo-f2b6f81f58bff6b8|/tmp/two.fossil|1376191901 Thanks, Andy -- TAI64 timestamp: 400052070b35 ___ 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] Single sign-on (Login Group) configuration?
Thus said Andy Bradford on 10 Aug 2013 21:54:59 -0600: After having recently discovered the single sign-on functionality provided by the Login Groups configuration, I've started experimenting with it. I must be doing something wrong because it doesn't seem to work Ok, I found out under what circumstances it does work (looking to the code)... if I have multiple fossil servers running and they all are part of the same login group, and they all have a the same usernames, I can login to those web sites. It looks like perhaps this feature was not intended for command line clone/sync operations? Seems that all that is required is a cookie but I think that would mean some kind of preauth happens to the repo where I have a login before accessing any of the other repositories. That seems like a fairly large project. Andy -- TAI64 timestamp: 400052071626 ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users