mandriva

Ticket #287 (closed defect: fixed)

Opened 13 months ago

Last modified 4 months ago

Add error message when some mandatory smb.conf options are not set

Reported by: cdelfosse Owned by: cdelfosse
Priority: normal Milestone: 2.4.0
Component: python-mmc-samba Version: 2.3.2
Severity: normal Keywords: easy
Cc:

Description

The SAMBA plugin should check that the options "ldap user suffix", "ldap group suffix" and "ldap machine suffix" are set, instead of displaying this traceback:

Error while trying to load plugin samba
list index out of range
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/mmc/agent.py", line 602, in loadPlugins
    if (func()):
  File "/usr/lib/python2.5/site-packages/mmc/plugins/samba/__init__.py", line 15                                          2, in activate
    if ldap.explode_rdn(smbconfsuffix)[0].lower() != ldap.explode_rdn(option[2])                                          [0].lower():
IndexError: list index out of range

Attachments

Change History

Changed 13 months ago by cdelfosse

  • keywords easy added

Changed 8 months ago by cdelfosse

  • status changed from new to closed
  • resolution set to fixed

Add/Change #287 (Add error message when some mandatory smb.conf options are not set)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.