* [gentoo-user] samba mount on fstab
@ 2006-05-23 12:19 Allan Spagnol Comar
2006-05-23 12:46 ` Norman Rieß
2006-05-23 16:09 ` [gentoo-user] " Richard Fish
0 siblings, 2 replies; 12+ messages in thread
From: Allan Spagnol Comar @ 2006-05-23 12:19 UTC (permalink / raw
To: gentoo-user
Hi all,
I am trying to let a samba mount on my fstab withopu success,
I got :
//csdc/EngSoftware /mnt/engsoft smbfs
username=commodity\\allan,noauto 0 0
ont fstab, if I try to mount /mnt/engsoft, it asks the password and
could not complit the mount.
if I do mount -t smbfs -o username=commodity\\allan //csdc/EngSoftware
/mnt/engsoft it ask for the password and works.
I have I done wrong, or what Can I make to lets this work better.
Thanks, Allan
--
An application asked:
"Requeires Windows 9x, NT4 or better",
so I´ve installed Linux
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] samba mount on fstab
2006-05-23 12:19 [gentoo-user] samba mount on fstab Allan Spagnol Comar
@ 2006-05-23 12:46 ` Norman Rieß
2006-05-23 13:57 ` Allan Spagnol Comar
2006-05-23 15:51 ` [gentoo-user] " Sven Köhler
2006-05-23 16:09 ` [gentoo-user] " Richard Fish
1 sibling, 2 replies; 12+ messages in thread
From: Norman Rieß @ 2006-05-23 12:46 UTC (permalink / raw
To: gentoo-user
> Hi all,
>
> I am trying to let a samba mount on my fstab withopu success,
> I got :
> //csdc/EngSoftware /mnt/engsoft smbfs
> username=commodity\\allan,noauto 0 0
>
> ont fstab, if I try to mount /mnt/engsoft, it asks the password and
> could not complit the mount.
> if I do mount -t smbfs -o username=commodity\\allan //csdc/EngSoftware
> /mnt/engsoft it ask for the password and works.
>
> I have I done wrong, or what Can I make to lets this work better.
>
> Thanks, Allan
>
>
You can set a password in the fstab.
I use this:
//192.168.0.2/Temp /mnt/temp smbfs
user,uid=smash,gid=users,password= 0 0
Works fine here.
Perhaps not the cleanest way.
Norman
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] samba mount on fstab
2006-05-23 12:46 ` Norman Rieß
@ 2006-05-23 13:57 ` Allan Spagnol Comar
2006-05-23 18:06 ` Norman Rieß
2006-05-23 15:51 ` [gentoo-user] " Sven Köhler
1 sibling, 1 reply; 12+ messages in thread
From: Allan Spagnol Comar @ 2006-05-23 13:57 UTC (permalink / raw
To: gentoo-user
no, it doesn´t work, any more clues ?
On 5/23/06, Norman Rieß <norman@smash-net.org> wrote:
> > Hi all,
> >
> > I am trying to let a samba mount on my fstab withopu success,
> > I got :
> > //csdc/EngSoftware /mnt/engsoft smbfs
> > username=commodity\\allan,noauto 0 0
> >
> > ont fstab, if I try to mount /mnt/engsoft, it asks the password and
> > could not complit the mount.
> > if I do mount -t smbfs -o username=commodity\\allan //csdc/EngSoftware
> > /mnt/engsoft it ask for the password and works.
> >
> > I have I done wrong, or what Can I make to lets this work better.
> >
> > Thanks, Allan
> >
> >
>
> You can set a password in the fstab.
> I use this:
>
> //192.168.0.2/Temp /mnt/temp smbfs
> user,uid=smash,gid=users,password= 0 0
>
> Works fine here.
> Perhaps not the cleanest way.
>
> Norman
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
An application asked:
"Requeires Windows 9x, NT4 or better",
so I´ve installed Linux
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: samba mount on fstab
2006-05-23 12:46 ` Norman Rieß
2006-05-23 13:57 ` Allan Spagnol Comar
@ 2006-05-23 15:51 ` Sven Köhler
1 sibling, 0 replies; 12+ messages in thread
From: Sven Köhler @ 2006-05-23 15:51 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 159 bytes --]
> //192.168.0.2/Temp /mnt/temp smbfs
> user,uid=smash,gid=users,password= 0 0
smbfs? No, that's not clever. Better use cifs ;-)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] samba mount on fstab
2006-05-23 12:19 [gentoo-user] samba mount on fstab Allan Spagnol Comar
2006-05-23 12:46 ` Norman Rieß
@ 2006-05-23 16:09 ` Richard Fish
2006-05-23 16:12 ` Richard Fish
2006-05-23 16:27 ` Allan Spagnol Comar
1 sibling, 2 replies; 12+ messages in thread
From: Richard Fish @ 2006-05-23 16:09 UTC (permalink / raw
To: gentoo-user
On 5/23/06, Allan Spagnol Comar <allan.comar@gmail.com> wrote:
> //csdc/EngSoftware /mnt/engsoft smbfs
> username=commodity\\allan,noauto 0 0
I do not think you need \\ here. You only need this when running on
the command line since bash interprets '\' as an escape character, so
you need '\\' to get a single '\;. In fstab, try commodity\allan
Remember:
# echo \\
\
Also, cifs is better to use unless you are trying to mount something from Win95.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] samba mount on fstab
2006-05-23 16:09 ` [gentoo-user] " Richard Fish
@ 2006-05-23 16:12 ` Richard Fish
2006-05-23 16:27 ` Allan Spagnol Comar
1 sibling, 0 replies; 12+ messages in thread
From: Richard Fish @ 2006-05-23 16:12 UTC (permalink / raw
To: gentoo-user
On 5/23/06, Richard Fish <bigfish@asmallpond.org> wrote:
> Also, cifs is better to use unless you are trying to mount something from Win95.
Oh, and checking the cifs man page (man 8 mount.cifs), the option would be:
user=commodity/allan
HTH,
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] samba mount on fstab
2006-05-23 16:09 ` [gentoo-user] " Richard Fish
2006-05-23 16:12 ` Richard Fish
@ 2006-05-23 16:27 ` Allan Spagnol Comar
2006-05-23 17:06 ` Richard Fish
1 sibling, 1 reply; 12+ messages in thread
From: Allan Spagnol Comar @ 2006-05-23 16:27 UTC (permalink / raw
To: gentoo-user
nice, the bar thing solved the problem with samba, I had never used
cifs, is it better ? in what things it is better then smbfs ?
thanks all for the atention, Allan
On 5/23/06, Richard Fish <bigfish@asmallpond.org> wrote:
> On 5/23/06, Allan Spagnol Comar <allan.comar@gmail.com> wrote:
> > //csdc/EngSoftware /mnt/engsoft smbfs
> > username=commodity\\allan,noauto 0 0
>
> I do not think you need \\ here. You only need this when running on
> the command line since bash interprets '\' as an escape character, so
> you need '\\' to get a single '\;. In fstab, try commodity\allan
>
> Remember:
>
> # echo \\
> \
>
> Also, cifs is better to use unless you are trying to mount something from Win95.
>
> -Richard
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
An application asked:
"Requeires Windows 9x, NT4 or better",
so I´ve installed Linux
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] samba mount on fstab
2006-05-23 16:27 ` Allan Spagnol Comar
@ 2006-05-23 17:06 ` Richard Fish
2006-05-23 17:37 ` Allan Spagnol Comar
0 siblings, 1 reply; 12+ messages in thread
From: Richard Fish @ 2006-05-23 17:06 UTC (permalink / raw
To: gentoo-user
On 5/23/06, Allan Spagnol Comar <allan.comar@gmail.com> wrote:
> nice, the bar thing solved the problem with samba, I had never used
> cifs, is it better ? in what things it is better then smbfs ?
Among other things, it supports files >2G (or is it 4G?).
>From /usr/src/linux/Documentation/filesystems/cifs.txt:
This is the client VFS module for the Common Internet File System
(CIFS) protocol which is the successor to the Server Message Block
(SMB) protocol, the native file sharing mechanism for most early
PC operating systems. CIFS is fully supported by current network
file servers such as Windows 2000, Windows 2003 (including
Windows XP) as well by Samba (which provides excellent CIFS
server support for Linux and many other operating systems)
<snip>
The intent of this module is to provide the most advanced network
file system function for CIFS compliant servers, including better
POSIX compliance, secure per-user session establishment, high
performance safe distributed caching (oplock), optional packet
signing, large files, Unicode support and other internationalization
improvements.
In fact I read on lwn.net that smbfs may be officially deprecated
soon...possibly in 2.6.18.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] samba mount on fstab
2006-05-23 17:06 ` Richard Fish
@ 2006-05-23 17:37 ` Allan Spagnol Comar
2006-05-23 18:58 ` Richard Fish
0 siblings, 1 reply; 12+ messages in thread
From: Allan Spagnol Comar @ 2006-05-23 17:37 UTC (permalink / raw
To: gentoo-user
thanks for the explanation. And what about samba project ? it doesn´t use SMB ?
On 5/23/06, Richard Fish <bigfish@asmallpond.org> wrote:
> On 5/23/06, Allan Spagnol Comar <allan.comar@gmail.com> wrote:
> > nice, the bar thing solved the problem with samba, I had never used
> > cifs, is it better ? in what things it is better then smbfs ?
>
> Among other things, it supports files >2G (or is it 4G?).
>
> From /usr/src/linux/Documentation/filesystems/cifs.txt:
>
> This is the client VFS module for the Common Internet File System
> (CIFS) protocol which is the successor to the Server Message Block
> (SMB) protocol, the native file sharing mechanism for most early
> PC operating systems. CIFS is fully supported by current network
> file servers such as Windows 2000, Windows 2003 (including
> Windows XP) as well by Samba (which provides excellent CIFS
> server support for Linux and many other operating systems)
> <snip>
> The intent of this module is to provide the most advanced network
> file system function for CIFS compliant servers, including better
> POSIX compliance, secure per-user session establishment, high
> performance safe distributed caching (oplock), optional packet
> signing, large files, Unicode support and other internationalization
> improvements.
>
> In fact I read on lwn.net that smbfs may be officially deprecated
> soon...possibly in 2.6.18.
>
> -Richard
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
An application asked:
"Requeires Windows 9x, NT4 or better",
so I´ve installed Linux
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] samba mount on fstab
2006-05-23 13:57 ` Allan Spagnol Comar
@ 2006-05-23 18:06 ` Norman Rieß
2006-05-23 18:23 ` Allan Spagnol Comar
0 siblings, 1 reply; 12+ messages in thread
From: Norman Rieß @ 2006-05-23 18:06 UTC (permalink / raw
To: gentoo-user
Allan Spagnol Comar schrieb:
> no, it doesn´t work, any more clues ?
>
Well you "could" tell, what exactly does not work, as it works fine with me.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] samba mount on fstab
2006-05-23 18:06 ` Norman Rieß
@ 2006-05-23 18:23 ` Allan Spagnol Comar
0 siblings, 0 replies; 12+ messages in thread
From: Allan Spagnol Comar @ 2006-05-23 18:23 UTC (permalink / raw
To: gentoo-user
hi norman, the problem was the two bars at the
username=commodity\\allan changed to commodity\allan solved the
problem ....
thanks.
On 5/23/06, Norman Rieß <norman@smash-net.org> wrote:
> Allan Spagnol Comar schrieb:
>
> > no, it doesn´t work, any more clues ?
> >
> Well you "could" tell, what exactly does not work, as it works fine with me.
> --
> gentoo-user@gentoo.org mailing list
>
>
--
An application asked:
"Requeires Windows 9x, NT4 or better",
so I´ve installed Linux
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] samba mount on fstab
2006-05-23 17:37 ` Allan Spagnol Comar
@ 2006-05-23 18:58 ` Richard Fish
0 siblings, 0 replies; 12+ messages in thread
From: Richard Fish @ 2006-05-23 18:58 UTC (permalink / raw
To: gentoo-user
On 5/23/06, Allan Spagnol Comar <allan.comar@gmail.com> wrote:
> thanks for the explanation. And what about samba project ? it doesn´t use SMB ?
It will speak SMB, but nowadays it prefers CIFS.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-05-23 19:04 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-23 12:19 [gentoo-user] samba mount on fstab Allan Spagnol Comar
2006-05-23 12:46 ` Norman Rieß
2006-05-23 13:57 ` Allan Spagnol Comar
2006-05-23 18:06 ` Norman Rieß
2006-05-23 18:23 ` Allan Spagnol Comar
2006-05-23 15:51 ` [gentoo-user] " Sven Köhler
2006-05-23 16:09 ` [gentoo-user] " Richard Fish
2006-05-23 16:12 ` Richard Fish
2006-05-23 16:27 ` Allan Spagnol Comar
2006-05-23 17:06 ` Richard Fish
2006-05-23 17:37 ` Allan Spagnol Comar
2006-05-23 18:58 ` Richard Fish
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox