changes to passdb backend defaults in 3.0 alpha21

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 20 Dec 2002, Steve Langasek wrote:

> The following code appears in source/params/loadparm.c from 3.0alpha21:
> 
> #ifdef WITH_LDAP_SAMCONFIG
>         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            ------------------------- http://www.hp.com
 SAMBA Team                 ---------------------- http://www.samba.org
 GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
 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)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE+LDooIR7qMdg1EfYRAiwZAJ9d3uIcO3EHw9SKx7RYL8b9tDcVtACg5WQF
A8E+j0g/o0kdKmQHQC8pYPY=
=kRjt
-----END PGP SIGNATURE-----




More information about the samba-technical mailing list