Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Mapping Drives To Windows, Mapping drives to windows
Michael23
post Sep 4 2003, 08:12 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 4-September 03
Member No.: 1,383



Hi ,

Can anyone knows how can I map the shared folder in windows to my linux server....
I really appreciate if you could help me soon...

Thanks in advance

Mike
Go to the top of the page
 
+Quote Post
hughesjr
post Sep 4 2003, 09:13 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I assume you mean a shared folder on windows PC that is a seperate machine from your Linux machine... If my assumption is correct then you need to install and configure samba .... (client and server) ... how to install it is dependant upon which Linux distro you use.

If you want to access a windows partition that is on a hard drive installed in your linux machine (that is being dual booted with windows) then samba is not the answer!


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Michael23
post Sep 4 2003, 09:38 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 4-September 03
Member No.: 1,383



Hi hughesjr...

thanks for the reply...

Anyway I want to map the share folder in the windows pc to my linux system.

I do this command

mount -t smbfs -o username=user,password=secret //winmachine/testshare /windows/winshare1

but encountered some error...

"1822: Session setup Failed : errnoacess (Acess denied) SMB connect Failed.."

can you give me a solution for this...
Go to the top of the page
 
+Quote Post
hughesjr
post Sep 4 2003, 10:07 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I use the /usr/bin/smbmount program instead .... here is how I do my smb mounts

/usr/bin/smbmount //server1/ftphome /mnt/server1/ftphome -o username=username%password


in my above example, server1 is the windows compter name, ftphome is the windows share name, /mnt/server1/ftphome is the mount directory username is the user and password is his password....

This is how I unmount:

/usr/bin/smbumount /mnt/server1/ftphome


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
hughesjr
post Sep 4 2003, 10:18 PM
Post #5


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



I used your method ....

mount -t smbfs -o username=user,password=password //server1/ftphome /mnt/server1/ftphome

and it also mounted my smb share properly ... so it seems like something is wrong with your /etc/smb.conf setup....

Do you have (in the global section):

workgroup = windows_workgroup_name

and also add an entry for the windows machine in /etc/smb/lmhosts (you could also add it to the /etc/hosts file as well):

winmachine ip_address
------------------------
also make sure that the directory you want to mount into (on the linux machine)... /windows/winshare1 in your example ... exists, and is empty, before issuing the command.

also make sure the user/password you use is a Windows user who has permission to access the share on the windows machine...


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
Michael23
post Sep 4 2003, 10:23 PM
Post #6


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 4-September 03
Member No.: 1,383



Thanks Men I really appreciated...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th October 2017 - 03:43 PM