mount.cifs: don't prompt for password on krb5 mounts
commitda01df17e4690dfd08bed828706a00bfa5612914
authorJeff Layton <jlayton@redhat.com>
Sat, 16 Aug 2008 10:09:29 +0000 (16 06:09 -0400)
committerKarolin Seeger <kseeger@samba.org>
Tue, 19 Aug 2008 09:32:31 +0000 (19 11:32 +0200)
tree30c99c7d45bccba86e3a30f7805077cd327ca712
parentb4fa6ecc8724f1817cb5152cefdeda9d2b9ba06f
mount.cifs: don't prompt for password on krb5 mounts

krb5 mounts require that the user already have a valid krb5 ticket.
Since we can't currently use the password entered, don't prompt for it.

Also, switch to using strncmp instead of strcmp here.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit c13874f5792f44d7530b1342f3a86b0d3bab9b2f)
source/client/mount.cifs.c