Click to See Complete Forum and Search --> : 2 Linux boxes, funky communication...
zoniguana
07-29-2002, 08:53 AM
They see one another, but the server does not want to act as a fileserver, at least, not in any way I can figure out..
I have set up Samba, and a Windows client is perfectly happy with that public directory. Sees it, writes to it, reads from it, no problem. But the Linux client sees that folder, reports that it is empty, and refuses to write to it as well (though I CAN FTP to that directory...)
How can I share out that directory, presumably via NFS, so that the Linux workstation can see it and actually make use of it?
FWIW, the server is 192.168.0.1; the workstation is 192.168.0.27. The server has a firewall running on ppp0, but not on eth0, and everything is connected through a SMC switch. Also, the server handles connection sharing with no problem. I know they are communicating on some level, just not all the levels I want... Help?
chikn
07-29-2002, 09:31 AM
What command are you using to mount the share from linux workstation to the linux server?
zoniguana
07-29-2002, 11:13 AM
No command line. In Mandrake 8.2, I go to the Control Panel, to Mount Points. Run a seach on the servers (Samba) to see what my workstation sees, and I see that public directory. When I run the same search in NFS, it sees nothing.
I can simply click on the public directory, assign it a mount point (/odin is what I used, since Odin is the name of my server). From there on, trying to access that mount point gets me nowhere.
When I remove that mount point, /odin still sits in my directory tree in Konqueror. When I restore that mount point and go to it, It shows 0 files, 0 directories, even though it is read/writeable to everybody in the network, according to the server.
From the workstation, though, I try to write a document to it, and I get an error that I am not allowed access to it...
chikn
07-29-2002, 11:34 AM
I think its because your mounting the share as a user. Use the smbmount from the command line and see what happens.
zoniguana
07-29-2002, 11:38 AM
Not too sure on that one... In order to get into the control panel at all, you have to give it the root password... I'll certainly give it a shot, though from command line as root, anyway and see if that doesn't help! Thanks!
make sure that the files in the directory have the correct permissions, in linux these don't propagata(sic) as they do in windows, also chech your samba.config file to make sure that the directory is rw and not just browsable (its in /etc/samba in most cases)
-berb
zoniguana
07-29-2002, 12:25 PM
The only files in that directory are the ones I FTPed over... Will check their info to see what is there, though. I have the folder permissions checked to RWE all across the LAN, but Samba may not know it yet... Thanks!
zoniguana
07-29-2002, 08:47 PM
Looking at the config file; I don't see anything about rw access; all I see is
[public]
comment = Public space with read-write access
path = /home/local/samba-public
read-only = no
guest ok = yes
hosts allow = 192.168.0..
I mean, I see that it is not supposed to be read only, and I have set the directory permissions to be rwe, and I have set sampa to propagate those permissions. Starting to feel a little daft here...
zoniguana
07-29-2002, 09:03 PM
Bloody hell... This is why Windows is going to put up a helluva fight...
I use smbmount only to be told I need to use mount -t smbfs along with a dozen or so options.
Now, in theory, I set up the public share to not need a username or password, to be accessible from any computer on the network, and to allow guest access.
I run mount -t smbfs //odin/public /odin
It prompts me for a password; fine.
I run mount -t smbfs -o username=me,password=boogerbrain //odin/public .odin
It tells me I do not have the necessary access rights within the specified context for the requested function. Te context is specified by the UID ot the TID. So much phlogiston to me...
So, I try
mount -t smbfs -o username=root,password=schmuckatelli //odin/public /odin
I get the same message. Now, I don't suppose it matters a bit that I am in su mode on the client machine, and the root username and password on both the client and the server are the same...
I'm done for the night and goint to go have a snort of good scotch...
zoniguana
07-29-2002, 09:07 PM
oh yeah, and I also tried mounting in KDE; turns out it was never mounting... So, I am still missing something that is probably patently obvious... Make that two snorts of good scotch...
zoniguana
08-05-2002, 10:08 PM
holy danglin' dog juevos! I killed the workstation with some of my fumbling and rumbling around in there; ended up re-installing Mandrake, and,
it worked... NFS bangs right up, samba takes longer, but pops up, too... Much excitement! Dunno what the difference was, but, I'm not gonna complain!!