Bug 12790 - samba-tool missing parameters: error in message ( to enable NIS features)
Summary: samba-tool missing parameters: error in message ( to enable NIS features)
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.6.3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-12 15:31 UTC by Luc Lalonde
Modified: 2017-05-12 15:31 UTC (History)
0 users

See Also:


Attachments
Patch to correct the error message (652 bytes, patch)
2017-05-12 15:31 UTC, Luc Lalonde
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luc Lalonde 2017-05-12 15:31:45 UTC
Created attachment 13215 [details]
Patch to correct the error message

The instructions in the error message are wrong.

Here's what you get when you try to enable NIS features:

ERROR: Missing parameters. To enable NIS features, the following options have to be given: --nis-domain=, --uidNumber=, --login-shell=, --unix-home=, --gid-number= Operation cancelled.

The patch corrects 'uidNumber' to 'uid-number':

ERROR: Missing parameters. To enable NIS features, the following options have to be given: --nis-domain=, --uid-number=, --login-shell=, --unix-home=, --gid-number= Operation cancelled.