changes to passdb backend defaults in 3.0 alpha21

Gerald (Jerry) Carter jerry at
Mon Jan 20 18:06:58 GMT 2003

Hash: SHA1

On Fri, 20 Dec 2002, Steve Langasek wrote:

> The following code appears in source/params/loadparm.c from 3.0alpha21:
>         string_set(&Globals.szLdapServer, "localhost");
>         Globals.ldap_port = 636;
>         Globals.szPassdbBackend = str_list_make("ldapsam unixsam", NULL);
> #else
>         Globals.szPassdbBackend = str_list_make("smbpasswd unixsam", NULL);
> #endif /* WITH_LDAP_SAMCONFIG */
> Would it be possible to revert this change with respect to the 'passdb
> backend' default?  This is a very awkward default for packagers who wish
> to enable LDAP support in their binaries, but still need to serve the
> needs of users who are not (yet) using LDAP.

I just checked and this is still in SAMBA_3_0.  You really don't need 
to get LDAP support.  It's for a the 2.2 compatible parameters.  The 
intent is to work like Samba 2.2 in the sense that with you enable LDAP
support, that what you get.

Or am I missing the gist of your question.

cheers, jerry
 Hewlett-Packard            -------------------------
 SAMBA Team                 ----------------------
 GnuPG Key                  ----
 ISBN 0-672-32269-2         "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "You can never go home again, Oatman, but I guess you can shop there."  
                            --John Cusack - "Grosse Point Blank" (1997)

Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see


More information about the samba-technical mailing list