mount.cifs: don't prompt for password on krb5 mounts
commitc75791c34abebe23c6f6a5534b0358514ec4eabc
authorJeff Layton <jlayton@redhat.com>
Sat, 16 Aug 2008 10:09:29 +0000 (16 06:09 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 21 Aug 2008 23:38:35 +0000 (21 19:38 -0400)
tree33d59668b6b588d367843d7fbf9766fb9037b727
parent33019fe2b5f521c143fc79edb915eca69b9ed98d
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>
source/client/mount.cifs.c