diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-14 00:05:27 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-12-14 00:05:27 +0100 |
commit | b73ac9c35fb53203b8d0668251dfb66096883863 (patch) | |
tree | b5e10b15e55ec9453bf902431a3b9dc24310378c /unix.c | |
parent | a301379c2035d9d0dd86926c4bdeebf95db18fac (diff) |
Add support for 'primary' and 'migrate' account storages.
Fix two bugs in the text storage backend that were introduced by my previous
changes.
Diffstat (limited to 'unix.c')
-rw-r--r-- | unix.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -71,9 +71,10 @@ int main( int argc, char *argv[] ) if( i != 0 ) return( i ); - global.storage = storage_init( global.conf->storage ); + global.storage = storage_init( global.conf->primary_storage, + global.conf->migrate_storage ); if ( global.storage == NULL) { - log_message( LOGLVL_ERROR, "No such storage backend '%s'", global.conf->storage ); + log_message( LOGLVL_ERROR, "Unable to load storage backend '%s'", global.conf->primary_storage ); return( 1 ); } |