r22071: Make the error message for incorrect use of '-c' show the parameter as used.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 4 Apr 2007 06:03:54 +0000 (06:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:09 +0000 (12:19 -0500)
commit23d3a1956b00256897a921690f34e5e618f8fc3c
treeedb185dac8d5d402a0e3aa42583a79d5645b222f
parent06ec19e2fb0e5e761c2ea7460bb71bc0cb5e66da
r22071: Make the error message for incorrect use of '-c' show the parameter as used.

This means that smbpasswd -c user (which in htpasswd creates a new file)
and smbpasswd -c /not/my/smb.conf should give errors an admin will
think to chase down.

Andrew Bartlett
(This used to be commit 721375e14cfcef88061c9e4d4a1f3ca2f33fa9aa)
source3/utils/smbpasswd.c