Bug 117812

Summary: Traceback when using LDAP password database with Samba
Product: [Fedora] Fedora Reporter: David Lawrence <dkl>
Component: system-config-sambaAssignee: Brent Fox <bfox>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-11 20:33:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 114961    
Attachments:
Description Flags
Sample config file with LDAP settings none

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.