A HUGE flaw in Windows sharing??

I have my G4 PowerBook and my wife's Windows XP laptop sharing an AirPort connection to the outside world. I noticed that I could mount the shared documents folder on her computer via SMB/CIFS. I turned on windows sharing on my computer (via the sharing preferences) to see if she could see the Shared folder in /Users.
Not only could she see the shared folder, but she could see into my home directory and ALL of its subfolders without even password authenticating. She mounted my machine as a network drive (\\10.0.1.3\colin) and off she went. That address is the one given in the sharing preferences pane as the one a windows user should connect to. She was also able to connect to her own home directory, but not to the higher level directory that would allow her to see /Users/Shared.
In my sharing preferences I also have Remote Login enabled and I changed sshd_config to set 'X11Forwarding yes' in an attempt to get a remote X-server connection working through a VPN to my work.
But why, why, why, was a windows user able to gain access to EVERY folder on my computer simply by mounting it as a network drive without any password authentication????? Obviously, I have turned off Windows Sharing until I can figure this out.
Thanks for any input you can give!

This has always seemed to me to be the mac's flaw that "Windows Sharing" enables all this freedom.
Go get Sharepoints at http://www.hornware.com
Install it on mac.
Configure the folders you want to share with wife.
Sharepoints manages the SMB.conf file a little better than the generic/vanilla settings that Mac uses with sharing preferences.
Don't know anything about the X-Server/VPN business you describe.

Similar Messages

  • Windows Sharing causing 50% CPU usage

    I have an iMac Core Duo running 10.4.6, and a few weeks ago the Activity Monitor started showing both CPUs running at about 50% all the time. About 40% of the graph is green (User mode) and 10% is red (System mode) on both CPUs. In addition, there seems to be a constant 275 KB/sec of data written to the hard disk.
    Mysteriously, the Activity Monitor doesn't show any particular process being responsible for the activity, even when I show All Processes. However, after some trial and error I was able to determine that turning off Windows Sharing would make the activity go away.
    I don't need Windows Sharing often, but it is occasionally helpful and I'd like to keep it turned on. Does anyone have suggestions on what I might do to get it working normally again?
    --Stuart
    iMac Core Duo   Mac OS X (10.4.6)  

    Yes, I was getting the same respawning of the nmbd process. I just checked /var/log/samba and see that it is indeed huge: 5 GB It just seems to be repeating the same error over and over:
    [2006/05/30 06:54:32, 0] /SourceCache/samba/samba-92.15/samba/source/nmbd/nmbd.c:main(668)
    Netbios nameserver version 3.0.10 started.
    Copyright Andrew Tridgell and the Samba Team 1994-2004
    [2006/05/30 06:54:32, 0] /SourceCache/samba/samba-92.15/samba/source/nmbd/nmbd.c:main(687)
    standard input is not a socket, assuming -D option
    [2006/05/30 06:54:32, 0] /SourceCache/samba/samba-92.15/samba/source/lib/utilsock.c:open_socketin(724)
    bind failed on port 137 socket_addr = 0.0.0.0.
    Error = Address already in use
    Doing a google search for the error revealed this discussion on Ars Technica, where folks seem to think this problem is caused by installing Xcode 2.3 on an Intel Mac. That would match my situation. Does it match yours?
    http://episteme.arstechnica.com/eve/forums/a/tpc/f/8300945231/m/267005829731
    Someone there posted a technique for disabling just certain background daemons, rather than disabling Windows Sharing entirely. Personally, I'm more comfortable disabling Windows Sharing than fiddling around at a lower level. I've found that if I disable and then re-enable Windows Sharing, everything is OK until I reboot. That will work fine for me until Apple has a chance to fix Xcode.
    I'm going to post a developer bug report about the problem, and suggest you do the same.
    --Stuart

  • Windows shared folder asks for permanently delete

    Hi,
    Any file from windows shared folder asks for permanently delete and after that it is not recoverable... Please help, how to enable recycle bin service?? 

    Hi,
    This is by design the Recycle Bin only stores files deleted from local drives, not from a shared folder. The workaround is to move a folder in C:\users\<user name> to the shared folder.
    For more detailed information, please refer to the thread below:
    Files deleting over the Network /share drive is not going to the recycle bin it permanently delete the file but deleting from local drive is normaly going to recycle Bin !
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/7119aafa-fe55-470c-ae20-568b80c5dcb4/files-deleting-over-the-network-share-drive-is-not-going-to-the-recycle-bin-it-permanently-delete?forum=winservergen
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Printing to a Windows Shared Printer in Windows Domain Stopped Working

    If anybody can shed some light on the problem below I would be highly appreciative. I have tried every suggestion I've found on ways to fix this problem, including postings found on this forum, without success.
    I use able to Print to a Shared HP Laser Jet printer one a Windows 2003 Server machine, which is part of a Windows 2003 Domain. It has been working faultlessly until about a 2 weeks ago. I have had a number of errors including unable to Connect but the Error I get constantly now is:
    +Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: Connection failed with error NTSTATUS_NOMEMORY"+
    I have reset the password of the windows user that originally made the connection when the computer was set up and this password had special characters. After reading various posts I have tried:
    1. Reseting that users password without special characters, deleting the printer and adding it back in using the same user and the new password. The same user can map and connect to windows Shared Directories on the same Server and open and edit files
    2. I have reset the Keychain to make sure it was using the new password. Again deleted and re-added the printer.
    3. Created a new user both on the domain and one the print server deleted and re-added the printer using each user while also reseting the key chain
    4. Tried the Advance option on the Printer Setup Utility using the following SMB URL format,
    smb://user:pass@Domain/Machine/Printer where, the domain is called "home", the machine name is "Devserver01" and the printer share name is "HPLaser" resulting in a smb URL of smb://shanep:xxxxx@Home/Devserver01/hplaser.
    None of the above work!
    So as a new MAC user I have absolutely no other ideas of where to look for additional information on what is happening i.e. where do you look for log files that may contain additional detail.
    Can anybody assist on suggesting any other things to look for or check?
    Thanks
    Shane

    Hi Greg,
    Thanks of the tips. I have just managed to get it working and I didn't use the LPD method but tried a few different smb URI's.
    Here's what I found worked.
    1. I created a standard user account on the Windows 2003 server on which the printer is connected and shared, i.e. a non Domain user name that is local to the server only and not the domain
    2. I then used this user name and password, along with the IP address of the server in the URL i.e.
    smb://user:password@IPofserver/hplaser.
    3. Printed a test page successfully
    I then tried variations of a theme using username and passwords on the domain, changing the @workgroup/server/printer with no success.
    I could however replace the IP address with simply the @Server/Printer combinations using he local user name and password successfully.
    I also installed apple and Unix printing and file services so whether this made the difference I'm not sure.
    Interestingly I tried to add the mac to the LDAP/Active Directory and couldn't successfully bind to the directory. Not that I'm an AD expert, but I have configured a few Java applications to use LDAP/AD authentications and groups of late so this problem is a little unusual, but that aside, thanks for the pointers, Printing problem solved. now to solve the AD one
    Shane

  • Printer Sharing and Windows Sharing with Windows Vista

    Today I tired setting up a printer sharing network over my linksys wireless router. I turned the printer sharing on and the windows sharing on my mac. Then I launched my notebook with vista on it and installed Bonjour for Windows 1.0.3. Once the installation finished I ran the wizard and installed the shared Epson Stylus Photo 1280 printer.
    Once I finished the wizard I gave the printer a go.
    I tried printing a word document on my Vista machine using the new wireless set up and nothing happens the printer queue gains the document spools it and then it's gone. Then, I tried using Vistas Sharing set up. After setting up another printer icon (the same printer). When I go to print I get an error message.
    Also when I try accessing my shared folder from my vista machine. I use my Username and password for the login. The computer responds that my Mac Mini's username and password is incorrect. Thus, I cannot fileshare between by Mac Mini and my Vista Laptop
    What can I do to get my printer sharing and my windows sharing set up to work.
    (also, my Epson Stylus Photo 1280 Printer is hooked up to my mac mini through USB).
    Please respond
    Thank you

    Hello Joe,
    I failed the login “connection to server with username and password not possible - Failure 256”
    Some cures here...
    http://archive.macfixitforums.com/ubbthreads.php/ubb/showflat/Number/691131/site _id/1#import
    One more way to overcome stubborn printing to a Windows® printer from a Mac...
    http://iharder.sourceforge.net/current/macosx/winmacprinter/
    http://docs.info.apple.com/article.html?artnum=301397
    iFelix...
    http://www.ifelix.co.uk/tech/3020.html
    http://www.ifelix.co.uk/tech/windowsxp.html
    I did not succeed using the PC’s name - even though the workgroup is set correctly.
    Might try Bonjour for Windows...
    http://www.apple.com/downloads/macosx/apple/windows/bonjourforwindows.html
    Which may also cure the Printer Sharing problem.
    Oh. make sure Printer Sharing IS NOT set on the Mac, if it is turn it off & reboot.

  • How do I map a windows shared drive to my mac?

    how do I map a windows shared drive to my mac?

    Mac 101: File sharing may have some hints.
    Stefan

  • What is the best way to export a .csv/.txt file to a MS Windows shared folder via a scheduled job?

    What is the best way to export a .csv/.txt file to a MS Windows shared folder, when the export process is a scheduled job?

    You can't directly, as scheduled jobs can only export to server-side data stores, which can only write to the landing area. You'll need to use an external script (e.g. batch file) to move the file from the landingarea after export. You can use an external task in the scheduled job to invoke the script.
    regards,
    Nick

  • Windows Sharing Password.. Lost / Forgotten.. Administrator account..

    HI.. I thought i would connect up my old G3 iMac running 10.4 Tiger to my Win7 laptop via ethernet crossover and move everything over i wanted to save by browsing the files and folders.
    Connected the iMac and the laptop and i can work from the iMac sending files over to the laptop but i cannot remember ever setting a password as administrator on the iMac for my account for windows sharing.
    I have a second account on the iMac for friends or guests to use and i logged in and that is the same as the loggin password but for my account my admin password is not recognised.
    http://www.fort-delce.pwp.blueyonder.co.uk/images/win-share-pass.jpg
    Is there a way to reset the password or a workaround to delete the keychain if possible. I've been sat at the keyboard trying every possible password i might have used but i'm sure i never set one.
    Paul.
    Added image link http://www.fort-delce.pwp.blueyonder.co.uk/images/win-share-pass.jpg Message was edited by: wudja-cudja™

    Hi BDAqua...
    I read up a little on your suggestions for resetting / creating new admin account and decided not to try the New account route. There seemed to be issues with losing accounts and files and ending up with an "as new" mac and that was too big a risk..
    All i wanted to do was reset the windows sharing password and there seemed to be NO method of doing this within the sharing preferences window despite being logged in as the Admin for the account. So I moved a few files over to another account on my iMac and started the transfer but this was time consuming.
    Having just searched the Apple help docs i found a simple answer.
    *Change my admin password*
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/8202.html
    +If users can’t connect to the Mac from the Windows computer using the user account you specified, you may need to reset the password for that account in Accounts preferences.+
    So with a new admin password on my account the windows sharing password was reset to the new admin password and I'm good to go..
    Many thanks for your help and suggestions.. It didn't fix my problem but reading a few of the links has shown me how to make my mac safer for the future. I didn't realise that it was so easy to overide the account password.
    WC

  • Windows Sharing "Accounts..." passwords do not reset?

    I am trying to connect my PC to my Mac and it seems to work fine for my laptop but not for my G5 tower. So, I went into my sharing preferences on my G5 and checked that my Windows Sharing was turned on, it was. Then I clicked on the Accounts... button at the bottom right (while selected on Windows Sharing) and there was a list of all the Mac user accounts. This page states...
    "Sharing with Windows computers requires storing your password in a less secure manner. You must enter the password for each account that you want to enable."
    My administrative account is already selected, so I try to deselect it and it asks me for my password...
    "Enter Account Password - Enter <Name>'s password to disable Windows Sharing for this account."
    When I enter it in, it says "Incorrect Password" when I am sure it is the correct one. Why does this password not work and what can I do to reset it?
    This seems like some sort of Apple bug to me?

    Yeah, I assumed the password should be the Administrative password, but that is not working and I have tried multiple times so I am sure I am entering it correctly.
    I can't connect to any windows shares because of this problem. So I am sure that there are no "shares mounted".
    I mentioned that it is working on my laptop. So when I go to this same account settings area on the laptop, the admin password does work for this same setting.
    I basically need some way of resetting this windows share account password from a different place? Does anyone know where I can do this? a preference file maybe or a plist file?

  • Accessing Windows shared printer, no GIMP driver for Canon iP3000. Options?

    I checked a few pages worth of threads but couldn't find a solution to my problem.
    Finally accessing my Windows shared printer. I have a Canon iP3000 and it doesn't print when I use the generic driver. I tried selecting the GIMP "Canon BJC 3000" driver but the prints end up shrunken to about a quarter of the paper size (8.5"x11"), my paper was set up and configured correctly. Any options for correcting this?
    I had planned on connecting the printer to my MacBook Pro but all the support I could find was for sharing from Windows, so if anyone knows a good resource for such a setup, that'd help too.

    There are new versions of Gimp-Print, now called Gutenprint, coming out on a regular basis. Check if the latest has your model:
    http://gimp-print.sourceforge.net/MacOSX.php3
    To share from a Mac:
    http://www.ifelix.co.uk/tech/3012.html

  • How to add a Windows shared printer

    I was doing everything that Article: HT3049 was saying but i still couldn't print with my windows shared printer from my mac , finally I found out another way, so for those of you who that having problem you can do the steps below:
    On the Windows 7 PC
    1. Go to Control Panel
    2. Select "Programs and Features" panel
    3. Click "Turn Windows Features on or off"
    4. Click on the "LPD Print Service". Under "Print and Document Services"
    5. Ensure printer(s) are shared
    On the Mac
    1. Open "System Preferences" - "Print & Fax"
    2. Click "+" to add a printer
    3. Right hand button tool bar to customize and add "Advanced" button
    4. Select "Advanced"
    5. In the "Type:" field select "LPD/LPR Host or Printer"
    6. In the "URL:" field enter lpd://IPserver/PrinterShareName; (e.g., lpd://192.168.1.102/samsung)
    Using lpd://ServeName/PrinterShareName does not work, the IP address must replace ServerName
    The IP address is the address of your PC, the one assigned by your router
    7. Click the "Add" button
    enjoy!:)

    I had to download the driver for my printer. Depending on the printer you will have to go to that site. In the search engine type 'mac os driver (model printer). I have a dell wireless. After that I went to printers/faxes and hit the + sign and my dell printer was there to add. Hope this helps a bit. I actually just did it today.

  • Path to windows shared disk

    Hi,
    what would be a typical path to mount a windows shared drive as a device? I suppose I have to choose SMB/cifs but then? SHould it look lije this:
    //SERVERNAME/SHAREDFOLDERNAME or use the IP like this 192.168.5.555/SHAREDFOLDERNAE

    Thank-You Jason and Changhai,
    i think i've found the problem.
    i do not have enough memory for the second node.
    i am running OUL 5 2.6.9-42.0.0.0.1.ELsmp with PV
    and could see the shared disks in vm.cfg on both nodes. if i shutdown node1 and startup node2 i could see the shared disk.
    Thanks for your helps.

  • Password not accepted for Windows sharing

    I am trying to transfer files from my Windows box to my iMac.
    When I try to enable Windows sharing for my account it asks me to "enable file sharing using SMB for <Account>, enter the password for the account." but it never accepts my password for that account.  It always says "Incorrect password".  The password originally had special characters in it so I changed it to use only upper- and lower-case and numbers but I still had the same problem.

    I know this workaround gets you in there, but why can't we edit the old SMB account in the system preferences as we are supposed to do? you can't delete or edit that account. i looked in keychain, & it wasn't in there. where is it looking for that password??? there must be a store somewhere, that retained this info.

  • UNIX command - turning on "windows sharing"

    Does anyone know how to activate windows sharing via UNIX command?

    sudo launchctl load /System/Library/LaunchDaemons/nmbd.plist
    sudo launchctl load /System/Library/LaunchDaemons/smbd.plist
    You will also need to configure the firewall to allow windows sharing.

  • Printing to a windows shared printer (Epson  Photo 1400) on a AD Network

    Looking for help with printing to a windows shared printer but I believe I need instructions for a domain rather than a workgroups??? Trying to print to a windows shared Epson Stylus Photo 1400 from a Mac running OS 10.4.11. Sharing works fine to other PC's an a network using active directory. (there is no workgroup, and I guess there can't be in the way the network is administered) The "address" used on another pc to print to the shared printer is \\111408nw.

    Hi dlori, and a warm welcome to the forums!
    I think these may help...
    http://discussions.apple.com/thread.jspa?messageID=4776616
    http://blog.case.edu/djc6/2005/06/22/printingfrom_os_x_104_to_windows_printer_on_activedirectory
    http://www.afp548.com/article.php?story=20070108171607985

Maybe you are looking for