Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dnszone_add requires the serial but freeipa no longer allows this to be supplied #53

Open
DeathRabbit679 opened this issue Jul 7, 2023 · 0 comments

Comments

@DeathRabbit679
Copy link

If I make a call to freeipa(4.9.11) like the following:

ipa_conn.dnszone_add(a_idnsname="foo.bar.com.", o_idnssoaserial=1234, o_idnssoarname="hostmaster", o_idnssoamname="myipa.bar.com.")

I get back an error message from freeipa saying:

invalid 'serial': this option is deprecated

It looks like, at some point, freeipa switched over to managing the serial number more directly, making it immutable from the user perspective. However, o_idnssoaserial is a required positional argument for the function, so I can't not supply it to the function call. A workaround is to pass in None for this required argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant