Bug 12790 - samba-tool missing parameters: error in message ( to enable NIS features)
samba-tool missing parameters: error in message ( to enable NIS features)
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools
4.6.3
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
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.