-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 13 July 2001 15:59, you ( dog@intop.net ) wrote:
On Fri, 13 Jul 2001, Tazio Ceri wrote:
Hi all, is there an upgrade to samba 2.2.x in suse ftp site? I am with suse 7.1 and I cant find it... even if I think I saw it some times ago.
ftp://ftp.suse.com/pub/suse/i386/update/7.2/n2/samba-2.2.0a-0.i386.rpm
Moreover how can I add an SMB share to fstab? How can I pass username and password?
mount -t smbfs -o username=user,password=foobar //server/share /mnt/samba
Best regards, Tazio
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
Chad Whitten Network/Systems Administrator Nexband Communications chadwick@nexband.com
I've been dorking with this for months now and finally got a hairbrained idea that worked. I use this so that my working account (non-privilaged user) can activate SaMBa share mounts as needed. Description follows with examples. in my /etc/fstab file I added these entries: //harlette/linux /net/harlette harlette noauto,user 0 0 This tells the system anytime I try: mount /net/harlette that it's a harlette filesystem. It looks in /sbin and finds a mount.harlette script which basically has this in it: #! /bin/sh echo "Attempting to mount share on Harlette" mount.smbfs \\\\harlette\\linux /net/harlette -o username=the-username,password=the-password This appears to be working for both mount and umount even via a non-privilaged user. Which is what I needed. The /sbin/umount.harlette script has: #! /bin/sh echo "Attempting to unmount share on Harlette..." umount /net/harlette I hope this helps someone. Ambrosius - -- ¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ??????????????????????????????? Name: Harold aka "Ambrosius" Email: ambrosius@mailandnews.com (L)ICQ Number: 117212600 Distro: SuSE Linux 7.1 Pro Registered Linux User: 216397 ¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿¿ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ??????????????????????????????? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7UUog1UIAeY3WgCcRAlwzAJ4jnAVv0FfAoqRqaXuO71hWTnqblQCaAh5j lRLEfOyzKRNwedtbzk3DEig= =x+HM -----END PGP SIGNATURE-----