diff options
author | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-05-16 15:08:31 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin.dahyabhai@pobox.com> | 2008-05-16 15:08:31 -0400 |
commit | 956a85c69a76ed595f08223a208dca9ef47606bd (patch) | |
tree | 05a3f07cd99be76107aa0c87b49d820d88707e5d /src/dummymap.c | |
parent | 5298ebf02a99d54271c10a5bf333bbba58bbc4af (diff) | |
download | slapi-nis-956a85c69a76ed595f08223a208dca9ef47606bd.tar.gz slapi-nis-956a85c69a76ed595f08223a208dca9ef47606bd.tar.xz slapi-nis-956a85c69a76ed595f08223a208dca9ef47606bd.zip |
- switch to using virtual attributes
- read the name of the master for a map from "cn=config"'s nsslapd-localhost
attribute, which is a virtual attribute
Diffstat (limited to 'src/dummymap.c')
-rw-r--r-- | src/dummymap.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/dummymap.c b/src/dummymap.c index 104fdc6..7ba1728 100644 --- a/src/dummymap.c +++ b/src/dummymap.c @@ -63,14 +63,23 @@ struct domain domains[] = { {NULL, NULL}, }; -void +int map_startup(struct plugin_state *state) { + return 0; } -void +int map_init(struct slapi_pblock *pb, struct plugin_state *state) { + return 0; +} + +int +map_master_name(struct plugin_state *state, const char **master) +{ + *master = "me, right here"; + return 0; } bool_t |