Re: [Samba] Re: smbmount
On Mon, 07 May 2007 21:18:08 -0700 Akemi Yagi [EMAIL PROTECTED] wrote: On Tue, 08 May 2007 01:41:42 +0100, John G Walker wrote: 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, I have a question (and possibly a suggestion). You mentioned that Since the object of using Samba is partly to access a Windows 98 machine,.. What exactly do you mean by access? Do you need to connect to the Win98 box to copy/move files between Linux and Win98? Then, can't you use smbclient instead? I remember I was able to use smbclient to connect to Win98 (last done 6 months ago). Akemi Good suggestion. I've never really used smbclient, except for diagnostic purposes. But this seems possibly the best way forward yet, -- 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
[Samba] Re: smbmount
On Tue, 08 May 2007 01:41:42 +0100, John G Walker wrote: 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, I have a question (and possibly a suggestion). You mentioned that Since the object of using Samba is partly to access a Windows 98 machine,.. What exactly do you mean by access? Do you need to connect to the Win98 box to copy/move files between Linux and Win98? Then, can't you use smbclient instead? I remember I was able to use smbclient to connect to Win98 (last done 6 months ago). Akemi -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: smbmount hangs Linux if Windows server goes down
I know this is an old thread but I have been struggling with this same issue for a while now and was wondering if there was any resolution. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Re: smbmount hangs Linux if Windows server goes down
On 9/19/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I know this is an old thread but I have been struggling with this same issue for a while now and was wondering if there was any resolution. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba the cifs module handles such situations gracefully in recent kernels. smbfs has been deprecated for some time now, but I still find it amazing how many people have not heard of it. They need to run a marketing campaign, or something. -- Noah Dain I don't want to make toys, I want to be a dentist! -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: Smbmount and credentials
On Tue, 16 May 2006 09:46:28 +1000, Adam Nielsen [EMAIL PROTECTED] wrote: 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 :-) I had the -o in there originally (honest I did!), I must have accidentally deleted it at some point. The commas really helped too :-) 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. That did the trick. Thanks for the help Adam. -- Ray Greene -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: smbmount problem
Kurt, Does client use spnego = yes get placed in /etc/samba/smb.conf? If it does it does not appear to be make any difference. Still get the same message even after using the revised smbmount commands suggested. Any other help would be gratefully received Victor Warner Kurt Lorentzen wrote: smbmount //andyson01/clientfiles /home/victor/client -o username=victor,password=password or smbmount //andyson01/clientfiles /home/victor/client -o username=victor,password=password,workgroup=workgroup if the XP box is joined to a domain also set: client use spnego = yes under [global] to enable smb signing regards, ...kurt I wish to mount a Windows network share in Linux (Windows running WinXP) I can successfully connect to the Windows network share with smbclient: smbclient //andyson01/clientfiles -U victor%password But when I try to mount this share with the following: smbmount //andyson01/clientfiles /home/victor/client -o username=victor password=password I get the following error messages: (the directory client exists before trying the smbmount command) cli_negprot: SMB signing is mandatory and we have disabled it. 2172: protocol negotiation failed SMB connection failed I can use the smbmount for shared directories on another Windows 98 machine. I am new to Linux, and would appreciate any help. Victor Warner -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Re: smbmount hangs Linux if Windows server goes down
John Hewitt johnblade at gmail.com writes: 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 John, Thanks for your reply. I am using Samba 3.0.0-15 on a plain vanilla fedora core-1 system with all optional components that came with the distro installed. Any other ideas? It seem that, given what I am reading so far, having Linux mount via smbfs is very dangerous thing to do. Seems odd? Howard -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: smbmount as user
Adam Williams wrote: Is smbmnt setuid? -rwsr-xr-x 1 root root 430760 Apr 7 10:42 /usr/bin/smbmnt Regards Ruediger -- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: 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. The smbsh function works nicely on Solaris 8. You run smbsh, it prompts you for your login and password for the PDC and then gives you a shell prompt. The shell is taken from $SHELL by default. You can then cd to /smb and begin walking around in your SMB network like a regular directory structure. -- Robert E. Styma Principal Engineer AG Communication Systems, Phoenix - A subsidiary of Lucent Email: [EMAIL PROTECTED] Phone: 623-582-7323 FAX: 623-581-4884 Company: http://www.agcs.com Personal: http://www.swlink.net/~styma -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Re: SMBMOUNT
On Tue, 29 Oct 2002, Tidu Nicola wrote: Can you give me an explanation about this error I get: when I give the command: mount -t smb -o username=name,password=pw //10.110.4.106/software /mnt/remote i receive these two lines: 12500: session request to 10.110.4.106 failed (Called name not present) 12500: session request to 10 failed (Called name not present) When you specify the server name as 10.110.4.106 smbmount first tries to send that string as the server name (one of the parameters when connecting is that the client should give the name of the server). Failing that it tries to use the name up to the first . Failing that it tries to use *SMBSERVER, which works (else you would have had that error printed too). Called name is the netbios name of the server. In all cases it has attempted to connect to ip 10.110.4.106. The quiet way to do this is to use: mount -t smb -o username=... //servername/software Or if your machine doesn't know which ip matches 'servername': mount -t smb -o username=...,ip=10.110.4.106 //servername/software If you don't know the netbiosname of the server I guess you could try this: mount -t smb -o username=...,ip=10.110.4.106 //*SMBSERVER/software Or just live with the harmless errors. /Urban -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] RE: smbmount, smbumount and smbmnt
Hi, Thanks Urban for all the info. It was really of use to me especially since i could do without smbmnt and smbumount. Sorry for the delay in my response. Could you please send me the patch you have used to reduce the footprint of smb clients. I beleive that will really be very helpful for me. Also regarding the codepages i have some more query. 1. Since some other components in our embedded system needs codepages, we have enabled the code pages in the kernel. 2. We have however not enables the CONFIG_SMB_NLS_DEFAULT. So smbfs should not be using any codepages. 3. I have nothing in my smb.conf for the codepages. ( IS there any way to disable codepage use in the smb.conf?) 4. However when i run my client i still get the errors i had previously reported. WHat might the problem be? Once again thanks a lot for your time and advice. Thanks and Regards, Abdij -Original Message- From: Urban Widmark [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 12:32 AM To: Abdij Bhat Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: Re: smbmount, smbumount and smbmnt On Tue, 30 Apr 2002, Abdij Bhat wrote: Hi, I am deploying samba for an embedded system. The requirement is that the system should be able to mount windows share points. I believe smbmount, smbumount and smbmnt components are needed to do the same. I am not very clear about smbmnt though! I find that smbmount, smbumount and smbmnt are all quite huge. Around 300 to 400Kb each. smbmnt is linked with libsmb even though it doesn't use anything from it. It is possible to make it much smaller by editing the makefile. I have a patch if you want. smbmnt exists to allow parts of the code to be setuid root for normal user mounts and is run by smbmount. smbumount is only needed if you need normal users to mount and umount things. root can umount with the normal umount command so you could just remove it. smbmount only uses a few parts of libsmb directly, but there are a lot of dependencies between different parts of libsmb. Also whenever i choose SMB_FS support in the Kernel configuration, i am forced to choose the NLS. Do i really need it? How can i do without it? Also If you don't enable any of the kernel codepage modules, nothing extra will be built. If you don't enable CONFIG_SMB_NLS_DEFAULT then smbfs will not use any nls code. the smbmount demands codepage.850, codepage-def.850, unicode_map.850, unicode_map.ISO8859-1 files. I have not provided the same in my embedded development environment. Funnily, although it complains that the above files Those are samba codepages and the smb.conf controls which ones to use, with these being the defaults(?). /Urban -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba