s3-utils/smbget: Fix user-/name password reading from rcfile
authorChristian Ambach <ambi@samba.org>
Wed, 27 Jan 2016 21:00:31 +0000 (22:00 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 28 Jan 2016 08:58:26 +0000 (09:58 +0100)
commitcac1086ae12d10a6c424f947045d26badc96d751
tree6fde0816da63d3b60ca2b88f667b9682d30f1b41
parentbf1c1ad068a763108f9b8f79431de522783a4302
s3-utils/smbget: Fix user-/name password reading from rcfile

As the password option is gone, code needs to be able to read password
from user parameter when user%password syntax is used.

Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/utils/smbget.c