sdugravo wrote:
>
>
> sdugravo wrote:
>>
>>
>>
>> Jerome Velociter-2 wrote:
>>>
>>> Hello,
>>>
>>> Are you using XWS in a virtual wiki configuration (XEM or XE +
>>> wiki-manager) ?
>>> Currently, in virtual mode, only users registered on the XWS wiki itself
>>> are allowed to create their personal workspace. Users from others wikis
>>> aren't, and are offered the error message you describe. That's the
>>> reason I ask if your work on a virtual wiki farm.
>>> Now, that decision of forbidding non-local users to create personnal
>>> spaces is debatable, and we'll probably make this configurable in a
>>> coming version.
>>>
>>> Regards,
>>> Jerome.
>>>
>>
>
(sorry for this new message, "quote" error)
Hello,
No, we are not using XWS in virtual mode. We are only using XWS 1.1.1,
neither XEM, neither XE.
As far as i understand, when a ldap user connect XWS for the very first
time, XWS register him automatically, no ?
It seem's that is a problem of creating user just after ldap authentication,
since the error message is :
- New XWiki user created: null
The same (ldap) configuration works for XE where we can create page, blog or
space, there is no error message.
Can you help us ?
Stephane.
sdugravo wrote:
>
>
> sdugravo wrote:
>>
>>
>> sdugravo wrote:
>>> Hi all,
>>>
>>> I use XWS version 1.1 or 1.2M with the same problem since few days :-(
>>> There is no problem for locals users (even or simple user), but when
>>> users
>>> auth via LDAP (openldap), when they connect, there is an error :
>>>
>>> You cannot create a personnal space since your not registered on this
>>> wiki!
>>>
>>> whereas they are connected ...
>>>
>>> I didn't find any clues to solve the problem and never see this error in
>>> the
>>> archives ...
>>> Here is the ldap config :
>>>
>>> xwiki.authentication.ldap=1
>>> xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
>>> xwiki.authentication.ldap.server=ldap.test.com
>>> xwiki.authentication.ldap.port=391
>>> xwiki.authentication.ldap.bind_DN=uid={0},ou=people,dc=uhp-nancy,dc=fr
>>> xwiki.authentication.ldap.bind_pass={1}
>>> xwiki.authentication.ldap.validate_password=0
>>> xwiki.authentication.ldap.base_DN=ou=people,dc=uhp-nancy,dc=fr
>>> xwiki.authentication.ldap.UID_attr=uid
>>> xwiki.authentication.ldap.group_classes=groupOfNames
>>> xwiki.authentication.ldap.group_memberfields=member
>>> xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
>>> xwiki.authentication.ldap.update_user=1
>>> xwiki.authentication.ldap.trylocal=1
>>> xwiki.authentication.ldap.ssl=0
>>>
>>> Here is the debug, we can find an error "New XWiki user created: null" :
>>>
>>> 18:48:59,211
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
>>> [http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with
>>> the
>>> user object: null
>>> 18:48:59,212
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
>>> [http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Searching for the
>>> user
>>> in LDAP: user:massenot base:ou=people,dc=uhp-nancy,dc=fr
>>> query:(uid=massenot) uid:uid
>>> 18:48:59,212
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
>>> [http-8080-1] DEBUG ldap.XWikiLDAPConfig - Ready to create
>>> user
>>> from LDAP with fields
>>> last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
>>>
>>> 18:48:59,216
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
>>> [http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes
>>> will
>>> be used to update XWiki attributes.
>>> 18:48:59,216
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
>>> [http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Creating new XWiki
>>> user based on LDAP attribues located at
>>> uid=massenot,ou=people,dc=uhp-nancy,dc=fr
>>> 18:48:59,216
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
>>> [http-8080-1] DEBUG ldap.XWikiLDAPConfig - Ready to create
>>> user
>>> from LDAP with fields
>>> last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
>>>
>>> 18:48:59,266
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
>>> [http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - New XWiki user
>>> created: null
>>> 18:48:59,435
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/$!redirect]
>>> [http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with
>>> the
>>> user object: uid=massenot,ou=people,dc=uhp-nancy,dc=fr
>>> 18:48:59,435
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/$!redirect]
>>> [http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes
>>> will
>>> be used to update XWiki attributes.
>>> 18:48:59,435
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/$!redirect]
>>> [http-8080-1] DEBUG ldap.XWikiLDAPConfig - Ready to create
>>> user
>>> from LDAP with fields
>>> last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
>>>
>>> 18:48:59,437
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/$!redirect]
>>> [http-8080-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing
>>> user
>>> with LDAP attribues located at uid=massenot,ou=people,dc=uhp-nancy,dc=fr
>>> 18:48:59,437
>>> [http://172.22.123.8:8080/xwiki/bin/loginsubmit/XWiki/$!redirect]
>>> [http-8080-1] DEBUG ldap.XWikiLDAPConfig - Ready to create
>>> user
>>> from LDAP with fields
>>> last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
>>>
>>> 18:48:59,615 [http://172.22.123.8:8080/xwiki/bin/view/Main/]
>>> [http-8080-1]
>>> DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user
>>> object:
>>> uid=massenot,ou=people,dc=uhp-nancy,dc=fr
>>> 18:48:59,616 [http://172.22.123.8:8080/xwiki/bin/view/Main/]
>>> [http-8080-1]
>>> DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to
>>> update XWiki attributes.
>>> 18:48:59,616 [http://172.22.123.8:8080/xwiki/bin/view/Main/]
>>> [http-8080-1]
>>> DEBUG ldap.XWikiLDAPConfig - Ready to create user from LDAP
>>> with
>>> fields
>>> last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
>>>
>>> 18:48:59,618 [http://172.22.123.8:8080/xwiki/bin/view/Main/]
>>> [http-8080-1]
>>> DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP
>>> attribues located at uid=massenot,ou=people,dc=uhp-nancy,dc=fr
>>> 18:48:59,618 [http://172.22.123.8:8080/xwiki/bin/view/Main/]
>>> [http-8080-1]
>>> DEBUG ldap.XWikiLDAPConfig - Ready to create user from LDAP
>>> with
>>> fields
>>> last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn
>>>
>>>
>>> Any clues ?
>>>
>>> I have try the old method for LDAP
>>> (com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl), the result is
>>> different
>>> but not correct ...)
>>>
>>> Thx.
>>>
>>> (Sorry if you received twice, i didn't validate my account in the list
>>> the
>>> first one ...).
>>>
>>>
>>
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>
>
--
View this message in context:
http://n2.nabble.com/You-cannot-create-a-personnal-space-since-your-not-registered-on-this-wiki%21-tp1346035p1490430.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users