Return-Path: X-Original-To: apmail-subversion-users-archive@minotaur.apache.org Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5388310886 for ; Wed, 14 Aug 2013 10:22:20 +0000 (UTC) Received: (qmail 39556 invoked by uid 500); 14 Aug 2013 10:22:19 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 39536 invoked by uid 500); 14 Aug 2013 10:22:18 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 39516 invoked by uid 99); 14 Aug 2013 10:22:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 10:22:14 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [85.214.204.122] (HELO mail.noumena.de) (85.214.204.122) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 10:22:08 +0000 Received: from noumenasrv002.TGC (unknown [178.210.103.98]) by mail.noumena.de (Postfix) with ESMTPS id 1BF704AC0036 for ; Wed, 14 Aug 2013 12:21:28 +0200 (CEST) Received: from NOUMENASRV002.TGC ([::1]) by noumenasrv002.TGC ([::1]) with mapi id 14.03.0123.003; Wed, 14 Aug 2013 12:21:27 +0200 From: Klaus Thorn To: "users@subversion.apache.org" Subject: svnserve: could not find auxprop plugin, was searching for 'ldap' (1.8.1, linux, from source) Thread-Topic: svnserve: could not find auxprop plugin, was searching for 'ldap' (1.8.1, linux, from source) Thread-Index: Ac6Y2Ah/B48EtP5cQAWpj9DB4xjPFw== Date: Wed, 14 Aug 2013 10:21:26 +0000 Message-ID: <0696AF180FDCA1448743A20E55EAA3789CD19030@noumenasrv002.TGC> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.0.100] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org The error: svnserve: could not find auxprop plugin, was searching for 'ldap' is appearing in /var/log/auth.log whenever I try to log in. It always fails. Test setup: I am opening Tortoise-SVN repo-browser on a Windows client mach= ine with a svn:// URL pointing to my new subversion server and try to log in. The login does not work, the login dialog gets displayed again. Instead I expect svnserve to use the ldap lib and saslauthd to auth against our local Windows domain's Active Directory. Which perfectly works on my older subversion server running Ubuntu 11.04 wi= th ubuntu's binary SVN packages. How do I get that to work on the new server, too? __Why does it not work on the ("new") Ubuntu 12.04 server with Subversion 1= .8.1 built from source? I think I ruled out a lot of usual suspects: - Saslauthd is not a suspect, because by using testsaslauthd on the same 12= .04 server, I AM able to auth against our Active Directory. Also, The error= (above) says "svnserve..." not "sasl...". - All the configuration files are identical to my working installation on m= y old Ubuntu 11.04 server, so I have no reason to doubt them. Currently, in my view, only the svnserve binary is left as the main suspect= . But other opinions are welcome (but not: "use apache instead of svnserve" := -). On that "svnserve is the problem" road I found my only current hint to a ca= use: The working svnserve on the ("old") 11.04 server has the following linking = (as seen with ldd): libldap_r-2.4.so.2 =3D> /usr/lib/libldap_r-2.4.so.2 I guess that I did not manage to get that linking included in my source bui= ld. (and by the way: Ubuntu 12.04 did not, either, because the svnserve binary of Ubuntu 12.04 is missing this linking, too, = and does not work for me.) __Details (on the not working setup): Subversion 1.8.1 is built from source, on Ubuntu 12.04 64bit, with sqlite a= malgamation. uname -a @12.04 server: Linux zeus 3.2.0-34-generic #53-Ubuntu SMP Thu Nov 15 10:48:16 UTC 2012 x86= _64 x86_64 x86_64 GNU/Linux Ubuntu Packages installed with "ldap" in their name: Installed: ldap-utils 2.4.28-1.1ubuntu4.3 Installed: libaprutil1-ldap 1.3.12+dfsg-3 Installed: libldap-2.4-2 2.4.28-1.1ubuntu4.3 Installed: libldap2-dev 2.4.28-1.1ubuntu4.3 Installed: libsasl2-modules-ldap 2.1.25.dfsg1-3ubuntu0.1 Config files (as I said, I have no reason to doubt them): /etc/sasl2/svn.conf pwcheck_method: saslauthd log_level: 5 auxprop_plugin: ldap allow_plaintext: true mech_list: PLAIN ldapdb_mech: PLAIN .../conf/svnserve.conf [general] anon-access =3D none auth-access =3D write authz-db =3D permissions realm =3D noumena.de [sasl] use-sasl =3D true min-encryption =3D 0 max-encryption =3D 0 /etc/default/saslauthd START=3Dyes MECHANISMS=3D"ldap" MECH_OPTIONS=3D"" OPTIONS=3D"-c -m /var/run/saslauthd" /etc/saslauthd.conf ldap_servers: ldap://**SERVERNAME**.noumena.de ldap_default_domain: noumena.de ldap_search_base: DC=3Dnoumena,DC=3Dde ldap_bind_dn: CN=3D**username**,CN=3DUsers,DC=3Dnoumena,DC=3Dde ldap_bind_pw: **PW** ldap_password: **PW** ldap_mech: PLAIN ldap_deref: never ldap_restart: yes ldap_scope: sub ldap_use_sasl: no ldap_start_tls: no ldap_version: 3 ldap_auth_method: bind ldap_filter: sAMAccountName=3D%U ldap_password_attr: userPassword ldap_timeout: 10 ldap_cache_ttl: 30 ldap_cache_mem: 32768 __Details on the working ("old") setup: Although I do not want to make this an Ubuntu discussion, (because I already tried and failed to get support from the Ubuntu communit= y and because building from source gives me access to SVN 1.8; in contrast t= o 1.6! ) I nevertheless include more details just in case they might somehow help: uname -a @11.04 server: (the old working setup) Linux rogue 2.6.38-8-server #42-Ubuntu SMP Mon Apr 11 03:49:04 UTC 2011 x86= _64 x86_64 x86_64 GNU/Linux SVN 1.6.12dfsg-4ubuntu2.1 Config: as above with the not working setup. There are a lot more libraries that are linked into svnserve of Ubuntu 11.04 (binary package SVN 1.6.12dfsg-4ubuntu2.1) but not into 12.04 (binary package SVN 1.6.17dfsg-3ubuntu3): libldap_r-2.4.so.2 =3D> /usr/lib/libldap_r-2.4.so.2 (0x00007f22fb596000) liblber-2.4.so.2 =3D> /usr/lib/liblber-2.4.so.2 (0x00007f22fb387000) libresolv.so.2 =3D> /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f22f9ed700= 0) libgssapi_krb5.so.2 =3D> /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x0= 0007f22f9ca2000) libgnutls.so.26 =3D> /usr/lib/x86_64-linux-gnu/libgnutls.so.26 (0x00007f22f= 9a00000) libgcrypt.so.11 =3D> /lib/x86_64-linux-gnu/libgcrypt.so.11 (0x00007f22f9786= 000) libkrb5.so.3 =3D> /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007f22f94c100= 0) libk5crypto.so.3 =3D> /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007f2= 2f929a000) libcom_err.so.2 =3D> /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007f22f9096= 000) libkrb5support.so.0 =3D> /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x0= 0007f22f8e8d000) libkeyutils.so.1 =3D> /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007f22f8c= 8a000) libtasn1.so.3 =3D> /usr/lib/x86_64-linux-gnu/libtasn1.so.3 (0x00007f22f8a79= 000) libgpg-error.so.0 =3D> /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f22f= 8874000) librt.so.1 =3D> /lib/x86_64-linux-gnu/librt.so.1 (0x00007f8f32ea6000) I DO have installed all those library packages on both systems. thanks in advance, --=20 :::::::::::::::::::: Klaus Thorn IT Administrator klaus.thorn@noumenastudios.com :::::::::::::::::::: Noumena Studios GmbH part of kalypso media group L=FCtzowstra=DFe 33 10785 Berlin Germany http://www.noumenastudios.com http://www.kalypsomedia.com CEO/Gesch=E4ftsf=FChrer: Stefan Marcinek Commercial register of the local court / Registergericht: HRB 129507 B VAT identification number / Ust-Id.Nr.: DE274058087 :::::::::::::::::::: This e-mail is for the sole use of the intended recipient(s) and may contai= n confidential and privileged information. Any unauthorized review, use, di= sclosure or distribution is prohibited. Noumena Studios is unable to contro= l the content transmitted via the Internet. Noumena Studios hereby excludes= any written or implied warranty as to the accuracy of any information cont= ained in this message and any liability of any kind for the information con= tained, therein, or for its transmission, reception, storage or usage in an= y way