[xwiki-users] Restrict sub wikis with respect to LDAP Groups
Currenlty we have a main wiki that integrated with LDAP having many groups. We also have many sub wikis and we need to access these from certain ldap groups only. For this we done the following: - Modified xwiki.users.initialGroups= to empty and deleted XWikiAllGroup from all wikis. - In main wiki created groups with same name as LDAP groups(for eg: OperationsInfrastructure). Mapped groups in xwiki.authentication.ldap.group_mapping. - Now in respective sub wiki in rights for groups took scope as global and for the respective group we assigned all permission. - We tried login to sub wikis and the result are as follows: 1. For some wiki its works fine. In which user is added to respective group. 2. For remaining wikis its not working properly. We are getting an error as "You are not allowed to view this document or perform this action." While checking in these sub wikis user is gets created but its not in any group. Thats why it doesn't have any permission. Please let us whats the issue is and the procedure done from my side is correct or not. Also please let us know whats the best method to restrict wiki(Also spaces) with respect to LDAP groups. Can anyone please help us on it. Thanks Geo* *
Hello People, I have a problem with the feature "export pdf". The images of my documents aren't being shown, but just the attached images, the external images are ok. I have looked in the logs and I discovered that when the pdf export feature try to catch the image, it receive the HTTP error 401, in other words, it can't access the image because it is not logged in wiki. I am using the LDAP authentication... Anyone has faced this problem? Thank you. Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI Minas Gerais (0xx32) 9111-6867
Follow the error: [http://mginfrawebp3.energisa.corp/xwiki/bin/export/Sandbox/QWERTY+PDF] ERROR FOP - Error with opening URL 'http://mginfrawebp3.energisa.corp/xwiki/bin/download/Sandbox/QWERTY+PDF/Dese...': Server returned HTTP response code: 401 for URL: http://mginfrawebp3.energisa.corp/xwiki/bin/login/XWiki/XWikiLogin;jsessioni... Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI Minas Gerais (0xx32) 9111-6867 -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Danilo Amaral de Oliveira Enviada em: quarta-feira, 10 de julho de 2013 11:23 Para: 'XWiki Users' Assunto: [xwiki-users] Authentication Export Images incident Hello People, I have a problem with the feature "export pdf". The images of my documents aren't being shown, but just the attached images, the external images are ok. I have looked in the logs and I discovered that when the pdf export feature try to catch the image, it receive the HTTP error 401, in other words, it can't access the image because it is not logged in wiki. I am using the LDAP authentication... Anyone has faced this problem? Thank you. Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI Minas Gerais (0xx32) 9111-6867 _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi, On Jul 10, 2013, at 4:23 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Follow the error:
[http://mginfrawebp3.energisa.corp/xwiki/bin/export/Sandbox/QWERTY+PDF] ERROR FOP - Error with opening URL 'http://mginfrawebp3.energisa.corp/xwiki/bin/download/Sandbox/QWERTY+PDF/Dese...': Server returned HTTP response code: 401 for URL: http://mginfrawebp3.energisa.corp/xwiki/bin/login/XWiki/XWikiLogin;jsessioni...
Does the image exist at the mentioned location: http://mginfrawebp3.energisa.corp/xwiki/bin/download/Sandbox/QWERTY+PDF/Dese... ? Could you show us the wiki syntax for the image inclusion? Also I've just tried to export http://playground.xwiki.org/xwiki/bin/view/Sandbox/WebHome in PDF and it worked fine. Thanks -Vincent
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Danilo Amaral de Oliveira Enviada em: quarta-feira, 10 de julho de 2013 11:23 Para: 'XWiki Users' Assunto: [xwiki-users] Authentication Export Images incident
Hello People,
I have a problem with the feature "export pdf". The images of my documents aren't being shown, but just the attached images, the external images are ok. I have looked in the logs and I discovered that when the pdf export feature try to catch the image, it receive the HTTP error 401, in other words, it can't access the image because it is not logged in wiki. I am using the LDAP authentication... Anyone has faced this problem?
Thank you.
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hello Vincent, Yes, the image exist and the wiki syntax is: [[image:Desert.jpg]] But I have discovered what caused this. In my "Right" Wiki options I had set the option " Prevent unregistered users from viewing pages, regardless of the page or space rights". When I take off this options the image export feature works fine... Would it be qualified as a bug? Thank you Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI Minas Gerais (0xx32) 9111-6867 -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Vincent Massol Enviada em: quarta-feira, 10 de julho de 2013 11:32 Para: XWiki Users Assunto: Re: [xwiki-users] RES: Authentication Export Images incident Hi, On Jul 10, 2013, at 4:23 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Follow the error:
[http://mginfrawebp3.energisa.corp/xwiki/bin/export/Sandbox/QWERTY+PDF] ERROR FOP - Error with opening URL 'http://mginfrawebp3.energisa.corp/xwiki/bin/download/Sandbox/QWERTY+PDF/Dese...': Server returned HTTP response code: 401 for URL: http://mginfrawebp3.energisa.corp/xwiki/bin/login/XWiki/XWikiLogin;jsessioni...
Does the image exist at the mentioned location: http://mginfrawebp3.energisa.corp/xwiki/bin/download/Sandbox/QWERTY+PDF/Dese... ? Could you show us the wiki syntax for the image inclusion? Also I've just tried to export http://playground.xwiki.org/xwiki/bin/view/Sandbox/WebHome in PDF and it worked fine. Thanks -Vincent
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Danilo Amaral de Oliveira Enviada em: quarta-feira, 10 de julho de 2013 11:23 Para: 'XWiki Users' Assunto: [xwiki-users] Authentication Export Images incident
Hello People,
I have a problem with the feature "export pdf". The images of my documents aren't being shown, but just the attached images, the external images are ok. I have looked in the logs and I discovered that when the pdf export feature try to catch the image, it receive the HTTP error 401, in other words, it can't access the image because it is not logged in wiki. I am using the LDAP authentication... Anyone has faced this problem?
Thank you.
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Are you images in the Database or in the File System. I have the same issue, I was told it was because my files are no inside the database that the PDF Export will never work. -- Mark Gardner KC Research Automation [email protected] (816) 881-2957 On 7/10/13 9:22 AM, "Danilo Amaral de Oliveira" <[email protected]> wrote:
Hello People,
I have a problem with the feature "export pdf". The images of my documents aren't being shown, but just the attached images, the external images are ok. I have looked in the logs and I discovered that when the pdf export feature try to catch the image, it receive the HTTP error 401, in other words, it can't access the image because it is not logged in wiki. I am using the LDAP authentication... Anyone has faced this problem?
Thank you.
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi, On Jul 10, 2013, at 4:44 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Hello Vincent,
Yes, the image exist and the wiki syntax is:
[[image:Desert.jpg]]
But I have discovered what caused this. In my "Right" Wiki options I had set the option " Prevent unregistered users from viewing pages, regardless of the page or space rights". When I take off this options the image export feature works fine... Would it be qualified as a bug?
Good catch! Hmm what version of XWiki are you using? AFAIR I've fixed this in 5.0 or 5.1. Thanks -Vincent
Thank you
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Vincent Massol Enviada em: quarta-feira, 10 de julho de 2013 11:32 Para: XWiki Users Assunto: Re: [xwiki-users] RES: Authentication Export Images incident
Hi,
On Jul 10, 2013, at 4:23 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Follow the error:
[http://mginfrawebp3.energisa.corp/xwiki/bin/export/Sandbox/QWERTY+PDF] ERROR FOP - Error with opening URL 'http://mginfrawebp3.energisa.corp/xwiki/bin/download/Sandbox/QWERTY+PDF/Dese...': Server returned HTTP response code: 401 for URL: http://mginfrawebp3.energisa.corp/xwiki/bin/login/XWiki/XWikiLogin;jsessioni...
Does the image exist at the mentioned location: http://mginfrawebp3.energisa.corp/xwiki/bin/download/Sandbox/QWERTY+PDF/Dese...
?
Could you show us the wiki syntax for the image inclusion?
Also I've just tried to export http://playground.xwiki.org/xwiki/bin/view/Sandbox/WebHome in PDF and it worked fine.
Thanks -Vincent
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Danilo Amaral de Oliveira Enviada em: quarta-feira, 10 de julho de 2013 11:23 Para: 'XWiki Users' Assunto: [xwiki-users] Authentication Export Images incident
Hello People,
I have a problem with the feature "export pdf". The images of my documents aren't being shown, but just the attached images, the external images are ok. I have looked in the logs and I discovered that when the pdf export feature try to catch the image, it receive the HTTP error 401, in other words, it can't access the image because it is not logged in wiki. I am using the LDAP authentication... Anyone has faced this problem?
Thank you.
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
On 7/10/13 9:58 AM, "Vincent Massol" <[email protected]> wrote:
Hi,
On Jul 10, 2013, at 4:44 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Hello Vincent,
Yes, the image exist and the wiki syntax is:
[[image:Desert.jpg]]
But I have discovered what caused this. In my "Right" Wiki options I had set the option " Prevent unregistered users from viewing pages, regardless of the page or space rights". When I take off this options the image export feature works fine... Would it be qualified as a bug?
Good catch!
Hmm what version of XWiki are you using? AFAIR I've fixed this in 5.0 or 5.1.
I have this issue with 5.0.3
Well, Vicent I noticed this problem some weeks ago. I was waiting the 5.1 version to verify if this problem was being fixed. I installed the 5.1 this morning and the problem continued then I started to track the bug heheeh Then I am using 5.1, but the problem continue. Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI Minas Gerais (0xx32) 9111-6867 -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Vincent Massol Enviada em: quarta-feira, 10 de julho de 2013 11:59 Para: XWiki Users Assunto: Re: [xwiki-users] RES: RES: Authentication Export Images incident Hi, On Jul 10, 2013, at 4:44 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Hello Vincent,
Yes, the image exist and the wiki syntax is:
[[image:Desert.jpg]]
But I have discovered what caused this. In my "Right" Wiki options I had set the option " Prevent unregistered users from viewing pages, regardless of the page or space rights". When I take off this options the image export feature works fine... Would it be qualified as a bug?
Good catch! Hmm what version of XWiki are you using? AFAIR I've fixed this in 5.0 or 5.1. Thanks -Vincent
Thank you
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Vincent Massol Enviada em: quarta-feira, 10 de julho de 2013 11:32 Para: XWiki Users Assunto: Re: [xwiki-users] RES: Authentication Export Images incident
Hi,
On Jul 10, 2013, at 4:23 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Follow the error:
[http://mginfrawebp3.energisa.corp/xwiki/bin/export/Sandbox/QWERTY+PDF] ERROR FOP - Error with opening URL 'http://mginfrawebp3.energisa.corp/xwiki/bin/download/Sandbox/QWERTY+PDF/Dese...': Server returned HTTP response code: 401 for URL: http://mginfrawebp3.energisa.corp/xwiki/bin/login/XWiki/XWikiLogin;jsessioni...
Does the image exist at the mentioned location: http://mginfrawebp3.energisa.corp/xwiki/bin/download/Sandbox/QWERTY+PD F/Desert.jpg
?
Could you show us the wiki syntax for the image inclusion?
Also I've just tried to export http://playground.xwiki.org/xwiki/bin/view/Sandbox/WebHome in PDF and it worked fine.
Thanks -Vincent
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Danilo Amaral de Oliveira Enviada em: quarta-feira, 10 de julho de 2013 11:23 Para: 'XWiki Users' Assunto: [xwiki-users] Authentication Export Images incident
Hello People,
I have a problem with the feature "export pdf". The images of my documents aren't being shown, but just the attached images, the external images are ok. I have looked in the logs and I discovered that when the pdf export feature try to catch the image, it receive the HTTP error 401, in other words, it can't access the image because it is not logged in wiki. I am using the LDAP authentication... Anyone has faced this problem?
Thank you.
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Does anyone knows why user is gets created with our any group. ? ---------- Forwarded message ---------- From: Geo P.C. <[email protected]> Date: Wed, Jul 10, 2013 at 7:34 PM Subject: Restrict sub wikis with respect to LDAP Groups To: XWiki Users <[email protected]> Currenlty we have a main wiki that integrated with LDAP having many groups. We also have many sub wikis and we need to access these from certain ldap groups only. For this we done the following: - Modified xwiki.users.initialGroups= to empty and deleted XWikiAllGroup from all wikis. - In main wiki created groups with same name as LDAP groups(for eg: OperationsInfrastructure). Mapped groups in xwiki.authentication.ldap.group_mapping. - Now in respective sub wiki in rights for groups took scope as global and for the respective group we assigned all permission. - We tried login to sub wikis and the result are as follows: 1. For some wiki its works fine. In which user is added to respective group. 2. For remaining wikis its not working properly. We are getting an error as "You are not allowed to view this document or perform this action." While checking in these sub wikis user is gets created but its not in any group. Thats why it doesn't have any permission. Please let us whats the issue is and the procedure done from my side is correct or not. Also please let us know whats the best method to restrict wiki(Also spaces) with respect to LDAP groups. Can anyone please help us on it. Thanks Geo* *
Does anyone knows why user is gets created with out any group. ? ---------- Forwarded message ---------- From: Geo P.C. <[email protected]> Date: Thu, Jul 11, 2013 at 9:35 AM Subject: Fwd: Restrict sub wikis with respect to LDAP Groups To: XWiki Users <[email protected]> Does anyone knows why user is gets created with our any group. ? ---------- Forwarded message ---------- From: Geo P.C. <[email protected]> Date: Wed, Jul 10, 2013 at 7:34 PM Subject: Restrict sub wikis with respect to LDAP Groups To: XWiki Users <[email protected]> Currenlty we have a main wiki that integrated with LDAP having many groups. We also have many sub wikis and we need to access these from certain ldap groups only. For this we done the following: - Modified xwiki.users.initialGroups= to empty and deleted XWikiAllGroup from all wikis. - In main wiki created groups with same name as LDAP groups(for eg: OperationsInfrastructure). Mapped groups in xwiki.authentication.ldap.group_mapping. - Now in respective sub wiki in rights for groups took scope as global and for the respective group we assigned all permission. - We tried login to sub wikis and the result are as follows: 1. For some wiki its works fine. In which user is added to respective group. 2. For remaining wikis its not working properly. We are getting an error as "You are not allowed to view this document or perform this action." While checking in these sub wikis user is gets created but its not in any group. Thats why it doesn't have any permission. Please let us whats the issue is and the procedure done from my side is correct or not. Also please let us know whats the best method to restrict wiki(Also spaces) with respect to LDAP groups. Can anyone please help us on it. Thanks Geo* *
Hi, On Jul 10, 2013, at 5:02 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Well, Vicent I noticed this problem some weeks ago. I was waiting the 5.1 version to verify if this problem was being fixed. I installed the 5.1 this morning and the problem continued then I started to track the bug heheeh
Then I am using 5.1, but the problem continue.
Then I suggest creating a jira issue (if you haven't already done so). Thanks -Vincent
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Vincent Massol Enviada em: quarta-feira, 10 de julho de 2013 11:59 Para: XWiki Users Assunto: Re: [xwiki-users] RES: RES: Authentication Export Images incident
Hi,
On Jul 10, 2013, at 4:44 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Hello Vincent,
Yes, the image exist and the wiki syntax is:
[[image:Desert.jpg]]
But I have discovered what caused this. In my "Right" Wiki options I had set the option " Prevent unregistered users from viewing pages, regardless of the page or space rights". When I take off this options the image export feature works fine... Would it be qualified as a bug?
Good catch!
Hmm what version of XWiki are you using? AFAIR I've fixed this in 5.0 or 5.1.
Thanks -Vincent
Thank you
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Vincent Massol Enviada em: quarta-feira, 10 de julho de 2013 11:32 Para: XWiki Users Assunto: Re: [xwiki-users] RES: Authentication Export Images incident
Hi,
On Jul 10, 2013, at 4:23 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Follow the error:
[http://mginfrawebp3.energisa.corp/xwiki/bin/export/Sandbox/QWERTY+PDF] ERROR FOP - Error with opening URL 'http://mginfrawebp3.energisa.corp/xwiki/bin/download/Sandbox/QWERTY+PDF/Dese...': Server returned HTTP response code: 401 for URL: http://mginfrawebp3.energisa.corp/xwiki/bin/login/XWiki/XWikiLogin;jsessioni...
Does the image exist at the mentioned location: http://mginfrawebp3.energisa.corp/xwiki/bin/download/Sandbox/QWERTY+PD F/Desert.jpg
?
Could you show us the wiki syntax for the image inclusion?
Also I've just tried to export http://playground.xwiki.org/xwiki/bin/view/Sandbox/WebHome in PDF and it worked fine.
Thanks -Vincent
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Danilo Amaral de Oliveira Enviada em: quarta-feira, 10 de julho de 2013 11:23 Para: 'XWiki Users' Assunto: [xwiki-users] Authentication Export Images incident
Hello People,
I have a problem with the feature "export pdf". The images of my documents aren't being shown, but just the attached images, the external images are ok. I have looked in the logs and I discovered that when the pdf export feature try to catch the image, it receive the HTTP error 401, in other words, it can't access the image because it is not logged in wiki. I am using the LDAP authentication... Anyone has faced this problem?
Thank you.
Danilo Amaral de Oliveira Engenheiro Trainee Gerência Corporativa de Infraestrutura de TI
participants (4)
-
Danilo Amaral de Oliveira -
Gardner, Mark -
Geo P.C. -
Vincent Massol