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

Customize idmapd.conf and other options #87

Closed
xhejtman opened this issue Sep 28, 2018 · 8 comments
Closed

Customize idmapd.conf and other options #87

xhejtman opened this issue Sep 28, 2018 · 8 comments

Comments

@xhejtman
Copy link

Any chance for support to set Local-Realms and Cache-Expiration in /etc/idmapd.conf?
Currently only Domain is supported.
Also customizing GSSDOPTS in defaults config would be appreciated.

@derdanne
Copy link
Contributor

derdanne commented Oct 1, 2018

Hey @xhejtman,

i would definitely appreciate a pull request for this feature - maybe you can do this?

Best regards,
Daniel

@xhejtman
Copy link
Author

xhejtman commented Oct 2, 2018

Sent you an email with patches.

@derdanne
Copy link
Contributor

derdanne commented Oct 9, 2018

Hi, thanks! I will have a look at it.

@derdanne
Copy link
Contributor

derdanne commented Oct 9, 2018

I have created the branch https://github.com/derdanne/puppet-nfs/tree/customize_idmapd_and_other_options and applied the patches

@derdanne
Copy link
Contributor

derdanne commented Oct 9, 2018

Basically this looks good. I have added some small changes:

-> fix some minor syntax errors
-> set some variables to undef if not set
-> add the new variables in params for all ostypes
-> rename the variable $client_gssd_service to $client_gssd_service_name
-> add the option to enable/disable management of "Nobody" mapping (default disable -> compatibility)

@xhejtman
Copy link
Author

xhejtman commented Oct 9, 2018

Thanks, hopefully it arrives soon released.

Btw, there is a bug in debian 8 in systemd, if you restart rpcbind service, e.g., due to OPTIONS changes, sometimes rpcbind is not running anymore and systemd thinks it is active (but dead). However, service restart does nothing in this case, one has to stop and start the service. Not sure how to workaround this.

@derdanne
Copy link
Contributor

Hey, i need to add spec tests and documentation as well before this can be merged.

@derdanne
Copy link
Contributor

derdanne commented Feb 8, 2019

released in 2.1.0

@derdanne derdanne closed this as completed Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants