- Students create, compile, and present portfolios that showcase their academic, workplace, and life skills. The portfolios also serve as tools to develop both post-secondary transition plans and detailed, achievable career, academic, and personal goals.
- We have selected English as your language preference. If you would like to browse in a different language, please choose a language using the dropdown.
Dear Drew, I have one more question: Is the samba-server installed on the ubuntu? Then: the situation is different: Yours: ubuntu 17.04, Mac OS 10.9.5 mine: ubuntu 16.04 (samba-server installed), Mac OS 10.13.2 Although I allowed 'guest' the way you showed me, the login window does not give me a choice between 'anonymous' and 'user-password'.
The things I have been reading - concerning this 'modified samba implementation'- tell me that the situation has changed. It seems to be more problematic. I get the impression that apple is more or less abandoning the samba-project.
(Again: why is there no nsmb.conf file anymore? That's weird.) On the other hand: I'm enjoying using the mac-notebook. When my old Asus-laptop broke down, I decided to buy a mac. Its an OS I never used. It's very elegant and handy. But one must learn to accept the commercial limitations. In linux, there are no secrets.
Here, on the mac, I have no way to find out where this 'mysterious modified samba-implementation' is hidden, not to say: configure it. But otherwise the mac is great! And I can dance a sensual samba with it, thanks to the ubuntu-server! Dear Drew Reece, Thanks for the information. Algebra touch for mac. But I was already aware of this article.
As I pointed out: I can log into the shared folder on my ubuntu machine from my mac. But the other way round does not work.
There are rather strange issues. When I tried to connect from the cli, I got the following answer: code$ smbclient -L MacBook-Air-van-Marc.local WARNING: The 'syslog' option is deprecated Enter marc's password: session setup failed: NTSTATUSLOGONFAILURE/code So: my ubuntu cant log in. That's clear enough.
Nevertheless it can bcontact/b the mac, as the 'nmblookup' command shows: code$ nmblookup -AS 192.168.x.xxx Looking up status of 192.168.x.xxx MACBOOKAIR-Dxxx - H MACBOOKAIR-Dxxx - H WORKGROUP - H MAC Address = /code So: why is there that: 'NTSTATUSLOGONFAILURE'?? On the graphical plain: when I use the gui in 'nautilus' (graphical file-manager in ubuntu)to log in, I get this window: I get the choice of login in as a registered user, with password, or 'anonymously', without password. Neither works! The login window disappears and reappears endlessly!
NEW YORK--(BUSINESS WIRE)--Oct 30, 2018--Apple® today gave Mac mini® a massive increase in performance. Now with quad- and 6-core processors, up to 64GB of faster memory and blazing fast all.
I do not know is the developers are aware of this issue? It does not ruin my life! I installed SSH/SFTP protocol and that works perfectly in both directions between mac and ubuntu. But I want to solve this strange samba-puzzle. Or at least find out what causes it. Thanks for your patience and attention.
I tried the following command on my macnotebook: 'smbutil view -g'. It found my samba-server on my ubuntu-machine. But it dindn't find the samba-server on my mac. Got the following output: 'smbutil: server rejected the authentication: Authentication error'.
What does it mean, or what is the reason for this? File-sharing is activated on my mac! Is it overruled by the server on ubuntu? Or something of the sort? I am an absolute beginner on the subject of Samba en yes: dont give me the RTFM treatment 😊. Its very difficult stuff for the layman. I can use some help.
And if its actually a bug, then there is very little one can do. Marcfromkluisbergen wrote: code$ smbclient -L MacBook-Air-van-Marc.local code$ nmblookup -AS 192.168.x.xxx Looking up status of 192.168.x.xxx I see you are using the.local address in the first command that fails & the IP in the second that works.local addresses are bonjour (a.k.a. Rendezous, zeroconf, avahi, multicast DNS - it has had many names).
Have you tried connections only using the IP address? If the IP works & the local name does not you will need to investigate bonjour on Ubuntu. Bonjour is basically DNS on the local network that works by broadcasting service info (apologies if you know all this already).
If the exact same error messages persist with the IP you know that Ubuntu is finding the server but the SMB protocol is choking or failing for some reason. The reason I suggested using a user account with a password is because I'm not certain how well guest logins work over SMB on Macs. I avoid those & have not tested it. Do you need to suggest a username with smbclient?
Change smbclient -L MacBook-Air-van-Marc.local to smbclient -L MacBook-Air-van-Marc.local -U username on the Mac I'm assuming marc is the user on Ubuntu? Does the Mac also have a user called marc too? From the manual 🙂 If no username is supplied, it will default to an uppercase version of the environment variable USER or LOGNAME in that order. If no username is supplied and neither environment variable exists the user name will be empty.
I'd also specify a workgroup when testing as the next of output line looks a little odd WORKGROUP - H What a happens with smbclient -L MacBook-Air-van-Marc.local -U username on the Mac -W WORKGROUP If that helps perhaps the smb.conf needs checking NOTE: This is all speculative, I can't tell what is going wrong but I think Ubuntu can see the Mac (bonjour is probably working, but rule it out by using just the IP anyway) but the authentication seems to fail. Thank you for this information. I set a password with 'smbpasswd' on mac for user 'marc'. When I log in with 'smbclient' from ubuntu, I suppose this is the password asked for?
Nevertheless it is not accepted (or something else in not accepted). Reading the samba-manuel ( and also understand it) is a lot of work. I'm afraid I'm an absolute beginner, and I need a lot of study. (But I'm not 'geekish' at all, just an ordinary mac-newbee, hoping that things work, out of the box). I can use the samba in one way: I can reach the shared-map on my ubuntu from the mac. Does that mean that the ubuntu-samba-server uses the mac as smb-client, but that the mac-server can't use the ubuntu as a client?
I have only two machines on my LAN: the ubuntu and the macnotebook (used mostly outdoors). That's the reason for using samba: getting stuff from my home-computer, working outdoors with the mac. I'm glad it works in one direction, so I can actually use it. Not being able to reach the shared-map on the mac does not really matter.
I'm only curious why it does not work. I read somewhere, that on a LAN, you should set only one machine as the 'master-browser' on the network. You can look up the master with the command 'nmblookup -M - -'. I did this on both machines.
On the ubuntu it mentions the ubuntu-server. The server on the mac wasn't mentioned. On the mac nothing was found.
As you can read, this is the gibberish of a layman. I still know very little (or nothing) about domains etc. I discovered the 'systempreferencesshareFile Sharing' option on the mac, activated it and merrily tried to log in on the mac from my ubuntu, and it didn't work.
Then I installed the samba-server on my ubuntu. Maybe the two servers conflict? If I find the time and the courage, I'll study the damned thing. Thanks for all your trouble. Dear Drew, Samba is installed on High Sierra. You can find it: '/opt/local/etc/sabma3'. The configuration file is called: 'smb.config.sample' What I suspect is: it has been modified, so that you can log in from other mac-machines or from windows-machines.
(Samba was originally developed for sharing files and printers between unix/linux- and windows-machines.) I can only assess that the mac-version makes it very difficult for ubuntu-linux, to log in. This feature: 'system preferencesshareenable file sharing' is a function of samba. The command 'nmblookup -M - -', executed on the mac, shows this: 'querying MSBROWSE on 192.168.0.255 192.168.x.xxx(=ip-adress of ubuntu-machine) MSBROWSE' Which - as far as I understand - means that only the ubuntu-samba is considered as server. This is only conjecture from my side. I'm the layman here. I wonder if this issue has been looked into by the developers of the file-sharing-project on mac?
/opt/local is not an 'Apple default path'. You must have installed that from another source, potentially Macports, Homebrew or another command line 'package tool' that installs command line tools. Apple install it's tools in /usr /bin and /sbin, for example the command which smbutil returns '/usr/bin/smbutil' Apples default config files are also in /etc not /opt/local/etc.
Try the following to see where the binaries are installed which nmblookup If that is within /opt it is not default, which may explain why you are having issues, running Apple's own smb server & samba will lead to conflicts as both will want to use the same ports - not going to work. Here is the info about Samba & OS X (now macOS) I'm still convinced Samba isn't installed, it is Apples own version instead that has different config and cli tools to Linux. Now were getting somewhere! You are right! MacPorts installed samba. How this happened, I don't even know.
I didn't install it intentionally. But there it is! The command: 'port installed' gave 'samba3 @3.6.252 (active)'. Also 'kerberos5 @1.15.20 (active)'. Before we go into it further - and I start to delete or uninstall things - I want to know something crystal clearly: If I hadn't installed MacPorts, that - without my intention - installed samba3, as part of an installation I made (kde? Xcode?): are there issues, logging in from a linux machine, when the option 'file sharing' on the mac is activated?
I mean: do you have noticed complaints, reports about that? If it is so, that there are normally no problems using the file-sharing option, between mac- and linux-machines, I could proceed to uninstall the macports-version, and see what happens. Another question: why is there no nsmb.conf file in my /etc? Xcode will not have installed Samba in /opt that will be from some other command.
Mac ports may have it as a dependancy for another project. I don't know if KDE can be installed via Macports, as far as I know that's not compatible. It's been years since I touched Macports so I can't think how to list what is dependant, 'port info samba' looks appropriate There have been issues with Apples SMB sharing over the years but it mostly works. It is their own code and as such new projects often have minor incompatibilities, quirks etc. It should work without Samba3 from Macports in the way. I don't know if Ubuntu 16.04 is specifically compatible with the built in Apple server but it should be.
If I get time I may be able to test, but it seems pointless as I don't specifically have 10.13 available at the moment. I would remove samba via Macports & see what happens. Reboot to allow Apples server the ability to gain access to the correct ports once samba 3 is not trying to access them (just a guess on what could happen). Man nsmb.conf should help with the config. I don't know why there is no existing one, I don't have one either, the default options will have been created during the compiling of the project. The Apple manuals are normally online too Note the files section near the bottom, nsmb.conf manual: FILES /etc/nsmb.conf The global configuration file. /Library/Preferences/nsmb.conf The user's configuration file, conflicts will be overwritten by the global file.
My Life Goal Compiling Brogue For Mac
You can have your own config per user - probably safer than editing one in /etc/ it will alter the share for that user account, I'd probably create 2 mac user accounts & tweak one config file to compare changes if things were not working. I deactivated the samba in MacPorts (found out it was automatically installed when I installed kde's 'gwenview' - I only wanted 'gwenview', but apparently got all the rest of kde also!😝) So, what a surprise for the blundering, experimenting layman! Nevertheless: I deactivated this blasted samba, but I can still not log in into the mac to reach its Public Folder (supposed to be the shared folder).
Always the same: the login window is endlessly repeating itself. I strongly suspect: logging in from a linux-machine is not allowed by this apple-samba-emulation! If you know any ubuntu-users who have also mac-machines on their LAN, please, ask them if they have the same problem as I have.
I am not desperate at all. I use the SSH/SFTP connection an my LAN and that works just fine. Dear Drew, This is very helpful information, indeed. I'll take my time to sort it out. As I said: samba is new to me and I have to do some reading. (And I am not sure I will ever understand it.) I'll let you know whenever I succeed logging in from my ubuntu.
Off topic: I'm Flemish and a member of the FlemishOperaCompany. Guess who is directing Verdi's Falstaff at the moment? Christoph Walz!
(You know: 'Hans Landa' in 'Inglorious.' ). Thanks a lot for your help till now. Finding out I inadvertently installed samba3 via macports was crucial. It's like a detective story. Probably with a happy end?! Greetings, Marc.
Apple Footer. This site contains user submitted content, comments and opinions and is for informational purposes only. Apple may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Apple can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the.