summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2005-08-04 04:57:51 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:00:24 -0500
commitf5024ae2573a4e4fbe0c87cce9a59e4e53da055a (patch)
tree3a5322dbf545e22f6b91df7926d0238b1b288872 /source3/passdb
parente20695a5036961cbb3b8ac24744273b7b8e5d31f (diff)
downloadsamba-f5024ae2573a4e4fbe0c87cce9a59e4e53da055a.tar.gz
samba-f5024ae2573a4e4fbe0c87cce9a59e4e53da055a.tar.bz2
samba-f5024ae2573a4e4fbe0c87cce9a59e4e53da055a.zip
r9051: Fix from Fernando Schapachnik <fernando@mecon.gov.ar> to add logon hours
support for the Postgres backend. Also add these changes from svn rev 7787 to trunk. (This used to be commit 7423895900817ab31e0ae6a44f1cae250e782c7d)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_pgsql.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/passdb/pdb_pgsql.c b/source3/passdb/pdb_pgsql.c
index e603bd6a53..fbafd70cb6 100644
--- a/source3/passdb/pdb_pgsql.c
+++ b/source3/passdb/pdb_pgsql.c
@@ -39,7 +39,7 @@ typedef struct pdb_pgsql_data {
const char *port ;
const char *user ;
const char *pass ;
-
+
const char *location ;
} pdb_pgsql_data ;
@@ -59,9 +59,10 @@ struct pdb_context *the_pdb_context;
DEBUG(0, ("invalid methods!\n")); \
return ; \
} \
- data = (struct pdb_pgsql_data *)methods->private_data;\
+ data = (struct pdb_pgsql_data *)methods->private_data; \
}
+
#define config_value( data, name, default_value ) \
lp_parm_const_string( GLOBAL_SECTION_SNUM, (data)->location, name, default_value )