Opened 13 years ago

Closed 12 years ago

#27428 closed update (duplicate)

samba3: update to current version

Reported by: arudkin@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: macports@…, jgosmann (Jan Gosmann), raven@…, eduo@…
Port: samba3

Description

This post might be a little bit long. I know people hate users who don't explain themselves, so I'm erring on the side of caution. I'm a bit out of my depths here, so I'll do my best to explain what I'm looking for help with.

Background: 1) Samba has/had a serious bug that broke all network shares involving Windows 7 when the Windows 7 computer has installed a Microsoft program called "Windows Live Sign-In Assistant". This program is bundled with a variety of Microsoft software including new OEM installs of Windows 7, and having it installed instantly and inexplicably breaks SMB shares. This is important because an increasing number of Microsoft programs install this software, and for some cases, including Microsoft's current gaming initiative, the software is mandatory.

The bug in Samba is documented, discussed, fixed, patched, and closed here: https://bugzilla.samba.org/show_bug.cgi?id=7577

It is fixed in the latest versions of Samba 3.4.x and 3.5.x. Yay!

2) A program called XBMC ("Xbox Media Center") which is available for Windows, Mac, Linux, and AppleTV, is obviously seriously affected by this bug where it's present. According to the developers, the Linux port of XBMC uses the system's smblcient.

Because the AppleTV does not have its own SMB client, the AppleTV version of XBMC uses the Macports version of libsmbclient and bundles it with the application. So this is where you guys come in.

I asked both the maker of the AppleTV port and the XBMC team at large about updating Samba to avoid this bug. Here is a post by the XBMC team member responsible for the AppleTV version: http://forum.xbmc.org/showpost.php?p=649506&postcount=18

More Information I understand that the AppleTV is basically running a frankenstein version of OSX 10.4. I have no idea if anyone at MacPorts has experience with the AppleTV or not. I have no idea what version of MacPorts the libsmbclient on the XBMC->AppleTV project is from, and there's no version number reflected in the filename.

So I figured I'd come over here. I have no idea where to go from here. I have no idea how to compile anything related to MacPorts. I'm just an end user. Obviously the objective is to build an updated version of libsmbclient.dylib that has solved the Samba bug listed above, and get it on the AppleTV and replace the one included with the application. I've attached the version included with the application in case it's helpful.

I realize that it's unusual to ask you guys for help with what is essentially a problem with other applications, but the reply from the XBMC developer made me think it'd be worth a shot. Any directions, any help, anything you could do to help me get the file I need would be amazing. It's been a rather frustrating support experience trying to get to the bottom of this problem and a lot of people would benefit from this fix.

If there are any other questions I can answer, I'll do my best.

Attachments (1)

Portfile-samba.diff (11.8 KB) - added by jgosmann (Jan Gosmann) 13 years ago.
Patch to update portfile to version 3.6

Download all attachments as: .zip

Change History (12)

comment:1 Changed 13 years ago by arudkin@…

The attachment file size is limited to 1MB and the file in question was 4MB. I have uploaded the file to a server: http://www.stumpnet.net/libsmbclient.dylib

Thanks again.

comment:2 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to mww@…
Port: samba3 added
Summary: Looking for help updating libsmbclient.dylibsamba3: update to current version
Type: requestupdate

So basically you'd like the samba3 port updated to 3.5.6 or so.

comment:3 Changed 13 years ago by arudkin@…

I think that would be the first step, yep.

Thanks very much for the quick response!

comment:4 Changed 13 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:5 Changed 13 years ago by macports@…

Samba has recently been updated to 3.6. A macport update to that version would be welcomed.

comment:6 Changed 13 years ago by jgosmann (Jan Gosmann)

Cc: jan@… added

Cc Me!

Changed 13 years ago by jgosmann (Jan Gosmann)

Attachment: Portfile-samba.diff added

Patch to update portfile to version 3.6

comment:7 Changed 13 years ago by jgosmann (Jan Gosmann)

Especially with Lion a recent, working Samba port would be nice. Apple is using its own SMB implementation since Lion (they shipped samba in ealier versions), which is not working with all clients.

Moreover, the current samba port does not compile with Lion.

As the port's maintainer did not react for month, I updated the portfile myself and I got samba 3.6 to compile and install. (Portfile is attached.) However, I was not able to start the samba daemon.

comment:8 Changed 12 years ago by raven@…

Cc: raven@… added

Cc Me!

comment:9 in reply to:  7 Changed 12 years ago by raven@…

samba3 from Macports has solved a lot of the issues I was getting with Apple's problematic SMB implementation in Lion. However, the version in Macports seems to have problems with change notifications in Windows (XP at least), so now I can't watch directories on my Mac for changes. I'm hopeful that a more recent version of samba3 fixes that.

comment:10 Changed 12 years ago by eduo@…

Cc: eduo@… added

Cc Me!

comment:11 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

Superseded by #32636.

Note: See TracTickets for help on using tickets.