]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
auth: Enhancement for the supported auth methods 12937/head
authorDave Chen <wei.d.chen@intel.com>
Mon, 16 Jan 2017 07:11:02 +0000 (15:11 +0800)
committerDave Chen <wei.d.chen@intel.com>
Mon, 16 Jan 2017 07:11:02 +0000 (15:11 +0800)
commit364a6f2e39a21ad67c2888e3be6c37e4c1b958ab
treef85d8dfc2ed5047ee8ce8fa14346aa8dd8911abb
parent86f0ddb6c5f3b9303cb1f8784eb56b24d99c86b4
auth: Enhancement for the supported auth methods

- If no auth protocol defined, `cephx` is used by default, it's debatable if
  ceph should abort here or use `cephx` by default, but if `cephx` is used
  in this case it's better to give some warning message.
- ceph has CEPH_AUTH_UNKNOWN auth protocol defined, change to use this
  protocol if the auth method is unknown.

Signed-off-by: Dave Chen <wei.d.chen@intel.com>
src/auth/AuthMethodList.cc