RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 867854 - auth_builtin auth_domain auth_sam and auth_winbind are built as shared modules.
Summary: auth_builtin auth_domain auth_sam and auth_winbind are built as shared modules.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: samba4
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Andreas Schneider
QA Contact: Namita Soman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-18 12:31 UTC by Andreas Schneider
Modified: 2013-02-21 08:36 UTC (History)
2 users (show)

Fixed In Version: samba4-4.0.0-36.el6.rc3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-21 08:36:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0506 0 normal SHIPPED_LIVE Moderate: samba4 security, bug fix and enhancement update 2013-02-20 21:30:25 UTC

Description Andreas Schneider 2012-10-18 12:31:10 UTC
Description of problem:

auth_builtin auth_domain auth_sam and auth_winbind modules are not allowed to be built as shared modules. They need to be linked into smbd statically. We addressed this upstream for 4.0 to fail if they are built as modules, see:

https://bugzilla.samba.org/show_bug.cgi?id=9295

and we will cleanup this completely later to don't give a choice. Build as much as possible as shared module. See

https://bugzilla.samba.org/show_bug.cgi?id=9302


However the spec file needs to be changed to not build auth_builtin auth_domain auth_sam and auth_winbind as shared modules.

Comment 2 Namita Soman 2013-01-29 02:48:33 UTC
please provide steps to verify

Comment 3 Andreas Schneider 2013-01-29 13:54:47 UTC
[global]
workgroup = TESTGROUP
security = share

[myfiles]
path = /srv/samba/files
read only = no
guest ok = yes


And then I get:
$ smbclient \\\\localhost\\myfiles
Enter asn's password: 
session setup failed: NT_STATUS_LOGON_FAILURE

The log says:
Oct 16 13:57:22 fatty smbd[25498]: [2012/10/16 11:57:22.925829,  0]
../source3/auth/auth.c:380(load_auth_module)
Oct 16 13:57:22 fatty smbd[25498]:   load_auth_module: can't find auth method
guest!

Compiling auth_builtin into smbd, what we do now, fixes the problem. More information can be found if you search for 'auth methods' in the smb.conf manpage. Let me know if you need more help for testing.

Comment 4 Andreas Schneider 2013-01-29 14:02:29 UTC
A sanity only check, would be to check that there are no builtin.so winbind.so and domain.so in /usr/lib/samba/auth.

Comment 5 Namita Soman 2013-01-29 19:04:48 UTC
Verified on 64bit using steps:
# ls /usr/lib64/samba/auth/
script.so  unix.so  wbc.so

Comment 6 errata-xmlrpc 2013-02-21 08:36:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0506.html


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