mount.cifs: don't prompt for password on krb5 mounts
authorJeff Layton <jlayton@redhat.com>
Sat, 16 Aug 2008 10:09:29 +0000 (06:09 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 21 Aug 2008 23:38:35 +0000 (19:38 -0400)
commit3be3dac17d7e333c3e3760ae9b0b2a5441206046
treeac5514d5064e0159883ce93eb26daeb195e1f95a
parent129e71a97a991f9cd79c9eca65b21e4789d5f303
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>
(This used to be commit c75791c34abebe23c6f6a5534b0358514ec4eabc)
source3/client/mount.cifs.c