Red Hat Bugzilla – Bug 559712
not all Samba share boolean parameter values get auto-discovered
Last modified: 2014-05-27 14:32:06 EDT
Description of problem:
Not all boolean valued share parameters are discovered by RHQ from the /etc/samba/smb.conf file. The following parameters require a boolean value:
valid boolean values include
yes, Yes, YeS, True, true, TrUe, 1, ....
no, No, NO, False, false, FaLsE, 0, ....
you get the idea....
Steps to Reproduce:
1. manually append the following share to /etc/samba/smb.conf
path = /tmp/myshare
share modes = True
browseable = yes
read only = NO
printable = 0
guest ok = 1
2. manually do an auto-discover from RHQ
3. open the CONFIGURATION tab for the discovered "myshare share"
Notice that RHQ does not recognize the boolean values. They appear as if they are unset. Currently RHQ seems to only reflect the boolean values from the /etc/samba/smb.conf file when they are set to 'true' or 'false'
The "Yes" or "No" radio button for each of the boolean config parameters should be set to when any of the valid boolean values are set in the config file.
Try running the following from the command line to validity of the values set in the samba config file:
[root@auto-rhq ~]# testparm -vs --section-name myshare --parameter-name "share modes"
Charles does not want this worked on until the feature is back on the road map,
removing the automation blocker tag.
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.
new = Tracking + FutureFeature + SubBug
making sure we're not missing any bugs in rhq_triage
lowering severity/priority - not an enterprise plugin