ldaps cannot be used

Bug #185832 reported by quitte
6
Affects Status Importance Assigned to Milestone
ldap2dns (Ubuntu)
Confirmed
Medium
Unassigned
smbldap-tools (Debian)
New
Unknown
smbldap-tools (Ubuntu)
Fix Released
Undecided
artur bryczek

Bug Description

Binary package hint: smbldap-tools

it is not possible to use a ldaps only ldap server with smbldap-tools. Someone in #wine-technical on freenode confirmed this to me.
Debian has the same bug reported 2 years ago with a perl code snippet. maybe this can help.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344422
Thanks for looking into this
Jonas

Revision history for this message
In , Sergio Talens-Oliag (sto) wrote : Re: Bug#344422: smbldap-tools: LDAP + SSL not working

El Thu, Dec 22, 2005 at 05:33:21PM +0100, Yann Forget va escriure:
> Package: smbldap-tools
> Version: 0.9.1-2
> Severity: normal
> Tags: patch
>
> Hi,
>
> I added/change the following to use LDAP + SSL:

What you have sent is not a patch, so I don't really know what I'm
supposed to do with it... what is not working? where is the code you have sent
supposed to go?

Greetings,

  Sergio.

> use Net::LDAPS;
>
> if (($config{ldapSSL} != 1) and ($config{ldapTLS} != 1)) {
> print "re\n";
> $ldap_master = Net::LDAP->new(
> "$config{masterLDAP}",
> port => "$config{masterPort}",
> )
> or die "LDAP error: Can't contact master ldap server ($@)";
> }
> if ($config{ldapSSL} eq "1") {
> $ldap_master = Net::LDAPS->new(
> "$config{masterLDAPS}",
> port => "$config{masterPort}",
> verify => "$config{verify}",
> cafile => "$config{cafile}"
> )
> or die "LDAP error: Can't contact master ldap server with SSL ($@)";
> }
>
> with in /etc/smbldap-tools/smbldap.conf
> masterLDAPS="ldaps://myldapserver/"

--
Sergio Talens-Oliag <email address hidden> <http://www.uv.es/~sto/>
Key fingerprint = 29DF 544F 1BD9 548C 8F15 86EF 6770 052B B8C1 FA69

Revision history for this message
In , quitte (quitte) wrote : smbldap-tools: ldaps does not work

Package: smbldap-tools
Followup-For: Bug #344422

The problem with smbldap-tools is that it cannot connect to a ldap server
that doesn't run in unencrypted mode at all. I wanted to run slapd with -h
ldaps:/// only. smbldap-tools are unable to connect to it.
Unfortunately I don't know perl at all. But afaict the code snippet from the
original bug report should go somewhere in smbldap_tools.pm. I'd be very
glad if someone that knows perl could have another look at it.
Thanks, Jonas

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Revision history for this message
quitte (quitte) wrote :

Binary package hint: smbldap-tools

it is not possible to use a ldaps only ldap server with smbldap-tools. Someone in #wine-technical on freenode confirmed this to me.
Debian has the same bug reported 2 years ago with a perl code snippet. maybe this can help.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=344422
Thanks for looking into this
Jonas

Changed in smbldap-tools:
status: Unknown → New
dino99 (9d9)
Changed in smbldap-tools (Ubuntu):
status: New → Incomplete
affects: smbldap-tools (Debian) → ldap2dns (Ubuntu)
Changed in ldap2dns (Ubuntu):
status: New → Invalid
Changed in smbldap-tools (Ubuntu):
status: Incomplete → Invalid
Changed in ldap2dns (Ubuntu):
status: Invalid → New
Changed in smbldap-tools (Debian):
status: Unknown → New
Changed in smbldap-tools (Ubuntu):
status: Invalid → Fix Released
assignee: nobody → artur bryczek (arturbryczek)
Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Is this still an issue to you?

Changed in ldap2dns (Ubuntu):
status: New → Incomplete
Revision history for this message
quitte (quitte) wrote : Re: [Bug 185832] Re: ldaps cannot be used

Sorry, no.
It might well become one, though. Syncing different accounts and their
home directories is a problem I keep having.

On Wed, Nov 21, 2012 at 5:09 PM, Thomas Hotz <email address hidden> wrote:
> Is this still an issue to you?
>
> ** Changed in: ldap2dns (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/185832
>
> Title:
> ldaps cannot be used
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/ldap2dns/+bug/185832/+subscriptions

Changed in ldap2dns (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Thomas Hotz (thotz-deactivatedaccount) wrote :

Could someone please set an importance to this bug, please?

Changed in ldap2dns (Ubuntu):
status: Confirmed → New
Colin Watson (cjwatson)
Changed in ldap2dns (Ubuntu):
importance: Unknown → Undecided
importance: Undecided → Medium
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.