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

nis entries in /etc/shadow #237

Closed
wants to merge 2 commits into from
Closed

nis entries in /etc/shadow #237

wants to merge 2 commits into from

Conversation

stoicbo
Copy link

@stoicbo stoicbo commented May 12, 2015

Add support for the nis default entry + and the nis default entry with overrides +:::::::: in /etc/shadow

Add support for the nis default entry + and the nis default entry with overrides +::::::::
. [ label "inactive_days" . store integer? . colon ]
. [ label "expire_date" . store integer? . colon ]
. [ label "flag" . store integer? ] in
[ dels "+" . label "@nisdefault" . overrides? . eol ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 65-72 can probably be put in common with the entry definition here.

@raphink
Copy link
Member

raphink commented May 20, 2015

Thanks for the PR. Can you just factorize the code as stated in my comment please?

Refactored to account for common lines per PR comment
Added put tests for @nisdefault
@stoicbo
Copy link
Author

stoicbo commented May 22, 2015

Thanks. Updated per comment.

lutter pushed a commit that referenced this pull request May 22, 2015
Add support for the NIS default entry + and the nis default entry with
overrides +::::::::

Based on #237
@lutter
Copy link
Member

lutter commented May 22, 2015

Squashed into one commit, edited commit message slightly and commited as 071175d

@lutter lutter closed this May 22, 2015
@stoicbo stoicbo deleted the nisshadow branch June 3, 2015 00:18
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

Successfully merging this pull request may close these issues.

3 participants