s4/ldapcmp: Check if creds2 is actualy set by the command line
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Tue, 4 Jan 2011 15:45:16 +0000 (17:45 +0200)
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Tue, 4 Jan 2011 17:11:26 +0000 (18:11 +0100)
commitf8275bae5d7b471967be7222170d049c18b8882f
tree732281cfd87461e7ba40afee89b6fc25dbcfa9de
parente1e869352565b8e1d7865a2338f8f0f3ef154519
s4/ldapcmp: Check if creds2 is actualy set by the command line

When parsing the command line for the second set of credentials
the parser returns wrong user if the second set of parameters isn't set.
So check if the password is set instead.

Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
Autobuild-Date: Tue Jan  4 18:11:26 CET 2011 on sn-devel-104
source4/scripting/python/samba/netcmd/ldapcmp.py