ret = cell.call_pt_server(params, kafs.PR_NewEntry, name, kafs.PRGRP, oid)
new_id = ret.id
output("Group ", name, " has id ", new_id, "\n")
- evict_name(name)
- evict_id(new_id)
+ prcache.evict_name(name)
+ prcache.evict_id(new_id)
except kafs.AbortPREXIST:
error("Entry for name already exists ; unable to create group ", name, "\n")
if "force" not in params:
ret = cell.call_pt_server(params, kafs.PR_INewEntry, name, 0, 0)
new_id = ret.id
output("User ", name, " has id ", new_id, "\n")
- evict_name(name)
- evict_id(new_id)
+ prcache.evict_name(name)
+ prcache.evict_id(new_id)
except kafs.AbortPREXIST:
error("Entry for name already exists ; unable to create user ", name, "\n")
if "force" not in params: