diff options
author | Luke Leighton <lkcl@samba.org> | 1998-11-23 21:51:05 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-11-23 21:51:05 +0000 |
commit | 4cee58780cb15fe5889b9dd0dc34459512d75062 (patch) | |
tree | 07e0db236cfdb786458451b879333bc1d687cf3c /source3/passdb/passgrp.c | |
parent | 735926877bb8333a9e862657ea89001bea376b9f (diff) | |
download | samba-4cee58780cb15fe5889b9dd0dc34459512d75062.tar.gz samba-4cee58780cb15fe5889b9dd0dc34459512d75062.tar.bz2 samba-4cee58780cb15fe5889b9dd0dc34459512d75062.zip |
unix instance of group database API
(This used to be commit e76f593b3572ac881f1aa1fb3326d8b7169b0078)
Diffstat (limited to 'source3/passdb/passgrp.c')
-rw-r--r-- | source3/passdb/passgrp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/passdb/passgrp.c b/source3/passdb/passgrp.c index ded9ef33d2..f626dd978a 100644 --- a/source3/passdb/passgrp.c +++ b/source3/passdb/passgrp.c @@ -34,7 +34,7 @@ extern int DEBUGLEVEL; * */ -static struct passgrp_ops *pwgrp_ops; +static struct passgrp_ops *pwgrp_ops = NULL; /*************************************************************** Initialise the passgrp operations. @@ -51,7 +51,9 @@ BOOL initialise_passgrp_db(void) pwgrp_ops = nisplus_initialise_password_grp(); #elif defined(WITH_LDAP) pwgrp_ops = ldap_initialise_password_grp(); -#else +#elif defined(USE_SMBUNIX_DB) + pwgrp_ops = unix_initialise_password_grp(); +#elif defined(USE_SMBPASS_DB) pwgrp_ops = file_initialise_password_grp(); #endif |