From 0dcbafe2b97035df779f2e0742a130c4c79e3241 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Tue, 21 Nov 2000 05:55:16 +0000 Subject: Another large patch for the passdb rewrite. o added BOOL own_memory flag in SAM_ACCOUNT so we could use static memory for string pointer assignment or allocate a new string o added a reference TDB passdb backend. This is only a reference and should not be used in production because - RID's are generated using the same algorithm as with smbpasswd - a TDB can only have one key (w/o getting into problems) and we need three. Therefore the pdb_sam-getpwuid() and pdb_getsampwrid() functions are interative searches :-( we need transaction support, multiple indexes, and a nice open source DBM. The Berkeley DB (from sleepycat.com seems to fit this criteria now) o added a new parameter "private dir" as many places in the code were using lp_smb_passwd_file() and chopping off the filename part. This makes more sense to me and I will docuement it in the man pages o Ran through Insure-lite and corrected memory leaks. Need for a public flogging this time Jeremy (-: -- jerry (This used to be commit 4792029a2991bd84251d152a62b1033dec62cee2) --- source3/configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 00386bcece..f7f8b95845 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1392,9 +1392,9 @@ AC_ARG_WITH(pam, ################################################# # check for a TDB password database AC_MSG_CHECKING(whether to use TDB password database) -AC_ARG_WITH(tdbpwd, -[ --with-tdbpwd Include experimental TDB password database - --without-tdbpwd Don't include experimental TDB password database (default)], +AC_ARG_WITH(tdbsam, +[ --with-tdbsam Include experimental TDB password database + --without-tdbsam Don't include experimental TDB password database (default)], [ case "$withval" in yes) AC_MSG_RESULT(yes) -- cgit