cifs.upcall: try getting a "cifs/" principal and fall back to "host/"
commitedca7df0dd43ee1d7ae2fc4954470efdf64a4d8e
authorJeff Layton <jlayton@redhat.com>
Wed, 14 Oct 2009 14:58:20 +0000 (14 10:58 -0400)
committerKarolin Seeger <kseeger@samba.org>
Fri, 16 Oct 2009 13:02:52 +0000 (16 15:02 +0200)
treebdfa51327ad1edee506190e9c82fb4a48417851d
parent3eac202b211b382ebe299538647cbbd7d0c803b1
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>
docs-xml/manpages-3/cifs.upcall.8.xml
source3/client/cifs.upcall.c