Re: [xwiki-users] LDAP Logging Problem

2012-01-23 Thread niko dangl
that is what i already did but unfortunately without result.
i just started with wiki and linux/unix so i dont know what to do next
because i actually still dont know what my problem is and how to fix
that.

my LDAP part in xwiki.cfg

# LDAP
#-
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=192.168.220.80
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN={0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.base_DN=DC=w2k,DC=rto,DC=dec,DC=com
xwiki.authentication.ldap.UID_attr=cn


also i cant find any logs..i thought its logged in the tomcat log
files but there is nothing about ldap/connection problems.

I'm at my wits' end :(
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LDAP Logging Problem

2012-01-23 Thread Thomas Mortagne
On Mon, Jan 23, 2012 at 11:10 AM, niko dangl niko.da...@googlemail.com wrote:
 that is what i already did but unfortunately without result.
 i just started with wiki and linux/unix so i dont know what to do next
 because i actually still dont know what my problem is and how to fix
 that.

 my LDAP part in xwiki.cfg

 # LDAP
 #-
 xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
 xwiki.authentication.ldap=1

With theses two lines you should get some LDAP log.

 xwiki.authentication.ldap.server=192.168.220.80
 xwiki.authentication.ldap.port=389
 xwiki.authentication.ldap.bind_DN={0}
 xwiki.authentication.ldap.bind_pass={1}
 xwiki.authentication.ldap.base_DN=DC=w2k,DC=rto,DC=dec,DC=com
 xwiki.authentication.ldap.UID_attr=cn

Seems ok. What kind of LDAP server is it ?



 also i cant find any logs..i thought its logged in the tomcat log
 files but there is nothing about ldap/connection problems.

Do you see any xwiki related logs in there ? Generally it's in the
catalina.out file by default.

If you have migration enabled in xwiki.cfg you should see some log
when you load the first page.


 I'm at my wits' end :(
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LDAP Logging Problem

2012-01-23 Thread niko dangl
This messages shows up all the time I try to login..

2012-01-23 13:47:49,407
[http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33

And the only thing about LDAP is

2012-01-16 14:08:00,565
[http://192.168.220.127:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=XWiki.AddExtensions]
ERROR aultExtensionRepositoryManager - Failed to search on repository
[org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository@7578bbf2]
with pattern=[ldap], offset=[0] and nb=[20]. Ignore and got to next
repository.

But I guess this is something from the LDAP Tools extension I have
installed previously and maybe that’s my problem because there is
still something left in xwiki and I can’t uninstall it.


We are using Active Directory on Windows Server 2003 and trying to
authenticate via LDAP.

Regards,
Niko
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LDAP Logging Problem

2012-01-23 Thread Thomas Mortagne
On Mon, Jan 23, 2012 at 2:04 PM, niko dangl niko.da...@googlemail.com wrote:
 This messages shows up all the time I try to login..

 2012-01-23 13:47:49,407
 [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method
 [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33

 And the only thing about LDAP is

 2012-01-16 14:08:00,565
 [http://192.168.220.127:8080/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=XWiki.AddExtensions]
 ERROR aultExtensionRepositoryManager - Failed to search on repository
 [org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository@7578bbf2]
 with pattern=[ldap], offset=[0] and nb=[20]. Ignore and got to next
 repository.

 But I guess this is something from the LDAP Tools extension I have
 installed previously and maybe that’s my problem because there is
 still something left in xwiki and I can’t uninstall it.

Yep this has nothing to do with LDAP authenticator log but at least
you definitely have XWiki log.

Are you sure you modified the WEB-INF/classes/logback.xml file and added

logger name=com.xpn.xwiki.plugin.ldap level=trace/
logger name=com.xpn.xwiki.user.impl.LDAP level=trace/

?



 We are using Active Directory on Windows Server 2003 and trying to
 authenticate via LDAP.

In that case your configuration looks wrong to me, especially the
UID_attr: it's generally sAMAccountName for AD. See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCases#HActiveDirectory.


 Regards,
 Niko
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LDAP Logging Problem

2012-01-23 Thread niko dangl
thanks for that hint...i had it in the logback.xml on my local pc and
just forgot to replace the file on the wiki server..
now i get some messages regarding LDAP :)

this is what i get if i just start tomcat

2012-01-23 16:20:29,999
[http://192.168.220.127:8080/xwiki/bin/view/Main/WebHome] TRACE
u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2012-01-23 16:20:30,002
[http://192.168.220.127:8080/xwiki/bin/view/Main/WebHome] DEBUG
u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We don't
try to authenticate, it probably means the user is in non logged mode.
2012-01-23 16:20:30,895
[http://192.168.220.127:8080/xwiki/bin/view/Main/WebHome] ERROR
o.i.ObservationContextListener - Can't find any begin event
corresponding to [class org.xwiki.bridge.event.ActionExecutedEvent
(view)]
2012-01-23 16:20:30,908
[http://192.168.220.127:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=w2ltzX7Kxredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome%3Fsrid%3Dw2ltzX7K]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2012-01-23 16:20:30,908
[http://192.168.220.127:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=w2ltzX7Kxredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome%3Fsrid%3Dw2ltzX7K]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We
don't try to authenticate, it probably means the user is in non logged
mode.
2012-01-23 16:20:31,075
[http://192.168.220.127:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=w2ltzX7Kxredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome%3Fsrid%3Dw2ltzX7K]
WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33

and this comes after trying to login with AD user

2012-01-23 16:23:34,440
[http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2012-01-23 16:23:34,440
[http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We
don't try to authenticate, it probably means the user is in non logged
mode.
2012-01-23 16:23:34,441
[http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
2012-01-23 16:23:34,449
[http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
DEBUG c.x.x.p.l.XWikiLDAPConfig  - ldap_group_classes:
[groupofnames, groupwisedistributionlist, dynamicgroup,
dynamicgroupaux, groupofuniquenames, group]
2012-01-23 16:23:34,450
[http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
DEBUG c.x.x.p.l.XWikiLDAPConfig  - ldap_group_memberfields:
[member, uniquemember]
2012-01-23 16:23:34,450
[http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed:
LDAP not activ
2012-01-23 16:23:34,451
[http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against
XWiki DB
2012-01-23 16:23:34,462
[http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for
user [Niko Test]
2012-01-23 16:23:34,656
[http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33


i thought the authentication will start if i enter username and
password in wiki..
is there a order in the xwiki.cfg LDAP configuration line?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Version Error

2012-01-23 Thread eparent_pk
Hi,

I'm having the  http://pastebin.com/k5V6mBha same error .

My xwiki installation is Enterprise 3.3, on Ubuntu 11.10 (x64) with
tomcat6.

I installed following the instructions on this 
http://blog.dontneedcoffee.com/2010/02/install-xwiki-22-on-ubuntu-910-mysql.html
site .

Here is an example of my  http://pastebin.com/HEPmAAeQ hibernate.cfg.xml
.

I created MySQL user 'xwiki' who was granted with create, insert, alter,
delete entries for the xwiki database.

All the setup tutorials I've seen are quite straight forward but, for
some reason, I just can't get it to work. Any hint / advice will be
appreciated.

Cheers,

- Eric

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Version-Error-tp6480013p7216532.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Version Error

2012-01-23 Thread Haru Mamburu
Looks like 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL#HHTTP500Error

Try this. Hope it will help.

Kind Regards,

Dmitry


23 января 2012, 20:10 от eparent_pk epar...@photonicknowledge.com:
 Hi,
 
 I'm having the  http://pastebin.com/k5V6mBha same error .
 
 My xwiki installation is Enterprise 3.3, on Ubuntu 11.10 (x64) with
 tomcat6.
 
 I installed following the instructions on this
 http://blog.dontneedcoffee.com/2010/02/install-xwiki-22-on-ubuntu-910-mysql.html
 site .
 
 Here is an example of my  http://pastebin.com/HEPmAAeQ hibernate.cfg.xml
 .
 
 I created MySQL user 'xwiki' who was granted with create, insert, alter,
 delete entries for the xwiki database.
 
 All the setup tutorials I've seen are quite straight forward but, for
 some reason, I just can't get it to work. Any hint / advice will be
 appreciated.
 
 Cheers,
 
 - Eric
 
 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Version-Error-tp6480013p7216532.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Font size, heading, section colouring

2012-01-23 Thread goldring, richard
 Hi,

Does anyone know how or if its possible to change fonts sizes, style, colour
and colour headings or sections to make them stand out on the page.

Regards,

Richard

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
Haru Mamburu
Sent: 23 January 2012 16:14
To: XWiki Users
Subject: Re: [xwiki-users] Version Error

Looks like
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL#HHTTP5
00Error

Try this. Hope it will help.

Kind Regards,

Dmitry


23 января 2012, 20:10 от eparent_pk epar...@photonicknowledge.com:
 Hi,
 
 I'm having the  http://pastebin.com/k5V6mBha same error .
 
 My xwiki installation is Enterprise 3.3, on Ubuntu 11.10 (x64) 
 with tomcat6.
 
 I installed following the instructions on this 
 http://blog.dontneedcoffee.com/2010/02/install-xwiki-22-on-ubuntu-910-
 mysql.html
 site .
 
 Here is an example of my  http://pastebin.com/HEPmAAeQ 
 hibernate.cfg.xml .
 
 I created MySQL user 'xwiki' who was granted with create, insert, 
 alter, delete entries for the xwiki database.
 
 All the setup tutorials I've seen are quite straight forward but, 
 for some reason, I just can't get it to work. Any hint / advice will 
 be appreciated.
 
 Cheers,
 
 - Eric
 
 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/Version-Error-tp6480013p7216532.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Font size, heading, section colouring

2012-01-23 Thread Marius Dumitru Florea
2012/1/23 goldring, richard richard.goldr...@uk.thalesgroup.com:
  Hi,


 Does anyone know how or if its possible to change fonts sizes, style, colour
 and colour headings or sections to make them stand out on the page.

Yes. Either through wiki syntax
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HParameters
or through the WYSIWYG editor
http://platform.xwiki.org/xwiki/bin/view/Features/WysiwygEditor#HTextFormatting
. For the later option you need to activate some WYSIWYG editor
plugins (e.g. font and color, see
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HPluginsandFeatures
for the full list) from the administration and add some features on
the WYSIWYG editor tool bar (e.g. fontname or forecolor).

Hope this helps,
Marius

P.S.: Next time please don't highjack someone else's thread.


 Regards,

 Richard

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of
 Haru Mamburu
 Sent: 23 January 2012 16:14
 To: XWiki Users
 Subject: Re: [xwiki-users] Version Error

 Looks like
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL#HHTTP5
 00Error

 Try this. Hope it will help.

 Kind Regards,

 Dmitry


 23 января 2012, 20:10 от eparent_pk epar...@photonicknowledge.com:
 Hi,

     I'm having the  http://pastebin.com/k5V6mBha same error .

     My xwiki installation is Enterprise 3.3, on Ubuntu 11.10 (x64)
 with tomcat6.

     I installed following the instructions on this
 http://blog.dontneedcoffee.com/2010/02/install-xwiki-22-on-ubuntu-910-
 mysql.html
 site .

     Here is an example of my  http://pastebin.com/HEPmAAeQ
 hibernate.cfg.xml .

     I created MySQL user 'xwiki' who was granted with create, insert,
 alter, delete entries for the xwiki database.

     All the setup tutorials I've seen are quite straight forward but,
 for some reason, I just can't get it to work. Any hint / advice will
 be appreciated.

 Cheers,

 - Eric

 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/Version-Error-tp6480013p7216532.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Version Error

2012-01-23 Thread Sergiu Dumitriu

On 01/23/2012 09:52 AM, eparent_pk wrote:

Hi,

 I'm having the  http://pastebin.com/k5V6mBha same error .

 My xwiki installation is Enterprise 3.3, on Ubuntu 11.10 (x64) with
tomcat6.

 I installed following the instructions on this
http://blog.dontneedcoffee.com/2010/02/install-xwiki-22-on-ubuntu-910-mysql.html
site .

 Here is an example of my  http://pastebin.com/HEPmAAeQ hibernate.cfg.xml
.

 I created MySQL user 'xwiki' who was granted with create, insert, alter,
delete entries for the xwiki database.

 All the setup tutorials I've seen are quite straight forward but, for
some reason, I just can't get it to work. Any hint / advice will be
appreciated.

Cheers,

- Eric


Make sure mysql is listening on a TCP port and not just on a local pipe.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users