1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

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)
This commit is contained in:
Lars Müller 2005-08-04 04:57:51 +00:00 committed by Gerald (Jerry) Carter
parent e20695a503
commit f5024ae257

View File

@ -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 )