Skip to content

Commit d43d1fc

Browse files
authored
Merge pull request ceph#58518 from anoopcs9/smb-mgr-updates
mgr/smb: improvements to smb mgr module and docs Reviewed-by: Anthony D'Atri <[email protected]> Reviewed-by: John Mulligan <[email protected]>
2 parents 655549e + 97119ed commit d43d1fc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

doc/mgr/smb.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Create Cluster
5555

5656
.. code:: bash
5757
58-
$ ceph smb cluster create <cluster_id> {user|active-directory} [--domain-realm=<domain_realm>] [--domain-join-user-pass=<domain_join_user_pass>] [--custom-dns=<custom_dns>] [--placement=<placement>]
58+
$ ceph smb cluster create <cluster_id> {user|active-directory} [--domain-realm=<domain_realm>] [--domain-join-user-pass=<domain_join_user_pass>] [--define-user-pass=<define_user_pass>] [--custom-dns=<custom_dns>] [--placement=<placement>]
5959
6060
Create a new logical cluster, identified by the cluster id value. The cluster
6161
create command must specify the authentication mode the cluster will use. This
@@ -78,6 +78,9 @@ domain_realm
7878
domain_join_user_pass
7979
A string in the form ``<username>%<password>`` that will be used to join
8080
Samba servers to the AD domain.
81+
define_user_pass
82+
A string of the form ``<username>%<password>`` that will be used for
83+
authentication in ``user`` auth_mode.
8184
custom_dns
8285
Optional. Can be specified multiple times. One or more IP Addresses that
8386
will be applied to the Samba containers to override the default DNS
@@ -357,7 +360,7 @@ custom_dns
357360
placement
358361
Optional. A Ceph Orchestration :ref:`placement specifier
359362
<orchestrator-cli-placement-spec>`. Defaults to one host if not provided
360-
custom_smb_share_options
363+
custom_smb_global_options
361364
Optional mapping. Specify key-value pairs that will be directly added to
362365
the global ``smb.conf`` options (or equivalent) of a Samba server. Do
363366
*not* use this option unless you are prepared to debug the Samba instances

src/pybind/mgr/smb/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,7 @@ def _check_cluster(cluster: ClusterRef, staging: _Staging) -> None:
758758
cluster,
759759
msg="cluster in use by shares",
760760
status={
761-
'clusters': [
761+
'shares': [
762762
shid
763763
for cid, shid in share_ids
764764
if cid == cluster.cluster_id

0 commit comments

Comments
 (0)