Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 117812 - Traceback when using LDAP password database with Samba
Summary: Traceback when using LDAP password database with Samba
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-samba
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC2Blocker
TreeView+ depends on / blocked
 
Reported: 2004-03-08 21:07 UTC by David Lawrence
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-03-11 20:33:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Sample config file with LDAP settings (deleted)
2004-03-08 21:08 UTC, David Lawrence
no flags Details

Description David Lawrence 2004-03-08 21:07:03 UTC
Description of problem: 
A traceback is encountered when Samba is condigured to use a LDAP
database to hold samba user account information.

Traceback:
[root@powerbook dkl]# system-config-samba
Traceback (most recent call last):
  File "/usr/share/system-config-samba/system-config-samba.py", line
38, in ?
    mainWindow.MainWindow(debug_flag)
  File "/usr/share/system-config-samba/mainWindow.py", line 75, in
__init__
    self.samba_data = sambaParser.SambaParser(self)
  File "/usr/share/system-config-samba/sambaParser.py", line 40, in
__init__
    self.parseFile()
  File "/usr/share/system-config-samba/sambaParser.py", line 71, in
parseFile
    token = self.createToken(line)
  File "/usr/share/system-config-samba/sambaParser.py", line 143, in
createToken
    token =
sambaToken.SambaToken(sambaToken.SambaToken.SAMBA_TOKEN_KEYVAL, (name,
value), self.parent)
  File "/usr/share/system-config-samba/sambaToken.py", line 36, in
__init__
    raise AttributeError, value
AttributeError: ('ldap group suffix', 'ou=Group')


Version-Release number of selected component (if applicable):
system-config-samba-1.2.4-1

Comment 1 David Lawrence 2004-03-08 21:08:00 UTC
Created attachment 98383 [details]
Sample config file with LDAP settings

Comment 2 Brent Fox 2004-03-11 20:33:58 UTC
Should be fixed in system-config-samba-1.2.7-1.  Note that this should
fix the crash, but the program will still make users locally instead
of via LDAP.


Note You need to log in before you can comment on or make changes to this bug.