cifs.upcall: try getting a "cifs/" principal and fall back to "host/"
commit41f47df8c811b04657b20a75e5d6868e92b7632b
authorJeff Layton <jlayton@redhat.com>
Wed, 14 Oct 2009 15:04:56 +0000 (14 11:04 -0400)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Jan 2010 13:00:50 +0000 (13 14:00 +0100)
treec704d8e61a3521e2930e1dc4dc061f6a5016594e
parent2f4d681e867e4ee1a3f9d0357045eb4f0e0ae686
cifs.upcall: try getting a "cifs/" principal and fall back to "host/"

cifs.upcall takes a "-c" flag that tells the upcall to get a principal
in the form of "cifs/hostname.example.com@REALM" instead of
"host/hostname.example.com@REALM". This has turned out to be a source of
great confusion for users.

Instead of requiring this flag, have the upcall try to get a "cifs/"
principal first. If that fails, fall back to getting a "host/"
principal.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit e919c3ac1229eae35614b92a9daebc71e770ca1b)
docs-xml/manpages-3/cifs.upcall.8.xml
source/client/cifs.upcall.c