[MacPorts] #35568: samba 3.6.6 fails to start
#35568: samba 3.6.6 fails to start --------------------------------+------------------------------------------- Reporter: flexcode@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: samba | Port: samba3 --------------------------------+------------------------------------------- I'm running OSX 10.7.4 and have done a clean install of samba3. It was previously working but sometime during the last month I noticed I could no longer connect. Wondering if it is related to an OSX update. Here is my current output, I've tried my old smb.conf, a new modified sample conf, and just the out of box conf.sample, all having the same error. {{{ osx:~ rick$ sudo port selfupdate ---> Updating MacPorts base sources using rsync MacPorts base version 2.1.2 installed, MacPorts base version 2.1.2 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated osx:~ rick$ sudo port upgrade outdated Error: No ports matched the given expression osx:~ rick$ sudo port clean samba3 ---> Cleaning samba3 osx:~ rick$ sudo port uninstall samba3 osx:~ rick$ sudo port install samba3 ---> Computing dependencies for samba3 ---> Fetching archive for samba3 ---> Attempting to fetch samba3-3.6.6_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/samba3 ---> Attempting to fetch samba3-3.6.6_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/samba3 ---> Installing samba3 @3.6.6_0 ---> Activating samba3 @3.6.6_0 ---> Cleaning samba3 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found. osx:~ rick$ sudo cp /opt/local/etc/samba3/smb.conf.sample /opt/local/etc/samba3/smb.conf osx:~ rick$ sudo /opt/local/sbin/smbd -i smbd version 3.6.6 started. Copyright Andrew Tridgell and the Samba Team 1992-2011 get_user_groups: failed to get the unix group list create_local_token failed: NT_STATUS_NO_SUCH_USER osx:~ rick$ }}} When I run the normal daemon way via {{{ sudo /opt/local/sbin/smbd -D && sudo /opt/local/sbin/nmbd -D }}} smbd doesnt show up in my Activity Monitor but nmbd is running. I get similar error in my log {{{ [2012/08/07 08:01:30.657994, 0] lib/system_smbd.c:228(getgroups_unix_user) get_user_groups: failed to get the unix group list [2012/08/07 08:01:30.658191, 0] auth/auth_util.c:850(make_system_session_info_from_pw) create_local_token failed: NT_STATUS_NO_SUCH_USER }}} -- Ticket URL: <https://trac.macports.org/ticket/35568> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35568: samba3 @3.6.6 fails to start --------------------------------+------------------------------------------- Reporter: flexcode@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: samba3 --------------------------------+------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => mww@… * cc: flexcode@… (removed) * keywords: samba => -- Ticket URL: <https://trac.macports.org/ticket/35568#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35568: samba3 @3.6.6 fails to start -------------------------+------------------- Reporter: flexcode@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: samba3 | -------------------------+------------------- Comment (by flexcode@…): I recently tried 3.6.7 and still have the same issue -- Ticket URL: <https://trac.macports.org/ticket/35568#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35568: samba3 @3.6.6 fails to start -------------------------+------------------- Reporter: flexcode@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: samba3 | -------------------------+------------------- Comment (by ice.rikh@…): The problem is discussed [here https://bugzilla.samba.org/show_bug.cgi?id=8773]. The patch at the bottom submitted by Adam Yearout fixes the problem; I am attaching that same patch. To use it, save the patch as /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/samba3/files /patch-source_lib_system_smbd_c.diff and add {{{patchfiles-append patch- source_lib_system_smbd_c.diff}}} to the globals section at the top of /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/samba3/Portfile. Then do {{{sudo port uninstall samba3}}} followed by {{{sudo port -s -v install samba3}}}. -- Ticket URL: <https://trac.macports.org/ticket/35568#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35568: samba3 @3.6.6 fails to start -------------------------+-------------------- Reporter: flexcode@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: duplicate | Keywords: Port: samba3 | -------------------------+-------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => duplicate Comment: Dupe of #34572 -- Ticket URL: <https://trac.macports.org/ticket/35568#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts