Hi All,
I have a XWiki on version 1.5.1 and recently upgraded to 1.6.13286 with LDAP
integrated for Authentication. In both versions, I have turned DEBUG on and
noticed there are LDAP connections on not only when users login but on
"every" action, even just naviation from one spacec to another.
I would thought LDAP call will only be made during the login process? or is
there anything I missed in the config?
Here are the debug messages when I do my test by clicking on a link to a
Space. I have also attach the LDAP config as well.
Thanks a lot!
===================================
08:22:32,069 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConnection - Connecting to LDAP using SSL
08:22:32,507 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object:
cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:32,702 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to update
XWiki attributes.
08:22:32,703 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:32,810 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAPattribues
located at cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:32,811 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:33,115 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConnection - Connecting to LDAP using SSL
08:22:33,564 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object: null
08:22:33,565 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:33,566 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPUtils - Searching for the user in LDAP:
user:MY_LDAP_ID base: query:(cn=MY_LDAP_ID) uid:cn
08:22:33,865 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to update
XWiki attributes.
08:22:33,865 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAPattribues
located at cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:33,866 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.split] in
Admin.WebHome@5,36
08:22:34,989
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG ldap.XWikiLDAPConnection -Connecting to LDAP
using SSL
08:22:35,548
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG LDAP.XWikiLDAPAuthServiceImpl -Found user dn with
the user object: cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:35,743
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG LDAP.XWikiLDAPAuthServiceImpl -LDAP attributes will
be used to update XWiki attributes.
08:22:35,744
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG ldap.XWikiLDAPConfig -Ready to create user
from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:35,848
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG LDAP.XWikiLDAPAuthServiceImpl -Updating existing
user with LDAP attribues located at cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:35,849
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG ldap.XWikiLDAPConfig -Ready to create user
from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
===================================
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap.base_DN=ou=People,dc=mydc,dc=net
xwiki.authentication.ldap.bind_DN=cn=xwikiAdmin, ou=myou, ou=myou2,
ou=Applications, dc=mydc, dc=net
xwiki.authentication.ldap.bind_pass=mypassword
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
xwiki.authentication.ldap.group_memberfields=member,uniqueMember
xwiki.authentication.ldap.mode_group_sync=always
xwiki.authentication.ldap.port=636
xwiki.authentication.ldap.server=1.2.3.4
xwiki.authentication.ldap.ssl.keystore=wiki_keystore.jks
xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
xwiki.authentication.ldap.ssl=1
xwiki.authentication.ldap.trylocal=1
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.validate_password=0
xwiki.authentication.ldap=1
===================================
--
View this message in context: http://n2.nabble.com/Unexpected-LDAP-Connection-Issue-tp1302910p1302910.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello again,
I've been running XE 1.5 for a while and our LDAP authentication against
Active Directory works fine. I've installed a separate, test instance of
XE 1.6 and, using the same LDAP configuration, all of our login attempts
fail when going against our Active Directory server.
09:04:00,401 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user
object: null
09:04:00,402 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG ldap.XWikiLDAPConfig - Ready to create user from
LDAP with fields
name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayNa
me,mail=mail,ldap_dn=dn
09:04:00,402 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG ldap.XWikiLDAPUtils - Searching for the user in
LDAP: user:jnovak base:
query:(sAMAccountName=jnovak) uid:sAMAccountName
09:04:00,484 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG ldap.XWikiLDAPConnection - LDAP Search failed
LDAPException: No Such Object (32) No Such Object
LDAPException: Server Message: 0000208D: NameErr: DSID-031001A8,
problem 2001 (NO_OBJECT),
data 0, best match of:
''
Our XE 1.5.2.12758 installation with the same configuration works fine.
Does the above error look to you like it's not even binding to the AD
server? That's my hunch.
The first log line on our working 1.5 install look like this when I
authenticate:
08:47:09,148 [http://xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6807-3]
DEBUG LDAP.XWikiLD APAuthServiceImpl - Found user dn with the user
object:
CN=Jamison Novak,CN=Users,DC=NNNNN,DC=com
This is our base_DN:
xwiki.authentication.ldap.base_DN=cn=Users,dc=NNNNN,dc=com
This is our bind_DN:
xwiki.authentication.ldap.bind_DN=cn=svc_webapp,ou=Service
Accounts,dc=NNNNN,dc=com
Is it possible that the space in the "ou=Service Accounts" is causing
some unlogged error? I tried putting quotes around the entire thing
(bind_dn="string here"), but that just caused it to fail to try LDAP at
all.
Any thoughts? I'm really confused why it's changed between 1.5 and 1.6
like this, at least for us.
-Jamie
Hi!
I have two questions:
- As already mentioned in the subject, I want to forbid users to
create spaces, only some user groups should be allowed to create spaces.
- How can I make some spaces like xwiki, Main, and especially
Panels, Stats invisible for any user except the admin user. I do not want
them into index or even when in the search.
Is this possible?
Thank you for your help,
Florian
------------------------------------------------------------------
Florian Rhomberg
Gletscherblick 38
A-6080 Igls
E-Mail: mailto:florian.rhomberg@nettania.net
www.nettania.net
------------------------------------------------------------------
hi,
I want to use the MindMap space,and i had import mindmap-1[1][1].0.zip,but when i open the MindMap space,there is a note as follows:
Installation is not complete. You need to add MindMap.Translations in the translations page. Click on Administration, choose the Advanced accordion and scroll to the translations field. Then add MindMap.Translations in the list of translations pages.
how can I add MindMap? If i can receive the mail of the steps how to add MindMap in detials ,it will be helpful. Thanks very much!
tianlixing
2008-09-11
Hi All,
There are few tabs for comments/attachment etc in the new layout for XE 1.6
which is great. However, can I suggest we do not show the details by default
until users click? (which like version 1.5).
The reason is that currently every page made an authentication call. When we
are using LDAP for authentication this may take 1-2 seconds. Since the
comment field is opened by default, it's another 2 seconds delay for until
the page is completely loaded. Reducing this 2 seconds means 40-50% faster
per page which is very significance.
Many Thanks
Art.
--
View this message in context: http://n2.nabble.com/Comment-field-in-XE-1.6-for-page-display-tp1322013p132…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm trying to make some kind of convertor plugin from XWiki syntax to
DokuWiki syntax. I want to have a button on page and after pushing it I want
to create new attachment to this page with content of the page in dokuwiki
syntax.
So I have something like this in my plugin Api:
XWikiDocument doc = context.getDoc();
String text = doc.getContent();
XWikiAttachment att = doc.getAttachment("DokuWiki.txt");
if (att!=null)
{
att.incrementVersion();
}else{
att = new XWikiAttachment(doc, "DokuWiki.txt");
}
...
att.setContent(aa.getBytes());
doc.getAttachmentList().add(att);
context.getWiki().saveDocument(doc, context);
The page source is just:
#if($request.con)
"$xwiki.convertor.convert()"
#end
Now I can push the convert button on the page. When I push it for the first
time, everthing fine (I see the new attachment called Dokuwiki.txt, version
for example 1.1), but when I push it for the second time, in the attachments
there are 2 same files called DokuWiki.txt with the same version 1.2. After
pushing the button for the third time, there are 3 files with same version
1.3... After restarting server, there is only one file, the latest one...
Could you please help me what is wrong in my code?
--
View this message in context: http://n2.nabble.com/Problems-with-new-attachment-made-in-plugin-Api-tp1320…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I did, but I always receive the newsletter messages...
> Carmelo Saffioti wrote:
> > Hi,
> > I'd like to unsuscribe from the newsletter. I tried, with no success.
> >
>
> Go to http://lists.xwiki.org/mailman/listinfo/users and follow the
> instructions. At the end of the page there is a section starting with
> "To unsubscribe from users".
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> Which LDAP authenticator are you using ? LDAPAuthServiceImpl or
> XWikiLDAPAuthServiceImpl ? Since XWiki 1.6 XWikiLDAPAuthServiceImpl is
> the default LDAP authenticator and have some differences in
> configurations.
I'm a bit confused. When I used 1.1-m1, there was only the old
implementation (LDAPAuthServiceImpl?). When I got 1.6, the xwiki.cfg
contained this by default:
#-# new LDAP authentication service
#xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
That is the new implementation, as I understand it, but it was commented
out. So, I assumed it was using the old one by default. Is this not the
case?
Regardless, I'd like to use the new one. So, in light of that, I've
uncommented that line now so that I am using XWikiLDAPAuthServiceImpl.
> By the way there is a bug in LDAP 1.6. It's already fixed and it will
> be included in 1.6.1. In the meantime you can use last snapshot of
> xwiki-core jar (download it at
>
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.6-SNAP…)
> or use the old authenticator (which is the one you used before I think
> as the new LDAP authenticator only exists since XWiki 1.3).
What is the bug? I searched JIRA breifly, but nothign jumped out at me.
-----------------------------------------
CONFIDENTIALITY STATEMENT:
This e-mail transmission contains information that is intended to
be confidential. It is intended only for the addressee named
above. If you receive this e-mail in error, please do not read,
copy, or disseminate it. If you are not the intended recipient,
any disclosure, copying, distribution or use of the contents of
this information is prohibited. Please reply to the message
immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer
system. Your assistance in correcting this error is appreciated.