Ignore:
Timestamp:
03/12/18 14:22:15 (7 years ago)
Author:
Edwin Eefting <edwin@datux.nl>
Branches:
master, perl-5.22
Children:
fdfd619
Parents:
1051986
Message:

flush nscd cache when modifying users

File:
1 edited

Legend:

Unmodified
Added
Removed
  • npl/fileserver/smb-ldap-tool/modified/smbldap-groupdel

    r1051986 r3187b26  
    5757group_del($dn);
    5858
    59 my $nscd_status = system "/etc/init.d/nscd status >/dev/null 2>&1";
    60 
    61 if ($nscd_status == 0) {
    62   system "/etc/init.d/nscd restart > /dev/null 2>&1";
    63 }
     59# my $nscd_status = system "/etc/init.d/nscd status >/dev/null 2>&1";
     60#
     61# if ($nscd_status == 0) {
     62#   system "/etc/init.d/nscd restart > /dev/null 2>&1";
     63# }
     64system "nscd -i passwd; nscd -i group";
    6465
    6566#if (defined($dn_line = get_group_dn($_groupName))) {
Note: See TracChangeset for help on using the changeset viewer.