Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Samba formula needed - will be dropped from Mac OS X 10.7 #5954

Closed
BrazilianJoe opened this issue Jun 9, 2011 · 81 comments
Closed

Samba formula needed - will be dropped from Mac OS X 10.7 #5954

BrazilianJoe opened this issue Jun 9, 2011 · 81 comments

Comments

@BrazilianJoe
Copy link

Due to the license change to GPL3, Apple will no longer be able to ship Samba with Mac OS X.
It was said in the media that Apple is going to provide their own tools for interacting with SMB shares, but it is a very complex system, and I doubt it will be feature complete.

So far, Lion Developer Preview 4 is unable to connect to (my test case) linux-based samba shares which require authentication.

It has been announced by the media (not Apple afaik) that Lion would support SMB2 only, and leave the legacy behind.

Ideally the installation would not only install the SMB tools, but also make itself known to apps like Finder, so that it can be used just like the way it was before.

@adamv
Copy link
Contributor

adamv commented Jun 9, 2011

Good to know, thanks.

@BrazilianJoe
Copy link
Author

Unfortunately I am not enough of a code jockey to do this myself, notwithstanding the fact that I am very time constrained, but I can test the Formulas for the benefit of humanity - or at least the homebrew community. :-)

@adamv
Copy link
Contributor

adamv commented Jun 16, 2011

And I'm willing to take advance brews into Homebrew-ALT: https://github.com/adamv/homebrew-alt/tree/master/duplicates

@ponychicken
Copy link

I tried to build one, but failed. A lot of those little mediaboxes ( wdtv etc. ) stopped working with the "new" samba.
I'm not sure Finder integration will easily be achievable, but if someone could build a formula for a working CL-configured version, I'd be really grateful.

@bpaf
Copy link

bpaf commented Aug 13, 2011

Any news on the samba formula? With the release of Lion this is a pressing issue.

@ghost
Copy link

ghost commented Aug 13, 2011

Samba 3.6 just got release a couple of days ago: http://j.mp/qucdnf

@vertis
Copy link
Contributor

vertis commented Aug 22, 2011

I have created a pull request, http://github.com/mxcl/homebrew/pull/7134, for a basic samba install (at least sufficient to use smbpasswd).

In the meantime you can install it using:
brew install https://raw.github.com/vertis/homebrew/samba/Library/Formula/samba.rb

@bpaf
Copy link

bpaf commented Aug 22, 2011

vertis, I tried compiling it too, and it crashed a lot, I tried with your compile options but I get the same result (I used PREFIX=$HOME/.samba3):

$ smbclient -L localhost -U%
dyld: Library not loaded: bin/libtalloc.dylib.2
  Referenced from: /Users/edi/.samba3/bin/smbclient
  Reason: image not found
Trace/BPT trap: 5

it's probably fixable with some ./configure magic, but I can't see how.

@lynndylanhurley
Copy link

vertis, I keep getting the following error while trying to run your samba recipe:

get_user_groups: failed to get the unix group list

Do you know what could be causing this problem?

@gossi
Copy link

gossi commented Sep 16, 2011

I tried @vertis formular right now. Worked very well. Although during the process, my bash told me, /usr/local/bin is not in PATH which confused me a little.

@Sharpie
Copy link
Contributor

Sharpie commented Sep 16, 2011

@gossi

/usr/local/sbin won't be in your PATH, so executables installed there won't be visible, unless you add it yourself.

@gossi
Copy link

gossi commented Sep 16, 2011

I already corrected it to /usr/local/bin, which is in my PATH, so thats confuses me.

Also I noticed, that when ntlm_auth is used (currently in wine, when installing adobeair) it references bin/libtalloc.dylib.2 obviously this file is in /usr/local/lib/libtalloc.dylib.2

Whole error:
dyld: Library not loaded: bin/libtalloc.dylib.2
Referenced from: /usr/local/bin/ntlm_auth
Reason: image not found

I dunno if this is winetricks, formula or samba. Added /usr/local/lib to my PATH temporarily, no change.

@thejasonfisher
Copy link

@lynndylanhurley

I am having the same issue. It was a Snow Leopard box that was upgraded to Lion, and then I purchased and installed Lion Server on it. samba3 gives me the same issue:

[2011/09/28 09:42:47, 0] lib/system_smbd.c:getgroups_unix_user(171)
get_user_groups: failed to get the unix group list
[2011/09/28 09:42:47, 0] smbd/server.c:main(1355)
ERROR: failed to setup guest info.

I was thinking that maybe something changed with the authentication model when I installed Lion Server from the app store.. maybe you can help confirm that by sharing your scenario and we can figure this out together?

BTW -- I am seeing the issue while installing from port also.

@mlen
Copy link
Contributor

mlen commented Oct 9, 2011

@gossi, homebrew removes symbols from files by default. Add skip_clean 'lib' to prevent striping symbols from libraries.

@evoyt
Copy link

evoyt commented Oct 9, 2011

vertis,
I've installed new XCode 4.1 on Lion and updated brew by 'brew update'
When trying to build samba with
brew install https://raw.github.com/vertis/homebrew/master/Library/Formula/samba.rb
I've got 2 errors
ld: in bin/libwbclient.a, archive has no table of contents for architecture x86_64
and finally Error: Failed executing: make install
brew doctor says that all ok.

Any ideas?

@ifreq
Copy link

ifreq commented Dec 3, 2011

Got same problem as evoyt. Samba Formula is really needed for the Lion.

brew install https://raw.github.com/vertis/homebrew/master/Library/Formula/samba.rb

Error: Failed executing: make install

@vertis
Copy link
Contributor

vertis commented Dec 3, 2011

There has to be something different about my environment.

Did you upgrade from Snow Leopard or is it a clean install of Lion?

On Saturday, 3 December 2011 at 11:53 PM, ifreq wrote:

Got same problem as evoyt. Samba Formula is really needed for the Lion.

brew install https://raw.github.com/vertis/homebrew/master/Library/Formula/samba.rb

Error: Failed executing: make install


Reply to this email directly or view it on GitHub:
#5954 (comment)

@ifreq
Copy link

ifreq commented Dec 3, 2011

clean install of Lion with newest Xcode. Only app/user data has been transferred from old system install.

@ifreq
Copy link

ifreq commented Dec 3, 2011

Okay, could be user error too! Was looking for Xcode and noticed that I have Xcode installer on my Applications folder.. so it was clear pebkac :)

proelf:~ ifreq$ brew install https://raw.github.com/vertis/homebrew/master/Library/Formula/samba.rb
######################################################################## 100.0%
==> Downloading http://samba.org/samba/ftp/stable/samba-3.6.0.tar.gz
File already downloaded in /Users/ifreq/Library/Caches/Homebrew
==> ./autogen.sh
==> ./configure --disable-debug --prefix=/usr/local/Cellar/samba/3.6.0
==> make install
==> touch /usr/local/Cellar/samba/3.6.0/lib/smb.conf
Warning: /usr/local/sbin is not in your PATH
You can amend this by altering your ~/.bashrc file
==> Summary
/usr/local/Cellar/samba/3.6.0: 414 files, 107M, built in 2.4 minutes

@ifreq
Copy link

ifreq commented Dec 3, 2011

BTW should the SMBD and NMBD work too? Mostly problems are with people with media boxes who try to access OSX desktop via SMB not vice versa.

@neogenix
Copy link

@lynndylanhurley & @fysa

Can you guys paste the output to :
smbd -S -F -d 10 | grep groups

And, then someone who has it working, can you do the same?

I have a suspicion this line's the culprit :
Failed to get groups from sam account.

@neogenix
Copy link

@lynndylanhurley & @fysa

I'm running into the same problem, running as root, with 16+ groups for my user. It didn't have the same errors when I went ahead and ran it as a different user with less groups. It errors out for other reasons, but after poking around with the pid file, and a handful of others, I got it started (as root). I'll try reproduce.

@joelk
Copy link

joelk commented Jan 2, 2012

@neogenix, I'd love to know how you got it running. I hit the 16+ groups problem as root (the output you're asking for looks like this:)

get_current_groups: user is in 16 groups: 0, 404, 1, 2, 3, 4, 5, 8, 9, 12, 20, 29, 33, 61, 80, 98
Primary group is 0 and contains 0 supplementary groups
get_user_groups: failed to get the unix group list
Failed to get groups from sam account.

and running as myself I have various permissions errors, the latest being:

bind failed on port 445 socket_addr = ::.
Error = Permission denied

@angerman
Copy link

angerman commented Jan 4, 2012

Hi Everyone,

the 16 group limit is returned by sysconf when asked for _SC_NGROUPS_MAX; this is apparently due to OS X's nested groups; while the call to getgrouplist returns a flat (not nested) group list. getgrouplist will happily return the first 16 groups but still return a -1 return code, indicating failure. Hence the strange maximum of 16 groups on OS X.
A patch against Samba 3.6.1, source3/lib/system.c can be found here: https://gist.github.com/1559603

A formula including the patch and Samba 3.6.1 can be found here: https://github.com/angerman/homebrew/blob/patch-1/Library/Formula/samba.rb

TL;DR:

$ brew install https://raw.github.com/angerman/homebrew/patch-1/Library/Formula/samba.rb

@vertis
Copy link
Contributor

vertis commented Jan 4, 2012

Excellent. I've merged this back into my samba recipe.

@jimrome
Copy link

jimrome commented Jan 11, 2012

So once this is installed, how do I make sure that smbd and nmbd are started on boot?

@jimrome
Copy link

jimrome commented Jan 11, 2012

....
usr/bin/install -c -m 0644 /private/tmp/homebrew-samba-3.6.1-VAnm/samba-3.6.1/source3/../lib/talloc/talloc.h //usr/local/Cellar/samba/3.6.1/include
Preserving old module as ///usr/local/Cellar/samba/3.6.1/lib/vfs/default_quota.dylib.old
Installing bin/default_quota.dylib as ///usr/local/Cellar/samba/3.6.1/lib/vfs/default_quota.dylib
Linking bin/smbclient
ld: warning: -pie being ignored. It is only used when linking a main executable
ld: in bin/libwbclient.a, archive has no table of contents for architecture x86_64
collect2: ld returned 1 exit status
make: *** [bin/libsmbclient.dylib.0] Error 1
make: *** Waiting for unfinished jobs....
ld: in bin/libwbclient.a, archive has no table of contents for architecture x86_64
collect2: ld returned 1 exit status
ld: warning: -pie being ignored. It is only used when linking a main executable
ld: in bin/libwbclient.a, archive has no table of contents for architecture x86_64
collect2: ld returned 1 exit status
make: *** [bin/nmbd] Error 1
make: *** [bin/libnetapi.dylib.0] Error 1

make install failed:
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/.rb#L
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: (none)
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: 8-core 64-bit core2
OS X: 10.7.2
Kernel Architecture: i386
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.1
GCC-4.0: N/A
GCC-4.2: build 5666
LLVM: build 2335
Clang: 2.1-163.7.1
MacPorts or Fink? false
X11 installed? true
==> Build Flags
CC: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CXX: /usr/bin/llvm-g++ => /usr/llvm-gcc-4.2/bin/llvm-g++-4.2
LD: /usr/bin/llvm-gcc => /usr/llvm-gcc-4.2/bin/llvm-gcc-4.2
CFLAGS: -O3 -w -pipe -march=core2
CXXFLAGS: -O3 -w -pipe -march=core2
MAKEFLAGS: -j8

Error: Failed executing: make install
If `brew doctor' does not help diagnose the issue, please report the bug:
https://github.com/mxcl/homebrew/wiki/checklist-before-filing-a-new-issue

@angerman
Copy link

@tooj try running it as root
$ sudo /usr/local/Cellar/samba/3.6.1/sbin/smbd -b

This is your problem: smbd_open_once_socket: open_socket_in: Permission denied
Also make sure that the Lion SMBX server is not running.

@angerman
Copy link

@jimrome

So once this is installed, how do I make sure that smbd and nmbd are started on boot?

What you basically want to do is follow the instructions on http://kofler.info/blog/167/126/Samba-unter-Lion-installieren/
they are German though. Use Google Translate to get the gist (http://translate.google.com/translate?u=http%3A%2F%2Fkofler.info%2Fblog%2F167%2F126%2FSamba-unter-Lion-installieren%2F&sl=de&tl=en&hl=&ie=UTF-8)

@tooj
Copy link

tooj commented Jan 12, 2012

After that long post above, I was able to get smbd started with massive changes to my smbd.conf file. However, I am unable to connect as a guest or user from another machine. I'll continue playing with the smbd.conf file to see if I can enable even guest access.

@ifreq
Copy link

ifreq commented Jan 30, 2012

Newest formula works nicely after it was patched and the sample configs proved to be quite helpful.
Was also thinking to install via ports but happily my waiting paid off :-)

On Jan 30, 2012, at 7:38 PM, fysa wrote:

This was from 6-7 months ago.. I tried homebrew but could not get it to work at the time. Saw there were some questions so I thought it would be helpful to share my smb.conf and the build settings.


Reply to this email directly or view it on GitHub:
#5954 (comment)

@adamv
Copy link
Contributor

adamv commented Feb 19, 2012

Has this patch been submitted upstream?

@vertis
Copy link
Contributor

vertis commented Feb 20, 2012

@adamv From what I can tell from browsing the issues, the issue hasn't been reported upstream.

I will do more investigation this evening, and if I can't find anything, I'll raise the issue on the samba bugzilla.

The patch as it stands is a workaround not a permanent solution, since it overrides the group limit to avoid the max of 16 that was causing problems.

@eduo
Copy link

eduo commented Feb 28, 2012

Hi, Vertis.

Did you raise the issue in samba bugzilla? I keep seeing the problem with set_maxfiles and the group limit is still not properly patched up.

In my case smbd crashes, hard, every time a connection from another machine is attempted when trying to apply the same formula to 3.6.3. It's clear the problems need to be patched at the source.

@eXcalibre
Copy link

@eduo this is not a problem with Samba, its a problem with apples own implementation of the SMB.

As stated in the first post by BrazilianJoe
[quote]Due to the license change to GPL3, Apple will no longer be able to ship Samba with Mac OS X.
It was said in the media that Apple is going to provide their own tools for interacting with SMB shares, but it is a very complex system, and I doubt it will be feature complete.[/quote]

So the source would be Apple themselves... and i can't see them doing much about it.

@eduo
Copy link

eduo commented Feb 29, 2012

@eXcalibre Hi, you're somehow mistakenly thinking I'm confused about what I'm asking about. Not referring to apple's implementation of smb2 or anything that could have as an answer a repeat of the widely known original statement about apple dropping samba.

This ticket is about a formula for samba and I'm asking about that implementation precisely. When I say samba still crashes due to group limit errors how can that be construed as not knowing apple is dropping samba from osx?

I can only imagine you assumed I made a question without having a clue and didn't double check what I was asking. It's specifically about samba 3.6.3 in Lion failing as implemented by the attached formula.

To be clear: I'm the developer of a Samba front-end for Lion called SMBUp. I created it for a lot of users that couldn't connect their macs to their mediacenters or linux devices. I've been including Samba 3.2.15 but I wanted to update it to a more recent version. I have been finding some problems with 3.6 and upwards and have been checking solutions in different sites (trying to get both homebrew and macports "fixed" along the way). But there's still a nut to crack properly which is how the newer Samba versions have an issue with Lion's reporting of users groups.

Now, Lion didn't change the way user groups are reported, it's the same function that's been in place and fixed in Samba since 2007, but something has changed in Samba in recent versions that makes the whole thing unusable. The Samba team has really not much interest in fixing anything related to Mac OS X and at the moment couldn't care less that it's impossible, with the latest 20 stable releases, to create a shared drive that can be authenticated by the machine's main user (it can by any other user, though).

I know Samba and have been using it for more than a decade, but I'm not that familiar with its more recent code releases so I'm not confident enough to go in and make changes to the source other than the most basic ones.

Nothing Apple is doing or not doing any more in Lion has anything to do with any of this. They're not the source of any problems in the Samba implementation or errors when running it. Those are 100% samba. If anything, changes from Apple have not permeated into newer versions (this "Groups" problem was fixed for OS X by James Peach in 2007 and had been working OK until recently).

Apple's implementation of SMB has nothing to do with Samba, when run in the same machine, as long as Apple's is disabled (and it would have to be).

For the record: I'm happy Apple stopped including Samba and don't think it should've never done so in the same way I don't see a point in Windows including Appletalk. I'm not even that happy with them including SMB2 but at least it's not a hacked-together hodgepodge of reverse-engineered proprietary protocols. I'd be happy if they removed it whole and let third parties implement it properly.

@vertis
Copy link
Contributor

vertis commented Feb 29, 2012

Just to make sure everyone is clear. I don't pretend to be an expert on samba, I created this formula mostly because I needed the ability to use smbpasswd to change my AD credentials at work.

If anyone has patches that will make the samba formula handle groups and authenticated shares better then please send pull requests.

@eduo I believe @lasombra has raised the bug upstream on samba.org bugzilla (#8773).

On Wednesday, 29 February 2012 at 7:17 PM, eduo wrote:

@eXcalibre Hi, you're somehow mistakenly thinking I'm confused about what I'm asking about. Not referring to apple's implementation of smb2 or anything that could have as an answer a repeat of the widely known original statement about apple dropping samba.

This ticket is about a formula for samba and I'm asking about that implementation precisely. When I say samba still crashes due to group limit errors how can that be construed as not knowing apple is dropping samba from osx?

I can only imagine you assumed I made a question without having a clue and didn't double check what I was asking. It's specifically about samba 3.6.3 in Lion failing as implemented by the attached formula


Reply to this email directly or view it on GitHub:
#5954 (comment)

@leepfrog
Copy link

leepfrog commented Mar 7, 2012

As far as creating a brew recipe that works, why not build the old samba from 10.6.8?

http://opensource.apple.com/source/samba/samba-235.7/

@kartagis
Copy link

brew install https://raw.github.com/vertis/homebrew/master/Library/Formula/samba.rb

curl: (22) The requested URL returned error: 404
Error: Failure while executing: /usr/bin/curl -qf#LA Homebrew\ 0.9\ (Ruby\ 1.8.7-249;\ Mac\ OS\ X\ 10.7.2) https://raw.github.com/vertis/homebrew/master/Library/Formula/samba.rb -o /Library/Caches/Homebrew/Formula/samba.rb

@vertis
Copy link
Contributor

vertis commented Apr 12, 2012

Hi kartagis,
The formula has been moved into a branch. Try:

brew install https://raw.github.com/vertis/homebrew/samba/Library/Formula/samba.rb

Regards,

Luke

Luke
Phone: +61402203606
Email: luke.a.chadwick@gmail.com
Skype: luke.a.chadwick

On Thursday, 12 April 2012 at 5:34 PM, kartagis wrote:

brew install https://raw.github.com/vertis/homebrew/master/Library/Formula/samba.rb

curl: (22) The requested URL returned error: 404
Error: Failure while executing: /usr/bin/curl -qf#LA Homebrew\ 0.9\ (Ruby\ 1.8.7-249;\ Mac\ OS\ X\ 10.7.2) https://raw.github.com/vertis/homebrew/master/Library/Formula/samba.rb -o /Library/Caches/Homebrew/Formula/samba.rb


Reply to this email directly or view it on GitHub:
#5954 (comment)

@kartagis
Copy link

Wow, that was fast. Thanks Luke :)

@roman-marszalek
Copy link

@eduo - do you know the last version of Samba that did not have the Lion groups issue, i.e. previous to 3.6.3?

I have tried manually editing the /source3/lib/system.c file to just return 64 whatever happens as a quick test (I'm only running on OS X anyway), and that didn't work either.

@eduo
Copy link

eduo commented May 20, 2012

All versions of samba have the problem, as what changed was OS X. Lion sees a problem returning that had already been fixed by previous OS X versions for all Samba versions.

Even the "fix" outlined in this thread doesn't really solve the issue, only shifts its effects elsewhere.

@roman-marszalek
Copy link

Wishful thinking on my part.

I would say that people experience these issues try DAVE. I've given it another shot - I don't mind having to create local accounts to go along side ODM accounts for the 4 PC users.

I've been needing a replacement to Apple's SMB2 because the PC users we have use 3ds Max which doesn't work with Apple's implementation, but does with Thursby's DAVE no problem.

@eduo
Copy link

eduo commented May 21, 2012

I was reported yesterday (I make a tool called SMBUp, a front-end for
samba on lion, sino get reports like these) that Dave has the same issue on lion. I was surprised but haven't been able to verify.

If you confirm it works please let me know to be sure. I tend to recommend Dave when samba fails.

@roman-marszalek
Copy link

No, DAVE doesn't have the issues - it's running as we speak. I literally swapped it with Samba 3.6.3 (Homebrew) and it's solved the issues.

@lasombra
Copy link

It seems the guys at MacPorts did it. I'm going to test it through today.

@roman-marszalek
Copy link

Really - can you let me know where you read/found that?

@jimrome
Copy link

jimrome commented May 21, 2012

I gave up on homebrew and used the MacPorts version, It works great.

@roman-marszalek
Copy link

That's odd as I recently used MacPorts Samba and was having the same 16 group issue. Perhaps they fixed it recently?

@lasombra
Copy link

@jimrome
Copy link

jimrome commented May 21, 2012

Here is how I did it (don't recall the source, but I put it into Evernote...):

Installing Samba on LionLion does not use as Snow Leopard, the open-source program to release Samba network shares, but the self-developed SMBX server . The collaboration worked well with Windows in my tests, but not for me much more important interaction with Linux. Remedy the described installation of Samba.

LimitationsBefore you start, you should know, with what qualifications you need to put up with:

  • I'm assuming here that you install Samba via MacPorts (see below). Unfortunately, the MacPorts version of Samba contains outdated 3.2.15. It is unclear when a newer version of Samba is officially ported. You can find more details in this bug report read.
  • The Samba version has a known bug in the evaluation of group affiliations. If a user belongs to more than 16 groups, the authentication fails (see this bug report ). That sounds like an exotic problem - who needs 16 groups? But if you run in the terminal groups to determine how many groups associated with your account, you will encounter an amazingly long list. (In my test: 22 groups and thus over the limit) Apparently Lion groups intensively used to control access to a variety of administrative functions / files. You now have the choice whether to dispense with the Samba configuration on the authentication (insecure) or whether you try to delete the assignment to different groups (with uncertain consequences).
    ConditionsI assume in this blog post that the Apple development environment Xcode have (available free on the App Store) installed and MacPorts already. MacPorts is a software management system for open-source software and helps you download and installation of many open source packages. I have MacPorts some time ago a blog post dedicated to and in my OS X e-book and the new Lion-book described.
    Windows shares offThere can be only one active SMB servers. Therefore you have the module releases the system settings to disable the option to share files and folders using SMB. You can find this option in the file shares / options.
    However, continues the NetBIOS daemon. Since this role in future nmbd will take over from the Samba package, you have to stop and prevent its future netbiosd start. You can do this in a terminal from the following two commands:
    sudo launchctl stop com.apple.netbiosd
    sudo launchctl unload -w /System/Library/LaunchDaemons com.apple.netbiosd.plist/
    Installing and Configuring SambaThe Samba installation with MacPorts is effortless. You only have to pay for compiling Samba for a few minutes of patience.
    sudo port selfupdate
    sudo port install Samba3
    The Samba configuration is done through the file / opt/local/etc/samba3/smb.conf thatyou set yourself. The easiest way to copy the sample file opt/local/etc/samba3/smb.conf / and adjust them accordingly. On the details of the Samba configuration I can not enter here - if you run it out or read smb.conf after the details in a Linux or Samba book.
    If access is to be secured to the network directories to define password (security = user),you do not, with the corresponding smbpasswd passwords! Samba can not access the OS X passwords! Note, however, that authentication is sentenced for accounts with more than 16 groups to failure (see Constraints).
    For Samba to start manually, run the following command:
    sudo /opt/local/sbin/smbd -D && sudo /opt/local/sbin/nmbd -D
    If problems occur, see the Samba logging files in the directory / usr / local / var /.Smbtree with the terminal command you can list all available Samba shares.
    Once everything works, you still need to make sure that Samba is started automatically in the future. This is configured in the /Library/LaunchDaemons/ the two filesorg.samba.nmbd.plist and org.samba.smbd.plist one and run the following two commands:
    sudo launchctl load /Library/LaunchDaemons/org.samba.nmbd.plist
    sudo launchctl load /Library/LaunchDaemons/org.samba.smbd.plist
    ConclusionApple's server SMBX zickt is (partly) incompatible with Linux, but the Samba installation presented here under Lions. Since one can only hope for a more current version of Samba MacPorts, or by a better SMB2 Linux compatibility.

@eduo
Copy link

eduo commented May 21, 2012

I'm on the MacPorts lists and I didn't see anything that pointed at fixing the 16-group problem.

What Macports did was update to 3.6.3 and then 3.6.5, but I was involved in bugfixes related to those. The 16-group problem wasn't really addressed (the most-common fix was to up the default group number, but that doesn't really avoid the problem).

Still, even if the bug persists, it's nice that Macports updated samba, finally.

Eduo

On may 21, 2012, at 3:32 p.m., LaSombra wrote:

https://trac.macports.org/log/trunk/dports/net/samba3/Portfile


Reply to this email directly or view it on GitHub:
#5954 (comment)

@lasombra
Copy link

It doesn't, I've check it as well, but it's working for some reason.
I installed it and it's working perfectly with my WD TV Live.

@adamv
Copy link
Contributor

adamv commented Jun 10, 2012

Added 3.6.5 in #10311

@adamv adamv closed this as completed Jun 10, 2012
@vertexclique
Copy link

pkg-config complains about missing devel files. @adamv

@bfontaine
Copy link
Contributor

@vertexclique please open a new issue.

@Homebrew Homebrew locked and limited conversation to collaborators Aug 17, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests