Contribute
Register

Windows sharing (SMB) problem in Lion

Status
Not open for further replies.
Joined
Jul 17, 2011
Messages
28
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
Since I updated to lion I can't access my shared folders from another Xp computer or an external media player from DMTech. I'm asked for my credantials (username and password) when I try to open my shared folders on my. I see my folders but I can't open them. :(

Everything is fine when I'm using my SL 10.6.8. I can just open the folders and play around with my files as I want.

The sharing and Network are setup in the same manner in both SL and Lion.

Something must have been changed in the windows sharing (SMB) between SL and Lion. Does anybody know if this is the case?

Is it possible to change the SMB server which existing in SL to Lion. I don't know which files to change in and copy from SL to Lion if it is Possible.
 
Hi,

I also had some problems with my shares. It turned out that you can't connect directly to a subfolder in a share under Lion. You only can connect to a share.

This means that you have to create some more shares...

Greets, MacLolo
 
MacLolo said:
Hi,

I also had some problems with my shares. It turned out that you can't connect directly to a subfolder in a share under Lion. You only can connect to a share.

This means that you have to create some more shares...

Greets, MacLolo

How do you mean? I can only connect to my whole Lion computer since I log in with my credentials and I can't connect to any of my shared folders.
 
Hi,

I was "on the wrong way". I'll answer this evening. Sorry, no time now.

MacLolo

PS: Try using AFP-protcol, NOT SMB: e.g. AFP://
 
Did you ever figure this out?
 
redsquall said:
Did you ever figure this out?

This was a pretty dead post, but - FYI if interested -

Apple dropped the official "samba" protocol in 10.7, in favor of their own SMBX implementation. It's a known issue with connecting to network shares, and Apple thinks SMBX is the way to go.. too bad really, when people realize their networked shares drop all the time and can't handle long/mangeled filenames.

I used to routinely have a few tricks for editing my /etc/smb.conf file to support symbolic links across network shares, to get quicktime to properly stream to/from a windows box, and to handle long filenames/deeper paths. I would have to manually enter every time a system update came out - That all went away in 10.7 (with the ability to fix my issues)... now I have to live with it. FU very much Apple!

in my daily production, I use two windows 7 (core i7) boxes to encode h/x.264 from my xsan, and since 10.7 now I have to copy the files to be encoded locally to the windows boxes first, encode them, and copy them back or all encoders crash because of SMBX f**king up the filenames.


They also got rid of FTP.. (good) - you should be using SSH/SFTP anyhow. And they screwed with the way AFP and NFS authenticates with older protocols. There are easy terminal fixes for those issues though.



As for your issue with not being able to authenticate.... depending on if you're using lion server or just lion... try to re-propagate the permissions to the parent folder (and all sub folders)... also try adding a fresh new user and propagate that user across the shares. I think I removed ACLs and POSIX entries (which, btw you can't see anymore in the lion server app) and just let the server app handle it by editing the user access panel, or the get info/permissions tab.
 
in Terminal
- Unload the Built-in SMB in Lion (So it will not interfere with samba3)
- Use Macports to install Samba3

It works fine.
I suggest taking a look and do some research on how to Setup your smb.conf
make sure you create a new samba user that broadcasts his presence on the network.

Cheers!
 
Hi!

I figured out a workaround:

This Script stops "file sharing" and starts it again.

1. Open "AppleScripts Editor" (Utilities)
2. Paste this code
Code:
tell application "System Preferences"
	activate
end tell

tell application "System Events"
	get properties
	tell process "System Preferences"
		click menu item "Sharing" of menu "View" of menu bar 1
		delay 2
		tell window "Sharing"
			click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
			delay 1
			click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
		end tell
	end tell
end tell

tell application "System Preferences"
	delay 2
	quit
end tell
3. Save As "Application"
4. Add to "User & Groups" -> "Login Items"

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

In German:

Dieses Script stoppt die "Dateifreigabe" und startet sie anschließend wieder.

1. "AppleScript Editor" öffnen (Dienstprogramme)
2. Den folgenden Code einfügen
Code:
tell application "System Preferences"
	activate
end tell

tell application "System Events"
	get properties
	tell process "System Preferences"
		click menu item "Freigaben" of menu "Einstellungen" of menu bar 1
		delay 2
		tell window "Freigaben"
			click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
			delay 1
			click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
		end tell
	end tell
end tell

tell application "System Preferences"
	delay 2
	quit
end tell
3. Speichern als "Programm"
4. Unter "Benutzer & Gruppen" zu den "Anmeldeobjekten" hinzufügen
 
Hi!

I figured out a workaround:

This Script stops "file sharing" and starts it again.

1. Open "AppleScripts Editor" (Utilities)
2. Paste this code
Code:
tell application "System Preferences"
    activate
end tell

tell application "System Events"
    get properties
    tell process "System Preferences"
        click menu item "Sharing" of menu "View" of menu bar 1
        delay 2
        tell window "Sharing"
            click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
            delay 1
            click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
        end tell
    end tell
end tell

tell application "System Preferences"
    delay 2
    quit
end tell
3. Save As "Application"
4. Add to "User & Groups" -> "Login Items"

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

In German:

Dieses Script stoppt die "Dateifreigabe" und startet sie anschließend wieder.

1. "AppleScript Editor" öffnen (Dienstprogramme)
2. Den folgenden Code einfügen
Code:
tell application "System Preferences"
    activate
end tell

tell application "System Events"
    get properties
    tell process "System Preferences"
        click menu item "Freigaben" of menu "Einstellungen" of menu bar 1
        delay 2
        tell window "Freigaben"
            click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
            delay 1
            click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
        end tell
    end tell
end tell

tell application "System Preferences"
    delay 2
    quit
end tell
3. Speichern als "Programm"
4. Unter "Benutzer & Gruppen" zu den "Anmeldeobjekten" hinzufügen

Thank you!
this is all I needed. I hated manually resetting it everytime I reboot
 
Big thanks, been looking for this for a while !

Unfortunately I have to fire it manually, it won't work from login items, but that's ok


Hi!

I figured out a workaround:

This Script stops "file sharing" and starts it again.

1. Open "AppleScripts Editor" (Utilities)
2. Paste this code
Code:
tell application "System Preferences"
	activate
end tell

tell application "System Events"
	get properties
	tell process "System Preferences"
		click menu item "Sharing" of menu "View" of menu bar 1
		delay 2
		tell window "Sharing"
			click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
			delay 1
			click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
		end tell
	end tell
end tell

tell application "System Preferences"
	delay 2
	quit
end tell
3. Save As "Application"
4. Add to "User & Groups" -> "Login Items"

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

In German:

Dieses Script stoppt die "Dateifreigabe" und startet sie anschließend wieder.

1. "AppleScript Editor" öffnen (Dienstprogramme)
2. Den folgenden Code einfügen
Code:
tell application "System Preferences"
	activate
end tell

tell application "System Events"
	get properties
	tell process "System Preferences"
		click menu item "Freigaben" of menu "Einstellungen" of menu bar 1
		delay 2
		tell window "Freigaben"
			click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
			delay 1
			click checkbox 1 of row 2 of table 1 of scroll area 1 of group 1
		end tell
	end tell
end tell

tell application "System Preferences"
	delay 2
	quit
end tell
3. Speichern als "Programm"
4. Unter "Benutzer & Gruppen" zu den "Anmeldeobjekten" hinzufügen
 
Status
Not open for further replies.
Back
Top