#!/usr/local/bin/perl # edit_gsync.cgi # Allow the user to edit auto updating of Samba groups by useradmin require './samba-lib.pl'; $access{'maint_gsync'} || &error($text{'gsync_ecannot'}); &ui_print_header(undef, $text{'gsync_title'}, ""); &check_group_enabled($text{'gsync_cannot'}); print $text{'gsync_msg'}, "

\n"; print "

\n"; printf "\n", $config{'gsync_add'} ? "checked" : ""; print "$text{'gsync_add'}\n"; print "\n"; print "\n"; print "\n"; print "\n"; printf "\n", $config{'gsync_priv'}; print "
$text{'gsync_type'}
$text{'gsync_priv'}

\n"; printf "\n", $config{'gsync_change'} ? "checked" : ""; print "$text{'gsync_chg'}

\n"; printf "\n", $config{'gsync_delete'} ? "checked" : ""; print "$text{'gsync_del'}

\n"; print "

\n"; &ui_print_footer("", $text{'index_sharelist'});