Windows shares not showing up.

Discussion in 'macOS' started by PeterBonnar, Jun 27, 2005.

  1. PeterBonnar macrumors member

    Joined:
    May 23, 2004
    Location:
    England
    #1
    Up until recently, we have had one pc and three macs all shairng files nicely.

    We constanly send video over to the pc to be processed for the web. We swapped the pc over and i tested it all and everything seemed fine.

    However i now find only 2 out of the 3 macs can find the pc. I checked sharing settings are the same on both macs, reset the pram, repaired permissions, checked the firewall insint on and even talked nicely to it. But nothing, it can find the other two pcs on the network but not the pc.

    Any ideas?
     
  2. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
  3. PeterBonnar thread starter macrumors member

    Joined:
    May 23, 2004
    Location:
    England
    #3
    pinged it and it came back successfull,

    Any ideas?
     
  4. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #4
    And attempting to connect directly to the share, rather than browse for it?

    What do the logs say about the progress/lack of preogress?
     
  5. PeterBonnar thread starter macrumors member

    Joined:
    May 23, 2004
    Location:
    England
  6. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #6
    Finder -> Go -> Connect To Server... -> enter the IP address of the server, smb://ip.address.of.pc/share/point

    system.log and console.log, both GUIfied readable in the Console app.
     
  7. PeterBonnar thread starter macrumors member

    Joined:
    May 23, 2004
    Location:
    England
    #7
    direct connection, seems to have worked, however it still doesn't show up in the network browser.

    not sure what in the logs to look for
     
  8. PeterBonnar thread starter macrumors member

    Joined:
    May 23, 2004
    Location:
    England
    #8
    is there a way to add a working shortcut/alias of the pc share to my desktop, i'm not the only user of this machine so this could cause issues.
     
  9. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #9
    Couldn't tell you why it's not showing in the browser. Is there a firewall/IPsec on the PC that is blocking the Mac from browsing it? Are they on the same subnet?

    Logs are time stamped. Put a mark in the log, try and browse, and see if there's any messages between the mark and when you ceased browsing.

    Have you tried browsing logged in as another user?

    You can make an alias, but they break pretty often, so it's not worth it. You could try using the shortcut (and Dock it) created in ~/Library/Recent Servers/.

    I use AppleScripts to mount them. Faster/easier.
     
  10. PeterBonnar thread starter macrumors member

    Joined:
    May 23, 2004
    Location:
    England
    #10
    the firewall on the pc is disabled and so is the mac. If the firewall on the pc is on none of the macs can see it.

    There are all on the same subnet.

    Will try the logs later and let you know.

    No user on this one machine can get in.

    could u give me a hint of that script? :D

    And fianlly THANK YOU YELLOW!
     
  11. yellow Moderator emeritus

    yellow

    Joined:
    Oct 21, 2003
    Location:
    Portland, OR
    #11
    Code:
    tell application "System Events"
    	set _username_ to get name of current user
    	delay 1
    	
    	--set _username_ to "Enter id" as string
    	
    	tell application "Finder"
    		activate
    		if exists disk "GROUP_HOME" then
    			try
    				set mountHome to make new Finder window to folder _username_ of disk "GROUP_HOME"
    				set current view of mountHome to list view
    			on error
    				beep
    				display dialog ¬
    					"Home folder cannot be found. Contact Help Desk @ 555-1212" buttons "Cancel" default button 1 with icon stop
    			end try
    			return
    		end if
    		try
    			mount volume "smb://ADdomain;" & _username_ & "@server.ip.edu/GROUP_HOME/"
    		on error
    			beep
    			display dialog ¬
    				"Authentication failed." buttons "Cancel" default button 1 with icon caution
    		end try
    		set timeWaited to 0
    		repeat until (list disks) contains "GROUP_HOME"
    			delay 2 -- delay 2 seconds
    			set timeWaited to timeWaited + 2
    			if timeWaited > 60 then
    				beep
    				display dialog ¬
    					"GROUP_HOME failed to mount. Contact Help Desk @ 555-1212." buttons "Cancel" default button 1 with icon stop
    				return
    			end if
    		end repeat
    		try
    			set mountHome to make new Finder window to folder _username_ of disk "GROUP_HOME"
    			set current view of mountHome to list view
    		on error
    			beep
    			display dialog ¬
    				"Home folder cannot be found. Contact Help Desk @ 555-1212" buttons "Cancel" default button 1 with icon stop
    		end try
    	end tell
    end tell
     

Share This Page