summaryrefslogtreecommitdiff
path: root/source4/setup/setexpiry
diff options
context:
space:
mode:
Diffstat (limited to 'source4/setup/setexpiry')
-rwxr-xr-xsource4/setup/setexpiry2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/setup/setexpiry b/source4/setup/setexpiry
index 6c6305ceaf..1572555b8c 100755
--- a/source4/setup/setexpiry
+++ b/source4/setup/setexpiry
@@ -61,4 +61,4 @@ creds = credopts.get_credentials(lp)
samdb = SamDB(url=lp.get("sam database"), session_info=system_session(),
credentials=creds, lp=lp)
-samdb.setexpiry(filter, days*24*3600, noexpiry=opts.noexpiry)
+samdb.setexpiry(filter, days*24*3600, no_expiry_req=opts.noexpiry)