Bug 7628 - passdb backend = ldapsam:"something" yields ldap_initialize: Bad parameter to an ldap routine
Summary: passdb backend = ldapsam:"something" yields ldap_initialize: Bad parameter to...
Status: NEW
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.5.4
Hardware: Other Linux
: P3 normal
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 09:16 UTC by Victor Mataré
Modified: 2010-08-24 09:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Mataré 2010-08-18 09:16:28 UTC
The man page suggests putting ldap server URIs in double quotes. However when I specify:

passdb backend = ldapsam:"ldap://server"

I get:

# net sam provision
Checking for Domain Users group.
Adding the Domain Users group.
[2010/08/18 15:52:53.471848,  0] lib/smbldap.c:757(smb_ldap_setup_conn)
  ldap_initialize: Bad parameter to an ldap routine
[2010/08/18 15:52:54.472040,  0] lib/smbldap.c:757(smb_ldap_setup_conn)
  ldap_initialize: Bad parameter to an ldap routine
...

But when I specify:

passdb backend = ldapsam:ldap://server

Everything works fine. That's pretty counterintuitive...
Comment 1 Karolin Seeger 2010-08-24 09:45:53 UTC
Günther, is this by design?