[xwiki-users] Configure home page.

2008-12-01 Thread Robert Munro
Hi,

How want to configure the home page to be another space, I want it to be
Capita.WebHome (our companys space) instead of Main.WebHome? and also i want
to configure this page to show after logout.  is this possible?

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


Re: [xwiki-users] Configure home page.

2008-12-01 Thread Vincent Massol
Hi Robert,

On Dec 1, 2008, at 1:35 PM, Robert Munro wrote:

 Hi,

 How want to configure the home page to be another space, I want it  
 to be
 Capita.WebHome (our companys space) instead of Main.WebHome?

See 
http://www.xwiki.org/xwiki/bin/view/FAQ/Howtochangethehomepagedestinationwhenyouenterhttplocalhost8080xwiki

 and also i want
 to configure this page to show after logout.  is this possible?

See http://www.xwiki.org/xwiki/bin/view/FAQ/howcanilinkanlogouttoanlogoutpage

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


[xwiki-users] LDAP Based login works after 3 attempts for new users

2008-12-01 Thread Robert Munro
Hi ,
I am getting some quirky behaviour with the LDAP based login for the first
time, it only seems to work after 3 tries for new users, and also only if I
have lowercase the first two times then uppercase the third time (in our
LDAP, the usernames are uppercase P and a unique number). I have attached
the log output, just wondering if anyone can tell me whats happening. on the
logon screen I get:-
1st try: No message - just returns to the login page - lowercase p
2nd try: Wrong password - lowercase p
3rd try: Works OK. - uppercase P

If it try it with uppercase P all the time then the user record created is
somehow messed up and i can login with it.

here is the log output:
Log output
-
14:41:29,871 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection- Connection
to LDAP server [LDAP_HOST:389]
14:41:29,886 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection- Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[LDAP_PWD]
14:41:29,886 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - Found user
dn with the user object: null
14:41:29,902 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig- Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:29,902 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:p5351 base:O=MyCompanyGroup
query:(cn=p5351) uid:cn
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - LDAP
attributes will be used to update XWiki attributes.
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - Creating new
XWiki user based on LDAP attribues located at
CN=P5351,CN=MiisUsers,O=MyCompanyGroup
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig- Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:30,042 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - New XWiki
user created: null
14:41:30,587 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection- Connection
to LDAP server [LDAP_HOST:389]
14:41:30,603 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection- Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[LDAP_PWD]
14:41:30,618 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - Found user
dn with the user object: CN=P5351,CN=MiisUsers,O=MyCompanyGroup
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - LDAP
attributes will be used to update XWiki attributes.
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig- Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection- LDAP Search
failed
LDAPException: No Such Object (32) No Such Object
LDAPException: Server Message: 208D: NameErr: DSID-031521D2, problem
2001 (NO_OBJECT), data 0, best match of:
'O=MyCompanyGroup'

LDAPException: Matched DN: O=MyCompanyGroup
at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPSearchResults.next(Unknown Source)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.searchLDAP(XWikiLDAPConnection.java:303)

at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:454)

at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)

at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)

at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)

at

Re: [xwiki-users] LDAP Based login works after 3 attempts for new users

2008-12-01 Thread Thomas Mortagne
Hi,

Which version of XWiki Core/XE are you using ?

On Mon, Dec 1, 2008 at 4:01 PM, Robert Munro [EMAIL PROTECTED] wrote:
 Hi ,
 I am getting some quirky behaviour with the LDAP based login for the first
 time, it only seems to work after 3 tries for new users, and also only if I
 have lowercase the first two times then uppercase the third time (in our
 LDAP, the usernames are uppercase P and a unique number). I have attached
 the log output, just wondering if anyone can tell me whats happening. on the
 logon screen I get:-
 1st try: No message - just returns to the login page - lowercase p
 2nd try: Wrong password - lowercase p
 3rd try: Works OK. - uppercase P

 If it try it with uppercase P all the time then the user record created is
 somehow messed up and i can login with it.

 here is the log output:
 Log output
 -
 14:41:29,871 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 [http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection- Connection
 to LDAP server [LDAP_HOST:389]
 14:41:29,886 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 [http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection- Binding to
 LDAP server with credentials
 login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[LDAP_PWD]
 14:41:29,886 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 [http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - Found user
 dn with the user object: null
 14:41:29,902 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 [http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig- Ready to
 create user from LDAP with fields
 last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
 14:41:29,902 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 [http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
 for the user in LDAP: user:p5351 base:O=MyCompanyGroup
 query:(cn=p5351) uid:cn
 14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 [http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - LDAP
 attributes will be used to update XWiki attributes.
 14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 [http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - Creating new
 XWiki user based on LDAP attribues located at
 CN=P5351,CN=MiisUsers,O=MyCompanyGroup
 14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 [http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig- Ready to
 create user from LDAP with fields
 last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
 14:41:30,042 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
 [http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - New XWiki
 user created: null
 14:41:30,587 [
 http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
 [http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection- Connection
 to LDAP server [LDAP_HOST:389]
 14:41:30,603 [
 http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
 [http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection- Binding to
 LDAP server with credentials
 login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[LDAP_PWD]
 14:41:30,618 [
 http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
 [http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - Found user
 dn with the user object: CN=P5351,CN=MiisUsers,O=MyCompanyGroup
 14:41:30,634 [
 http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
 [http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl   - LDAP
 attributes will be used to update XWiki attributes.
 14:41:30,634 [
 http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
 [http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig- Ready to
 create user from LDAP with fields
 last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
 14:41:30,634 [
 http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
 [http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection- LDAP Search
 failed
 LDAPException: No Such Object (32) No Such Object
 LDAPException: Server Message: 208D: NameErr: DSID-031521D2, problem
 2001 (NO_OBJECT), data 0, best match of:
'O=MyCompanyGroup'

 LDAPException: Matched DN: O=MyCompanyGroup
at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPSearchResults.next(Unknown Source)
at
 com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.searchLDAP(XWikiLDAPConnection.java:303)

at
 com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:454)

at
 com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)

at
 

Re: [xwiki-users] LDAP Based login works after 3 attempts for new users

2008-12-01 Thread Robert Munro
Hi Thomas,

I am on Xwiki Enterprise 1.6.1

regards,
rob.
---Original message -
Message: 1
Date: Mon, 1 Dec 2008 16:20:31 +0100
From: Thomas Mortagne [EMAIL PROTECTED]
Subject:
To: XWiki Users users@xwiki.org
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=UTF-8

Hi,

Which version of XWiki Core/XE are you using ?

On Mon, Dec 1, 2008 at 4:01 PM, Robert Munro [EMAIL PROTECTED] wrote:
 Hi ,
 I am getting some quirky behaviour with the LDAP based login for the first
 time, it only seems to work after 3 tries for new users, and also only if
I
 have lowercase the first two times then uppercase the third time (in our
 LDAP, the usernames are uppercase P and a unique number). I have attached
 the log output, just wondering if anyone can tell me whats happening. on
the
 logon screen I get:-
 1st try: No message - just returns to the login page - lowercase p
 2nd try: Wrong password - lowercase p
 3rd try: Works OK. - uppercase P

 If it try it with uppercase P all the time then the user record created is
 somehow messed up and i can login with it.

 here is the log output:
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users