Re: [xwiki-users] XWKI and AD DS authentication trouble

2017-04-10 Thread Thomas Mortagne
No other way. If all in empty in the LDAP form that shoud be ok (at
least on this side).

On Mon, Apr 10, 2017 at 5:43 PM, Thomas Froehlich
 wrote:
>> Also make sure you did not set some LDAP properties with LDAP Application at
>> some point and forgot to reset them (yes even if you uninstalled the 
>> application).
>
> How else to reset them except to change the settings in the XWIKi 
> Administration at "Global Administration: LDAP"?
>
>
> -Ursprüngliche Nachricht-
> Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Thomas Mortagne
> Gesendet: Montag, 10. April 2017 15:51
> An: XWiki Users 
> Betreff: Re: [xwiki-users] XWKI and AD DS authentication trouble
>
> On Mon, Apr 10, 2017 at 3:10 PM, Thomas Froehlich 
>  wrote:
>> Hi Thomas Mortagne,
>>
>> ty for your response.
>>
>>>* a wrong password (make sure you don't have some white space before
>>>or after for example)
>>>* wrong server host/port which lead to an LDAP server but not the
>>>expected one
>>
>>
>> I checked all settings again: there are no white spaces. And the server ip 
>> and port are the right ones. Till now I found no solution for thisAD DS bind 
>>  problem.
>
> I was not talking about the setting, {0} means "use the password the user put 
> in the login form".
>
> Also make sure you did not set some LDAP properties with LDAP Application at 
> some point and forgot to reset them (yes even if you uninstalled the 
> application).
>
>>
>> What about the following log file DEBUG messages:
>>
>>> o.x.contrib.ldap.XWikiLDAPConfig -  ldap_group_classes: [groupofnames, 
>>> posixgroup, apple-group, groupofuniquenames, dynamicgroup,
>>>   groupwisedistributionlist, group, dynamicgroupaux]
>>> o.x.contrib.ldap.XWikiLDAPConfig - ldap_group_memberfields:
>>> [uniquemember, memberuid, member]
>>
>> I never configured group attributes / fields or such things. These messages 
>> are normal and not an indication of some missing configuration?
>
> Those are the default.
>
> Anyway it does not matter since the authenticator can not even bind to the 
> LDAP server.
>
>>
>> Kind regards
>> Thomas
>>
>>
>> -Ursprüngliche Nachricht-
>> Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Thomas
>> Mortagne
>> Gesendet: Freitag, 7. April 2017 13:35
>> An: XWiki Users 
>> Betreff: Re: [xwiki-users] XWKI and AD DS authentication trouble
>>
>> On Fri, Apr 7, 2017 at 12:33 PM, Thomas Froehlich 
>>  wrote:
>>> Hi @all
>>>
>>> I have some trouble to connect a new blank XWIKI installation to a MS AD DS 
>>> Server.
>>>
>>> This is my XWIKI installation:
>>>
>>> XWIKI Enterprise 9.2
>>> LDAP relecant Extensions:
>>> - LDAP Application 9.2.4
>>> - LDAP Class Libraries for Java (JLDAP) 4.3
>>> - LDAP API 9.2.4
>>> - LDAP Authenticator 9.2.4
>>>
>>> The only LDAP related settings in xwiki.cfg are:
>>> 
>>> xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
>>> xwiki.authentication.ldap.trylocal=1
>>>
>>> These are the most important AD DS connection settings done in the XWIKI 
>>> "LDAP Application" UI interface:
>>>Ldap login matching: CN={0},OU=Benutzer,OU=TTBV,DC=ttbv,DC=local
>>>Ldap password matching: {1}
>>>Restrict to group: CN=xwiki,OU=Gruppen,OU=TTBV,DC=ttbv,DC=local
>>>Ldap base DN: DC=ttbv,DC=local
>>>Ldap UID attribute name: CN
>>>
>>>
>>> Unfortunately, the bind to the AD DS server doesn't work. In the XWIKI log 
>>> file with LDAP logging set to "debug" I get the following exception:
>>>
>>> TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP
>>> authentication DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - The provided 
>>> user is null. We don't try to authenticate, it probably means the user is 
>>> in non logged mode.
>>> TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP
>>> authentication DEBUG o.x.contrib.ldap.XWikiLDAPConfig -
>>> remoteUserParser: null DEBUG o.x.contrib.ldap.XWikiLDAPConfig -
>>> ldap_group_classes: [groupofnames, posixgroup, apple-group,
>>> groupofuniquenames, dynamicgroup, groupwisedistributionlist, group,
>>> dynamicgroupaux] DEBUG o.x.contrib.ldap.XWikiLDAPConfig -
>>> ldap_group_memberfields: [uniquemember, memberuid, member] DEBUG
>>> o.x.c.ldap.XWikiLDAPConnection - Connection to LDAP server
>>> [xxx.xx.xxx.x:xxx] DEBUG o.x.c.ldap.XWikiLDAPConnection - Binding to
>>> LDAP server with credentials login=[CN=Thomas
>>> Froehlich,OU=Benutzer,OU=TTBV,DC=ttbv,DC=local]
>>> DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - Local LDAP authentication 
>>> failed.
>>> org.xwiki.contrib.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind 
>>> failed with LDAPException.
>>> at 
>>> org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:227)
>>> at 
>>> org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:155)
>>> at 
>>> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:518)
>>> at 
>>> org.xwiki.contrib.ldap.XWiki

Re: [xwiki-users] XWKI and AD DS authentication trouble

2017-04-10 Thread Thomas Froehlich
> Also make sure you did not set some LDAP properties with LDAP Application at 
> some point and forgot to reset them (yes even if you uninstalled the 
> application).

How else to reset them except to change the settings in the XWIKi 
Administration at "Global Administration: LDAP"?


-Ursprüngliche Nachricht-
Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Thomas Mortagne
Gesendet: Montag, 10. April 2017 15:51
An: XWiki Users 
Betreff: Re: [xwiki-users] XWKI and AD DS authentication trouble

On Mon, Apr 10, 2017 at 3:10 PM, Thomas Froehlich 
 wrote:
> Hi Thomas Mortagne,
>
> ty for your response.
>
>>* a wrong password (make sure you don't have some white space before 
>>or after for example)
>>* wrong server host/port which lead to an LDAP server but not the 
>>expected one
>
>
> I checked all settings again: there are no white spaces. And the server ip 
> and port are the right ones. Till now I found no solution for thisAD DS bind  
> problem.

I was not talking about the setting, {0} means "use the password the user put 
in the login form".

Also make sure you did not set some LDAP properties with LDAP Application at 
some point and forgot to reset them (yes even if you uninstalled the 
application).

>
> What about the following log file DEBUG messages:
>
>> o.x.contrib.ldap.XWikiLDAPConfig -  ldap_group_classes: [groupofnames, 
>> posixgroup, apple-group, groupofuniquenames, dynamicgroup,
>>   groupwisedistributionlist, group, dynamicgroupaux] 
>> o.x.contrib.ldap.XWikiLDAPConfig - ldap_group_memberfields: 
>> [uniquemember, memberuid, member]
>
> I never configured group attributes / fields or such things. These messages 
> are normal and not an indication of some missing configuration?

Those are the default.

Anyway it does not matter since the authenticator can not even bind to the LDAP 
server.

>
> Kind regards
> Thomas
>
>
> -Ursprüngliche Nachricht-
> Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Thomas 
> Mortagne
> Gesendet: Freitag, 7. April 2017 13:35
> An: XWiki Users 
> Betreff: Re: [xwiki-users] XWKI and AD DS authentication trouble
>
> On Fri, Apr 7, 2017 at 12:33 PM, Thomas Froehlich 
>  wrote:
>> Hi @all
>>
>> I have some trouble to connect a new blank XWIKI installation to a MS AD DS 
>> Server.
>>
>> This is my XWIKI installation:
>>
>> XWIKI Enterprise 9.2
>> LDAP relecant Extensions:
>> - LDAP Application 9.2.4
>> - LDAP Class Libraries for Java (JLDAP) 4.3
>> - LDAP API 9.2.4
>> - LDAP Authenticator 9.2.4
>>
>> The only LDAP related settings in xwiki.cfg are:
>> 
>> xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
>> xwiki.authentication.ldap.trylocal=1
>>
>> These are the most important AD DS connection settings done in the XWIKI 
>> "LDAP Application" UI interface:
>>Ldap login matching: CN={0},OU=Benutzer,OU=TTBV,DC=ttbv,DC=local
>>Ldap password matching: {1}
>>Restrict to group: CN=xwiki,OU=Gruppen,OU=TTBV,DC=ttbv,DC=local
>>Ldap base DN: DC=ttbv,DC=local
>>Ldap UID attribute name: CN
>>
>>
>> Unfortunately, the bind to the AD DS server doesn't work. In the XWIKI log 
>> file with LDAP logging set to "debug" I get the following exception:
>>
>> TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP 
>> authentication DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - The provided user 
>> is null. We don't try to authenticate, it probably means the user is in non 
>> logged mode.
>> TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP 
>> authentication DEBUG o.x.contrib.ldap.XWikiLDAPConfig -
>> remoteUserParser: null DEBUG o.x.contrib.ldap.XWikiLDAPConfig -
>> ldap_group_classes: [groupofnames, posixgroup, apple-group, 
>> groupofuniquenames, dynamicgroup, groupwisedistributionlist, group, 
>> dynamicgroupaux] DEBUG o.x.contrib.ldap.XWikiLDAPConfig -
>> ldap_group_memberfields: [uniquemember, memberuid, member] DEBUG 
>> o.x.c.ldap.XWikiLDAPConnection - Connection to LDAP server 
>> [xxx.xx.xxx.x:xxx] DEBUG o.x.c.ldap.XWikiLDAPConnection - Binding to 
>> LDAP server with credentials login=[CN=Thomas 
>> Froehlich,OU=Benutzer,OU=TTBV,DC=ttbv,DC=local]
>> DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
>> org.xwiki.contrib.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind 
>> failed with LDAPException.
>> at 
>> org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:227)
>> at 
>> org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:155)
>> at 
>> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:518)
>> at 
>> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:334)
>> at 
>> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:268)
>> at 
>> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenti

Re: [xwiki-users] XWKI and AD DS authentication trouble

2017-04-10 Thread Thomas Mortagne
On Mon, Apr 10, 2017 at 3:10 PM, Thomas Froehlich
 wrote:
> Hi Thomas Mortagne,
>
> ty for your response.
>
>>* a wrong password (make sure you don't have some white space before or after 
>>for example)
>>* wrong server host/port which lead to an LDAP server but not the expected one
>
>
> I checked all settings again: there are no white spaces. And the server ip 
> and port are the right ones. Till now I found no solution for thisAD DS bind  
> problem.

I was not talking about the setting, {0} means "use the password the
user put in the login form".

Also make sure you did not set some LDAP properties with LDAP
Application at some point and forgot to reset them (yes even if you
uninstalled the application).

>
> What about the following log file DEBUG messages:
>
>> o.x.contrib.ldap.XWikiLDAPConfig -  ldap_group_classes: [groupofnames, 
>> posixgroup, apple-group, groupofuniquenames, dynamicgroup,
>>   groupwisedistributionlist, group, dynamicgroupaux]
>> o.x.contrib.ldap.XWikiLDAPConfig - ldap_group_memberfields: [uniquemember, 
>> memberuid, member]
>
> I never configured group attributes / fields or such things. These messages 
> are normal and not an indication of some missing configuration?

Those are the default.

Anyway it does not matter since the authenticator can not even bind to
the LDAP server.

>
> Kind regards
> Thomas
>
>
> -Ursprüngliche Nachricht-
> Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Thomas Mortagne
> Gesendet: Freitag, 7. April 2017 13:35
> An: XWiki Users 
> Betreff: Re: [xwiki-users] XWKI and AD DS authentication trouble
>
> On Fri, Apr 7, 2017 at 12:33 PM, Thomas Froehlich 
>  wrote:
>> Hi @all
>>
>> I have some trouble to connect a new blank XWIKI installation to a MS AD DS 
>> Server.
>>
>> This is my XWIKI installation:
>>
>> XWIKI Enterprise 9.2
>> LDAP relecant Extensions:
>> - LDAP Application 9.2.4
>> - LDAP Class Libraries for Java (JLDAP) 4.3
>> - LDAP API 9.2.4
>> - LDAP Authenticator 9.2.4
>>
>> The only LDAP related settings in xwiki.cfg are:
>> 
>> xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
>> xwiki.authentication.ldap.trylocal=1
>>
>> These are the most important AD DS connection settings done in the XWIKI 
>> "LDAP Application" UI interface:
>>Ldap login matching: CN={0},OU=Benutzer,OU=TTBV,DC=ttbv,DC=local
>>Ldap password matching: {1}
>>Restrict to group: CN=xwiki,OU=Gruppen,OU=TTBV,DC=ttbv,DC=local
>>Ldap base DN: DC=ttbv,DC=local
>>Ldap UID attribute name: CN
>>
>>
>> Unfortunately, the bind to the AD DS server doesn't work. In the XWIKI log 
>> file with LDAP logging set to "debug" I get the following exception:
>>
>> TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP
>> authentication DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - The provided user 
>> is null. We don't try to authenticate, it probably means the user is in non 
>> logged mode.
>> TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP
>> authentication DEBUG o.x.contrib.ldap.XWikiLDAPConfig -
>> remoteUserParser: null DEBUG o.x.contrib.ldap.XWikiLDAPConfig -
>> ldap_group_classes: [groupofnames, posixgroup, apple-group,
>> groupofuniquenames, dynamicgroup, groupwisedistributionlist, group,
>> dynamicgroupaux] DEBUG o.x.contrib.ldap.XWikiLDAPConfig -
>> ldap_group_memberfields: [uniquemember, memberuid, member] DEBUG
>> o.x.c.ldap.XWikiLDAPConnection - Connection to LDAP server
>> [xxx.xx.xxx.x:xxx] DEBUG o.x.c.ldap.XWikiLDAPConnection - Binding to
>> LDAP server with credentials login=[CN=Thomas
>> Froehlich,OU=Benutzer,OU=TTBV,DC=ttbv,DC=local]
>> DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
>> org.xwiki.contrib.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind 
>> failed with LDAPException.
>> at 
>> org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:227)
>> at 
>> org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:155)
>> at 
>> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:518)
>> at 
>> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:334)
>> at 
>> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:268)
>> at 
>> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272)
>> at 
>> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192)
>> at 
>> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
>> at 
>> com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
>> at 
>> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.checkAuth(XWikiLDAPAuthServiceImpl.java:163)
>> at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3788)
>>
>> The same exc

Re: [xwiki-users] XWKI and AD DS authentication trouble

2017-04-10 Thread Thomas Froehlich
Hi Thomas Mortagne,

ty for your response.

>* a wrong password (make sure you don't have some white space before or after 
>for example)
>* wrong server host/port which lead to an LDAP server but not the expected one


I checked all settings again: there are no white spaces. And the server ip and 
port are the right ones. Till now I found no solution for thisAD DS bind  
problem.

What about the following log file DEBUG messages:

> o.x.contrib.ldap.XWikiLDAPConfig -  ldap_group_classes: [groupofnames, 
> posixgroup, apple-group, groupofuniquenames, dynamicgroup, 
>   groupwisedistributionlist, group, dynamicgroupaux] 
> o.x.contrib.ldap.XWikiLDAPConfig - ldap_group_memberfields: [uniquemember, 
> memberuid, member]

I never configured group attributes / fields or such things. These messages are 
normal and not an indication of some missing configuration?

Kind regards
Thomas


-Ursprüngliche Nachricht-
Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Thomas Mortagne
Gesendet: Freitag, 7. April 2017 13:35
An: XWiki Users 
Betreff: Re: [xwiki-users] XWKI and AD DS authentication trouble

On Fri, Apr 7, 2017 at 12:33 PM, Thomas Froehlich 
 wrote:
> Hi @all
>
> I have some trouble to connect a new blank XWIKI installation to a MS AD DS 
> Server.
>
> This is my XWIKI installation:
>
> XWIKI Enterprise 9.2
> LDAP relecant Extensions:
> - LDAP Application 9.2.4
> - LDAP Class Libraries for Java (JLDAP) 4.3
> - LDAP API 9.2.4
> - LDAP Authenticator 9.2.4
>
> The only LDAP related settings in xwiki.cfg are:
> 
> xwiki.authentication.authclass=org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl
> xwiki.authentication.ldap.trylocal=1
>
> These are the most important AD DS connection settings done in the XWIKI 
> "LDAP Application" UI interface:
>Ldap login matching: CN={0},OU=Benutzer,OU=TTBV,DC=ttbv,DC=local
>Ldap password matching: {1}
>Restrict to group: CN=xwiki,OU=Gruppen,OU=TTBV,DC=ttbv,DC=local
>Ldap base DN: DC=ttbv,DC=local
>Ldap UID attribute name: CN
>
>
> Unfortunately, the bind to the AD DS server doesn't work. In the XWIKI log 
> file with LDAP logging set to "debug" I get the following exception:
>
> TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP 
> authentication DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - The provided user 
> is null. We don't try to authenticate, it probably means the user is in non 
> logged mode.
> TRACE o.x.c.ldap.XWikiLDAPAuthServiceImpl - Starting LDAP 
> authentication DEBUG o.x.contrib.ldap.XWikiLDAPConfig - 
> remoteUserParser: null DEBUG o.x.contrib.ldap.XWikiLDAPConfig - 
> ldap_group_classes: [groupofnames, posixgroup, apple-group, 
> groupofuniquenames, dynamicgroup, groupwisedistributionlist, group, 
> dynamicgroupaux] DEBUG o.x.contrib.ldap.XWikiLDAPConfig - 
> ldap_group_memberfields: [uniquemember, memberuid, member] DEBUG 
> o.x.c.ldap.XWikiLDAPConnection - Connection to LDAP server 
> [xxx.xx.xxx.x:xxx] DEBUG o.x.c.ldap.XWikiLDAPConnection - Binding to 
> LDAP server with credentials login=[CN=Thomas 
> Froehlich,OU=Benutzer,OU=TTBV,DC=ttbv,DC=local]
> DEBUG o.x.c.ldap.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
> org.xwiki.contrib.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind 
> failed with LDAPException.
> at 
> org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:227)
> at 
> org.xwiki.contrib.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:155)
> at 
> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:518)
> at 
> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:334)
> at 
> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:268)
> at 
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272)
> at 
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192)
> at 
> com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
> at 
> com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
> at 
> org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.checkAuth(XWikiLDAPAuthServiceImpl.java:163)
> at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3788)
>
> The same exception occurs if I use the following subdomain setting (found on 
> the Internet):
> Ldap login matching: ttbv\\{0}
>
> I tested the connection settings from above using  another LDAP client like 
> "SOFTERRA LDAP Browser 4.5" and the settings worked fine: Using this LDAP 
> browser with login credentials "CN=Thomas 
> Froehlich,OU=Benutzer,OU=TTBV,DC=ttbv,DC=local" (plus pwd) I was able to 
> connect to the AD DS server and I was able to browse to the group 
> "CN=xwiki,OU=Gruppen,OU=TTBV,DC=ttbv,DC=local" (so there are no restrictions 
>

[xwiki-users] Fw : Re: Which subdirectory to delete for xwiki 8.4.4 cleaning?

2017-04-10 Thread Pascal BASTIEN
ok thxs both :-)

I will probably exclude ./mails, ./cache, ./solr from my tar.gz file (and 
remove lucene).

The main purpose is to clean a little bit before xwiki version upgrade
I confirm that "mails" and "cache" are tiny:
# du --max-depth=1 -h ./
448K./mails
32M ./extension
4,8M./lucene
3,8G./storage
94M ./solr
8,5M./jobs
1,9M./cache
4,0G./

Pascal


Re: [xwiki-users] Which subdirectory to delete for xwiki 8.4.4 cleaning?

2017-04-10 Thread Vincent Massol
Hi Pascal,

> On 10 Apr 2017, at 12:15, Thomas Mortagne  wrote:
> 
> On Mon, Apr 10, 2017 at 11:25 AM, Pascal BASTIEN
>  wrote:
>> Hello,
>> 
>> Could you tell me chich subdirectory to delete for xwiki cleaning in my 
>> environment.permanentDirectory=/home//data_xwiki/?

See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup

Thanks
-Vincent

PS: I’ve added some missing details.

>> 
>> When I need to restart, upgrade xwiki or save my data subdirectory, I wonder 
>> which subdirectory I can delete...
>> 
>> I know I can remove: /home//data_xwiki/solr
>> 
>> Can I remove, these one?
> 
>> /home//data_xwiki/mails/
> 
> AFAIK this folder is used to store mail before they are actually sent.
> 
>> /home//data_xwiki/lucene
> 
> This is not used since 7.0 so you should definitely get rid of it.
> 
>> and/or
> 
>> /home//data_xwiki/cache/
> 
> Not a bad idea. For now this folder contains only descriptors of core
> extensions that were resolved online you get more details
> ("extension/core" subfolder). If you delete it XWiki will simply try
> to resolve them at startup but it won't need to resolve much since the
> WAR embeds complete descriptors for all the JARs it contains in 8.4.4.
> It will clean descriptors that were downloaded in previous versions.
> 
>> 
>> Thxs
>> 
>> Pascal B
> 
> Now, except for lucene maybe if you have lots of documents, cleaning
> those folders should not free much space if that's why you want to
> cleanup.
> 
> 
> -- 
> Thomas Mortagne



Re: [xwiki-users] Which subdirectory to delete for xwiki 8.4.4 cleaning?

2017-04-10 Thread Thomas Mortagne
On Mon, Apr 10, 2017 at 11:25 AM, Pascal BASTIEN
 wrote:
> Hello,
>
> Could you tell me chich subdirectory to delete for xwiki cleaning in my 
> environment.permanentDirectory=/home//data_xwiki/?
>
> When I need to restart, upgrade xwiki or save my data subdirectory, I wonder 
> which subdirectory I can delete...
>
> I know I can remove: /home//data_xwiki/solr
>
> Can I remove, these one?

> /home//data_xwiki/mails/

AFAIK this folder is used to store mail before they are actually sent.

> /home//data_xwiki/lucene

This is not used since 7.0 so you should definitely get rid of it.

> and/or

> /home//data_xwiki/cache/

Not a bad idea. For now this folder contains only descriptors of core
extensions that were resolved online you get more details
("extension/core" subfolder). If you delete it XWiki will simply try
to resolve them at startup but it won't need to resolve much since the
WAR embeds complete descriptors for all the JARs it contains in 8.4.4.
It will clean descriptors that were downloaded in previous versions.

>
> Thxs
>
> Pascal B

Now, except for lucene maybe if you have lots of documents, cleaning
those folders should not free much space if that's why you want to
cleanup.


-- 
Thomas Mortagne


[xwiki-users] Which subdirectory to delete for xwiki 8.4.4 cleaning?

2017-04-10 Thread Pascal BASTIEN
Hello,

Could you tell me chich subdirectory to delete for xwiki cleaning in my 
environment.permanentDirectory=/home//data_xwiki/?

When I need to restart, upgrade xwiki or save my data subdirectory, I wonder 
which subdirectory I can delete...

I know I can remove: /home//data_xwiki/solr

Can I remove, these one?
/home//data_xwiki/mails/
/home//data_xwiki/lucene
and/or 
/home//data_xwiki/cache/

Thxs

Pascal B


Re: [xwiki-users] Need to allow users to type in link in CKEditor using double brackets [[link]]

2017-04-10 Thread Hamster
Maybe not what you are looking for...but maybe you can use WikiWords for
links to other pages?

WikiWords Transformation

  



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Need-to-allow-users-to-type-in-link-in-CKEditor-using-double-brackets-link-tp7603393p7603425.html
Sent from the XWiki- Users mailing list archive at Nabble.com.