LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2003, 06:22 AM   #1
thegreatnorth
LQ Newbie
 
Registered: Dec 2003
Location: Canada
Distribution: Fedora Core 1
Posts: 12

Rep: Reputation: 0
Connecting to XP share from Fedora (Samba)


I decided to give Fedora a try and installed it on my second system. I setup everthing with no problems at all. I have samba running on Fedora and successfully created a share that can be seen and used by XP machine. Fedora can successfully see and use shared folder on XP machine. I use the same login and password on both Fedora and WindowsXP

I always get a "Login Prompt" when I try to connect to the WindowsXP shared folder. Without creating a mount, is there anyway to have Samba remember the login so I don't have to enter it each time?

info----------------
upstairs = WindowsXP Pro (Internet Connection Sharing on dialup)
downstairs = Fedora Core (Samba)
workgroupname = myhouse

smb.conf ----------------
[global]
workgroup = myhouse
server string = Fedora Core
netbios name = downstairs
security = share

[files]
comment = Shared Folder
path = /files
force user = joe
force group = joe
writeable = yes
guest ok = Yes
 
Old 12-12-2003, 04:38 PM   #2
mnsg1
LQ Newbie
 
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
Cool mounting samba shares on RedHat, Mandrake, Fedora

why dont you just automount the share at boot. that way you dont have to remeber the password or click on anything to activate.


1.Open the terminal
2. Logon as root
(user)$ su
password: (root's password)
3. # cd /etc/rc.d
4. # vi rc.local
5. Arrow down to bottom
6. hit <esc> <esc> <o> to add a line (that is o not zero)
7. hit <esc> <esc> <i> to insert text
8. Then type in this text:

mount -t smbfs -o username=(username),password=(user password) //machine_name/share_name /mount_point

Note: there is a space before //machine_name

9. When finished hit <esc><esc> <shift>+<z><z> to save changes
10. Reboot

(usename) = i.e. Administrator
(password) = i.e. Administrators Password
machine_name = Windows box name (right click my computer , select properties)
share_name = default share name (i.e. C$ for Primary Master)
mount_point = where you want to put on the linux box ( /tmp or /home/user/Desktop/Windows - to do this you will have to create the Windows directory.)

I hope that helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting with Samba Share via SSH Tunnel duliano Linux - Software 3 02-27-2005 08:23 PM
Problems connecting to Samba share from FC2 Phaethar Fedora 5 10-13-2004 04:02 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 07:27 AM
SAMBA: Connecting from rh9.0 smb 3.0 > windows xp share shookie Linux - Software 3 05-16-2004 07:01 PM
Redhat slow connecting to Samba share rthornt Linux - Software 4 03-15-2004 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration