From reading through your posts it occurs to me that you may have a permission problem on the mount point. Assuming your mount point is /mnt/NT1, if you do
ls -ld /mnt/NT1
your permissions should look like
drwxrwxrwx 2 root root
which means root owns the directory but everyone else can read and write to it. By default (I could be WAY off base here, in which case I'll be corrected quickly) if you create a new directory in /mnt it will inherit the permissions of /mnt which are
drwxr-xr-x 2 root root
which means non-root users can traverse and read the directories but not write to them. In this case, if you were to mount something at /mnt/NT1 you would own it but could not write to it - at least to the /mnt/NT1 directory, I don't really know about lower level directories.
Anyway, here's what I use to mount NT shares (we discourage mounting the server due to problems with, uh, "fluids" clogging things up):
smbmount //server/share /mnt/mountpoint -o \
username=<username>,password=<password>,uid=<linux uid>,gid=<linux gid>
I don't use the "scope" argument, don't really know what it does.
I don't have any smb stuff in /etc/fstab, but I'll try it out & tell you how it works.
Also, you don't need to reboot your machine to test things out. If you change /etc/fstab & want to see if it works, then as root type
mount -a
and the system will attempt to mount anything in /etc/fstab that's not alrady mounted. Likewise, if you change your Samba configuration file (which is not what we've been talking about, but I digress), just enter
/etc/rc.d/init.d/samba restart.
As an aside, at my office all our printers are attached to Windows-running workstations except one that is on the LAN and is accessable via tcp/ip, smb or appletalk. Our LAN has Windows, Mac and Linux machines, and all machines print to all printers and access shared volumes via combinations of nfs, samba, netatalk and ghostscript in conjuction with Window's native SMB and Mac's native Appletalk. This (and NAT to our IDSL ISP connection) is what got me started with Linux.
Jay Schaffer wrote:
--
On Sunday, December 29, 2002, at 08:20 PM, Ed Jaeger wrote:
Jay: If you don't have an answer by the morning I'll give you the
setup from my office - I can't remember it exactly off the top of my
head, but it works just the way it should.
##### Thanks Ed.
I must be getting close after four straight hours of trying everything because after I boot, I can mount the server with a simple "mount //NT1/PCVol". It has to be correctly getting all the rest of the parameters from /etc/fstab. I've even successfully specified the password as an option, which is different than my Linux log-in password, and it is getting that too without asking for it. I've double checked and the mount is indeed read/write enabled.
According to one of the manuals I've consulted it claims that if I can mount the fileserver volume with a simple "mount //NT1/PCVol" as root that it will get mounted during boot since it is looking up everything else successfully in /etc/fstab. Unfortunately, it is not mounting during boot. Almost makes me wonder if there is something else that needs to be configured, such as a mount script, or automount script, or something.
During boot, it is indicating that the SMB mount failed. Hopefully, when you give me your /etc/fstab entry, I'll know what I've done wrong.
I have my mount point at /mnt/NT1, same directory where CDROM & Floppy mount. But, they have nice desktop icons. So, my next question will be how to get a nice desktop icon for my fileserver mount.
Looking forward to hearing from you in the morning.
-- "Jay"
* * * * * * * * * * * * * * * * * * * * * * *
* Clifford J. ("Jay") Schaffer, Owner
* JayTecTro, LLC (http://www.JayTecTro.com)
* 1000 Zolezzi Ln (Mailto:[EMAIL PROTECTED])
* Reno, NV 89511-7756 (Phone 775-853-3338)
* * * * * * * * * * * * * * * * * * * * * * *
Ed Jaeger, President & CFO, Bohlender Graebener Corporation
[EMAIL PROTECTED]
http://www.bgcorp.com
---
"No pessimist ever discovered the secret of the stars, or sailed to an uncharted land, or opened a new doorway for the human spirit."
- Helen Keller
_______________________________________________
RLUG mailing list
[EMAIL PROTECTED]
http://www.rlug.org/mailman/listinfo/rlug
