Modified auto.smb script
Hi,
I've sent this email before. Can you confirm it's arrived?
Stef
Hello,
I've modified the auto.smb script to make use of cifs in stead of smbfs.
In my network mounting a SMB share with cifs fails, unless the ipaddress is an option:ip=$ipaddress.
It uses the tool nmblookup for that.
Futher I'm working on an howto which describes the various ways to mount SMB shares.
Stef Bon
the Netherlands
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
Ian Kent
maintainerQuoted 6 lines · Stef Bon
Hi,
I've sent this email before. Can you confirm it's arrived?
Yeah, I've received your mail.
What do you want me to do with the script?
Quoted 38 lines
Stef
Hello,
I've modified the auto.smb script to make use of cifs in stead of smbfs.
In my network mounting a SMB share with cifs fails, unless the ipaddress is an
option:ip=$ipaddress.It uses the tool nmblookup for that.
Futher I'm working on an howto which describes the various ways to mount SMB
shares.Stef Bon
the Netherlands
Quoted 10 lines · On Monday 27 October 2008 15:00:20 Ian Kent wrote:
Quoted 5 lines · Stef Bon
Hi,
I've sent this email before. Can you confirm it's arrived?
Yeah, I've received your mail.
What do you want me to do with the script?
Well, the script does (in my network) work with cifs shares, where the original auto.smb doesn't. In my case I have to add the ipaddress or it does not work. The manpage of mount.cifs says that this option has to be used rarely. But it's my experience sometimes when mounting a Win2K or WinXP machine, it does not work.
(CIFS expects the tcp name and not the netbiosname, smbfs did that)
So I cannot say it's a really "must", but at least it cannot "hurt". You're on the safe side when using the ipaddress.
Well I should add this script to the package autofs, replacing the auto.smb, if you want my opinion.
Smbfs is not supported anymore in the latest kernels.
Stef
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
Ian Kent
maintainerQuoted 10 lines · Stef Bon
Quoted 9 lines · On Monday 27 October 2008 15:00:20 Ian Kent wrote:
Quoted 5 lines · Stef Bon
Hi,
I've sent this email before. Can you confirm it's arrived?
Yeah, I've received your mail.
What do you want me to do with the script?
OK, finally back to this.
Quoted 10 lines
Quoted 1 line
Well, the script does (in my network) work with cifs shares, where the original auto.smb doesn't. In my case I have to add the ipaddress or it does not work. The manpage of mount.cifs says that this option has to be used rarely. But it's my experience sometimes when mounting a Win2K or WinXP machine, it does not work.
(CIFS expects the tcp name and not the netbiosname, smbfs did that)
Quoted 7 lines
So I cannot say it's a really "must", but at least it cannot "hurt". You're on the safe side when using the ipaddress.
Well I should add this script to the package autofs, replacing the auto.smb, if you want my opinion.
But this isn't really the way to go about it.
Next time, you should really make a unified diff of the change and post it to the autofs list for discussion.
I don't use CIFS mounts myself and have to rely on others, like yourself, that do. Those that do should have an opportunity to see what is being proposed and comment on its potential impact.
In any case, I think there are some other problems with our use of delimiters and escape characters when using the latest kernels, which cause mount fails, so I need to investigate that also.
Quoted 14 lines
Smbfs is not supported anymore in the latest kernels.
Stef