r21547: Fix from Michael Adam <ma@sernet.de>: Refuse registry shares without path.
[kai/samba.git] / source3 / dynconfig.c
index a12eee1506ab85cd03e6e6a1d62ae5d5a5a85ba3..3104a12f7cf5d35298c210b3e54c9e054e4b9737 100644 (file)
@@ -1,6 +1,7 @@
 /* 
-   Unix SMB/Netbios implementation.
+   Unix SMB/CIFS implementation.
    Copyright (C) 2001 by Martin Pool <mbp@samba.org>
+   Copyright (C) 2003 by Jim McDonough <jmcd@us.ibm.com>
    
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -45,20 +46,27 @@ char const *dyn_SBINDIR = SBINDIR,
 
 pstring dyn_CONFIGFILE = CONFIGFILE; /**< Location of smb.conf file. **/
 
-pstring dyn_LOGFILEBASE; /**< Log file directory. **/
+/** Log file directory. **/
+pstring dyn_LOGFILEBASE = LOGFILEBASE;
 
-pstring dyn_LMHOSTSFILE; /**< Statically configured LanMan hosts. **/
+/** Statically configured LanMan hosts. **/
+pstring dyn_LMHOSTSFILE = LMHOSTSFILE;
 
 /**
  * @brief Samba library directory.
  *
  * @sa lib_path() to get the path to a file inside the LIBDIR.
  **/
-pstring dyn_LIBDIR; 
+pstring dyn_LIBDIR = LIBDIR;
+fstring dyn_SHLIBEXT = SHLIBEXT;
 
 /**
  * @brief Directory holding lock files.
  *
  * Not writable, but used to set a default in the parameter table.
  **/
-pstring dyn_LOCKDIR;
+pstring dyn_LOCKDIR = LOCKDIR;
+pstring dyn_PIDDIR  = PIDDIR;
+
+pstring dyn_SMB_PASSWD_FILE = SMB_PASSWD_FILE;
+pstring dyn_PRIVATE_DIR = PRIVATE_DIR;