|
Bugzilla – Full Text Bug Listing |
| Summary: | YaST Problems Creating Samba Users in LDAP - No samba* Attributes | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.0 | Reporter: | John Frickson <jfrickson> |
| Component: | YaST2 | Assignee: | Lukas Ocilka <locilka> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P3 - Medium | CC: | jsuchome, locilka, ralf |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | maint:released:11.1:23596 maint:released:sle11:23581 | ||
| Found By: | Community User | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
ZIP file of ldap.conf, slapd.conf, smb.conf
Complete patch |
||
Sorry, I don't know anything about Users in LDAP -> jsuchome The Samba plugin for users gets available when you install (and maybe configure?) yast2-samba-server. Try that and see if it works (I hope it does). yast2-samba-server is installed and configured. I've verified that all files in the package exist on my server in the correct locations. Is there a configuration file somewhere that tells the yast user and group modules to use the samba plugins? Maybe a config option didn't get set. Sorry, forgot to clear NEEDINFO. Lukas, remove the check for expert UI from both UsersPluginSamba.pm and UsersPluginSambaGroups.pm (just remove that if clause from Restriction functions). Created attachment 265624 [details]
Complete patch
That took care of it. Looking at the ProductFeatures.ycp file, I see it gets that setting from /etc/YaST2/ProductFeatures, and that file sets "ui_mode" to "simple". How did that get set? (That's probably a rhetorical question...) Sorry, the information was requested from Anja. And yes, it takes that value from /etc/YaST2/ProductFeatures, but it seems the ui_mode itself is obsolete. OK, fixed for "upstream" -> Update for 11.1 will be released. The SWAMPID for this issue is 23088. Please submit the patch and patchinfo file using this ID. (https://swamp.suse.de/webswamp/wf/23088) Update released for: yast2-samba-server Products: openSUSE 11.1 (i586) Update released for: yast2-samba-server Products: SLE-DESKTOP 11 (i386, x86_64) SLE-SERVER 11 (i386, ia64, ppc64, s390x, x86_64) |
Created attachment 261127 [details] ZIP file of ldap.conf, slapd.conf, smb.conf Background: Currently running an openSUSE 10.2 x86 file server. Installing 11.0 x86_64 on a new disk. Ran a full install that included Samba, LDAP. Set up both Samba and LDAP. The usertemplate and grouptemplate in LDAP did NOT include the UsersPluginSamba and UsersPluginSambaGroup susePlugin attributes, so I added them manually. Other than that, the configurations and templates are the same between the two servers. /etc/ldap.conf, /etc/openldap/ldap.conf, /etc/openldap/slapd.conf, and /etc/samba/smb.conf are identical. Problem: Adding a user using YaST User and Group Administration does not add any Samba attributes to the LDAP entry. The Samba plugin is not available on the plugins page. Without the samba* attributes, users are unable to access file shares. The LDAP lookup fails trying to locate the user because the users don't have an objectType of sambaSamAccount. Config files attached.