Re: [Samba] smbmount deprecated - what about Windows 9x?
Am Montag, 12. Mai 2008 schrieb Helmut Hullen: Hallo, I've just installed Kernel 2.6.25.2 - works fine. But now when I use smbmount for mounting shares from my Win9x clients the system (kernel) tells me smbfs is deprecated and will be removed from the 2.6.27 kernel. Please migrate to cifs. But at least Win9x seems not to like cifs. Mounting via smbfs works since years, mounting (with the same options) via cifs produces several error messages. The ugliest is no such file or directory and strace shows that mount.cifs (or some subroutine) doesn't accept the share. It finds the other server ... Can I use smbmount even with kernel 2.6.27 (or newer)? May be cifs is better, but I need to mount Win9x shares. Viele Gruesse! Helmut Hi Helmut, you can use cifs vfs to mount win9x shares, but need to add the following to the mount options: servernetbiosname=W9XSERVER or the shorter form servern=W9XSERVER where W9XSERVER is the upper case netbios name of the legacy server. Legacy servers like OS/2 in addition need the option sec=lanman Example: mount -t cifs //server/SHARE /mount/point -o credentials=/root/sec/.creds, \ servern=MYWIN98,dir_mode=0755,file_mode=0764,uid=test,gid=users ... Also have a look at 'man mount.cifs' about the meaning of - dir_mode - file_mode - uid - gid - ... when the server is not supporting the unix extensions. Also note that uppercasing the share name (i.e. //server/SHARE ) will avoid a duplicate treeconX call. IMPORTANT NOTE! When connecting to remote *legacy* servers like - win9x/me - OS/2 - others I strongly advise to *not* use current cifs vfs in a production environment! Initial testing should only be done against special test shares, which should not contain any valuable data! There are glitches with readonly files and the time stamps of directories/files - and possibly more... The cifs vfs developers are aware of this and are working on fixes. Everyone is invited to work with the developers to fix remaining legacy problems. Testing and reporting of bugs is very much appreciated :-) The main mailing list for the linux cifs client vfs is [EMAIL PROTECTED] Send bug reports to https://bugzilla.samba.org/ and choose the product CifsVFS These days lots of support talks are also happening on IRC. Samba/cifs related talks are done on irc.freenode.net in channels #samba (user related) #samba-technical (development only!) My irc nickname is kukks and you can also reach me via email at [EMAIL PROTECTED] Cheers, Günter -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount deprecated - what about Windows 9x?
Hallo, Günter, Du meintest am 12.05.08 zum Thema Re: [Samba] smbmount deprecated - what about Windows 9x?: smbfs is deprecated and will be removed from the 2.6.27 kernel. Please migrate to cifs. Can I use smbmount even with kernel 2.6.27 (or newer)? May be cifs is better, but I need to mount Win9x shares. you can use cifs vfs to mount win9x shares, but need to add the following to the mount options: servernetbiosname=W9XSERVER or the shorter form servern=W9XSERVER where W9XSERVER is the upper case netbios name of the legacy server. Legacy servers like OS/2 in addition need the option sec=lanman Example: mount -t cifs //server/SHARE /mount/point -o credentials=/root/sec/.creds,servern=MYWIN98,dir_mode=0755,file_mo de=0764,uid=test,gid=users ... Thank you - it works! sec=lanman seems not to be necessary (or outdated). man mount.cifs (Samba 3.0.28a) doesn't show the option lanman for sec. Viele Gruesse! Helmut -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount deprecated - what about Windows 9x?
Hi Helmut, Am Montag, 12. Mai 2008 schrieb Helmut Hullen: Hallo, Günter, Du meintest am 12.05.08 zum Thema Re: [Samba] smbmount deprecated - what about Windows 9x?: smbfs is deprecated and will be removed from the 2.6.27 kernel. Please migrate to cifs. Can I use smbmount even with kernel 2.6.27 (or newer)? May be cifs is better, but I need to mount Win9x shares. you can use cifs vfs to mount win9x shares, but need to add the following to the mount options: servernetbiosname=W9XSERVER or the shorter form servern=W9XSERVER where W9XSERVER is the upper case netbios name of the legacy server. Legacy servers like OS/2 in addition need the option sec=lanman Example: mount -t cifs //server/SHARE /mount/point -o credentials=/root/sec/.creds,servern=MYWIN98,dir_mode=0755,file_mo de=0764,uid=test,gid=users ... Thank you - it works! sec=lanman seems not to be necessary (or outdated). man mount.cifs (Samba 3.0.28a) doesn't show the option lanman for sec. 'man mount.cifs' atm is not completely uptodate - in the near future even more mount options might be added... When mounting OS/2 shares, sec=lanman _is_ needed! From the README of the cifs vfs kernel source: ... secSecurity mode. Allowed values are: noneattempt to connection as a null user (no name) krb5Use Kerberos version 5 authentication krb5i Use Kerberos authentication and packet signing ntlmUse NTLM password hashing (default) ntlmi Use NTLM password hashing with signing (if /proc/fs/cifs/PacketSigningEnabled on or if server requires signing also can be the default) ntlmv2 Use NTLMv2 password hashing ntlmv2i Use NTLMv2 password hashing with packet signing lanman (if configured in kernel config) use older lanman hash ... All readers of this thread should also note that the cifs vfs kernel module must be build with the option CONFIG_CIFS_WEAK_PW_HASH=y to support legacy servers which depend on the weak lanman hash! Some distros have already started to ship kernels without setting this build flag (but have removed smbfs, too). Many distro maintainers have now been informed about this. Please drop me a note when a distro does not support cifs vfs legacy servers connections, so we can contact the maintainers. Cheers, Günter -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount deprecated - what about Windows 9x?
Hallo, Günter, Du meintest am 12.05.08 zum Thema Re: [Samba] smbmount deprecated - what about Windows 9x?: sec=lanman seems not to be necessary (or outdated). man mount.cifs (Samba 3.0.28a) doesn't show the option lanman for sec. From the README of the cifs vfs kernel source: ... [...] All readers of this thread should also note that the cifs vfs kernel module must be build with the option CONFIG_CIFS_WEAK_PW_HASH=y to support legacy servers which depend on the weak lanman hash! Ok - I hope none of my clients uses OS2 ... (I had just compiled kernel 2.6.25.2 - without this option of course). Viele Gruesse! Helmut -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount Permission Denied
On Wednesday 18 July 2007, Server Gremlin wrote: When I mount the share with smbmount using the exact same credentials, I mysteriously can't write to it. I get Permission Denied. Can someone please clue me in to what could be so different about smbmount? man smbmount Maybe this: WARNING: smbmount is deprecated and not maintained any longer. mount.cifs (mount -t cifs) should be used instead of smbmount. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount Permission Denied
Chris Smith wrote: On Wednesday 18 July 2007, Server Gremlin wrote: When I mount the share with smbmount using the exact same credentials, I mysteriously can't write to it. I get Permission Denied. Can someone please clue me in to what could be so different about smbmount? man smbmount Maybe this: WARNING: smbmount is deprecated and not maintained any longer. mount.cifs (mount -t cifs) should be used instead of smbmount. Chris What? I'm running the latest version of Ubuntu (Feisty Fawn, 7.04 Desktop Version) and nothing of the sort appears anywhere in the man page. I tried mount -t cifs, and that mounted the filesystem with the server's uid and gid numbers. Anything owned by root on the server shows up as root when I mount it on the client, though I can't change anything. Everything owned by something other than root on the server shows up as random numbers. The uid= and gid= parameters are being ignored, so I can't change the ownership to anything that my local workstation user can work with. Any suggestions? -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount Permission Denied
On Wednesday 18 July 2007, Server Gremlin wrote: What? I'm running the latest version of Ubuntu (Feisty Fawn, 7.04 Desktop Version) and nothing of the sort appears anywhere in the man page. Nothing I can do about that. Although it hasn't been a secret that smbfs has been, at best, out of fashion for a long time. I tried mount -t cifs, and that mounted the filesystem with the server's uid and gid numbers. Anything owned by root on the server shows up as root when I mount it on the client, though I can't change anything. Everything owned by something other than root on the server shows up as random numbers. The uid= and gid= parameters are being ignored, so I can't change the ownership to anything that my local workstation user can work with. Any suggestions? Does the server support the CIFS Unix Extensions? man mount.cifs maybe peek at noperm -- Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount Permission Denied
Chris Smith wrote: On Wednesday 18 July 2007, Server Gremlin wrote: What? I'm running the latest version of Ubuntu (Feisty Fawn, 7.04 Desktop Version) and nothing of the sort appears anywhere in the man page. Nothing I can do about that. Although it hasn't been a secret that smbfs has been, at best, out of fashion for a long time. I tried mount -t cifs, and that mounted the filesystem with the server's uid and gid numbers. Anything owned by root on the server shows up as root when I mount it on the client, though I can't change anything. Everything owned by something other than root on the server shows up as random numbers. The uid= and gid= parameters are being ignored, so I can't change the ownership to anything that my local workstation user can work with. Any suggestions? Does the server support the CIFS Unix Extensions? man mount.cifs maybe peek at noperm Thanks, that finally did it. I've finally managed to mount the smb/cifs share on a local mount point by adding something like the following line to my fstab: //servername/sharename /local/mountpoint cifs exec,credentials=/path/to/myfile,noperm 0 0 I have a few lingering questions if anyone could please help me out. 1) The man page for mount.cifs seems to imply that using noperm allows anyone logged into my workstation to mess with my files. This is fine for me because I'm the only one with a login on this workstation, but this really seems like an awful solution under any other circumstances. Isn't there a better way to do what I want...? (Just to reiterate: I have an SMB/CIFS share on a Linux Samba Server that I want to mount locally on a Linux workstation.) 2) What are CIFS Unix Extensions? I Googled and Wikipedia'ed around and found little... sounds like they're a part of Samba that makes Samba return uid and gid information from the server's filesystem to the client. If that's so, why in the world would I ever want to do this? Thanks very much for your help, - SG -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount Permission Denied
On Wednesday 18 July 2007, Server Gremlin wrote: What are CIFS Unix Extensions? man smb.conf -- Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount Permission Denied
On Wednesday 18 July 2007, Server Gremlin wrote: The uid= and gid= parameters are being ignored, so I can't change the ownership to anything that my local workstation user can work with. Normal when the CIFS Unix extensions are negotiated (man mount.cifs). Between controlling unix extensions on the share and perm/noperm, setuids/nosetuids on the client, plus whether or not your user/group ids match up an the client and server, you can probably find a satisfactory solution. There some additional documentation pointed by the cifs.txt file in the kernel source documentation. -- Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
Am Montag, 7. Mai 2007 21:42 schrieb Chris Smith: On Monday 07 May 2007, John G Walker wrote: The files are on a W98 system for historical reasons and they are being slowly migrated off. However, the reason I can't just move them is because I'm using Windows programs on the legacy systems. Some I wrote myself, in Visual Basic, so I can't blame anybody else for the situation. Another program I use is Photoshop, which they won't port to Linux (despite the fact it is the program most wanted to be ported to Linux). Etc. I need to keep running Windows as long as I have the need for such stuff. The data files don't need to reside on that system. Virtually every app I know of, including Photoshop, can access, open, edit, and save files on remote shares. Some real legacy apps may require mapped drives instead of UNC paths but they should, in most cases, work just fine. Chris Hi all, just some additions and clarifications from my side. Samba3 / Samba4 === For some years now I'm trying hard to support the samba3 / samba4 team regarding missing features or bugs related to legacy clients - mainly OS/2, but also windows9x/me. Nice and interesting times and the experience, that the samba developers _always_ have had and _still_ have an open ear, when troubles or wishes are reported to them! The main problem is, that those missing stuff must be _reported_ to them! These days, most of the samba developers do not have any physical access to legacy client installations anymore. So it's getting more and more important to send them as much background information as possible, like detailed - debug 10 logs - network sniffs - used samba version and smb.conf settings - used operating systems (fixpak level) - used file systems (e.g. xattr support) - proposed patches - ... In addition, it's very important to help with testing suggested patches before they go mainstream. Cause some of those legacy questions can also easily be discussed on irc, some years ago I've opened 2 separate channels on irc.freenode.net: #samba-os2 #samba-os2-technical The names are a bit misleading - but all legacy smb users are welcome there. :-) To my knowledge, most of the outstanding (OS/2) glitches are solved now. CIFS kernel module: === When the first discussions about dropping the kernel module smbfs and its samba userland helpers - smbmount - smbmnt - smbumount were starting on @samba-technical about a year ago, Jeremy Allison (jra) told me on irc, that Steve French (sfrench) had already added some code to support legacy smb servers within cifs. That days I started to build my own cifs.ko from the samba hosted cifs-client svn repository, to be able to add and test code for possibly missing features regarding legacy smb servers. Cause I was not aware of the separately existing mailing list [EMAIL PROTECTED], private email exchange with Steve was starting to discuss and solve missing stuff - sending patches back and forth... for many weeks ... Steve also managed to get access to an OS/2 box, to test stuff himself. Afaik, he's testing against win9x, too. I must admit, that we had one big problem that days: Steve was doing his work on the kernel git-tree - and I was using the samba cifs-client svn repository... Both repos got more or less so worse out of sync, that the simple exchange of patches was no longer feasible. I'm working as a freelancer and got distracted from cifs due to other customer needs - which is a bit reflected in https://bugzilla.samba.org/show_bug.cgi?id=4090 Sorry for my probably upset comments... To solve the 2 repository problem, at the end of last year i did setup a completely separate linux box entirely for cifs stuff. Installed git, cogito and sparse - and joined LKML. I'm able to test here against 3 OS/2 and 1 win98 legacy box. One major issue was (and partly is) the reading and writing of file/directory time stamps - with ugly side-effects on the OS/2 side: due to the parameter lastwritetime = 0 used on SMBClose, all time stamps on the OS/2 side were reset to NULL during file- browsing. BTW - when browsing directories with konqueror, it usually tries to display some popup-contents of the file the mouse is over. - open file - read (part) of the file - close the file == SMBClose()!! = filetime = zero Another problem is the fact, that *nix and newer windows are using UTC as the base for time stamps, but some legacy servers always use localtime and send them on the wire. Today, afaik all of reading time stamps is fixed. But there are still issues when writing a file/dir. cp -p linux_src_file os2_dst_file does not preserve any time stamp (the legacy versions of setfileinfo() / setpathinfo() are not implemented atm). I mailed Steve, that this is even true, when copying to a win2k or winxp server. Setpathinfo() does not work, when the file is still open. _Only_ on winNT, a separate open, setfileinfo, close
Re: [Samba] smbmount
On Mon, 07 May 2007 20:41:47 +0100 Tom Crummey [EMAIL PROTECTED] wrote: Why does the W98 box have to be the server? Can't you make the disk from the Linux system available as a share, mount it on the W98 box and move the files from the W98 local drive to the share? Because there isn't a the share. There's a multiplicity of accounts, which W98 can't handle, without doing some horrendously complicated mapping. And the W98 machine isn't he server. It's a server. It works as a server for certain purposes, mainly to do with simplifying access to data. It's simplicity I'm after, -- All the best, John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Mon, 07 May 2007 20:41:47 +0100 Tom Crummey [EMAIL PROTECTED] wrote: Why does the W98 box have to be the server? Can't you make the disk from the Linux system available as a share, mount it on the W98 box and move the files from the W98 local drive to the share? Because there isn't a the share. There's a multiplicity of accounts, which W98 can't handle, without doing some horrendously complicated mapping. And the W98 machine isn't he server. It's a server. It works as a server for certain purposes, mainly to do with simplifying access to data. It's simplicity I'm after, -- All the best, John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Thu, 03 May 2007 18:24:19 -0400 Felix Miata [EMAIL PROTECTED] wrote: On 2007/05/03 17:32 (GMT+0100) John G Walker apparently typed: I installed samba on a PC running SuSE 10.2, using the version from the SuSE 10.2 repository (3.0.23). All very nice, except smbmount is missing. As I understand it, this would seem to be because the version offered had not been compiled with the --with-smbmount option. Is my interpretation correct? And if so, how can I fix things? Do I have to download the source and do my own compilation (urrgh)? Or is there a version on a repository somewhere compiled with the --with-smbmount option? I didn't have this problem with either SuSE 10.0 or 10.1, SUSE wants you to use cifs instead of smbfs, So why is SuSE (or Novell) telling me what I should or shouldn't use? In any case, this is a bout the world I live in, not about their or my preferences. As far as I understand it, Windows 98 doesn't use CIFS. Since the object of using Samba is partly to access a Windows 98 machine, not having SMBFS available sort of defeats the object of using Samba in the first place. Maybe they want us to go back to using floppy disks as substitutes for a network. If there is a way to network files to and from a Windows 98 machine via CIFS, by the way, please let me know, since this would solve my problem. but if you can't get cifs to work right, you can recompile the kernel to enable smbfs. I don't remember exactly the details of getting smbmount back, so I asked on freenode Thanks very much. This is over and above the call of duty and well appreciated. and got the following: 13:22 a-865 kukks: what did we do to get smbmount back in SUSE 10.2? 14:41 kukks a-865: You have to download the samba-client - possibly Suse even dropped stuff from that. you need: smbmount smbmt smbumount 14:42 I always use the samba3 svn source and build all stuff myself 14:44 kukks Then 2 symlinks must be set in /sbin to allow the basic mount cmd to work: mount.smbfs - /usr/bin/smbmount umount.smbfs - /usr/bin/smbumount In fact I have downloaded the Samba client - and have now upgraded Samba to version 3.0.24, just in case it was a version problem. Samba client informs me (in YaST) that it installs smbmount, but no such luck when I try it out. smbmount is just not found. When I look in /sbin there is no mount.smbfs, only mount.cifs. That would seem to be the main problem. So how do I get this installed if not by installing samba-client? -- All the best, John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Mon, May 07, 2007 at 01:46:33PM +0100, John G Walker wrote: As far as I understand it, Windows 98 doesn't use CIFS. Since the object of using Samba is partly to access a Windows 98 machine, not having SMBFS available sort of defeats the object of using Samba in the first place. Maybe they want us to go back to using floppy disks as substitutes for a network. Just for your info: SMB is exactly the same as CIFS, except one packet at the start of the connection. Volker pgpJUzwhIFrHn.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John G Walker wrote: So why is SuSE (or Novell) telling me what I should or shouldn't use? In any case, this is a bout the world I live in, not about their or my preferences. smbfs.kio is unmaintained and no one wants to touch it. It's not just SuSE. It's a deprecated file system in the kernel. As far as I understand it, Windows 98 doesn't use CIFS. Support for netbios transport was added in cifs.ko I think around 2.6.15 cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGPzD/IR7qMdg1EfYRAnBiAJ97g58qPHdRdQlGgvoLTtiVRmj6SwCg2kZy OGcHw0/jPlnaDcXd1xdYigs= =nwo6 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Monday 07 May 2007, John G Walker wrote: So why is SuSE (or Novell) telling me what I should or shouldn't use? In any case, this is a bout the world I live in, not about their or my preferences. They're not. Nothing is stopping you from compiling your own kernel and adding modules, or even your own code. Try that with Windows. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Mon, 7 May 2007 10:37:37 -0400 Chris Smith [EMAIL PROTECTED] wrote: On Monday 07 May 2007, John G Walker wrote: So why is SuSE (or Novell) telling me what I should or shouldn't use? In any case, this is a bout the world I live in, not about their or my preferences. They're not. Nothing is stopping you from compiling your own kernel and adding modules, or even your own code. Try that with Windows. Chris Just because nothing anyone can ever do with Linux is going to be anywhere near as bad as what I would get with Windows, doesn't mean that I'm not going to complain when Linux is not as good as it could be. :) -- All the best, John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On 2007/05/07 13:46 (GMT+0100) John G Walker apparently typed: On Thu, 03 May 2007 18:24:19 -0400 Felix Miata [EMAIL PROTECTED] wrote: SUSE wants you to use cifs instead of smbfs, So why is SuSE (or Novell) telling me what I should or shouldn't use? In any case, this is a bout the world I live in, not about their or my preferences. I think SUSE is saying the same thing as other distros. They prefer to give you maintained but dysfunctional CIFS over functional but unmaintained networking support. NAICT, the kernel developers are the root of the problem, not Novell. As far as I understand it, Windows 98 doesn't use CIFS. Since the object of using Samba is partly to access a Windows 98 machine, not having SMBFS available sort of defeats the object of using Samba in the first place. Maybe they want us to go back to using floppy disks as substitutes for a network. CIFS is supposed to replace SMBFS. It simply doesn't work right with W98 in the version supplied by SUSE. AFAIK, it still doesn't work right in newer versions either. If there is a way to network files to and from a Windows 98 machine via CIFS, by the way, please let me know, since this would solve my problem. There isn't AFAIK. This isn't directly related, but I think it's indirectly related in a major way. W98 is so horribly insecure that developers don't want to mess with it, which means testing CIFS with it is a logistical problem. The implication here is people still using W98 should find a way to not use it any more, either upgrading to a newer version of doz if possible, or replacing W98 with Linux, and using W98 in a virtual machine if necessary if not using W98 is not an option. but if you can't get cifs to work right, you can recompile the kernel to enable smbfs. I don't remember exactly the details of getting smbmount back, so I asked on freenode Thanks very much. This is over and above the call of duty and well appreciated. Not sure what you mean, but compiling a kernel on SUSE really isn't that big a deal. It's a big space and CPU/IO time consumer, but the mental effort required is relatively small. In fact I have downloaded the Samba client - and have now upgraded Samba to version 3.0.24, just in case it was a version problem. Samba client informs me (in YaST) that it installs smbmount, but no such luck when I try it out. smbmount is just not found. When I look in /sbin there is no mount.smbfs, only mount.cifs. That would seem to be the main problem. So how do I get this installed if not by installing samba-client? Try asking on the main SUSE list for SUSE-specific help: [EMAIL PROTECTED] I don't remember how I did it, which is why I asked on IRC before my previous reply. -- The path of the righteous is like the first gleam of dawn, shining ever brighter till the full light of day. Proverbs 4:18 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 2007/05/07 13:46 (GMT+0100) John G Walker apparently typed: On Thu, 03 May 2007 18:24:19 -0400 Felix Miata [EMAIL PROTECTED] wrote: SUSE wants you to use cifs instead of smbfs, So why is SuSE (or Novell) telling me what I should or shouldn't use? In any case, this is a bout the world I live in, not about their or my preferences. I think SUSE is saying the same thing as other distros. They prefer to give you maintained but dysfunctional CIFS over functional but unmaintained networking support. NAICT, the kernel developers are the root of the problem, not Novell. No personal offense intended here, but ... rant mode=on This entire smbfs vs. cifs ongoing discussion is not helpful. And frankly, it is just a little silly. Old code goes away and is replaced by new code. Are you willing to maintain the smbfs code? No? Neither was anyone else. So it's not kernel developers that are the problem. But simply disinterest or lack of time from the community of people using and/or developing kernel code. And btw...If Novell had wanted to maintain smbfs.kko, they could have. But no linux vendor or developer volunteered to take it up (at least none that actually followed through). It's easy to pitch rocks at the people doing the work. But please at least get the facts straight before tossing your comments into the ring. cifs.ko is the the replacement for smbfs.ko. End-of-story. rant mode=off If you have bugs, then please file them at https://bugzilla.samba.org/ under the CIFS VFS component. Tell Steve French about them. The smbfs code was good in its time but has long since suffered from bit rot. cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGP0l5IR7qMdg1EfYRAjopAJ9uWXIiVvTXKKmyKG/PASK2ytX/1gCfUg46 OaNl+NeY8vhhmKT1wbrJ5I0= =FqFr -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: Re: [Samba] smbmount
On the other hand, I would love to be able to use cifs exclusively, but I have several network drives ( WD and TrendNet ), and neither brand will mount via cifs with a credentials file. I have to use smbfs if I am to access them. No amount of googling has provided me with a clue, and a thread on this site went nowhere [http://lists.samba.org/archive/samba/2006-October/126556.html]. So, for as long as Debian supports smbfs, I'll continue to use it. Maybe a future firmware revision on the drives will correct the problem. Dale Gerald (Jerry) Carter wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John G Walker wrote: So why is SuSE (or Novell) telling me what I should or shouldn't use? In any case, this is a bout the world I live in, not about their or my preferences. smbfs.kio is unmaintained and no one wants to touch it. It's not just SuSE. It's a deprecated file system in the kernel. As far as I understand it, Windows 98 doesn't use CIFS. Support for netbios transport was added in cifs.ko I think around 2.6.15 cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGPzD/IR7qMdg1EfYRAnBiAJ97g58qPHdRdQlGgvoLTtiVRmj6SwCg2kZy OGcHw0/jPlnaDcXd1xdYigs= =nwo6 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Mon, 07 May 2007 11:27:44 -0400 Felix Miata [EMAIL PROTECTED] wrote: This isn't directly related, but I think it's indirectly related in a major way. W98 is so horribly insecure that developers don't want to mess with it, which means testing CIFS with it is a logistical problem. The implication here is people still using W98 should find a way to not use it any more, either upgrading to a newer version of doz if possible, or replacing W98 with Linux, and using W98 in a virtual machine if necessary if not using W98 is not an option. But if I can't migrate, then how the hell can I replace W98? This seems to me to be very American-style thinking: if you imagine something will be the case, then it will be the case. The world doesn't work like that. I have a W98 machine that I need to share files with other machines on the network, and no amount of wishful thinking will change that. but if you can't get cifs to work right, you can recompile the kernel to enable smbfs. I don't remember exactly the details of getting smbmount back, so I asked on freenode Thanks very much. This is over and above the call of duty and well appreciated. Not sure what you mean I mean that I appreciate your effort on my behalf. I don't know how I could have said that plainer. So thanks again, -- All the best, John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dale Schroeder wrote: On the other hand, I would love to be able to use cifs exclusively, but I have several network drives ( WD and TrendNet ), and neither brand will mount via cifs with a credentials file. I have to use smbfs if I am to access them. No amount of googling has provided me with a clue, and a thread on this site went nowhere [http://lists.samba.org/archive/samba/2006-October/126556.html]. So, for as long as Debian supports smbfs, I'll continue to use it. Maybe a future firmware revision on the drives will correct the problem. You you filed a bug for Steve ? jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGP1/OIR7qMdg1EfYRAu5dAJ9vAwtvJZfsuUEV5bxXkW4YP62mBwCgio/O 17L/0k5QmcvDYpSAze80Nzs= =eGOB -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Mon, 07 May 2007 09:00:31 -0500 Gerald (Jerry) Carter [EMAIL PROTECTED] wrote: As far as I understand it, Windows 98 doesn't use CIFS. Support for netbios transport was added in cifs.ko I think around 2.6.15 So this would mean that I can access W98 files via CIFS? Felix says not. Maybe I should suck it and see? -- All the best, John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On 2007/05/07 10:44 (GMT-0500) Gerald (Jerry) Carter apparently typed: On 2007/05/07 13:46 (GMT+0100) John G Walker apparently typed: I think SUSE is saying the same thing as other distros. They prefer to give you maintained but dysfunctional CIFS over functional but unmaintained networking support. NAICT, the kernel developers are the root of the problem, not Novell. This entire smbfs vs. cifs ongoing discussion is not helpful. And frankly, it is just a little silly. Old code goes away and is replaced by new code. Are you willing to maintain the smbfs code? No? Neither was anyone else. So it's not kernel developers that are the problem. But simply disinterest or lack of time from the community of people using and/or developing kernel code. That's all well and good to say, but the fact is my old distro had networking that worked just fine for me, but fell out of support, so I had to upgrade to a newer distro in order to maintain access to security fixes. Now that I've upgraded, I have broken networking, unless I recompile to include the unsupported module that actually works to replace the supported module that is known to not work for everyone. I really don't care what's supported, only that my networking actually works. If you have bugs, then please file them at https://bugzilla.samba.org/ under the CIFS VFS component. Tell Steve French about them. I don't file bugs on samba because it's all over my head. I'm not a developer. When I find something that doesn't work, as has routinely been the case trying to network Linux released distros with OS/2 since the first release of samba version 3, I go to various forums to try to find current solutions, and try to apprise those who do understand so that they can find existing or file new bugs as they deem appropriate. See e.g. https://bugzilla.samba.org/show_bug.cgi?id=4090 and the other bugs in http://tinyurl.com/3xbcp9 where there are open bugs dating back as long as 3 years. With bugs there and relevant to me going so long unfixed, there seems little point in filing any more. Waiting on Steve French seems to be something that once started seems never to end. If anything deserves a rant, it should be about virtually total dependance of a component on one person whose work stays in a private tree for weeks or more on end (which is my limited and possibly broken understanding of the state of the relationship between CIFS and SF). The smbfs code was good in its time but has long since suffered from bit rot. All I know is if I recompile to reenable SMBFS I have networking that is no worse than it was before upgrading the OS to a supported version, quite unlike networking with CIFS. -- The path of the righteous is like the first gleam of dawn, shining ever brighter till the full light of day. Proverbs 4:18 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Mon, May 07, 2007 at 01:36:26PM -0400, Felix Miata wrote: I don't file bugs on samba because it's all over my head. I'm not a developer. Just to assure you: Over my head is just a false assumption. We might ask you to provide log files and network traces, and we might ask you to update to current software, but not reporting a bug because you believe it is Over my head is just wrong. If we don't provide enough info to enable you to send us sufficient info, then it's our fault, not yours. Waiting on Steve French seems to be something that once started seems never to end. If anything deserves a rant, it should be about virtually total dependance of a component on one person whose work stays in a private tree for weeks or more on end (which is my limited and possibly broken understanding of the state of the relationship between CIFS and SF). The only way around this is to raise this issue on the mailing lists, as you did hear. Steve might not be directly subscribed, but there are enough people around who have regular personal contact to really bug him if something is severely broken. Volker pgpiMxB6ILHe2.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
No offense, but it sounds like you are venting about something that wasn't enabled for the packages in your particular distro of choice. If so, it seems to me that this is the wrong venue to vent. I would suggest contacting the vendor, distro maintainer and/or package maintainer with your concerns. Or continue to roll your own packages for whichever distro you choose. If you feel inspired, write a howto for it (if one doesn't already exist) so that people don't reinvent the wheel. Also it would help in case you forget something and don't have to resolve old problems. Felix Miata wrote: On 2007/05/07 10:44 (GMT-0500) Gerald (Jerry) Carter apparently typed: On 2007/05/07 13:46 (GMT+0100) John G Walker apparently typed: I think SUSE is saying the same thing as other distros. They prefer to give you maintained but dysfunctional CIFS over functional but unmaintained networking support. NAICT, the kernel developers are the root of the problem, not Novell. This entire smbfs vs. cifs ongoing discussion is not helpful. And frankly, it is just a little silly. Old code goes away and is replaced by new code. Are you willing to maintain the smbfs code? No? Neither was anyone else. So it's not kernel developers that are the problem. But simply disinterest or lack of time from the community of people using and/or developing kernel code. That's all well and good to say, but the fact is my old distro had networking that worked just fine for me, but fell out of support, so I had to upgrade to a newer distro in order to maintain access to security fixes. Now that I've upgraded, I have broken networking, unless I recompile to include the unsupported module that actually works to replace the supported module that is known to not work for everyone. I really don't care what's supported, only that my networking actually works. If you have bugs, then please file them at https://bugzilla.samba.org/ under the CIFS VFS component. Tell Steve French about them. I don't file bugs on samba because it's all over my head. I'm not a developer. When I find something that doesn't work, as has routinely been the case trying to network Linux released distros with OS/2 since the first release of samba version 3, I go to various forums to try to find current solutions, and try to apprise those who do understand so that they can find existing or file new bugs as they deem appropriate. See e.g. https://bugzilla.samba.org/show_bug.cgi?id=4090 and the other bugs in http://tinyurl.com/3xbcp9 where there are open bugs dating back as long as 3 years. With bugs there and relevant to me going so long unfixed, there seems little point in filing any more. Waiting on Steve French seems to be something that once started seems never to end. If anything deserves a rant, it should be about virtually total dependance of a component on one person whose work stays in a private tree for weeks or more on end (which is my limited and possibly broken understanding of the state of the relationship between CIFS and SF). The smbfs code was good in its time but has long since suffered from bit rot. All I know is if I recompile to reenable SMBFS I have networking that is no worse than it was before upgrading the OS to a supported version, quite unlike networking with CIFS. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Monday 07 May 2007, John G Walker wrote: I have a W98 machine that I need to share files with other machines on the network, and no amount of wishful thinking will change that. Maybe useful thinking can. Like how about transferring the files that are on the W98 system to a CD or Flashdrive, then transferring them to something other than a W98 system and sharing them to the network from there? No need to use cifs.ko to talk to a the W98 system as it wont be the server any longer. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On 2007/05/07 18:21 (GMT+0100) John G Walker apparently typed: On Mon, 07 May 2007 09:00:31 -0500 Gerald (Jerry) Carter wrote: As far as I understand it, Windows 98 doesn't use CIFS. Support for netbios transport was added in cifs.ko I think around 2.6.15 So this would mean that I can access W98 files via CIFS? Felix says not. Depends whether by access you mean properly working access, or any type of access at all. I can't remember the last time I tried to access W98 from Linux (several years by now probably), but when accessing a legacy OS/2 LM server with the latest CIFS client the timestamping is still broken. -- The path of the righteous is like the first gleam of dawn, shining ever brighter till the full light of day. Proverbs 4:18 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Mon, 7 May 2007 14:19:29 -0400 Chris Smith [EMAIL PROTECTED] wrote: On Monday 07 May 2007, John G Walker wrote: I have a W98 machine that I need to share files with other machines on the network, and no amount of wishful thinking will change that. Maybe useful thinking can. Like how about transferring the files that are on the W98 system to a CD or Flashdrive, then transferring them to something other than a W98 system and sharing them to the network from there? No need to use cifs.ko to talk to a the W98 system as it wont be the server any longer. Chris Transfer the to something other than a W98 system? Is this meant to be practical? Sorry if this sounds rude, since I know you're trying to help, but this is woolly thinking at its worst. What precisely other? The files are on a W98 system for historical reasons and they are being slowly migrated off. However, the reason I can't just move them is because I'm using Windows programs on the legacy systems. Some I wrote myself, in Visual Basic, so I can't blame anybody else for the situation. Another program I use is Photoshop, which they won't port to Linux (despite the fact it is the program most wanted to be ported to Linux). Etc. I need to keep running Windows as long as I have the need for such stuff. The only practical something other than W98 that I could possibly use is to buy a new PC installed with Windows Vista, and I'm buggered if I'm spending money going down that route. The reason for migrating to Linux in the first place was to get myself away from Microsoft. The more sensible backup plan, of course, is to use my SuSE 10.0 machine to link to the W98 machine, and pass files down the chain to my 10.2 PC. A pain in the arse, but a darn sight cheaper than shelling out money to Microsoft (and Dell, or whoever) and a lot easier than shuffling Flashdrives back and forth. But thanks all the same for taking an interest. I suppose there's always a chance that off-the-wall suggestions will work, and I'd rather hear a hundred suggestions that won't work than miss one that will, -- All the best, John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Monday 07 May 2007, John G Walker wrote: The files are on a W98 system for historical reasons and they are being slowly migrated off. However, the reason I can't just move them is because I'm using Windows programs on the legacy systems. Some I wrote myself, in Visual Basic, so I can't blame anybody else for the situation. Another program I use is Photoshop, which they won't port to Linux (despite the fact it is the program most wanted to be ported to Linux). Etc. I need to keep running Windows as long as I have the need for such stuff. The data files don't need to reside on that system. Virtually every app I know of, including Photoshop, can access, open, edit, and save files on remote shares. Some real legacy apps may require mapped drives instead of UNC paths but they should, in most cases, work just fine. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Mon, May 07, 2007 at 07:55:26PM +0100, John G Walker wrote: But thanks all the same for taking an interest. I suppose there's always a chance that off-the-wall suggestions will work, and I'd rather hear a hundred suggestions that won't work than miss one that will, File concrete bug reports with good info. And stop whining. Volker pgpaSzGfOntlV.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On 2007/05/07 23:28 (GMT+0200) Volker Lendecke apparently typed: On Mon, May 07, 2007 at 07:55:26PM +0100, John G Walker wrote: But thanks all the same for taking an interest. I suppose there's always a chance that off-the-wall suggestions will work, and I'd rather hear a hundred suggestions that won't work than miss one that will, File concrete bug reports with good info. And stop whining. It does little or no good to tell people looking for current solutions to file bug reports regarding legacy LM problems. There are existing bugs known to Steve French, whether filed or not, without a fix to which people needing access to legacy LM servers have no solution other than smbfs. We're on the doorstep of SUSE 10.3, with still no prospect of when to expect the year or more old LM timestamp problems to be solved, as https://bugzilla.samba.org/show_bug.cgi?id=3815 remains open, and rather stale. -- The path of the righteous is like the first gleam of dawn, shining ever brighter till the full light of day. Proverbs 4:18 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Mon, 7 May 2007 23:28:10 +0200 Volker Lendecke [EMAIL PROTECTED] wrote: On Mon, May 07, 2007 at 07:55:26PM +0100, John G Walker wrote: But thanks all the same for taking an interest. I suppose there's always a chance that off-the-wall suggestions will work, and I'd rather hear a hundred suggestions that won't work than miss one that will, File concrete bug reports with good info. And stop whining. Volker Bugs? Whining? Have you actually read this thread? -- All the best, John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Mon, 7 May 2007 15:42:16 -0400 Chris Smith [EMAIL PROTECTED] wrote: On Monday 07 May 2007, John G Walker wrote: The files are on a W98 system for historical reasons and they are being slowly migrated off. However, the reason I can't just move them is because I'm using Windows programs on the legacy systems. Some I wrote myself, in Visual Basic, so I can't blame anybody else for the situation. Another program I use is Photoshop, which they won't port to Linux (despite the fact it is the program most wanted to be ported to Linux). Etc. I need to keep running Windows as long as I have the need for such stuff. The data files don't need to reside on that system. Virtually every app I know of, including Photoshop, can access, open, edit, and save files on remote shares. Some real legacy apps may require mapped drives instead of UNC paths but they should, in most cases, work just fine. Chris Yes, Photoshop can run across a network, and I do run it that way a lot. But it's only one program. Other programs do not, including ones written in VB. And, even if there was a way around this, the problem of multiple accounts I mentioned in my reply to Tom Crummey's post would remain. Basically, W98 is so primitive that the only practical solution is to let the complexities of the situation be handled by Linux. I'm beginning to feel that restricting sharing the W98 data to the SuSE 10.0 machine is the best solution. It's bit fiddly, but then, sharing data between Linux and W98 is not something I do every day. It's just something i have to be able to do, -- All the best, John -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On 2007/05/03 17:32 (GMT+0100) John G Walker apparently typed: I installed samba on a PC running SuSE 10.2, using the version from the SuSE 10.2 repository (3.0.23). All very nice, except smbmount is missing. As I understand it, this would seem to be because the version offered had not been compiled with the --with-smbmount option. Is my interpretation correct? And if so, how can I fix things? Do I have to download the source and do my own compilation (urrgh)? Or is there a version on a repository somewhere compiled with the --with-smbmount option? I didn't have this problem with either SuSE 10.0 or 10.1, SUSE wants you to use cifs instead of smbfs, but if you can't get cifs to work right, you can recompile the kernel to enable smbfs. I don't remember exactly the details of getting smbmount back, so I asked on freenode and got the following: 13:22 a-865 kukks: what did we do to get smbmount back in SUSE 10.2? 14:41 kukks a-865: You have to download the samba-client - possibly Suse even dropped stuff from that. you need: smbmount smbmt smbumount 14:42 I always use the samba3 svn source and build all stuff myself 14:44 kukks Then 2 symlinks must be set in /sbin to allow the basic mount cmd to work: mount.smbfs - /usr/bin/smbmount umount.smbfs - /usr/bin/smbumount -- The path of the righteous is like the first gleam of dawn, shining ever brighter till the full light of day. Proverbs 4:18 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount failed
In fact I have fixed the problem now. I have compiled smbmnt, but I have not placed the samba files in the install directory that specificed at the compile time, or placed in the $PATH (I have placed it in /tmp for testing...). So the smbmount cannot find smbmnt. It is fixed after I modify the $PATH. However, I have another question, smbmnt accesses a file /etc/mtab, which is sometimes read-only in an embedded system. I have modified the codes so that it now access a dummy file in /tmp. smbmnt seems to be working now but is there any potential problem? Thanks! Hei On 9/22/06, Adam Nielsen [EMAIL PROTECTED] wrote: execvp of smbmnt failed. Error was No such file or directory.smbmnt failed: 1 Did you compile and install the helper program 'smbmnt'? On my system it appears in /usr/bin/smbmnt Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount failed
execvp of smbmnt failed. Error was No such file or directory.smbmnt failed: 1 Did you compile and install the helper program 'smbmnt'? On my system it appears in /usr/bin/smbmnt Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount and win2003 sp1
Volker Lendecke schrieb: On Mon, Jun 05, 2006 at 07:54:51PM +0800, Latrell wrote: I encountered a problem with smbmount and win2003 sp1. It is very likely that smbfs does not do some of the advanced authentication options that W2k3 SP1 now requires. Please test the cifs filesystem, smbfs is unsupported for a while now. I've had the same problem a while ago when I had to copy a single file to the 2003sp1-server. I managed to copy it by using smbclient and playing around with the put command. Foobar code for the console: smbclient //win/share -U username%password -W domain -o get foo.txt; put bar.txt; exit -W domain is for servers, which are sitting in a different Domain. If you plan to make a script for Cron, don't forget to make it non-readeable for non-roots because of the cleartext-password! You can use the command without %password. You'll have to type in the password, it will not be displayed then. Files 2GB can't be transferred this way. Don't ask me why... Greets, Benjamin -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount ... error [Solution]
Bob McGowan wrote: I've spent the last 3 hours (it seems like) going over postings in the comp.protocols.smb newsgroup trying to find a solution for this problem. It seems that a lot of folks have had the issue, but none of the posts I looked at had any useful resolution. Here's the error: 28968: protocol negotiation failed SMB connection failed I'm running RHEL 4 Workstation with Samba Version 3.0.10-1.4E. I'm running as a client, not a server, and am attempting to mount a share from a Windows server. There is much networking mumbo-jumbo in the way, but I don't think any of it applies, since I can telnet to port 139 on the server in question and telnet connects nicely. But any Samba utility I use fails with the above error, never getting to the point where it asks for a password. The main command I need to run is: smbmount //.../share /data/mount -o username=me It should prompt me for my password. The domain is specified correctly in the smb.conf file. In fact, I can use 'smbmount' to access another system in the company, without any problem. Any suggestions and assistance is much appreciated. *Please* respond to me directly as I'm not subscribed to the list. Thanks in advance. Bob This is, as is the case for many questions, user error. In this case, specifically lack of knowledge. Full access requires more than just port 139 (netbios), you also need port 445 (SMB). So I didn't know I needed to check port 445 also. It turns out the firewall was not quite correctly configured and so it was rejecting port 445 and causing this error. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
On Sun, Jun 11, 2006 at 09:22:20AM -0400, Douglas Corner wrote: I am moving FROM: RH EL AS 3.0, Kernel is 2.1.21-4, Samba is 3.0.0-14.3E (This is what came with the RH distribution) TO: Fedora Core 5 Kernel is 2.6.16-1.2122_FC5 Samba is 3.0.22-1.fc5 (Both kernel and samba have been upgraded from the distribution.) I can't find the smbmount (or smbumount) command. The FC5 kernel ditched smbfs in favor of cifs. I'm pretty sure we mentioned it in the release notes. You can use mount -t cifs ... to mount remote SMB filesystems using the Liunx CIFS filesystem. Further information about the Linux CIFS filesystem can be found at http://linux-cifs.samba.org/ Bug reports about the Linux CIFS filesystem in Fedora 5 should go to bugzilla.redhat.com under the kernel component. -- JF -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount and win2003 sp1
It is very likely that smbfs does not do some of the advanced authentication options that W2k3 SP1 now requires. Please test the cifs filesystem, smbfs is unsupported for a while now. Volker I tried mount.cifs, and get the following message: [EMAIL PROTECTED]:# mount -t cifs //localhost/share1 /tmp/testmount/ -o username=u1,password=u11 mount error 22 = Invalid argument Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) Anything wrong with my option? Thanks, Latrell - Original Message - From: Volker Lendecke [EMAIL PROTECTED] To: Latrell [EMAIL PROTECTED] Cc: samba@lists.samba.org Sent: Monday, June 05, 2006 8:25 PM Subject: Re: [Samba] smbmount and win2003 sp1 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount and win2003 sp1
I did some more tests. Local user can cifsmount correctly, but when I joined domain (2003 ad domain with sp1), cifsmount will fail. Then same condition also happened on smbmount. Why does sp1 cause smbmount and cifsmount fail? [EMAIL PROTECTED]:~# mount.cifs //localhost/share1 /tmp/testmount/ -o username=NAS\adu1,password=adu1 mount error 22 = Invalid argument Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) I also tried username=adu1, NAS\adu1, still not worked. Latrell - Original Message - From: Latrell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: samba@lists.samba.org Sent: Tuesday, June 06, 2006 7:35 PM Subject: Re: [Samba] smbmount and win2003 sp1 It is very likely that smbfs does not do some of the advanced authentication options that W2k3 SP1 now requires. Please test the cifs filesystem, smbfs is unsupported for a while now. Volker I tried mount.cifs, and get the following message: [EMAIL PROTECTED]:# mount -t cifs //localhost/share1 /tmp/testmount/ -o username=u1,password=u11 mount error 22 = Invalid argument Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) Anything wrong with my option? Thanks, Latrell - Original Message - From: Volker Lendecke [EMAIL PROTECTED] To: Latrell [EMAIL PROTECTED] Cc: samba@lists.samba.org Sent: Monday, June 05, 2006 8:25 PM Subject: Re: [Samba] smbmount and win2003 sp1 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount and win2003 sp1
On Mon, Jun 05, 2006 at 07:54:51PM +0800, Latrell wrote: I encountered a problem with smbmount and win2003 sp1. It is very likely that smbfs does not do some of the advanced authentication options that W2k3 SP1 now requires. Please test the cifs filesystem, smbfs is unsupported for a while now. Volker pgpW3rckWMYEi.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbmount and credentials
smbmount //192.168.0.1/backup /mnt/backup rw uid=root gid=root credentials=/etc/smbcreds Can anyone tell me why it isn't reading the password from the credentials file Probably because you forgot the -o flag, and there aren't any commas between the options :-) smbmount //192.168.0.1/backup /mnt/backup -o rw,uid=root,gid=root,credentials=/etc/smbcreds and why the printer admin warning is appearing? There is a 'printer admin = ...' option in your smb.conf. If you're not sharing any printers, remove this line to get rid of the error. Cheers, Adam. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbmount syntax for two users?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Larry Alkoff a écrit : I want to allow two users to mount a share. Would the syntax be: smbmount //computername/share /mnt/computername -o username=user1,user2 ?? Larry No, -o username=xxx it's for specify the username which must be used for the connexion to the server, not the user which have the permission to mount a share. - -- Stéphane Purnelle [EMAIL PROTECTED] Site Web : http://www.linuxplusvalue.be -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD7igs8tswkE3d0ecRAjXyAJ9EUw2DGFWhKT32SNT8JR3rsHmY9gCfR1Bw Hy7SDl5NW5K+KK4r53n8/A0= =5SR6 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbmount syntax for two users?
Stéphane Purnelle wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Larry Alkoff a écrit : I want to allow two users to mount a share. Would the syntax be: smbmount //computername/share /mnt/computername -o username=user1,user2 ?? Larry No, -o username=xxx it's for specify the username which must be used for the connexion to the server, not the user which have the permission to mount a share. Thanks for the reply Stéphane. Is it possible to specify two such usernames? I want to allow both root and user lba to connect to samba shares. Larry -- Larry Alkoff N2LA - Austin TX Using Thunderbird on Slackware Linux -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount codepage/iocharset settings vs NT4
Hello Andrew, On Mon, 2005-10-31 at 08:34 +1100, Andrew Bartlett wrote: This setup is working pretty well, however on the NT box there are some files with names containing odd characters like accented characters and ellipsis. I'm a bit at a loss as to the correct settings of the smbmount iocharset and codepage parameters to use, and whether the display charset and unix charset options in smb.conf are relevant to the mounts. You should use the CIFS VFS for your backup operations, as it will correctly use unicode on the wire, and therefore allow a correct utf8 translation. smbfs is considered deprecated, and certainly should not be used for new installations. Ok. $ sudo mount -t cifs -o username=auser //david-bowie/Test /mnt/tmp Password: [EMAIL PROTECTED] ~]$ ls /mnt/tmp één document á €50.doc ellipsis zijn heel fijn (…).doc ‘?颂ꋩ?? één document.docNogmaals ellipsis ….doc “???鲂닩? That indeed solves the issue for the more common cases. Luckily in real life I don't have to deal with these cases but what about the below 2 file names? They are printed correctly in smbclient. ‘‰’.doc A24064 Sat Oct 29 18:57:55 2005 “quotes”.docA24064 Sat Oct 29 18:53:40 2005 Leonard. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount codepage/iocharset settings vs NT4
On Sun, 2005-10-30 at 23:08 +0100, Leonard den Ottolander wrote: Hello Andrew, On Mon, 2005-10-31 at 08:34 +1100, Andrew Bartlett wrote: This setup is working pretty well, however on the NT box there are some files with names containing odd characters like accented characters and ellipsis. I'm a bit at a loss as to the correct settings of the smbmount iocharset and codepage parameters to use, and whether the display charset and unix charset options in smb.conf are relevant to the mounts. You should use the CIFS VFS for your backup operations, as it will correctly use unicode on the wire, and therefore allow a correct utf8 translation. smbfs is considered deprecated, and certainly should not be used for new installations. Ok. $ sudo mount -t cifs -o username=auser //david-bowie/Test /mnt/tmp Password: [EMAIL PROTECTED] ~]$ ls /mnt/tmp één document á €50.doc ellipsis zijn heel fijn (…).doc ‘?颂ꋩ?? één document.docNogmaals ellipsis ….doc “???鲂닩? That indeed solves the issue for the more common cases. Luckily in real life I don't have to deal with these cases but what about the below 2 file names? They are printed correctly in smbclient. ‘‰’.doc A24064 Sat Oct 29 18:57:55 2005 “quotes”.docA24064 Sat Oct 29 18:53:40 2005 This will be smbclient correctly finding your 'display charset' (localle) from the environment which the cifsvfs can't tell from kernel space. You should use UTF8 everywhere if possible. Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Samba Developer, SuSE Labs, Novell Inc.http://suse.de Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount codepage/iocharset settings vs NT4
On Sun, Oct 30, 2005 at 11:08:06PM +0100, Leonard den Ottolander wrote: Hello Andrew, On Mon, 2005-10-31 at 08:34 +1100, Andrew Bartlett wrote: This setup is working pretty well, however on the NT box there are some files with names containing odd characters like accented characters and ellipsis. I'm a bit at a loss as to the correct settings of the smbmount iocharset and codepage parameters to use, and whether the display charset and unix charset options in smb.conf are relevant to the mounts. You should use the CIFS VFS for your backup operations, as it will correctly use unicode on the wire, and therefore allow a correct utf8 translation. smbfs is considered deprecated, and certainly should not be used for new installations. Ok. $ sudo mount -t cifs -o username=auser //david-bowie/Test /mnt/tmp Password: [EMAIL PROTECTED] ~]$ ls /mnt/tmp één document á €50.doc ellipsis zijn heel fijn (…).doc ‘?颂ꋩ?? één document.docNogmaals ellipsis ….doc “???鲂닩? That indeed solves the issue for the more common cases. Luckily in real life I don't have to deal with these cases but what about the below 2 file names? They are printed correctly in smbclient. Log a bug with Steve French. He should be using similar unicode conversions as smbclient. Jeremy. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount codepage/iocharset settings vs NT4
Hello Andrew, On Mon, 2005-10-31 at 09:16 +1100, Andrew Bartlett wrote: On Sun, 2005-10-30 at 23:08 +0100, Leonard den Ottolander wrote: This will be smbclient correctly finding your 'display charset' (localle) from the environment which the cifsvfs can't tell from kernel space. You should use UTF8 everywhere if possible. LANG=en_US.UTF-8. Setting display charset and unix charset to UTF8 in smb.conf does not solve this. I'll consider filing a bug as Jeremy suggested. Right now I'm just going to be content :) . Thanks guys. Leonard. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount codepage/iocharset settings vs NT4
On Sun, 2005-10-30 at 23:32 +0100, Leonard den Ottolander wrote: Hello Andrew, On Mon, 2005-10-31 at 09:16 +1100, Andrew Bartlett wrote: On Sun, 2005-10-30 at 23:08 +0100, Leonard den Ottolander wrote: This will be smbclient correctly finding your 'display charset' (localle) from the environment which the cifsvfs can't tell from kernel space. You should use UTF8 everywhere if possible. LANG=en_US.UTF-8. Setting display charset and unix charset to UTF8 in smb.conf does not solve this. Just for clarification, that is because the CIFS VFS doesn't read our (userspace) smb.conf file, and smbclient didn't change because it was already on UTF8. I'll consider filing a bug as Jeremy suggested. Sounds like a bug to me. Andrew Bartlett -- Andrew Bartletthttp://samba.org/~abartlet/ Samba Developer, SuSE Labs, Novell Inc.http://suse.de Authentication Developer, Samba Team http://samba.org Student Network Administrator, Hawker College http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount can't take more than one option
Stupid error. My options were not comma, but comma and space, separated. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount problem
Does anyone have any suggestions as to how to correctly display accented from a Win2k served folder mounted on a linux filesystem? I have exhausted all possibilities I can think of. First off, ask the kernel boys, they maintain the mount-called subsystems. Second, perhaps look into CIFS instead of SMBFS as your mount type. I don't know if it will fix your problem specifically, but its the usual answer when somebody has a problem with mount -t smbfs -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Smbmount and permission denied
Hello, First of all, thank for your answer. Unfortunatelly, It do not work ... You speak only about a uuid and what about the password and the workgroup ? One additional thing: do the user exists on the Linux machine. In my point of view: no. What are you thinking about this ? Thanks for your help. François (Belgium) -Original Message- From: Tom Skeren [mailto:[EMAIL PROTECTED] Sent: mardi 18 janvier 2005 17:14 To: MATHIEU FRANCOIS-XAVIER Cc: '[EMAIL PROTECTED]' Subject: Re: [Samba] Smbmount and permission denied MATHIEU FRANCOIS-XAVIER wrote: Hello, Note that I found many place with similar problem, but I don't understand any solution. Can you help me ? I use Samba 3.0.10 on a Suse 8.2. On SuSE 9.2 I use mount -t smbfs -U=user //machine_name/share /local/directory. I think that's the right structure. Sorry don't use linux much. My goal is to mount a shared directory from a XP machine to a directory on my linux. * I have created a directory in order to mount the XP directory * a ls -l show me this directory * I mount the XP directory with a valid command : smbmount //be2a03xc/pmlist /home/team/monsysrv -o username=NT_user,password=NT_password,workgroup=BE001 * This command gives no error message and mount command shows me that all seems to be correct. * When I do a ls -l, I see no more this directory, but I can enter in it with cd * a ls -l of this directory gives me permission denied. * strange ? No ? If you have any tips or additional question in order to solve this very strange problem, do not hesitate to respond to me. Kind regards, François -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbmount and permission denied
MATHIEU FRANCOIS-XAVIER wrote: Hello, Note that I found many place with similar problem, but I don't understand any solution. Can you help me ? I use Samba 3.0.10 on a Suse 8.2. On SuSE 9.2 I use mount -t smbfs -U=user //machine_name/share /local/directory. I think that's the right structure. Sorry don't use linux much. My goal is to mount a shared directory from a XP machine to a directory on my linux. * I have created a directory in order to mount the XP directory * a ls -l show me this directory * I mount the XP directory with a valid command : smbmount //be2a03xc/pmlist /home/team/monsysrv -o username=NT_user,password=NT_password,workgroup=BE001 * This command gives no error message and mount command shows me that all seems to be correct. * When I do a ls -l, I see no more this directory, but I can enter in it with cd * a ls -l of this directory gives me permission denied. * strange ? No ? If you have any tips or additional question in order to solve this very strange problem, do not hesitate to respond to me. Kind regards, François -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount performance stinks, smbclient is good
thanks for the suggestions. an interesting update: the network between the server (a PC in the basement) and the client (my laptop) uses 802.11b infrastructure. I found a knob on the linksys wireless router that could jack up the bandwidth. (why the default wasn't maxed out is a mystery to me). anywho, before turning the knob I got say ~40-50kByte for the smbmount and ~200-400kByte for the smbclient transfers. After I get ~400kByte for the smbmount and ~670kByte for the smbclient. cool. I still wonder why there is a noticeable difference between the two. 1. Make sure you've got a new(ish) kernel. Read the changelogs to see if you're missing anything in new versions. I'm using 2.6.7 (gentoo hacked) on both the server and the client. samba 3.0.10 is installed on both. Maybe the gentoo'y kernel is wonky. 2. Try using the cifs mount instead. Personally I've never tried it, but it is a common solution given 'round these parts for probmes with smbfs kernel operations. why oh why does the computer hate me so? i enabled CIFS support and rebuilt my kernel on the laptop but mount.cifs is a no go. e.g. $ mount -t cifs //asterix/media /mnt/media -o user=root,password=big_secret gives me mount error 5 = Input/output error Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) crud. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount performance stinks, smbclient is good
Bandwidth for transferring a big file (via cp) is 1/5th that of when I do the equivalent using smbclient to transfer the file. These (mount -t smbfs and smbclient) are completely different programs running. Using a mount is a kernel module and smbclient is the samba maintained program. 1. Make sure you've got a new(ish) kernel. Read the changelogs to see if you're missing anything in new versions. 2. Try using the cifs mount instead. Personally I've never tried it, but it is a common solution given 'round these parts for probmes with smbfs kernel operations. -- -- Paul GiengerOffice: 701-281-1884 Applied Engineering Inc. Systems Architect Fax:701-281-1322 URL: www.ae-solutions.com mailto: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount and UTF-8 characters
Russell Packer Sent: 05 October 2004 09:37 To: [EMAIL PROTECTED] Subject: RE: [Samba] smbmount and UTF-8 characters Hello list! I have a Slackware 10 system and a Microsoft Windows 2000 system. On the Windows 2000 system are lots of files with extended characters - like (tm), (r) and characters with umlauts. I used the localedef command and set LC_ALL=en_US.UTF8. I am running KDE and in the Konqueror browser I can use smb:// to connect to a share on the Windows system. All extended characters display as expected. If I use the smbmount command to mount these shares, and then use Konqueror to browse to /mnt/projects I can not longer see the extended characters. An example of one of the many variants of smbmount I have used: smbmount //systemx/projects /mnt/projects/ -o username=**,password=**,workgroup=,codepage=cp850, iocharset=utf8 The filesystem for /mnt/projects is reiserfs, which I understand supports utf8 just fine, though I have not used any explicit mount options. Can anybody guide me towards the magic that will make this work? If it makes any difference, I am trying to mount many shares for the purpose of using s-tar to archive old files. Many thanks, Also, is what I am asking actually possible? OK. Finally got it! Looks like it isn't possible using smbmount. For future searchers, here is what I did: 1. Upgraded to Linux 2.6.7 kernel: installpkg kernel-generic-2.6.7-i486-1.tgz (with the modules and headers. Handily Patrick's config includes CIFS support, which is what is needed here). 2. Popped into /boot and ran: mkinitrd -c -k 2.6.7 -m reiserfs 3. Modified /etc/lilo.conf to boot 2.6: image = /boot/vmlinuz-generic-2.6.7 initrd = /boot/initrd.gz root = /dev/hdb3 label = Linux-2.6 read-only 4. Rebooted into 2.6 5. Mounted the new fileshare using: mount -t cifs //server/share //mnt/mountpoint -o dom=DOMAIN,user=USERNAME,password=PASSWORD Et voila! Filenames that work! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount and UTF-8 characters
Hello list! Sorry to be a pain, but I've hunted high and low and can't seem to find the answer. I have a Slackware 10 system and a Microsoft Windows 2000 system. On the Windows 2000 system are lots of files with extended characters - like (tm), (r) and characters with umlauts. I used the localedef command and set LC_ALL=en_US.UTF8. I am running KDE and in the Konqueror browser I can use smb:// to connect to a share on the Windows system. All extended characters display as expected. If I use the smbmount command to mount these shares, and then use Konqueror to browse to /mnt/projects I can not longer see the extended characters. An example of one of the many variants of smbmount I have used: smbmount //systemx/projects /mnt/projects/ -o username=**,password=**,workgroup=,codepage=cp850,iocharset= utf8 The filesystem for /mnt/projects is reiserfs, which I understand supports utf8 just fine, though I have not used any explicit mount options. Can anybody guide me towards the magic that will make this work? If it makes any difference, I am trying to mount many shares for the purpose of using s-tar to archive old files. Many thanks, Also, is what I am asking actually possible? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount curiosity - cant mount share in rc.local
No idea if it would work, but have you tried putting it in /etc/fstab? Tomasz Chmielewski wrote: Hello, I would like to mount a certain share when the server is booted. So I added the following line at the end of rc.local: /bin/mount -t smbfs -o guest //backup/archiwizacja$ /mnt/archiwizacja Interestingly, this doesn't mount anything, nothing is added to the logs either. When I enter this line manually, after server is booted, it is mounted. # mount -t smbfs -o guest //backup/archiwizacja$ /mnt/archiwizacja # mount (...) //backup/archiwizacja$ on /mnt/archiwizacja type smbfs (0) It makes no difference if I change the netbios name (backup) to IP address in this rc.local. Of course rc.local is executed, as other programs from it are ran. Any ideas? Tomek -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount hanging
Reposted due to no response ... Call the kernel team, smbmount is their baby... unless I'm mistaken on what you're doing (besides spamming the list that is). -- Paul Gienger Office: 701-281-1884 Applied Engineering Inc. Information Systems Consultant Fax:701-281-1322 URL: www.ae-solutions.commailto: [EMAIL PROTECTED] - The information contained in this message is privileged and intended only for the recipient names. If the reader is not a representative of the intended recipient, any review, dissemination or copying of this message or the information it contains is prohibited. If you have received this message in error, please immediately notify the sender, and delete the original message and attachments. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount hanging
Paul, If you are mounting shares that are on a Windows machine onto the file system of your Linux system then you are probably using smbfs - a Linux kernel file system driver. smbfs is not Samba. smbmount is a front-end utility that belongs to smbfs but shares some code with Samba. No-one on the Samba Team maintains these tools, they are maintained by the smbfs maintainers. Asking for help with smbfs on the Samba mailing list is a little like asking a Ford dealership to handle a warranty complaint for a GM automobile. smbfs is very old out-dated technology. cifsfs has replaced it in the Linux 2.6.x kernel. Suggest you look into cifsfs. Sorry, I do not wish to be rude, but you should check into cifsfs - it is more up to date compared with Samba-3.0.x. Cheers, John T. On Tuesday 21 September 2004 01:55, Paul Farrow wrote: Reposted due to no response ... Please please can someone shed some light on this one. I have mounted some windows 2003 shares onto the my linux box, Supermicro dual xeon running fedora core 2 samba 3.0.6 using smbmount and quite often the shares will die or just hang when there is a lot of activity on them. Does anyone have any idea how to stop this happening? The errors that I get in smbmount.log is the following... tdb_lock failed on list 112 ltype=1 (bad file descriptor) Looking on google only a few people have got this but no conclusive resolution. I wondered if it meant that the file was in use exclusively from the windows machine !!! Cheers Paul -- John H Terpstra, CTO PrimaStasys Inc. Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 OpenLDAP by Example, ISBN: 0131488732 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount hanging
John Thanks for your help, at last a person that will talk to me with suggestions. Apologies to the group I always thought smbfs was to do with the samba group, shows how little I know. I believe that smbfs links to cifs these days so will try to hunt down the group to do with cifs. Thanks again Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John H Terpstra Sent: 21 September 2004 16:24 To: [EMAIL PROTECTED] Subject: Re: [Samba] smbmount hanging Paul, If you are mounting shares that are on a Windows machine onto the file system of your Linux system then you are probably using smbfs - a Linux kernel file system driver. smbfs is not Samba. smbmount is a front-end utility that belongs to smbfs but shares some code with Samba. No-one on the Samba Team maintains these tools, they are maintained by the smbfs maintainers. Asking for help with smbfs on the Samba mailing list is a little like asking a Ford dealership to handle a warranty complaint for a GM automobile. smbfs is very old out-dated technology. cifsfs has replaced it in the Linux 2.6.x kernel. Suggest you look into cifsfs. Sorry, I do not wish to be rude, but you should check into cifsfs - it is more up to date compared with Samba-3.0.x. Cheers, John T. On Tuesday 21 September 2004 01:55, Paul Farrow wrote: Reposted due to no response ... Please please can someone shed some light on this one. I have mounted some windows 2003 shares onto the my linux box, Supermicro dual xeon running fedora core 2 samba 3.0.6 using smbmount and quite often the shares will die or just hang when there is a lot of activity on them. Does anyone have any idea how to stop this happening? The errors that I get in smbmount.log is the following... tdb_lock failed on list 112 ltype=1 (bad file descriptor) Looking on google only a few people have got this but no conclusive resolution. I wondered if it meant that the file was in use exclusively from the windows machine !!! Cheers Paul -- John H Terpstra, CTO PrimaStasys Inc. Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 OpenLDAP by Example, ISBN: 0131488732 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount hangs Linux if Windows server goes down
On Monday 02 August 2004 07:28, John Hewitt wrote: What distro are you using? Samba version details? Hmm, I can see that it would indeed cause you a mess - especially with the symlinking. Whilst I can't give you an answer to your question I can ask for a few more details regarding the version numbers of your linux machine. Hopefully some other samba god will be able to help you. Anyhow all I can offer is to try and manually unmount the share when your on the linux box and you know the windows box is down. Sometimes if umount doesn't work, you can try: umount -f Hi, umount -f won't work. Nothing will work. All processes accessing the share (also umount) will hang in state D. Now D is uninterruptible sleep, and is just that: uninterruptible. They cannot even be interrupted with kill -9. Thus, I would say, it's a flaw in the smbfs kernel module, as it is regarded a kernel bug, if a process cannot be killed with kill -9. I'm not aware of any solution to that. Kind regards Alexej -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount hangs Linux if Windows server goes down
What distro are you using? Samba version details? Hmm, I can see that it would indeed cause you a mess - especially with the symlinking. Whilst I can't give you an answer to your question I can ask for a few more details regarding the version numbers of your linux machine. Hopefully some other samba god will be able to help you. Anyhow all I can offer is to try and manually unmount the share when your on the linux box and you know the windows box is down. Sometimes if umount doesn't work, you can try: umount -f -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount and windows 2003
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You either have to disable signing on the server (2003 enables smb signing/sealing by default, or better yet use linux-cifs (requires a patch for 2.4 kernels, activation in config for 2.6 kernels). Once you have that you can the mount.cifs tool included with the samba dist. Hope this helps. Michael On Sat, 26 Jun 2004 15:12:10 -0700 Jacob A. Alifrangis [EMAIL PROTECTED] wrote: Here's my setup: MARVIN: Linux / Redhat ES 3 ZAPHOD: Windows 2003 STD Edition; Active Directory Server. [EMAIL PROTECTED] jalifrangis]# smbmount //zaphod/public /public cli_negprot: SMB signing is mandatory and we have disabled it. 18980: protocol negotiation failed SMB connection failed [EMAIL PROTECTED] jalifrangis]# -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFA3mWkyEfMczxaHdsRAviOAKCL8BoWw5nvGSf8ufuNOKcGefn4cQCdGlH2 sk/sQI57igxI4oMUbI6HN+w= =redy -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
Hi, Hartmut Krummrei [EMAIL PROTECTED] schrieb am 13.03.04 12:23:48: Hi, Problem: I want a normal user to mount a Windows share. Therfor I created a device-icon on his desktop and inserted a line in fstab: //karin/KARIN-D /home/hartmut/karin-d smbfs noauto,user,exec,rw 0 0 and everything worked fine with Suse 7.3. I don?t know which smb-version they had. Now with Suse 9.0 (smbd -V gives 2.2.8a-Suse) it works not: only root can do! Or otherwise: smbmount must not run in suid-mode. Root can mount the share, but why not a normal user. It even does not work with username%password and so on ... I didn?t find anything in newsgroups and on samba.org. Do you know, how it is done? what happens when you (as a normal user) enter: mount /home/hartmut/karin-d You should add username=...,password=.. to the line in /etc/fstab. Stefan -- * in-put GbR - Das Linux-Systemhaus Stefan-Michael Günther Moltkestraße 49 D-76133 Karlsruhe Tel./Fax : +49 (0)721 / 83044 - 98/93 http://www.in-put.de/ * ___ ... and the winner is... WEB.DE FreeMail! - Deutschlands beste E-Mail ist zum 39. Mal Testsieger (PC Praxis 03/04) http://f.web.de/?mc=021191 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] SMBMount Not Recognizing File Locks
On Fri, 2004-02-13 at 03:39, Bob McLaren wrote: I'm trying to set up a dropbox application that will monitor a directory for newly created files and process them. The problem I am having is that my linux process is not recognizing that a file is still being written to by another server. I have reviewed the manpage for smb.conf and their are plenty of directives that manage file locking. But they all seem to pertain to the SMBD Server, not the client. smbfs does not support locking. The CIFS VFS does however, and is included in the 2.6 linux kernel, or as a patch to 2.4. http://www.samba.org/samba/Linux_CIFS_client.html Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount and filesystem images
After researching more I discovered that the hang is actually a kernel oops: # mount -o loop /home/smb/.image /mnt Unable to handle kernel NULL pointer dereference at virtual address *pde = Oops: [#1] PREEMPT CPU: 0 EIP: [] Not tainted VLI EEFLAGS: 00010282 EIP is at 0x0 snip Call trace: [f98c8667] do_lo_receive lo_read_actor lo_receive do_lo_filebacked loop_thread loop_thread kernel_thread_helper Could the bug be in the kernel loop module or? But as I said if I copy the image to some local folder it works. Regards P Degerman, Sweden -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount won't work connecting to W2K on Samba 3
On Tue, 20 Jan 2004, Jon Hardy wrote: Anybody know why smbmount won't mount a Windows share on my (Fedora) machine? Keep getting: 27009: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed HOWEVER, using smbclient , I CAN connect to the share, so the problem is not password encryption, access rights, etc. Any help greatly appreciated. it all worked fine with Samba 2.2 on Mandrake 9.2. Beginning to regret moving to Fedora/ Samba 3. Especially considering Mandrake 9.2 ships with samba-3.0.0 (parallel-installable with no pain - you an remove samba-client-2.2.8a* and samba3-client-3.0.0-2mdk binaries will be used for all client functions) and mount.cifs for both samba and samba3. Maybe your Windows 2000 server requires signing/sealing or has been upgraded to 2003, in which case you should try mount.cifs (since smbclient in 3.0.0 suppots it, but smbfs does not, this most likely your problem). But, then I don't know if Fedora ships a kernel with cifs, so you'll likely have to compile it yourself. Regards, Buchan -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount to Win2k dying after kernel/samba upgrades
Just a followup... my bad on the WinXP scenario. That locks up as well. I obviously have done something wrong with my kernel 2.6.0 compile or samba 3.0.1 compile for this to happen. On Tue, 23 Dec 2003 [EMAIL PROTECTED] wrote: Really odd problem that I'm having, and I'm totally clueless as to whats causing it. Scenario: 2 mounts from a W2K machine to a Linux box. The Win2k box gets powered down overnight. Obviously during this, if i do a df it freezes because it cant reach the drives. I used to be able to boot the machine back up in the morning and it would see the drives again. Not anymore. The same occurs even if I reboot the win2k box and it comes back in 2 minutes. Im totally clueless. I can umount then mount again and it'll work, but it wont fix itself after a reboot. Information which might be helpful: Environment: Slackware Linux on the -current tree (close to v9.1) Kernel brought to 2.6.0 from source Samba 3.0.1 from source (./configure --with-smbmount) Which look like this when correctly mounted: //blitzwing/c 39067648 29671424 9396224 76% /blitzwing/cdrive //blitzwing/jimothy 39067648 29671424 9396224 76% /blitzwing/write My lines in /etc/fstab (drives get mounted out of rc.local) //blitzwing/c /blitzwing/cdrive smbfs ip=192.168.1.2,ro,username=linux,password=XX //blitzwing/jimothy /blitzwing/writesmbfs ip=192.168.1.2,rw,username=linux,password=XX Error lines from 'dmesg' on machine thats failing smb_add_request: request [c69f8ec0, mid=6] timed out! SMB connection re-established (-5) smb_lookup: find //Documents and Settings failed, error=-512 smb_add_request: request [c351be60, mid=13] timed out! smb_lookup: find //Documents and Settings failed, error=-5 smb_add_request: request [c3929ec0, mid=13] timed out! SMB connection re-established (-5) SMB connection re-established (-5) smb_add_request: request [c46f0ec0, mid=54] timed out! smb_add_request: request [c46f0ec0, mid=25] timed out! smb_add_request: request [c440eee0, mid=56] timed out! I upgraded to the new kernel and latest Samba at the same time, and I cant tell which thing is causing the issue (if its either at all) Does anyone have ANY clue what could be causing this? Im wondering if theres something different in 2.6.0 that I failed to compile in, or if theres something I did wrong with the 3.0.1 compile. Also, I have a similar setup (version of slackware, kernel, and samba) running almost exactly the same; the only difference being im connecting to a Windows XP Pro machine instead of Win2K and it works perfectly. I can reboot without issue, and it finds my drives/shares no problem. (output from dmesg on the box connecting to winxp: SMB connection re-established (-5) SMB connection re-established (-5) SMB connection re-established (-5) SMB connection re-established (-5) SMB connection re-established (-5) SMB connection re-established (-5) SMB connection re-established (-5) I can paste up anything else that might be needed to figure out whats going on. Any help at all would be greatly appreciated. Thanks -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount discontinued?
On Thu, 2003-11-27 at 00:41, Thiago Lima wrote: In a past thread I've notice that smbmount (and mount's suport for it) will be discontinued and smbclient should be used insted. No, this is incorrect. There are a few points that need to be made very clearly: - smbfs is old, and has known restrictions at the 2GB level. There are patches floating around to 'fix' this, but as the only restriction is in the kernel, there is nothing the Samba Team can do about it. (smbmount already contains the client-side helper routines required to support this). The issues of file-size are just one of smbfs' problems. - There is a new in-kernel filesystem called the 'Linux CIFS client' - http://www.samba.org/samba/Linux_CIFS_client.html This filesystem has no 2GB or 4GB restrictions, operates using much newer protocol revisions, and as such only talks to NT/Win2k/Samba servers (no Win9X in particular). - smbclient is the preferred tool for operations that do not need to involve a real kernel filesystem. If you are just shifting files for backups, then you really do not need an in-kernel filesystem. Andrew Bartlett -- Andrew Bartlett [EMAIL PROTECTED] Manager, Authentication Subsystems, Samba Team [EMAIL PROTECTED] Student Network Administrator, Hawker College [EMAIL PROTECTED] http://samba.org http://build.samba.org http://hawkerc.net signature.asc Description: This is a digitally signed message part -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount discontinued?
On Wednesday 26 November 2003 08:41, Thiago Lima wrote: In a past thread I've notice that smbmount (and mount's suport for What's quoted is all I see of your post for some strange reason (both in kmail and evolution). I see no body at all when using sylpheed. Very strange. But that's not why I'm replyingg. I did post a comment to the effect of smbmount is deprecated, but that was just my understanding from what happens in the distro I'm using; when I type smbmount it suggests mount -t smbfs instead, so my assumption was that they were deprecating the use of smbmount with the replacement syntax of mount -t smbfs. Apologies if I misled anyone. -- Chris Do not reply to the email address. Please use the contact page below for any desired direct replies. Apologies for the inconvenience. realcomputerguy dot com slash contact dot html -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount discontinued?
On Fri, 28 Nov 2003, tcg wrote: On Wednesday 26 November 2003 08:41, Thiago Lima wrote: In a past thread I've notice that smbmount (and mount's suport for What's quoted is all I see of your post for some strange reason (both in kmail and evolution). I see no body at all when using sylpheed. Very strange. But that's not why I'm replyingg. I did post a comment to the effect of smbmount is deprecated, but that was just my understanding from what happens in the distro I'm using; when I type smbmount it suggests mount -t smbfs instead, so my assumption was that they were deprecating the use of smbmount with the replacement syntax of mount -t smbfs. Apologies if I misled anyone. mount is a front-end to smbmount when correctly called with the '-t smbfs' parameters. First: Please note that smbfs is a Linux kernel driver - it is not part of Samba. Samba ships the smbmount/smbmnt, smbumnt/smbumount front-end parsers only. The Samba-Team do no development, and provide no maintenance support for smbfs. If you are having smbfs problems please refer these to the Linux kernel team. The Linux-2.6 kernel has the new replacement for smbfs called cifsfs. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount not exiting in script
Le mar 25/11/2003 à 18:44, Bert Buckley a écrit : I run a script to mount several file shares from machines running W98 and W2000 so that I can do incremental dumps every night of these file shares. smbmount almost always fails to exit. This causes the script to stall and so the dumps are not done. In the am, if I kill the smbmount processes, the dumps complete successfully, since the mounts were in fact correctly completed. (I know that smbmount leaves a child running to monitor the mount, but neither the parent nor child smbmount exits.) I am running RH 9, kernel 2.4.20-8, samba-2.2.7a-7.9.0. Note that logwatch also reports the following every morning: WARNING: Kernel Errors Present smb_get_length: recv error = 5...: 32Time(s) Related? error 5 is IO-related. Could be anything, still: - do you use 'find' on the mounted share by any chance ? - is your kernel patched with smbfs LFS ? -- *** [EMAIL PROTECTED] OpenPGP public key: http://www.amakuru.net/dmorel.asc 28192ef126bc871757cb7d97f4a44536 signature.asc Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e=2E?= -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount for Solaris
On Wed, 26 Nov 2003, Lee Johnson wrote: Sirs, I hate to clutter your email with this inquiry, but I haven't been able to get info otherwise. I want to mount shares on an Microsoft XP Pro server on two Suns, Sparc running Solaris 2.6 and another Sparc running Solaris 8. What do I need for this?? I downloaded the Samba software from sunfreeware.com but it seemed to just allow the XP to mount the Sun shares. smbmount is a front end for the smbfs kernel level driver in the Linux kernel. Suggest you search for a commercial package called Sharity. It is supported on Solaris. - John T. -- John H Terpstra Email: [EMAIL PROTECTED]-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount
I try to understand how works SMBMOUNT, by reading the man page. Could you please send me an exemple, to help me to understand ? tahnks and bye Hi Eric please find below a sample, this is directly from my rc.local file which is run at startup. /etc/rc.local #!/bin/sh # # This script will be executed *after* all the other init scripts. # You can put your own initialization stuff in here if you don't # want to do the full Sys V style init stuff. touch /var/lock/subsys/local # Samba 2.2.8a # mount -t smbfs -o username=service,password= //core/users /mnt/nas/users # mount -t smbfs -o username=service,password= //core/backup /mnt/nas/backup # mount -t smbfs -o username=service,password= //core/logon /mnt/nas/logon # mount -t smbfs -o username=service,password= //core/source /mnt/nas/source # Samba 3 mount -t smbfs -o credentials=/etc/samba/service.conf,port=139,ttl=1 //core/users /mnt/nas/users mount -t smbfs -o credentials=/etc/samba/service.conf,port=139,ttl=1 //core/backup /mnt/nas/backup mount -t smbfs -o credentials=/etc/samba/service.conf,port=139,ttl=1 //core/logon /mnt/nas/logon mount -t smbfs -o credentials=/etc/samba/service.conf,port=139,ttl=1 //core/source /mnt/nas/source mount -t smbfs -o credentials=/etc/samba/service.conf,port=139,ttl=1 //core/quickbooks /mnt/nas/quickbooks /etc/samba/service.conf file contains username = service password = xxx hope this help Oooo (O O) ( ) Oooo --oooO--(_)--Oooo\ (-( )-- COMPUTER FACILITIES \_) ) / -(_/ Postal Address Delivery Address Contacts P.O.Box 21558 61 Bukoto Street [EMAIL PROTECTED] Kampala Kamwokya Uganda Kampala Tel 256-(0)41-533784 East Africa Uganda Fax 256-(0)41-540380 East Africa e-Fax 1-206-350-3375 (USA) -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount
I try to understand how works SMBMOUNT, by reading the man page. Could you please send me an exemple, to help me to understand ? Here's the output from smbmount Usage: mount.smbfs service mountpoint [-o options,...] Version 2.2.7-security-rollup-fix Options: username=arg SMB username password=arg SMB password credentials=filename file with username/password netbiosname=arg source NetBIOS name uid=arg mount uid or username gid=arg mount gid or groupname port=arg remote SMB port number fmask=arg file umask dmask=arg directory umask debug=arg debug level ip=argdestination host or IP address workgroup=arg workgroup on destination sockopt=arg TCP socket options scope=arg NetBIOS scope iocharset=arg Linux charset (iso8859-1, utf8) codepage=arg server codepage (cp850) ttl=arg dircache time to live guest don't prompt for a password ro mount read-only rw mount read-write This command is designed to be run from within /bin/mount by giving the option '-t smbfs'. For example: mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test The last line should be what you're looking for. Cheers, .^. Mun Heng, Ow/V\ H/M Engineering /( )\ Western Digital M'sia ^^-^^ DID : 03-7870 5168 The Linux Advocate -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount not exiting
Joel Hammer wrote: The obvious suspect is exit trapping between smbmount and smbmnt, but that's a suspicion that won't hold in court; it's sheer speculation. Well, smbmount is a process that runs until you umount the share. This seems like normal behavior. It's a daemon. When you start a daemon you're supposed to get your prompt back, along with an exit code indicating whether the daemon started well or not. Getting your prompt hijacked by a daemon is not normal behaviour. In the meanwhile I found other similar reports: https://listman.redhat.com/archives/shrike-list/2003-June/msg00211.html https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=103202 http://groups.google.com/groups?q=bug+mount+linux+smbfsstart=10hl=enlr=ie=UTF-8scoring=dselm=3ec4e3ee%240%2418200%2491cee783%40newsreader01.highway.telekom.atrnum=20 http://groups.google.com/groups?q=bug+mount+linux+smbfshl=enlr=ie=UTF-8scoring=dselm=3f04587e%240%2443849%2439cecf19%40news.twtelecom.netrnum=9 http://lists.ethernal.org/cantlug-0306/msg00605.html All of them are on Redhat 9, all of them are recent, from the past two-three months. I'll try installing a samba.org RPM and see if I still have the same problem. Z -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount as user
I'm using Debian woody. ii smbfs 2.2.3a-12.3 mount and umount commands for the smbfs... I want to mount a W2K share as user. Mount as root works fine. The entry in /etc/fstab looks like this: //NOTEBOOK/D /notebook/D: smbfs user,username=ernohl,noauto 0 3 If I try to mount: [EMAIL PROTECTED]:~$ mount /notebook/D: Password: cannot mount on /notebook/D:: Operation not permitted smbmnt failed: 1 Is smbmnt setuid? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount not exiting
I find when calling a program from a bash script, the bash script always waits for the called program to return. This is normal behavior as I understand it. You have to use the option to get the bash script to continue after calling the program without the program exiting first. eg. !#/bin/bash /bin/mount etc more statements. Now, this won't return the exit code of your mount attempt You may have to capture the output of the mount command with /bin/mount etc outputmessages 21 and then examine the contents of outputmessages to see if you are mounted. This could be a nuisance. You could also capture the output with: output=`/bin/mount/etc ` and then examine the variable $output for strings suggesting success or failure of the mount attempt. Or, you could launch a daemon before you run the mount command. The daemon would be a program which would run each second (sleep works fine here) which checks for the mount and reports success, eg. !#/bin/bash while [ 1 -eq 1 ] do sleep 1 mount | grep \/mount\/dir [ $? -eq 0 ] { echo Mounted successfully exit } done If you call this checker, this might work: !#/bin/bash checker mount etc I am a big fan of simple scripts to solve simple problems. Joel On Thu, Oct 02, 2003 at 12:46:11AM +0200, Karin Spaink wrote: The following scriptlet, containing a wrong password among the mount options, #!/bin/bash /bin/mount -t smbfs -o \ netbiosname=mymachine,workgroup=group,username=user, \ password=wrongpasswd,ro,debug=4 //machine/c /mnt/dir /bin/echo Exit $? returns invariably mount.smbfs started (version 2.2.7a-security-rollup-fix) added interface ip=192.168.0.53 bcast=192.168.0.255 nmask=255.255.255.0 resolve_lmhosts: Attempting lmhosts lookup for name machine0x20 getlmhostsent: lmhost entry: 127.0.0.1 localhost resolve_hosts: Attempting host lookup for name machine0x20 Connecting to 192.168.0.50 at port 139 3457: session request ok 3457: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed Exit 1 However, the exact same code containing the right password hangs at the end of the line and doesn't return any exit code at all: #!/bin/bash /bin/mount -t smbfs -o \ netbiosname=mymachine,workgroup=group,username=user, \ password=rightpasswd,ro,debug=4 //machine/c /mnt/dir /bin/echo Exit $? reports mount.smbfs started (version 2.2.7a-security-rollup-fix) added interface ip=192.168.0.53 bcast=192.168.0.255 nmask=255.255.255.0 resolve_lmhosts: Attempting lmhosts lookup for name machine0x20 getlmhostsent: lmhost entry: 127.0.0.1 localhost resolve_hosts: Attempting host lookup for name machine0x20 Connecting to 192.168.0.50 at port 139 3472: session request ok 3472: session setup ok 3472: tconx ok That's all. The share is correctly mounted and accessible, but the script hangs forever waiting for mount/smbmount to exit. Substituting smbmount //machine/c /mnt/dir -o [same options] for the mount command makes absolutely no difference. Increasing the debug level to 10 gives no additional information after tconx ok. The log contains entries like [2003/10/02 02:27:34, 0] client/smbmount.c:send_fs_socket(383) mount.smbfs: entering daemon mode for service \\machine\c, pid=3487 and nothing else. Running mount with strace -v -f -s 128 gives the following: snip endless normal-looking output [pid 3493] open(/mnt/machine, O_RDONLY|O_LARGEFILE) = 6 [pid 3493] ioctl(6, SMB_IOC_NEWCONN, 0xbfffd080) = 0 [pid 3493] setsid()= 3493 [pid 3493] kill(3492, SIGTERM) = 0 [pid 3493] close(6)= 0 [pid 3493] brk(0) = 0x811e000 [pid 3493] brk(0) = 0x811e000 [pid 3493] brk(0x80fe000) = 0x80fe000 [pid 3493] brk(0) = 0x80fe000 [pid 3493] close(3)= 0 [pid 3493] open(/dev/null, O_WRONLY|O_LARGEFILE) = 3 [pid 3493] getrlimit(0x7, 0xbfffd000) = 0 [pid 3493] close(0)= 0 [pid 3493] close(1)= 0 [pid 3493] close(2)= 0 [pid 3493] close(4)= 0 [pid 3493] close(5)= 0 [pid 3493] close(6)= -1 EBADF (Bad file descriptor) [pid 3493] close(7)= -1 EBADF (Bad file descriptor) [pid 3493] close(8)= -1 EBADF (Bad file descriptor) [pid 3493] close(9)= -1 EBADF (Bad file descriptor) snip 1011 identical lines [pid 3493] close(1021) = -1 EBADF (Bad file descriptor) [pid 3493] close(1022) = -1 EBADF (Bad file descriptor) [pid 3493] close(1023) = -1 EBADF (Bad file descriptor) [pid 3493]
Re: [Samba] smbmount not exiting
Well, smbmount is a process that runs until you umount the share. This seems like normal behavior. Joel On Thu, Oct 02, 2003 at 04:01:16AM +0200, Zenon Panoussis wrote: The obvious suspect is exit trapping between smbmount and smbmnt, but that's a suspicion that won't hold in court; it's sheer speculation. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount chooses wrong ip and fails!
When smbmount sends a broadcast packet to get the ip address of the host, it gets back 3 ip addresses as follows: My VMWare machine does this too; the only solution I've got is to use smbmount with -I, specifiying the desired (LAN) IP. Regards, Andrew -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount problem
Hy Yair your Q is missplaced i understand that your 50 users work on linuxboxes clients?? and mount from server (previus nfs) with samba homes directories?? I dont understand why? But this idea only work on one mount point that can mount only one user at time. This can be mounted on boot but only one user rights will be used (user logged to samba with options for smbfs) Or can be mount be login linux client script then can aply users ruless but not can mount more as one at time to one mount point /mnt/home. Try write why and what you need solve. If you need exactly mount one share for all users on boot then to fstab you must write all needed parameters for this smbfs not user but username=ACOUNT,password=PASS ... as writed on mount command -o switch without spaces. - Original Message - From: Yair Naveh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 21, 2003 10:06 AM Subject: [Samba] smbmount problem Hi I want to replace nfs mounting with smbmount I have 50 users I tried to put on /etc/fstab the line - manually per user I'm using mount -t smbfs -o username=$USER //server/share /mnt/home and it prompt for a password But I need it on boot automatically for any user so I tried this //server/share/mnt/home user 0 0 and it's not working Tank's Yair -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount problem
Use : mount -t smbfs -o username=$USER -o password=$PASS //server/share /mnt/home Frederico Madeira Coordenador de Suporte N. Landim Com?rcio Ltda PABX: 81. 3497.3029 e-mail: [EMAIL PROTECTED] - Original Message - From: Yair Naveh [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 20, 2003 11:21 AM Subject: [Samba] smbmount problem Hi I want to replace nfs mounting with smbmount I have 50 users I tried to put on /etc/fstab the line - manually per user I'm using mount -t smbfs -o username=$USER //server/share /mnt/home and it prompt for a password But I need it on boot automatically for any user so I tried this //server/share/mnt/home user 0 0 and it's not working Tank's Yair -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
As root give them permission to use that program using visudo. You can also set it up so they don't need to enter a password in the same place. man sudoers if you need help with the proper format. -- Original Message -- From: Windberg Djoni [EMAIL PROTECTED] Date: Fri, 18 Jul 2003 16:15:38 -0300 I need to use smbmount with other user that is not root. How can I do this ? Djoni RedHat 8 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount 2GB file size limit ?
On Sat, Jul 05, 2003 at 01:02:17PM -0700, k n wrote: I'm running RH9 with kernel 2.4.20 and Samba 2.2.8a. I can copy files larger than 2GB from Windows to Linux and vice versa through Samba. However, when I copy 2GB files from one Linux machine to another (using smbmount to mount) I get File size limit exceeded when 2GB is reached. It looks like the problem is with smbmount. Is there a 2GB file size limit with smbmount? If the problem is with smbmount, is there a patch or workaround? This question comes up a lot on this list. The smbfs driver in the current stable Linux kernel can't handle files over 2GB. I think cifs (which is replacing smbfs in the development kernels) is supposed handle large files and a lot of the other things that just don't work with smbfs. For mounting between UNIX machines a native UNIX system like NFS is better right now, but I think you can also get a backported cifs driver for the Linux 2.4 kernels. -- Michael Heironimus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount, winbind, win 2000 permissions
Hi your idea is bad, best choice is create encrypted VPN or simply stunnel connect from your external client to NAT router. VPN NAT provide for ext.client internal IP adress and then client simply connect to W2k or any enabled service on internal network with its permision for login name and IP addr. If you try create samba on NAT then your external conection is open for hack and read passwords and data over trafic... Bye. - Original Message - From: Ivan Gyurdiev [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 26, 2003 2:37 AM Subject: [Samba] smbmount, winbind, win 2000 permissions -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a way to make smbmount retrieve win 2000 permission information and mount the remote share with identical user, group, and permission access. I am already using winbind, which provides the windows users and groups on the linux machine The specific problem I attempting to solve is exporting a share from the windows machine on the internal network as a share on the linux NAT router (share of a share), while preserving the original permissions. The linux machine could be an active directory server if necessary (samba 3), but the share in question HAS to stay on the windows machine, which has no external address. Any help will be greatly appreciated. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE++kA5XQ/AjixQzHcRAl1SAJ0avOLs5SGmiInPtQeHGa5wHG1b4QCfdLqn DwxvRcESU9Jb5b9vEpX58e8= =B4nZ -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount of Windows 2000/XP disregards uid option
What are you trying to accomplish? Can you explain what you are trying to do exactly? Regards, -- Christopher Barry Manager of Information Systems InfiniCon Systems http://www.infiniconsys.com -Original Message- From: Bertil Askelid [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 5:59 PM To: [EMAIL PROTECTED] Subject: [Samba] smbmount of Windows 2000/XP disregards uid option Hello! I'm mounting Windows 2000/XP disk drives from Linux RedHat 7.3 using smbmount. No problems, the disks are mounted. However, it disregards the uid and gid options and leaves the smbfs owned by root giving the uid user read-only access and not read-write as expected. Adding the rw doesn't help either. What am I doing wrong? -- Bertil Askelid Anaheim Hills, California -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount of Windows 2000/XP disregards uid option
Hello, Christopher! You have to run smbmount as root, which means that the Windows harddrives are mounted with all files owned by root. Unless you have a umask 0, another user, beside root, cannot write access the files. According to the smbmount man page, a -o uid=bertil gid=staff should mount the file system with bertil:staff as owner. And I would have write access. And only me, no one else on my system. The umask 0 trick is dangerous in that you let everybody change the mounted file system. Thanks for helping me out! With Kindest Regards Bertil SMBMOUNT(8) SMBMOUNT(8) NAME smbmount - mount an smbfs filesystem [ ... ] OPTIONS [ ... ] uid=arg sets the uid that will own all files on the mounted filesystem. It may be specified as either a username or a numeric uid. gid=arg sets the gid that will own all files on the mounted filesystem. It may be specified as either a groupname or a numeric gid. [ ... ] Subject: RE: [Samba] smbmount of Windows 2000/XP disregards uid option Date: Fri, 28 Mar 2003 16:45:55 -0500 From: Barry, Christopher [EMAIL PROTECTED] What are you trying to accomplish? Can you explain what you are trying to do exactly? Regards, -- Christopher Barry Manager of Information Systems InfiniCon Systems http://www.infiniconsys.com -Original Message- From: Bertil Askelid [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 5:59 PM To: [EMAIL PROTECTED] Subject: [Samba] smbmount of Windows 2000/XP disregards uid option Hello! I'm mounting Windows 2000/XP disk drives from Linux RedHat 7.3 using smbmount. No problems, the disks are mounted. However, it disregards the uid and gid options and leaves the smbfs owned by root giving the uid user read-only access and not read-write as expected. Adding the rw doesn't help either. What am I doing wrong? -- Bertil Askelid Anaheim Hills, California -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount smbmnt
Have you tried smbclient? Or good 'ol ftp ;^) -- Christopher Barry Manager of Information Systems InfiniCon Systems http://www.infiniconsys.com office: 610.233.4747 direct: 610.233.4870 cell: 267.879.8321 -Original Message- From: Horton, Jerry [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 5:32 PM To: '[EMAIL PROTECTED]' Subject: [Samba] smbmount smbmnt Is there any way to use/build smbmount on a HP-UX system? If not, is there an alternitive methods to read/write file to a windows server from a HP-UX machine? Thanks, Jerry S. Horton -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] smbmount smbmnt
...OR, make a share on the HP-UX box, and map to it in windows! -- Christopher Barry Manager of Information Systems InfiniCon Systems http://www.infiniconsys.com office: 610.233.4747 direct: 610.233.4870 cell: 267.879.8321 -Original Message- From: Barry, Christopher Sent: Friday, March 21, 2003 5:37 PM To: Horton, Jerry; [EMAIL PROTECTED] Subject: RE: [Samba] smbmount smbmnt Have you tried smbclient? Or good 'ol ftp ;^) -- Christopher Barry Manager of Information Systems InfiniCon Systems http://www.infiniconsys.com office: 610.233.4747 direct: 610.233.4870 cell: 267.879.8321 -Original Message- From: Horton, Jerry [mailto:[EMAIL PROTECTED] Sent: Friday, March 21, 2003 5:32 PM To: '[EMAIL PROTECTED]' Subject: [Samba] smbmount smbmnt Is there any way to use/build smbmount on a HP-UX system? If not, is there an alternitive methods to read/write file to a windows server from a HP-UX machine? Thanks, Jerry S. Horton -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount - again
SMB is a better choice than NFS for many reasons, especially for the fact that its user based and not kernal based er... smbfs is part of the kernel as far as i know... David -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount - again
No...nfs is a part of the kernel..and not samba David Morel wrote: SMB is a better choice than NFS for many reasons, especially for the fact that its user based and not kernal based er... smbfs is part of the kernel as far as i know... David -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount - again
er... smbfs is part of the kernel as far as i know... er.. isn't Samba a userspace program where as NFS is not? er... this is the context by which my statement is true. er... thanks. er... Bri- __ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount - again
Gurnish Anand wrote: No...nfs is a part of the kernel..and not samba David Morel wrote: SMB is a better choice than NFS for many reasons, especially for the fact that its user based and not kernal based er... smbfs is part of the kernel as far as i know... David okay, let's rephrase that: smbmount is a wrapper which uses smbfs which IS a kernel fs module. smbmount does not use the samba suite, or to a limited extent only. The client part in the samba package is smbclient, which itself has nothing to see whith smbfs. I might be wrong though.. David. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount - again
So basically you don't have anything helpful for me regarding my smbmount issue other than esoteric comments? Bri- __ Do you Yahoo!? Yahoo! Web Hosting - establish your business online http://webhosting.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] smbmount
If you read the configure file in the source directory, all will become clear. smbmount is only for linux systems. Joel On Tue, Feb 04, 2003 at 04:08:50PM -0300, Rocha Neto wrote: I did install samba from code and I didn't find smbmount application. It is not distributed with the code. If it not, where i cand get it Thanks Rocha Neto -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Smbmount for Solaris 8?
I see that smbmount is for Linux only. smbmount relies on kernel support for the smb filesystem which (to the best of my knowledge) isn't in Solaris. I believe you can use smbclient to copy files in an FTP-like fashion. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba