LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-25-2004, 05:03 PM   #1
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Rep: Reputation: 30
SMB mounting Linux -> Linux


I have a server (SuSE 9.2) which contains the folders that should be mounted on
/home/al/Documents and /home/al/Mail
/home/lo/Documents and /home/lo/Mail.
I have an entry in this machines /etc/fstab (SuSE 9.2).

The server on which these folders are:
--------------------------------------------------
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-06-03
[global]
workgroup = ANDONET
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers

map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
security = user
encrypt passwords = yes
server string = Samba Server
netbios name = SE
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = yes
domain logons = yes
local master = yes
preferred master = yes
os level = 65
ldap suffix = dc=example,dc=com

[LO-Documents]
path = /home/ed/Users/LO/Documents
comment = Lorenza's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no

[LO-Mail]
path = /home/ed/Users/LO/Mail
comment = Lorenza's Mail
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no

[AL-Documents]
path = /home/ed/Users/AL/Documents
comment = Alex's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no


[AL-Mail]
path = /home/ed/Users/AL/Mail
comment = Alex's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no

--------------------------------------------------

This used to be working, until recently, when saving a file with OO.o into
the mounted documents, it waits a long time and then says "File I/O Error".
It does create the file anyway...

What's wrong?

-Riddick
 
Old 12-25-2004, 06:58 PM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Did you use yast to create the configuration? Or try to do it yourself...
 
Old 12-25-2004, 07:08 PM   #3
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Original Poster
Rep: Reputation: 30
mix of both, why?
 
Old 12-25-2004, 07:46 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Just out of curiosity... why Samba? Why not simple nfs mount?
 
Old 12-25-2004, 08:09 PM   #5
Riddick
Member
 
Registered: May 2004
Location: Rome, Italy
Distribution: slackware-current
Posts: 454

Original Poster
Rep: Reputation: 30
portability, so this share can be accessed from windows computers also.
Answer the question please!!!
 
Old 12-26-2004, 08:41 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
This was my answer. Havn't got better one. Here's my setup. Server stores all our photos and multimedia files. My wife can work on these photos from her WinXP over Samba. For me same files are accessible via nfs. And for our friends these files are viewable over http. See, same directories are shared using three different services. Leave things where they belong.
 
Old 12-26-2004, 09:22 AM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Re: SMB mounting Linux -> Linux

Quote:
Originally posted by Riddick
I have a server (SuSE 9.2) which contains the folders that should be mounted on
/home/al/Documents and /home/al/Mail
/home/lo/Documents and /home/lo/Mail.
I have an entry in this machines /etc/fstab (SuSE 9.2).

The server on which these folders are:
--------------------------------------------------
# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-06-03
[global]
workgroup = ANDONET
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers

map to guest = Bad User
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
security = user
encrypt passwords = yes
server string = Samba Server
netbios name = SE
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = yes
domain logons = yes
local master = yes
preferred master = yes
os level = 65
ldap suffix = dc=example,dc=com

[LO-Documents]
path = /home/ed/Users/LO/Documents
comment = Lorenza's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no

[LO-Mail]
path = /home/ed/Users/LO/Mail
comment = Lorenza's Mail
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no

[AL-Documents]
path = /home/ed/Users/AL/Documents
comment = Alex's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no


[AL-Mail]
path = /home/ed/Users/AL/Mail
comment = Alex's Documents
create mask = 0640
force user = ed
public = yes
writeable = yes
browseable = yes
printable = no

--------------------------------------------------

This used to be working, until recently, when saving a file with OO.o into
the mounted documents, it waits a long time and then says "File I/O Error".
It does create the file anyway...

What's wrong?

-Riddick
Maybe I'm not understanding the question...

You want to mount those directories mentioned at the very beginning on the 2 different boxes. And you can. But now the problem is when you try to create a new file, you get File I/O Error, or is it when you try to do anything?

Also, those masks are odd, as well as forcing the user 'ed' for everything unless of course you've edited that and 'ed' means 'edit'.

And, as noted above.
NFS is a far better way to share... pretty much anything Linux <--> Linux. SAMBA is great for sharing to another OS, and that's where it shines.

Cool
 
Old 12-26-2004, 10:17 AM   #8
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Try downloading the program WinSCP...
You run it, type in your linux computers IP address, then login as a normal user, and it gives you a window to drag files back and forth between the windows and linux computers...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux-to-Linux smb copy (cron job)? bardanes Linux - General 5 10-17-2005 03:45 PM
Linux SMB Svr <-> Linux Clnt and roaming profiles Normanu Linux - Networking 1 11-24-2004 10:29 AM
Samba 3.0.2, Kerberos, Linux (RHAS3.0), Win2kAD - linux smb server with a w2k client irishb3 Linux - Networking 2 07-20-2004 08:05 AM
Auto mounting Linux smb share on Windows at startup neranjana Linux - Networking 1 07-02-2004 06:56 PM
Linux unable to connect to another Linux machine via Samba (SMB) Please help shassouneh Linux - Networking 4 03-11-2002 02:26 AM

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

All times are GMT -5. The time now is 12:35 PM.

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