Bug 7628 - passdb backend = ldapsam:"something" yields ldap_initialize: Bad parameter to an ldap routine
passdb backend = ldapsam:"something" yields ldap_initialize: Bad parameter to...
Status: NEW
Product: Samba 3.5
Classification: Unclassified
Component: Config Files
3.5.4
Other Linux
: P3 normal
: ---
Assigned To: Guenther Deschner
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
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?