Ticket #287 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.

