[Bug 66925] Re: admin password set by debconf during install is not valid
Copied to dapper-updates. ** Changed in: openldap2.2 (Ubuntu Dapper) Status: Fix Committed = Fix Released -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Using slapd package version 2.2.26-5ubuntu2.6 I was able to recreate this bug. After freshly installing slapd package version 2.2.26-5ubuntu2.7 I was able to connect using the password I specified during the package installation process. ** Tags added: verification-done ** Tags removed: verification-needed -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Accepted into dapper-proposed, please test. ** Changed in: openldap2.2 (Ubuntu Dapper) Status: In Progress = Fix Committed ** Tags added: verification-needed -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
I've uploaded a new version to dapper-proposed. ** Attachment added: openldap2.2_2.2.26-5ubuntu2.7.debdiff http://launchpadlibrarian.net/14238948/openldap2.2_2.2.26-5ubuntu2.7.debdiff -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
** Attachment added: test_fix_ubuntu2.7.sh http://launchpadlibrarian.net/14238959/test_fix_ubuntu2.7.sh ** Changed in: openldap2.2 (Ubuntu Dapper) Assignee: Mathias Gug (mathiaz) = (unassigned) -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Setting back to 'in progress', since the -proposed version needs a reupload. ** Changed in: openldap2.2 (Ubuntu Dapper) Status: Fix Committed = In Progress ** Tags removed: verification-needed -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Please apply the latest security patches for dapper (2.2.26-5ubuntu2.6). -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Sponsored and accepted into gutsy-proposed. Please test. ** Changed in: openldap2.2 (Ubuntu Dapper) Status: In Progress = Fix Committed -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
I've attached a new debdiff. ** Attachment added: openldap2.2_2.2.26-5ubuntu2.5.debdiff http://launchpadlibrarian.net/11457652/openldap2.2_2.2.26-5ubuntu2.5.debdiff -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
** Attachment added: test_fix_ubuntu2.5.sh http://launchpadlibrarian.net/11457662/test_fix_ubuntu2.5.sh -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Mathias, please reapply the patch to the current security update in dapper. ** Changed in: openldap2.2 (Ubuntu Dapper) Status: Fix Committed = In Progress -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Needs security fixes now. -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Just wanted to report that I tested slapd_2.2.26-5ubuntu2.2_i386 and can confirm the bug. I then tested Mathias' test script and the fix worked as advertised. I've attached a text file of the last lines of output. The other output was masked by the configuration menu, and I wasn't sure how to capture it. Please let me know if you need more information. Thanks, Adam ** Attachment added: test_output.txt http://launchpadlibrarian.net/10632867/test_output.txt -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Diff applied, package sponsored, accepted into dapper-proposed. Please test. ** Tags added: verification-needed ** Changed in: openldap2.2 (Ubuntu Dapper) Status: In Progress = Fix Committed -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Diff looks good, approved for SRU. For SRU verification, please include some monkey-proof recipe for reproducing the error and checking the fix. ** Changed in: openldap2.2 (Ubuntu Dapper) Assignee: (unassigned) = Mathias Gug (mathiaz) Status: New = In Progress -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
To reproduce the error, install the slapd package with a debconf priority of medium. Enter an admin password and then try to connect to the server with the ldapsearch command: ldapsearch -D cn=admin,dc=example,dc=com -x -w mypwd You should get the following error: ldap_bind: Invalid credentials (49) To check the new version: Purge and install the new slapd and libldap-2.2 library with debconf priority of medium. Enter an admin password and then try to connect to the server with the ldapsearch command: ldapsearch -D cn=admin,dc=example,dc=com -x -w mypwd You should be able to connect to the server correctly. -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
I've attached a script that test the fix. It should be run from a directory with the slapd libldap packages: $ ls libldap-2.2-7_2.2.26-5ubuntu2.2_i386.deb slapd_2.2.26-5ubuntu2.3_i386.deb libldap-2.2-7_2.2.26-5ubuntu2.3_i386.deb test_fix.sh slapd_2.2.26-5ubuntu2.2_i386.deb The domain should be example.com and admin password mypwd. ** Attachment added: shell script to test the fix http://launchpadlibrarian.net/9551036/test_fix.sh -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - the Gutsy Gibbon. It has been fixed in version 2.3.23-1. I'm also nominating the bug to be fixed in dapper. ** Changed in: openldap2.3 (Ubuntu) Status: Incomplete = Fix Released -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
I've added a debdiff that should fix the problem for dapper. I've extracted the change from debian svn repository. ** Attachment added: openldap2.2_2.2.26-5ubuntu2.3.debdiff http://launchpadlibrarian.net/9361272/openldap2.2_2.2.26-5ubuntu2.3.debdiff ** Changed in: openldap2.2 (Ubuntu) Sourcepackagename: openldap2.3 = openldap2.2 -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
I have the same problem here with slapd 2.2.26-5ubuntu2.2 on Ubuntu 6.06.1 LTS. I am prompted for a password (and confirmation of the password) when installing the package, but this password does not work for the created admin user (cn=admin,dc=nodomain) Using strings on id2entry.db I found and cracked the password that it stored for my admin user. Turns out it is a blank password. This is repeatable, happens every time I install the slapd package. A workaround to get a usable directory: The problem is that you cannot authenticate with a blank password. I get ldap_bind: Server is unwilling to perform (53) additional info: unauthenticated bind (DN with no password) disallowed To get around this, I added rootdn cn=admin,dc=nodomain rootpw changeme to /etc/slapd.conf and restarted slapd. Then I used ldappasswd to set a new password for my admin user: ldappasswd -x -D cn=admin,dc=nodomain -w changeme Then I removed rootdn rootpw from slapd.conf and restarted slapd again, and was able to continue with my new password. -t -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
Well it is exactly like Steve said, the LDAP manager password which is queried by debconf during the install of slapd is simply not written to /etc/lapd/slapd.conf . Thus any authentication to the LDAP database with tools like ldap-account-manager will fail. Furthermore the base entries are also not written to the config file. -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 66925] Re: admin password set by debconf during install is not valid
On Mon, Aug 27, 2007 at 01:52:37PM -, ChristianUlbrich wrote: Well it is exactly like Steve said, the LDAP manager password which is queried by debconf during the install of slapd is simply not written to /etc/lapd/slapd.conf. No, it's written to the ldap database instead. Thus any authentication to the LDAP database with tools like ldap-account-manager will fail. It works for me. Could you be a bit more specific about what precisely doesn't work? Furthermore the base entries are also not written to the config file. Indeed. We only add the root dn and the admin to the ldap. This is on purpose. -- Soren Hansen Ubuntu Server Team http://www.ubuntu.com/ -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
This bug should be fixed by using openldap2.3 in Feisty, with openldap2.2 disappearing. ** Changed in: openldap2.3 (Ubuntu) Sourcepackagename: openldap2.2 = openldap2.3 Status: New = Fix Released -- admin password set by debconf during install is not valid https://bugs.launchpad.net/bugs/66925 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 66925] Re: admin password set by debconf during install is not valid
** Changed in: openldap (upstream) Status: Unknown = Fix Released -- admin password set by debconf during install is not valid https://launchpad.net/bugs/66925 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs