ports/173032: samba36 + libwww = broken authorisation

Roman the.goblin.hero at gmail.com
Wed Oct 24 17:10:01 UTC 2012


>Number:         173032
>Category:       ports
>Synopsis:       samba36 + libwww = broken authorisation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 24 17:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Roman
>Release:        9.0p3
>Organization:
>Environment:
FreeBSD nas.gh 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
After the latest samba36 port upgrade (to 3.6.8) samba has stopped working for me. It rejects all user passwords as invalid. I've found that the problem is in libmd5. Samba tries to find a library for md5 hash calculation and link against it. In my case it finds libmd5 (looks like it is the part of libwww port). I do not now what is wrong with this library.

[root at nas ~]# pkg_which /usr/local/lib/libmd5.so
libwww-5.4.0_4
>How-To-Repeat:
1. Install libwww port. Now you should have /usr/local/lib/libmd5.so library.
2. Install samba36-3.6.8. Run `ldd smbd` - it should be linked against libmd5
3. Samba auth is broken now. All passwords are rejected as wrong.
>Fix:
I've fixed the problem renaming /usr/include/md5.h and recompiling the samba so it can not find libmd5. The proper way is to fix Configure so it will completely ignore libmd5.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list