From f5024ae2573a4e4fbe0c87cce9a59e4e53da055a Mon Sep 17 00:00:00 2001 From: Lars Müller Date: Thu, 4 Aug 2005 04:57:51 +0000 Subject: r9051: Fix from Fernando Schapachnik 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) --- source3/passdb/pdb_pgsql.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3') 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 ) -- cgit