summaryrefslogtreecommitdiff
path: root/source/configure
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2000-11-21 05:55:16 +0000
committerGerald Carter <jerry@samba.org>2000-11-21 05:55:16 +0000
commit4792029a2991bd84251d152a62b1033dec62cee2 (patch)
treee583dddcf093548001ea7d154c35cea749ea407a /source/configure
parent63cafb34b39443d03d17ae01b47adc0926b05fe2 (diff)
downloadsamba-4792029a2991bd84251d152a62b1033dec62cee2.tar.gz
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
Diffstat (limited to 'source/configure')
-rwxr-xr-xsource/configure10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/configure b/source/configure
index 0dc736fea1b..6a05c3a21cf 100755
--- a/source/configure
+++ b/source/configure
@@ -47,8 +47,8 @@ ac_help="$ac_help
--with-pam Include PAM password database support
--without-pam Don't include PAM password database support (default)"
ac_help="$ac_help
- --with-tdbpwd Include experimental TDB password database
- --without-tdbpwd Don't include experimental TDB password database (default)"
+ --with-tdbsam Include experimental TDB password database
+ --without-tdbsam Don't include experimental TDB password database (default)"
ac_help="$ac_help
--with-ldap Include LDAP support
--without-ldap Don't include LDAP support (default)"
@@ -10641,9 +10641,9 @@ fi
# check for a TDB password database
echo $ac_n "checking whether to use TDB password database""... $ac_c" 1>&6
echo "configure:10644: checking whether to use TDB password database" >&5
-# Check whether --with-tdbpwd or --without-tdbpwd was given.
-if test "${with_tdbpwd+set}" = set; then
- withval="$with_tdbpwd"
+# Check whether --with-tdbsam or --without-tdbsam was given.
+if test "${with_tdbsam+set}" = set; then
+ withval="$with_tdbsam"
case "$withval" in
yes)
echo "$ac_t""yes" 1>&6