Use libnet_smbconf_reg_open_path() in libnet_smbconf_drop().