8. Now lets mount the “windows shared folder” (File System) called download to the mount point (download) we created on the Linux box.. Here we are using “smbfs”, that is smb file system. Windows (download) > Mounted to > Linux (mount point called download) In this example: Windows shared folder is: 10.208.117.115/download Linux Mount Point is:/mnt/download Command: # mount -t smbfs -o username=administrator,password=2fudge, debug=4 //10.208.117.115/dwonload /mnt/download/ Output: mount.smbfs started (version 3.0.10-1.4E) added interface ip=1.1.1.10 bcast=1.255.255.255 nmask=255.0.0.0connecting to 10.208.117.115 at port 445 4044:session request okserverzone is -198004044: session sedtup ok 4044: tconx ok #
For more information on “Mounting File Systems (Linux)” see this article:
http://www.itc.virginia.edu/desktop/linux/mount.html
9.From the above example its very clear that mount was successful, as there were No errors. To check the contents of the Windows shared folder “download”, navigate to /mnt/download folder and do “ls” which means listing.
# cd /mnt/download/
# cd download/# ls
10. Now you should see all the shared windows files.
Possible Error: it is mandatory and we have disabled it. 252: protocol negotiation failedSMB connection failed
Resolution: In a nutshell, the cause of the problem is the default security policy on Windows 2003 Server being set to always encrypt network connections under all circumstances. Whilst this is fine for most clients (especially Windows clients, understandably), the version of SMB that Panther uses doesn’t support encrypted connections. Apparently this support exists in Samba 3, but not on the version Hoary uses. The solution is to change the security policy to use encryption when it’s available and not otherwise. Here’s how. A. From Administrative Tools, open Domain Controller Security Settings.Go to Local Policies then Security Options. B. Scroll down to find the entry Microsoft network server: Digitally sign communications (always). Set this to Disabled. The only thing left to do is to reload the security policy, as changes don’t otherwise take effect for some time. Open up a command window and type: gpupdat /force Now, we have cross-platform data sharing using SAMBA. To know more please see our Free Learning sites
No comments:
Post a Comment