Can not connect to Mac shared folder using Ubuntu smbclient - NT_STATUS_LOGON_FAILURE

Are there any experts out there to help a noob


My setup:


Mac OS 10.8 with File sharing on, options have both AFP and share files with SMB enabled. My account is selected in the accounts for SMB sharing.

Ubuntu 12.04 with SMB client installed.


on ubuntu, if I try to connect to the mac, I get a login error:


root@getac3:/mnt# smbclient -L 192.168.1.179 -U myUserName%myPassword

session setup failed: NT_STATUS_LOGON_FAILURE


However, I am sure that the ubuntu machine samba client is working properly, because I can access other another mac on my network (running 10.5):


root@getac3:/mnt# smbclient -L 192.168.1.114 -U myUserName%myPassword

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.10]



Sharename Type Comment

--------- ---- -------

IPC$ IPC IPC Service (LivingRoom)

ADMIN$ IPC IPC Service (LivingRoom)

myUserName Disk User Home Directories

Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.10]



Server Comment

--------- -------

GETAC4 Samba 3.6.12-59.5.1-2989-SUSE-SL12.3-i386

LIVINGROOM LivingRoom



Workgroup Master

--------- -------

WORKGROUP GETAC4


As you can see above, I can see both the computer "LivingRoom", which is an eMac running 10.5, and another linux machine called "getac4" which is running OpenSUSE.


My goal here is to be able to use an external hard drive connected on my mac Mountain Lion to be able to store backups from the linux machines. I was hoping to use samba file sharing because I already have it all setup on the linux machines and it appears to work. However, I can not get the linux machines to see the shared folders on the mac.


Any thoughts?


Thank you


GEB

OS X Mountain Lion (10.8.4), expert question

Posted on Jul 30, 2013 2:32 PM

Reply
5 replies

Nov 6, 2013 12:06 PM in response to GEB_TPC

Did you ever solve this issue? I'm having a similar issue with OS X Mavericks as my server and trying to connect to it from a Debian Linux server using "smbclient". I get:


$ smbclient -L MacServer.local -U *****%*****

Domain=[MACSERVER] OS=[Darwin] Server=[@(#)PROGRAM:smbd PROJECT:smbx-275]

tree connect failed: NT_STATUS_PIPE_BROKEN


However, it connects fine to my AirPort TIme Capsule using the same command:


$ smbclient -L AirPort.local -U *****%*****

Domain=[WORKGROUP] OS=[Apple Base Station] Server=[CIFS 4.32]


Sharename Type Comment

--------- ---- -------

IPC$ IPC

Data Disk

Storage Disk

Nov 7, 2013 8:09 AM in response to rmshaw

I thinks this is apple's bug from the new Mavricks update, they might change the codes for smb sharing, I try to connect the smb share on my mac from linux, it is the same result as you: broken pipe....


Lots of people suffer the same pain when they try to connect their NAS(smb) from mac!


I haven't find out a solution yet...

Nov 7, 2013 8:18 AM in response to zsstie

I can get the mounts to work if I use the proper mount options in my automount setup:


/etc/auto.master


/- auto.smb --timeout=10 --ghost


/etc/auto.smb


/smb/MacServer/Public -fstype=cifs,soft,nounix,sec=ntlmssp,user=guest,pass= \

://MacServer.local/Robert\ Shaw's\ Public\ Folder

/smb/MacServer/Robert -fstype=cifs,soft,nounix,sec=ntlmssp,user=*****,pass=***** \

://MacServer.local/Robert


I was just trying to create an executable "auto.smb" file instead that uses "smbclient" on Linux to determine the available mounts to make it a bit more dynamic.


I guess I'll have to wait until this gets fixed (if ever) and just continue writing my mounts explicitly. Maybe the above will help you. The key is the "nounix,sec=ntlmssp" options. WIthout them, you can't mount from Mavericks, but you can just fine from AirPort or non-Mavericks machines.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can not connect to Mac shared folder using Ubuntu smbclient - NT_STATUS_LOGON_FAILURE

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.