|
|
|
|
@ -214,10 +214,10 @@ if (main_config.sync_users){
|
|
|
|
|
int size;
|
|
|
|
|
config_str parsed = yon_char_parse(main_config.sync_users[i],&size,":");
|
|
|
|
|
if (!yon_char_is_empty(parsed[1])){
|
|
|
|
|
|
|
|
|
|
if (system (samba_sync_password_command(parsed[0],parsed[1]))){};
|
|
|
|
|
yon_launch (yon_debug_output("%s\n",samba_sync_password_command(parsed[0],parsed[1])));
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
if (system ( samba_sync_command(parsed[0]))){};
|
|
|
|
|
yon_launch (yon_debug_output("%s\n",samba_sync_command(parsed[0])));
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|