I means what to you have in the log, the stack trace etc...

On Fri, May 9, 2008 at 12:22 PM, Mihails Agafonovs <[EMAIL PROTECTED]> wrote:
> errorMessage: 0000203D: LdapErr: DSID-0C090C7D, comment: Unknown
> extended request OID, data 0, vece
>  Quoting Thomas Mortagne : On Thu, May 8, 2008 at 4:49 PM, Mihails
> Agafonovs  wrote:
>  > You were right - I was using the old authenticator. Thanks!
>  >
>  > Now I can log in, but I'm not created in any group. Also, if I
> enable
>  > extended search (when only users of the specified AD group will be
>  > verified), the LDAP throws error.
>  Which error exactly ?
>  >  Quoting Thomas Mortagne : Which LDAP authenticator
>  > (xwiki.authentication.ldap.authclass) do you
>  >  use ? If it's com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl or
> if
>  >  you did not configured xwiki.authentication.ldap.authclass forgot
>  >  pretty much all I said as I spoke about the new (since 1.3) LDAP
>  >  authenticator
>  >
> (xwiki.authentication.ldap.authclass=com.xpn.xwiki.ldap.authentication.XWikiLDAPAuthServiceImpl)...
>  >  2008/5/8 Mihails Agafonovs &lt;[EMAIL PROTECTED]&gt;:
>  >  &gt; Uncommenting xwiki.authentication.ldap.validate_password=0
> did
>  >  &gt;  nothing.
>  >  &gt;
>  >  &gt;  About &quot;.&quot;.
>  >  &gt;
>  >  &gt;  In version 1.1.2, there was no problem connecting to AD
> using
>  > CN
>  >  &gt;  attribute (name surname), and user was automatically
> created
>  > in
>  >  &gt;  XWikiAllGroup. So this is strange that in the newer version
>  > that
>  >  &gt;  doesn't work.
>  >  &gt;
>  >  &gt;  Also, nothing changed in our AD. I still can login in XWiki
>  > 1.1.2 and
>  >  &gt;  LDAP browser, for example, in both cases using my CN.
>  >  &gt;   Quoting Thomas Mortagne : Try to uncomment
>  >  &gt;
>  >  &gt; xwiki.authentication.ldap.validate_password=0
>  >  &gt;   You should not have 5 as this is used to force login/pass
>  > validation
>  >  &gt;   when you don't connect to LDAP with provided user/pass
>  > (bind_DN and
>  >  &gt;   bind_pass set to an existing ldap user/pass)
>  >  &gt;   Another thing, in your example you seem to test with a
> user
>  > name
>  >  &gt;   containing a &quot;.&quot;, the LDAP authenticator does
> not
>  > support it yet,
>  >  &gt;  see
>  >  &gt;   http://jira.xwiki.org/jira/browse/XWIKI-2264
>  >  &gt;   2008/5/8 Mihails Agafonovs :
>  >  &gt;
>  >  &gt;
>  >  &gt;  &gt; Here's a pice from xwiki.log:
>  >  &gt;   &gt;  -----------------------------------------------
>  >  &gt;   &gt;  java.lang.NullPointerException
>  >  &gt;   &gt;   at
>  >  &gt;   &gt;
>  >  &gt;
>  >
> com.xpn.xwiki.plugin.lucene.IndexUpdater.run(IndexUpdater.java:209)
>  >  &gt;   &gt;   at java.lang.Thread.run(Thread.java:619)
>  >  &gt;   &gt;  2008-05-07 14:11:31,078 [index updating thread]
>  > [Thread-20] ERROR
>  >  &gt;   &gt;  lucene.IndexUpdater             - Writer not open
> and
>  > closeWriter
>  >  &gt;   &gt;  called
>  >  &gt;   &gt;  2008-05-07 14:15:49,735
>  >  &gt;  [http://192.168.220.128/xwiki/bin/view/Main]
>  >  &gt;   &gt;  [TP-Processor3] INFO  .AbstractXWikiMigrationManager
>  -
>  > No
>  >  &gt;  storage
>  >  &gt;   &gt;  migration required since current version is [7351]
>  >  &gt;   &gt;  2008-05-07 14:17:37,228
>  >  &gt;   &gt;
>  > [http://192.168.220.128/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
>  >  &gt;   &gt;  [TP-Processor3] ERROR LDAP.LDAPAuthServiceImpl
>  -
>  > LDAP Bind
>  >  &gt;   &gt;  failed with Exception Invalid Credentials
>  >  &gt;   &gt;  2008-05-07 14:20:29,787
>  >  &gt;  [http://192.168.220.128/xwiki/bin/view/Main]
>  >  &gt;   &gt;  [TP-Processor3] INFO  .AbstractXWikiMigrationManager
>  -
>  > No
>  >  &gt;  storage
>  >  &gt;   &gt;  migration required since current version is [7351]
>  >  &gt;   &gt;  2008-05-07 14:25:32,020 [index updating thread]
>  > [Thread-20] ERROR
>  >  &gt;   &gt;  lucene.IndexUpdater             - IOException when
>  > opening Lucene
>  >  &gt;   &gt;  Index for writing at
>  >  &gt;   &gt;  /var/lib/tomcat5/webapps/xwiki/WEB-INF/work/lucene
>  >  &gt;   &gt;
>  >  &gt;
>  >
> -------------------------------------------------------------------------------------
>  >  &gt;   &gt;
>  >  &gt;   &gt;  And from Wireshark it's the same I pasted in a
> previous
>  > mail. I
>  >  &gt;  can
>  >  &gt;   &gt;  add the function sequence watched via Wireshark:
>  >  &gt;   &gt;  1) bindRequest() with domainname.surname
>  >  &gt;   &gt;  2) bindresponse() - success
>  >  &gt;   &gt;  3) searchRequest() with dc=domain, dc=com,
>  >  &gt;   &gt;  sAMAccountName=name.surname
>  >  &gt;   &gt;  4) searchResEntry() - returns my full correct dn
>  >  &gt;   &gt;  5) compareRequest() with my full dn and
>  > userPassword=mypass
>  >  &gt;   &gt;  6) LDAP error about no such attribute userPassword
>  >  &gt;   &gt;  7) unbindRequest()
>  >  &gt;   &gt;
>  >  &gt;   &gt;   Quoting Thomas Mortagne : Could be you paste the
> whole
>  > error log
>  >  &gt;  ?
>  >  &gt;   &gt;   2008/5/8 Mihails Agafonovs :
>  >  &gt;   &gt;
>  >  &gt;   &gt;
>  >  &gt;   &gt;  &gt; Again, the same error from LDAP:
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt;  LDAPMessage compareResponse(7)
> noSuchAttribute
>  > (00002080:
>  >  &gt;  AtrErr:
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt; DSID-03080139, #1:
>  >  &gt;   &gt;   &gt;   0: 00002080: DSID-03080139, problem 1001
>  >  &gt;  (NO_ATTRIBUTE_OR_VAL),
>  >  &gt;   &gt;  data
>  >  &gt;   &gt;   &gt;  0, Att 23 (userPassword)
>  >  &gt;   &gt;   &gt;  )
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt;   Quoting Thomas Mortagne : 2008/5/7 Mihails
>  > Agafonovs
>  >  &gt;   &gt;   &gt;  &amp;lt;[EMAIL PROTECTED]&amp;gt;:
>  >  &gt;   &gt;   &gt;   &amp;gt; Hi!
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;   &gt;   &gt;   &amp;gt;  I've been trying to setup LDAP
>  > connection on XWiki
>  >  &gt;  1.3.2.
>  >  &gt;   &gt;   &gt;  Using
>  >  &gt;   &gt;   &gt;   &amp;gt;  Wireshark, I've discovered, that
> LDAP
>  > performs
>  >  &gt;   &gt;  unbindRequest()
>  >  &gt;   &gt;   &gt;  after
>  >  &gt;   &gt;   &gt;   &amp;gt;  the following error:
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;   &gt;   &gt;   &amp;gt;  LDAPMessage compareResponse(3)
>  > noSuchAttribute
>  >  &gt;  (00002080:
>  >  &gt;   &gt;   &gt;  AtrErr:
>  >  &gt;   &gt;   &gt;   &amp;gt;  DSID-03080139, #1:
>  >  &gt;   &gt;   &gt;   &amp;gt;   0: 00002080: DSID-03080139,
> problem
>  > 1001
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt; (NO_ATTRIBUTE_OR_VAL), data
>  >  &gt;   &gt;   &gt;   &amp;gt;  0, Att 23 (userPassword)
>  >  &gt;   &gt;   &gt;   &amp;gt;  )
>  >  &gt;   &gt;   &gt;   &amp;gt;  Here is the configuration:
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  > ----------------------------------------------
>  >  &gt;   &gt;   &gt;   &amp;gt;  xwiki.authentication.ldap=1
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  > xwiki.authentication.ldap.server=my.domain.com
>  >  &gt;   &gt;   &gt;   &amp;gt;  xwiki.authentication.ldap.port=389
>  >  &gt;   &gt;   &gt;   &amp;gt;
> xwiki.authentication.ldap.bind_DN={0}
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  > xwiki.authentication.ldap.bind_pass={1}
>  >  &gt;   &gt;   &gt;   &amp;gt;  #
>  > xwiki.authentication.ldap.validate_password=0
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;
>  >  &gt;
>  >
> xwiki.authentication.ldap.user_group=ou=Riga,ou=LAT,dc=domain,dc=com
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  > xwiki.authentication.ldap.base_DN=dc=domain,dc=com
>  >  &gt;   &gt;   &gt;   &amp;gt;
> xwiki.authentication.ldap.UID_attr=cn
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;
>  >  &gt;
>  >
> xwiki.authentication.ldap.fields_mapping=name=cn,last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
>  >  &gt;   &gt;   &gt;   &amp;gt;  #
>  > xwiki.authentication.ldap.update_user=1
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;
>  >  &gt;
>  >
> xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=ou=Riga,ou=LAT,dc=GDNEurope,dc=com|
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;  XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US
>  >  &gt;   &gt;   &gt;   &amp;gt;  #
>  >  &gt;  xwiki.authentication.ldap.groupcache_expiration=21800
>  >  &gt;   &gt;   &gt;   &amp;gt;  #
>  > xwiki.authentication.ldap.mode_group_sync=always
>  >  &gt;   &gt;   &gt;   &amp;gt;
> xwiki.authentication.ldap.trylocal=1
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt;  I don't know AD very well but,according to
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;
>  >  &gt;
>  >
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication,
>  >  &gt;   &gt;   &gt;   should't be:
>  >  &gt;   &gt;   &gt;
> xwiki.authentication.ldap.bind_DN=subdomain{0}
>  >  &gt;   &gt;   &gt;
>  > xwiki.authentication.ldap.UID_attr=sAMAccountName
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;
>  >  &gt;
>  >
> xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
>  >  &gt;   &gt;   &gt;   ?
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  > ------------------------------------------------------
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;   &gt;   &gt;   &amp;gt;  Any ideas?
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;   &gt;   &gt;   &amp;gt;  P.S. If I use in the login form
>  >  &gt;  [EMAIL PROTECTED] or
>  >  &gt;   &gt;   &gt;   &amp;gt;  domainname.surname as a username,
> I
>  > can login, but
>  >  &gt;  without
>  >  &gt;   &gt;  any
>  >  &gt;   &gt;   &gt;   &amp;gt;  rights.
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;   &gt;   &gt;   &amp;gt;   Ar cie&amp;#326;u, Mihails
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  > _______________________________________________
>  >  &gt;   &gt;   &gt;   &amp;gt;  users mailing list
>  >  &gt;   &gt;   &gt;   &amp;gt;  users@xwiki.org
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  > http://lists.xwiki.org/mailman/listinfo/users
>  >  &gt;   &gt;   &gt;   &amp;gt;
>  >  &gt;   &gt;   &gt;   --
>  >  &gt;   &gt;   &gt;   Thomas Mortagne
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt;
> _______________________________________________
>  >  &gt;   &gt;   &gt;   users mailing list
>  >  &gt;   &gt;   &gt;   users@xwiki.org
>  >  &gt;   &gt;   &gt;
> http://lists.xwiki.org/mailman/listinfo/users
>  >  &gt;   &gt;   &gt;   Ar cie&#326;u, Mihails
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt;  Links:
>  >  &gt;   &gt;   &gt;  ------
>  >  &gt;   &gt;   &gt;  [1] mailto:[EMAIL PROTECTED]
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   &gt;
> _______________________________________________
>  >  &gt;   &gt;   &gt;  users mailing list
>  >  &gt;   &gt;   &gt;  users@xwiki.org
>  >  &gt;   &gt;   &gt;  http://lists.xwiki.org/mailman/listinfo/users
>  >  &gt;   &gt;   &gt;
>  >  &gt;   &gt;   --
>  >  &gt;   &gt;   Thomas Mortagne
>  >  &gt;   &gt;   _______________________________________________
>  >  &gt;   &gt;   users mailing list
>  >  &gt;   &gt;   users@xwiki.org
>  >  &gt;   &gt;   http://lists.xwiki.org/mailman/listinfo/users
>  >  &gt;   &gt;   Ar cie&#326;u, Mihails
>  >  &gt;   &gt;
>  >  &gt;   &gt;  Links:
>  >  &gt;   &gt;  ------
>  >  &gt;   &gt;  [1] mailto:[EMAIL PROTECTED]
>  >  &gt;   &gt;  _______________________________________________
>  >  &gt;   &gt;  users mailing list
>  >  &gt;   &gt;  users@xwiki.org
>  >  &gt;   &gt;  http://lists.xwiki.org/mailman/listinfo/users
>  >  &gt;   &gt;
>  >  &gt;   --
>  >  &gt;   Thomas Mortagne
>  >  &gt;   _______________________________________________
>  >  &gt;   users mailing list
>  >  &gt;   users@xwiki.org
>  >  &gt;   http://lists.xwiki.org/mailman/listinfo/users
>  >  &gt;   Ar cie&#326;u, Mihails
>  >  &gt;
>  >  &gt;  Links:
>  >  &gt;  ------
>  >  &gt;  [1] mailto:[EMAIL PROTECTED]
>  >  &gt;  _______________________________________________
>  >  &gt;  users mailing list
>  >  &gt;  users@xwiki.org
>  >  &gt;  http://lists.xwiki.org/mailman/listinfo/users
>  >  &gt;
>  >  --
>  >  Thomas Mortagne
>  >  _______________________________________________
>  >  users mailing list
>  >  users@xwiki.org
>  >  http://lists.xwiki.org/mailman/listinfo/users
>  >  Ar cieņu, Mihails
>  >
>  > Links:
>  > ------
>  > [1] mailto:[EMAIL PROTECTED]
>  > _______________________________________________
>  > 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
>  Ar cieņu, Mihails
>
> Links:
> ------
> [1] mailto:[EMAIL PROTECTED]
>
> Advertisement:
>
> prasi mammai!
> www.mama.lv
> _______________________________________________
> 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

Reply via email to