- Timestamp:
- 03/12/18 14:22:15 (7 years ago)
- Branches:
- master, perl-5.22
- Children:
- fdfd619
- Parents:
- 1051986
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
npl/fileserver/smb-ldap-tool/modified/smbldap-groupmod
r1051986 r3187b26 48 48 print " -r group-rid\n"; 49 49 print " -s group-sid\n"; 50 print " -t group-type\n"; 50 print " -t group-type\n"; 51 51 print " -x delete members (comma delimted)\n"; 52 52 print " -? show this help message\n"; … … 66 66 my $newname = $Options{'n'}; 67 67 68 my $nscd_status = system "/etc/init.d/nscd status >/dev/null 2>&1"; 69 70 if ($nscd_status == 0) { 71 system "/etc/init.d/nscd restart > /dev/null 2>&1"; 72 } 68 # my $nscd_status = system "/etc/init.d/nscd status >/dev/null 2>&1"; 69 # 70 # if ($nscd_status == 0) { 71 # system "/etc/init.d/nscd restart > /dev/null 2>&1"; 72 # } 73 system "nscd -i passwd; nscd -i group"; 73 74 74 75 my $gid = getgrnam($groupName); … … 223 224 } 224 225 225 $nscd_status = system "/etc/init.d/nscd status >/dev/null 2>&1"; 226 227 if ($nscd_status == 0) { 228 system "/etc/init.d/nscd restart > /dev/null 2>&1"; 229 } 226 # $nscd_status = system "/etc/init.d/nscd status >/dev/null 2>&1"; 227 # 228 # if ($nscd_status == 0) { 229 # system "/etc/init.d/nscd restart > /dev/null 2>&1"; 230 # } 231 system "nscd -i passwd; nscd -i group"; 230 232 231 233 # take down session
Note: See TracChangeset
for help on using the changeset viewer.