Bug 437350

Summary: LDAP Settings not appearing in Samba Server configuration
Product: [openSUSE] openSUSE 11.0 Reporter: Fulvio Corno <fulvio.corno>
Component: YaST2Assignee: Lukas Ocilka <locilka>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Fulvio Corno 2008-10-21 14:51:46 UTC
YaST -> Samba Server -> Identity -> Advanced Settings...
should bring up a menu with 3 options: LDAP settings, Expert global settings, User Authentication sources.

On a test machine (fresh install of Opensuse 11.0 32 bit, English localization, fully updated) the item "LDAP Settings" does not appear (I only have the other two).
Common Certificate is configured, LDAP server is configured, user authentication through LDAP is configured and working, Samba is acting as a PDC, however I can't enable the LDAP Samba Backend.

[I could do that by editing configuration files, this is a problem with YaST]

Are there any [other] dependencies for showing the required item?
Is there any action I could do to help debugging the issue?

Thanks,
Fulvio
Comment 1 Lukas Ocilka 2008-10-22 13:38:42 UTC
Where did you get an information that some LDAP settings can be configured there? There is a possibility to change the LDAP server URL this way:

* YaST -> Samba Server -> Identity -> Advanced Settings... -> User Authentication Sources
* Remove "smbpasswd file" option
* Add LDAP
* Edit the LDAP server URL if needed

And that's basically all what Samba Server allows you to configure.
Comment 2 Fulvio Corno 2008-10-22 16:07:07 UTC
Well, I found that information in two different places:

- In the help text associated to Identity. The text reads: "Advanced settings provides access to detailed configuration, such as _LDAP settings_, user authentication sources, and expert global settings"
{might this be a documentation bug?}

- Also in some technical documents from Novell (see for example http://www.novell.com/coolsolutions/feature/15384.html where a screenshot with the 3 sub-options hit my visual memory) or from other sources (http://www.flexbeta.net/main/printarticle.php?id=88).
Now I realize these documents were all speaking of SLES9 (a bit old): is that functionality just on the Enterprise version (that might be a reason for me to buy it)?

By the way, I see that all the needed files (/etc/openldap/schema/samba3.schema) and automation scripts (ldapsmb)... probably some documentation would be sufficient (such as the now-obsolete http://susewiki.org/index.php?title=Setting_up_Samba) that might provide a simpler solution than using the smbldap-tools package.
Since I need to solve the problem anyway, I may contribute on this documentation.

Comment 3 Lukas Ocilka 2008-10-23 14:20:40 UTC
These settings have been dropped from yast2-samba-server since SLES 10. Please, use yast2-ldap-client to tune the LDAP settings.

About enabling the Samba LDAP backend, see comment #1.

Obsolete help text has been dropped -> FIXED.