Smbmount
Pessoal, Estou com o seguinte problema, estou montando um diretorio remoto que fica numa maquina windows atraves do debian, mais ao acessar a pasta por /mnt/windows, aparecem codigos estranhos diz codificacao invalida eu precisaria corrigir isso mais ja tentei varias forma e nd deu certo. Ja tentei e nada: smbmount //10.0.0.122/bkp01 /mnt/windows -o iocharset=iso8859-1,lfs smbmount //10.0.0.122/bkp01 /mnt/windows -o iocharset=utf8,lfs Alguem saberia como posso corrigir. -- To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4dd50c1b.1050...@gmail.com
Re: Smbmount
Ola Pedro, bom dia, vc pode acrescentar ao comando a opção charset, que seleciona a página de codigo do servidor samba para tratar caracteres (é um complemento da opção iocharset). Ficaria assim: smbmount //10.0.0.122/bkp01 /mnt/windows -o charset=cp850,iocharset=iso8859-1,lfs essa opção charset=cp850 é o indicado para idiomas latinos. Nessa pagina tem exemplos de code page http://oreilly.com/catalog/samba/chapter/book/ch08_03.html la ta falando para a versao 2 do samba, mas acho que isso não mudou para versão 3. Espero ter ajudado. []'s Ivani De: Pedro - almeida.l...@gmail.com Para: debian-user-portuguese@lists.debian.org Enviadas: Quinta-feira, 19 de Maio de 2011 9:24 Assunto: Smbmount Pessoal, Estou com o seguinte problema, estou montando um diretorio remoto que fica numa maquina windows atraves do debian, mais ao acessar a pasta por /mnt/windows, aparecem codigos estranhos diz codificacao invalida eu precisaria corrigir isso mais ja tentei varias forma e nd deu certo. Ja tentei e nada: smbmount //10.0.0.122/bkp01 /mnt/windows -o iocharset=iso8859-1,lfs smbmount //10.0.0.122/bkp01 /mnt/windows -o iocharset=utf8,lfs Alguem saberia como posso corrigir. -- To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4dd50c1b.1050...@gmail.com -- To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/54130.90435...@web161305.mail.bf1.yahoo.com
Re: smbmount i smbumount
Hola Sergi, Access denied sembla més aviat un problema de permisos del recurs Samba remot, no pas de l'usuari de la teva màquina. Si amb root també et diu access denied, potser el problema és que cal contrasenya o no hi tens accés... Pots provar amb -v (verbose) per veure què et diu. Jo tampoc tinc smbumount; a Squeeze ja no hi és: http://packages.debian.org/lenny/i386/smbfs/filelist http://packages.debian.org/squeeze/i386/smbfs/filelist Simplement utilitza umount :) Salutacions, Roger El 7 de gener de 2011 21:05, Sergi Casbas sergi.deb...@qscsoft.net ha escrit: Algú li passa que en Squeezy el smbmount no funciona com a usuari (dóna acces denied) i que no existeix l'ordre smbumount (ni com a usuari ni com a root)??? Tinc instal·lats els següents paquets referents a això: smbclient smbfs La instal·lació és a partir del netboot instal·lat els components mínims (sense escriptori) i instal·lant l'escriptori manualment després. Adjunto la llista de tots els paquets instal·lats de forma manualment (les dependencies ho hauria de treure).
Re: smbmount i smbumount
Ja deia jo que smbumount no hi era En quant als permisos, com a root si que em deixa connectar. L'error complet és: mount.cifs: permission denied: no match for path_desti found in /etc/fstab En qualsevol cas estic estudiant la possibilitat de fer servir fusesmb que té molt bona pinta. Al 08/01/11 18:55, En/na Roger Lino ha escrit: Hola Sergi, Access denied sembla més aviat un problema de permisos del recurs Samba remot, no pas de l'usuari de la teva màquina. Si amb root també et diu access denied, potser el problema és que cal contrasenya o no hi tens accés... Pots provar amb -v (verbose) per veure què et diu. Jo tampoc tinc smbumount; a Squeeze ja no hi és: http://packages.debian.org/lenny/i386/smbfs/filelist http://packages.debian.org/squeeze/i386/smbfs/filelist Simplement utilitza umount :) Salutacions, Roger El 7 de gener de 2011 21:05, Sergi Casbas sergi.deb...@qscsoft.net mailto:sergi.deb...@qscsoft.net ha escrit: Algú li passa que en Squeezy el smbmount no funciona com a usuari (dóna acces denied) i que no existeix l'ordre smbumount (ni com a usuari ni com a root)??? Tinc instal·lats els següents paquets referents a això: smbclient smbfs La instal·lació és a partir del netboot instal·lat els components mínims (sense escriptori) i instal·lant l'escriptori manualment després. Adjunto la llista de tots els paquets instal·lats de forma manualment (les dependencies ho hauria de treure). -- To UNSUBSCRIBE, email to debian-user-catalan-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/4d28b848.80...@qscsoft.net
smbmount i smbumount
Algú li passa que en Squeezy el smbmount no funciona com a usuari (dóna acces denied) i que no existeix l'ordre smbumount (ni com a usuari ni com a root)??? Tinc instal·lats els següents paquets referents a això: smbclient smbfs La instal·lació és a partir del netboot instal·lat els components mínims (sense escriptori) i instal·lant l'escriptori manualment després. Adjunto la llista de tots els paquets instal·lats de forma manualment (les dependencies ho hauria de treure). xorg rsync smbfs smbclient cups gnome-core gdm gnome-applets gnome-bluetooth eog gnome-system-tools gnome-system-log gcalctool sound-juicer gparted file-roller p7zip-full lock-keys-applet gnome-search-tool wine system-config-printer wpasupplicant ppp usb-modeswitch iceweasel iceweasel-l10n-ca icedove icedove-l10n-ca iceowl-extension transmission flashplugin-nonfree pidgin rdesktop sun-java6-jdk sun-java6-plugin openoffice.org mozilla-openoffice.org openoffice.org-gnome openoffice.org-help-ca openoffice.org-hyphenation-ca openoffice.org-l10n-ca msttcorefonts dia gnucash evince gimp mplayer anjuta build-essential gtranslator
Re: smbmount et type de fichier nfs
Le mercredi 18 août, Maurice Guerrier écrivit : Bonjour à tous, 1- J'ai mon serveur samba. Quand je passe la commande pour monter mon repertoire partagé depuis windows sur linux :smbmount //server/partage /mnt/reception la commande smbmount n'existe pas. Je fais un which smbmount il n'existe pas. Par contre la commande existe sur ma version de debian etch. Moi j'utilise : mount -t cifs -o username=domaine\\user //server/partage /mnt 2- J'ai mis en place un serveur NFS sous Debian Lenny. Quand j'ai passé la commande pour monter mon fichier qui est partagé dans /etc/exports à partir d'un client etch, le type de fichier nfs n'est pas reconnu. mount -t nfs /server/partage /mnt/reception C'est plutôt : mount -t nfs server:/partage /mnt/reception signature.asc Description: Digital signature
smbmount et type de fichier nfs
Bonjour à tous, 1- J'ai mon serveur samba. Quand je passe la commande pour monter mon repertoire partagé depuis windows sur linux :smbmount //server/partage /mnt/reception la commande smbmount n'existe pas. Je fais un which smbmount il n'existe pas. Par contre la commande existe sur ma version de debian etch. 2- J'ai mis en place un serveur NFS sous Debian Lenny. Quand j'ai passé la commande pour monter mon fichier qui est partagé dans /etc/exports à partir d'un client etch, le type de fichier nfs n'est pas reconnu. mount -t nfs /server/partage /mnt/reception Avez-vous une idée de ce problème? Merci
Re: smbmount et type de fichier nfs
On 13:16 Wed 18 Aug , Maurice Guerrier wrote: Bonjour tous, 1- J'ai mon serveur samba. Quand je passe la commande pour monter mon repertoire partag depuis windows sur linux : smbmount //server/partage /mnt/ reception la commande smbmount n'existe pas. Je fais un which smbmount il n'existe pas. Par contre la commande existe sur ma version de debian etch. 2- J'ai mis en place un serveur NFS sous Debian Lenny. Quand j'ai pass la commande pour monter mon fichier qui est partag dans /etc/ exports partir d'un client etch, le type de fichier nfs n'est pas reconnu. mount -t nfs /server/partage /mnt/reception Avez-vous une id e de ce probl me? apt-file ou auto-apt est ton amis. xosw...@master:~$ apt-file search smbmount smbfs: /usr/bin/smbmount xosw...@master:~$ apt-file search mount.nfs nfs-common: /sbin/mount.nfs Donc les paquets qu'il te manque sont nfs-common et smbfs. Amicalement, -- Xavier Oswald xosw...@debian.org GNU/Linux Debian Developer - http://www.debian.org/ GPG key IDs: 0x88BBB51E, 0x464B8DE3 -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/fr/FrenchLists Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe vers debian-user-french-requ...@lists.debian.org En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org Archive: http://lists.debian.org/20100818212221.ga30...@master
Re: deprecated smbmount -- mount.cifs
On Sun, Jan 25, 2009 at 08:14:35PM +0200, Amit Finkler wrote: I know, it's been a while, and Lenny has since moved from 2.6.24 to 2.6.26. Samba probably has changed a lot as well. However, this problem persists... Here's what I tried to do and the outcome: in1: mount -t cifs //server/share /home/amitf/mount_point -o username=amitf%mypassword out1: mount error 5 = Input/output error, Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) in2: mount -t smbfs //server/share /home/amitf/mount_point -o username=amitf%mypassword out2: mount error 5 = Input/output error, Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) in3: smbmount //server/share /home/amitf/mount_point -o username=amitf%mypassword out3: mount error 5 = Input/output error, Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) Let's make this more explicit: mount.cifs //server/share /home/amitf/mount_point -o 'username=amitf%mypassword' Or even slightly more verbose: mount.cifs //server/share /home/amitf/mount_point --verbose -o 'username=amitf%mypassword' BTW: the man page mentioned in that message refers to the option 'username' as deprecated, IIRC. -- Tzafrir Cohen | tzaf...@jabber.org | VIM is http://tzafrir.org.il || a Mutt's tzaf...@cohens.org.il || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Re: deprecated smbmount -- mount.cifs
Tried that. The output is as follows: parsing options: rw,username=amitf%mypassword mount.cifs kernel mount options unc=//servername\share,ip=xxx.xxx.xxx.xxx,pass=mypassword,ver=1,rw,username=amitf, mount error 5 = Input/output error Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) xxx.xxx.xxx.xxx stands for the server's real IP address. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: deprecated smbmount -- mount.cifs
I know, it's been a while, and Lenny has since moved from 2.6.24 to 2.6.26. Samba probably has changed a lot as well. However, this problem persists... Here's what I tried to do and the outcome: in1: mount -t cifs //server/share /home/amitf/mount_point -o username=amitf%mypassword out1: mount error 5 = Input/output error, Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) in2: mount -t smbfs //server/share /home/amitf/mount_point -o username=amitf%mypassword out2: mount error 5 = Input/output error, Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) in3: smbmount //server/share /home/amitf/mount_point -o username=amitf%mypassword out3: mount error 5 = Input/output error, Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) I tried replacing the server name with its complete IP address, to no avail. I don't know if it's related, but I added the two following lines to my /etc/samba/smb.conf client plaintext auth = yes client lanman auth = yes and now the following command works (it didn't before) smbclient -L servername -U amitf Other than that I'm pretty much at a loss here. Help will be greatly appreciated. Amit Finkler -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: deprecated smbmount -- mount.cifs
Amit Finkler wrote: After upgrading to kernel 2.6.24, the usual line in my LinNeighborhood using smbmount doesn't work anymore (mount.cifs error number 5 - input/output) smbmount //GURU/SuperC_small$ /home/amitf/SuperC$/ -o username amitf% fmask 644 dmask 755 uid 1000 gid 1000 debug 0 smbmount //host/share /mnt/target/ \ -o username=usern,fmask=644,dmsak=755,uid=1000,gid=1000,debug=0 works here[0] (note the notation of the -o-argument) with the following output: Warning: ignoring deprecated smbfs option 'debug=0' WARNING: 'fmask' not expressed in octal. WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead Regards, Tobias [0] up-to-date Lenny, Linux 2.6.24-1 pgpsKp9stpnFh.pgp Description: PGP signature
Re: deprecated smbmount -- mount.cifs
Tobias Nissen wrote: Amit Finkler wrote: After upgrading to kernel 2.6.24, the usual line in my LinNeighborhood using smbmount doesn't work anymore (mount.cifs error number 5 - input/output) smbmount //GURU/SuperC_small$ /home/amitf/SuperC$/ -o username amitf% fmask 644 dmask 755 uid 1000 gid 1000 debug 0 smbmount //host/share /mnt/target/ \ -o username=usern,fmask=644,dmsak=755,uid=1000,gid=1000,debug=0 works here[0] (note the notation of the -o-argument) with the following output: Warning: ignoring deprecated smbfs option 'debug=0' WARNING: 'fmask' not expressed in octal. WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead Regards, Tobias [0] up-to-date Lenny, Linux 2.6.24-1 I'll try that, thanks. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
deprecated smbmount -- mount.cifs
Hi, After upgrading to kernel 2.6.24, the usual line in my LinNeighborhood using smbmount doesn't work anymore (mount.cifs error number 5 - input/output) smbmount //GURU/SuperC_small$ /home/amitf/SuperC$/ -o username amitf% fmask 644 dmask 755 uid 1000 gid 1000 debug 0 Can someone please translate it to the new syntax of mount.cifs for me? Thanks, Amit. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount input/output error sur Etch
désolé du retard, partis envacances merci pour le tuyau, j'utilise, à présent mount.cifs en root : mount.cifs -o rw,user //IP/share /mnt/ le point de montage est lisible sans erreurs, mais en tant que user je ne sais pas écrire ni détruire, malgré les options rw et user... une solution ? merci -Original Message- From: Yannick Palanque [EMAIL PROTECTED] To: debian-user-french@lists.debian.org Date: Thu, 3 Apr 2008 17:49:01 +0200 Subject: Re: smbmount input/output error sur Etch Guy-Roger Tilkin écrivit : A partir d'une Debian etch, j'essaye de monter un share samba d'un serveur distant en local, avec la commande : smbmount //IP/share /mountpoint -o J'avais lu qu'il vaut mieux utiliser mount.cifs ou mount -t cifs « The CIFS protocol is the successor to the SMB protocol » SMB a des bugs qui ne sont plus corrigés. -- « Quand je serai grand, je ferai des bug reports sur la LKML » -- Octane in fcolm -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists [http://wiki.debian.org/DebFrFrenchLists] Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount input/output error sur Etch
Le 7 avr. 08 à 18:39, guy-roger Tilkin a écrit : désolé du retard, partis envacances merci pour le tuyau, j'utilise, à présent mount.cifs en root : mount.cifs -o rw,user //IP/share /mnt/ le point de montage est lisible sans erreurs, mais en tant que user je ne sais pas écrire ni détruire, malgré les options rw et user... options uid= et gid= ? Sinon, mettre la ligne qui va bien dans /etc/fstab avec noauto, user, ensuite monter en tant que user. Je ne suis plus très sûr du résultat. T.
Re: smbmount input/output error sur Etch
Le 7 avr. 08 à 18:39, guy-roger Tilkin a écrit : désolé du retard, partis envacances merci pour le tuyau, j'utilise, à présent mount.cifs en root : mount.cifs -o rw,user //IP/share /mnt/ le point de montage est lisible sans erreurs, mais en tant que user je ne sais pas écrire ni détruire, malgré les options rw et user... options uid= et gid= ? Sinon, mettre la ligne qui va bien dans /etc/fstab avec noauto, user, ensuite monter en tant que user. Je ne suis plus très sûr du résultat. T. j'ai placé la ligne dans /etc/fstab : mount //IP/share /mnt/share cifs noauto,user,rw,user 00 quand j'essaye d'accéder le share en simple user, j'ai ce message : permission denied, no superuser or mount.cifs nosetuid... pourtant, j'ai tenté de faire un setuid sur /sbin/mount.cifs (chmod u+s /sbin/mount.cifs et chmod u+s /sbin/umount.cifs), toujours le même message .. merci d'avance. guyR
Re: smbmount input/output error sur Etch
Guy-Roger Tilkin écrivit : A partir d'une Debian etch, j'essaye de monter un share samba d'un serveur distant en local, avec la commande : smbmount //IP/share /mountpoint -o J'avais lu qu'il vaut mieux utiliser mount.cifs ou mount -t cifs « The CIFS protocol is the successor to the SMB protocol » SMB a des bugs qui ne sont plus corrigés. -- « Quand je serai grand, je ferai des bug reports sur la LKML » -- Octane in fcolm -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
smbmount input/output error sur Etch
Bonjour, A partir d'une Debian etch, j'essaye de monter un share samba d'un serveur distant en local, avec la commande : smbmount //IP/share /mountpoint -o username=xxx,password=xxx,rw,user,dmask=0777, fmask=0777 tout semble fonctionner mais lorsque je fais ls en console sur le reportoir monté, j'obtiens input/output error ... notez que smbclient me permet sans problème d'acceder au share distant Merci d'avance GuyR tilkin -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.org/DebFrFrenchLists Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount issues (related to CIFS?)
I have two Debian boxes: On the machine having the 2.6.18 kernel, with the real /usr/bin/smbmount command, I can mount an SMB file system exported from a Sun 5.9 box. On the machine having the 2.6.22 kernel, I can not. Here's the error: [EMAIL PROTECTED]:~$ smbmount //faculty/web netShares/web/ Password: mount error 2 = No such file or directory Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) Take a look at smbfs bug report #458071 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=458071 You have to scroll down past the original bug.. but it might help. This used to work on this box, until a few months (weeks?) ago (I'm just now getting around to working on the problem). Both boxes run Sid. I very vaguely recall reading something about some aspect of smbfs going away, and now needing to use CIFS, and I probably updated some package in order to follow the gameplan, but I don't remember what I did. You most likely installed the new smbfs and samba-common packages and now smbmount and mount.smbfs are a wrapper to mount.cifs Which is as it should be, as the smbfs kernel module is broken and will never be fixed, so use the cifs one instead. Further, I really hate to go backwards - I'd rather get fixed whatever's broken in the new setup (assuming I have a new setup). Any of you folks understand the Samba ins-and-outs well enough to help me get this straightened out? Are you attempting to mount as a guest user? In other words, you attempt a mount and the server assumes you to be a guest? Or are you trying to authenticate using your own username? In which case it's different to the case I'm familiar with and the following might not help... The problem can most likely be solved in a number of ways... 1. different mount options Does the following work for you mount.cifs //server/share /mount_point -o guest What about... mount.cifs //server/share /mount_point -o guest,sec=none 2. Samba server options - is smb.conf using: security=user ? How does it handle bad users? In the samba server (assuming you have admin rights to the server)... Can you try the smb.conf option: map to guest = bad user Hope that helps. Cheers... Lex -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount issues (related to CIFS?)
On Jan 31, 2008 12:14 AM, Kent West [EMAIL PROTECTED] wrote: On the machine having the 2.6.22 kernel, I can not. Here's the error: [EMAIL PROTECTED]:~$ smbmount //faculty/web netShares/web/ Password: mount error 2 = No such file or directory Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) This used to work on this box, until a few months (weeks?) ago (I'm just now getting around to working on the problem). Both boxes run Sid. If you have a helpful ISP, such as Verizon, then it's going to resolve faculty to its search service, which isn't what you want. With smbfs, you could specify name resolve order = lmhosts wins bcast to avoid the DNS lookup. With cifs, you can't, since it doesn't yet respect smb.conf. However, you can install winbind and edit /etc/nsswitch.conf, setting the hosts spec to: hosts: files wins dns That worked like a charm for me, with thanks to Steve Langasek (vorlon). -- Michael A. Marsh http://www.umiacs.umd.edu/~mmarsh http://mamarsh.blogspot.com http://36pints.blogspot.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount issues (related to CIFS?)
Kent West wrote: On Jan 31, 2008 12:14 AM, Kent West [EMAIL PROTECTED] wrote: On the machine having the 2.6.22 kernel, I can not. Here's the error: [EMAIL PROTECTED]:~$ smbmount //faculty/web netShares/web/ Password: mount error 2 = No such file or directory Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) When trying to smbmount faculty, it doesn't matter if I use faculty or faculty.acu.edu or the IP address; same failure each time. [EMAIL PROTECTED]:~$ smbclient -L faculty Password: Domain=[ACU-ACADEMIC] OS=[SunOS 5.9 sun4u] Server=[LAN Manager 2.1] Sharename Type Comment - --- homeDisk Home Directories shared Disk Shared Directories deptDisk Departmental Directories web Disk Home Directories etc etc etc I'm using my username (westk) which is the same on both Debian boxes and on the ACU-ACADEMIC WindowsNT/ActiveDirectory domain. I can smbmount a share that's on a Windows Server 2003 box: [EMAIL PROTECTED]:~$ smbclient -L luke Password: Domain=[ACU] OS=[Windows Server 2003 3790 Service Pack 2] Server=[Windows Server 2003 5.2] Sharename Type Comment - --- J$ Disk Default share print$ Disk Printer Drivers CIO Cabinet Disk etc etc etc [EMAIL PROTECTED]:~$ smbmount //luke/pc_apps mnt Password: [EMAIL PROTECTED]:~$ ls mnt Acrobat dynamic.ini New Folder Sophos.lnk etc etc etc But interestingly enough, when I try to un-mount this share, it seems to unmount (the files are no longer viewable), but the mount command still lists it as being mounted: [EMAIL PROTECTED]:~$ smbumount mnt [EMAIL PROTECTED]:~$ mount blah blah blah dev/hda2 on /home/westk/VMs type ext3 (rw) //luke/pc_apps on /home/westk/netShares/pc_apps type cifs (rw,mand,nosuid,nodev,user=westk) //luke/pc_apps on /home/westk/mnt type cifs (rw,mand,nosuid,nodev,user=westk) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount issues (related to CIFS?)
Michael Marsh wrote: On Jan 31, 2008 12:14 AM, Kent West [EMAIL PROTECTED] wrote: On the machine having the 2.6.22 kernel, I can not. Here's the error: [EMAIL PROTECTED]:~$ smbmount //faculty/web netShares/web/ Password: mount error 2 = No such file or directory Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) This used to work on this box, until a few months (weeks?) ago (I'm just now getting around to working on the problem). Both boxes run Sid. If you have a helpful ISP, such as Verizon, then it's going to resolve faculty to its search service, which isn't what you want. With smbfs, you could specify name resolve order = lmhosts wins bcast to avoid the DNS lookup. With cifs, you can't, since it doesn't yet respect smb.conf. However, you can install winbind and edit /etc/nsswitch.conf, setting the hosts spec to: hosts: files wins dns That worked like a charm for me, with thanks to Steve Langasek (vorlon). Changing /etc/samba/smb.conf to: ; name resolve order = lmhosts host wins bcast name resolve order = lmhosts wins bcast and restarting /etc/init.d/samba made no difference. aptitude install winbind and changing /etc/nsswitch.conf to: hosts: files wins dns mdns4_minimal [NOTFOUND=return] mdns4 #hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 made no difference. When trying to smbmount faculty, it doesn't matter if I use faculty or faculty.acu.edu or the IP address; same failure each time. [EMAIL PROTECTED]:~$ smbclient -L faculty Password: Domain=[ACU-ACADEMIC] OS=[SunOS 5.9 sun4u] Server=[LAN Manager 2.1] Sharename Type Comment - --- homeDisk Home Directories shared Disk Shared Directories deptDisk Departmental Directories web Disk Home Directories classes Disk Classes Directory _acu_temp_drax$ Disk Place Holder Directory print$ Disk print$ IPC$IPC Remote IPC westk Disk default attach point Domain=[ACU-ACADEMIC] OS=[SunOS 5.9 sun4u] Server=[LAN Manager 2.1] Server Comment ---- ACADPDC CLASSES Classes FACULTY Syntax LMserver MYACUSyntax LMserver PROFDEV Syntax LMserver STUDENT Syntax LMserver WorkgroupMaster ---- ACU PHOEBE ACU-ACADEMIC ACADPDC MSHOME DESAXL-P TEST TESTDC2 WORKGROUPACU-TESTLAB-LB1 I'm using my username (westk) which is the same on both Debian boxes and on the ACU-ACADEMIC WindowsNT/ActiveDirectory domain. I can smbmount a share that's on a Windows Server 2003 box: [EMAIL PROTECTED]:~$ smbclient -L luke Password: Domain=[ACU] OS=[Windows Server 2003 3790 Service Pack 2] Server=[Windows Server 2003 5.2] Sharename Type Comment - --- J$ Disk Default share print$ Disk Printer Drivers CIO Cabinet Disk etc etc etc [EMAIL PROTECTED]:~$ smbmount //luke/pc_apps mnt Password: [EMAIL PROTECTED]:~$ ls mnt Acrobat dynamic.ini New Folder Sophos.lnk etc etc etc -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
smbmount issues (related to CIFS?)
I have two Debian boxes: [EMAIL PROTECTED]:~$ uname -a Linux westek 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 UTC 2007 i686 GNU/Linux [EMAIL PROTECTED]:~$ which smbmount /usr/bin/smbmount [EMAIL PROTECTED]:~$ ls -lh /usr/bin/smbmount lrwxrwxrwx 1 root root 17 2008-01-28 17:03 /usr/bin/smbmount - /sbin/mount.smbfs [EMAIL PROTECTED]:~$ ls -lh /sbin/mount.smbfs -rwxr-xr-x 1 root root 2.5K 2008-01-25 14:59 /sbin/mount.smbfs and [EMAIL PROTECTED]:/home/westk: uname -a Linux goshen 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 GNU/Linux [EMAIL PROTECTED]:/home/westk: which smbmount /usr/bin/smbmount [EMAIL PROTECTED]:/home/westk: ls -lh /usr/bin/smbmount -rwxr-xr-x 1 root root 744K 2007-11-28 03:52 /usr/bin/smbmount On the machine having the 2.6.18 kernel, with the real /usr/bin/smbmount command, I can mount an SMB file system exported from a Sun 5.9 box. On the machine having the 2.6.22 kernel, I can not. Here's the error: [EMAIL PROTECTED]:~$ smbmount //faculty/web netShares/web/ Password: mount error 2 = No such file or directory Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) This used to work on this box, until a few months (weeks?) ago (I'm just now getting around to working on the problem). Both boxes run Sid. I very vaguely recall reading something about some aspect of smbfs going away, and now needing to use CIFS, and I probably updated some package in order to follow the gameplan, but I don't remember what I did. Further, I really hate to go backwards - I'd rather get fixed whatever's broken in the new setup (assuming I have a new setup). Any of you folks understand the Samba ins-and-outs well enough to help me get this straightened out? Thanks! -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Accéder aux partage Windows en ligne de commande avec smbmount ou mount -t cifs.
D'après Charles Plessy [EMAIL PROTECTED] : Le Tue, Oct 02, 2007 at 10:39:59AM +0200, Thomas Nemeth a écrit : D'après Charles Plessy [EMAIL PROTECTED] : chouca〔~〕$ mount -t smbfs //GENOME/ASCOT/Transient /mnt/ sudo smbmount '\\SERVEUR\PARTAGE' ./point-de-montage -o \ username=thomas,password=toto chouca〔~〕$ smbmount '\\GENOME\ASCOT\Transient' Samba/ -o username=plessy cli_negprot: SMB signing is mandatory and we have disabled it. 26078: protocol negotiation failed SMB connection failed Hum. Et avec sudo ? Pas de mot de passe ? J'utilise la commande que je t'ai passée tous les jours, pouvant ainsi accéder aux partages du serveur de ma boite (comme ça je peux continuer à bosser sous Nunux tranquille). Je rajoute juste uid=thomas,gid=thomas histoire de pouvoir faire des modifs sur les montages, mais ça ne change rien au principe. J'ai lu que smbfs était déprécié au profit de cifs, mais je n'ai pas trouvé de commande cifsmount... Effectivement cifs est une réimplémentation de smbfs. Ceci dit je n'ai pas connaissance d'une autre commande : il semblerait (à confirmer par de la recherche documentaire) que cela ne change qu'au niveau du noyau (ce sont 2 drivers différents). Bonne journée, De même. Thomas.
Re: Accéder aux partage Windows en ligne de commande avec smbmount ou mount -t cifs.
Le mercredi 03 octobre 2007 à 09:43 +0200, Thomas Nemeth a écrit : D'après Charles Plessy [EMAIL PROTECTED] : J'ai lu que smbfs était déprécié au profit de cifs, mais je n'ai pas trouvé de commande cifsmount... Effectivement cifs est une réimplémentation de smbfs. Ceci dit je n'ai pas connaissance d'une autre commande : il semblerait (à confirmer par de la recherche documentaire) que cela ne change qu'au niveau du noyau (ce sont 2 drivers différents). Il existe mount.smb, mount.smbfs, et mount.cifs (sur ma Lenny en tout cas). Ceci dit, et sauf erreur, la commande mount suffit et invoke le bon pilote en forçant le paramètre -t. -- David. -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Accéder aux partage Windows en ligne de commande avec smbmount ou mount -t cifs.
Charles Plessy a écrit : Le Tue, Oct 02, 2007 at 10:39:59AM +0200, Thomas Nemeth a écrit : D'après Charles Plessy [EMAIL PROTECTED] : chouca〔~〕$ mount -t smbfs //GENOME/ASCOT/Transient /mnt/ sudo smbmount '\\SERVEUR\PARTAGE' ./point-de-montage -o \ username=thomas,password=toto chouca〔~〕$ smbmount '\\GENOME\ASCOT\Transient' Samba/ -o username=plessy cli_negprot: SMB signing is mandatory and we have disabled it. 26078: protocol negotiation failed SMB connection failed J'ai lu que smbfs était déprécié au profit de cifs, mais je n'ai pas trouvé de commande cifsmount... Bonne journée, sur ma fedora aussi j'ai un mount.cifs. Cifs c'est l'evolution de smb, sans la couche netbios. CIFS utilise le port 445 (au lieu des port 137,138 et 139). cifs et smb peuvent fonctionner tres bien simultanément et ca depuis pas mal d'année sur linux ou windows, mais chez un client j'ai eu une mise à jour de windows 2003 qui à désactiver smb, donc obliger de mettre à jour les linux pour passer à cifs. un p'ti article sympa (il ne cite pas cifs, mais ca explique l'evolution) : http://ntsecurity.nu/papers/port445/ et cela semble lié à ton erreur : http://www.openfree.org/forums/showthread.php?t=215 par hasard tu n'essayerai pas de te connecter sur un 2003 serveur ? ;-) Pierre -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Accéder aux partage W indow s en ligne de commande avec smbmount ou mount -t cifs.
Le Tue, Oct 02, 2007 at 10:39:59AM +0200, Thomas Nemeth a écrit : D'après Charles Plessy [EMAIL PROTECTED] : chouca〔~〕$ mount -t smbfs //GENOME/ASCOT/Transient /mnt/ sudo smbmount '\\SERVEUR\PARTAGE' ./point-de-montage -o \ username=thomas,password=toto chouca〔~〕$ smbmount '\\GENOME\ASCOT\Transient' Samba/ -o username=plessy cli_negprot: SMB signing is mandatory and we have disabled it. 26078: protocol negotiation failed SMB connection failed J'ai lu que smbfs était déprécié au profit de cifs, mais je n'ai pas trouvé de commande cifsmount... Bonne journée, -- Charles Plessy http://charles.plessy.org Wako, Saitama, Japan -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
El jue, 12-07-2007 a las 16:37 +0300, tejas escribió: [...] echo unmounting shares... sudo /home/tejas/Desktop/ayir # unmount script [...] and ayir: (unmount script) #! /bin/bash SHA=masaustu firefox thunderbird Downloads if [ `whoami` != root ]; then echo you must be root; exit; fi for i in $SHA; do sudo umount -l /home/tejas/Desktop/$i Just a silly correction: the script only gets to this point if it's running as root, therefore the 'sudo' here is not necessary. sleep 5 done [...] -- Gabriel Parrondo GNU/Linux User #404138 GnuPG Public Key ID: BED7BF43 JID: [EMAIL PROTECTED] The only difference between theory and practice is that, in theory, there's no difference between theory and practice. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabriel Parrondo yazmış: El jue, 12-07-2007 a las 16:37 +0300, tejas escribió: [...] echo unmounting shares... sudo /home/tejas/Desktop/ayir # unmount script [...] and ayir: (unmount script) #! /bin/bash SHA=masaustu firefox thunderbird Downloads if [ `whoami` != root ]; then echo you must be root; exit; fi for i in $SHA; do sudo umount -l /home/tejas/Desktop/$i Just a silly correction: the script only gets to this point if it's running as root, therefore the 'sudo' here is not necessary. sleep 5 done [...] Oh, thanks for the correction. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRpdBnHCg+7fCe3L1AQLEzQgAsjQhE4PoERykPpne+nFztYik/i8l+kju O66M1S2yNrk3b6vjwlUeZBxcenj6WFsuJRYKPZmQxYNvecZgEV9O2sLSse7yHWjg nk2JbL+f8Rm9icahh6w7UpdQIn8jJgkMAj1SVoKyZDxi6T04UiXeOfXuysDh/A85 qakLZ25r7PlXqOhSPuKTBlscnKFYJO6IMPkAVTnIGFIA3ghJQtWvzuhdi4r5WEGM dY6bCoH6HT1SZDniWf9wfG1dD9mbLgFJm3q9GYEx7mPxMbspxiUtY6dFwEuuJfp5 VhBouwjPuaA1nrE+LZ/SsqQDDPE20pGoOXvBM+Ue7nPHH+IVbDzQuw== =mXMM -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
On Jul 10, 2007, at 2:50 PM, Kent West wrote: [EMAIL PROTECTED]:/home/westk: sudo mount -t cifs -o user=westk // faculty/web mnt Password: --- for the sudo command Password: mount error 112 = Host is down Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) [EMAIL PROTECTED]:/home/westk: smbmount //faculty/web mnt -o username=westk Password: [EMAIL PROTECTED]:/home/westk: ls mnt Network Trash Folder public_html So this syntax doesn't work. From what I've seen elsewhere, I've come to the conclusion that mounting using a NETBIOS name is broken in cifs. Using an IP address or DNS name seems to work better. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
Kent West wrote: Andrew Sackville-West wrote: On Wed, Jul 11, 2007 at 09:04:29PM -0500, Kent West wrote: [a bunch of resolved cifs/smbfs stuff... ] And finally, the last issue remains: if mount normally must be run by root, how can I give non-root users access to mount shares without knowing before-hand what shares to pre-populate /etc/fstab with? It would be much easier just to continue using smbmount, but like I say, I'm trying to be a good, forward-going sort of guy rather than living in the fading past I;m jumping in here. What makes you think smbmount is going away? its still listed as a file in the sid versions of samba stuff. The man page, as in ... [EMAIL PROTECTED]:/home/westk: man smbmount snip DESCRIPTION smbmount mounts a Linux SMB filesystem. It is usually invoked as snip WARNING: smbmount is deprecated and not maintained any longer. mount.cifs (mount -t cifs) should be used instead of smbmount. maybe the solution to your problem is to go right around it and use automount (can you use that with samba? I think so) and just set up automounts for everything that could be mounted. I'm not really familiar with automount, but doesn't it require you to pre-define the available mounts (as your question indicates)? That would prevent Joe User 1 on his Windows box from sharing out a folder on Saturday evening so Jane User 2 on the Linux box could get to the pictures from the birthday party that day, unless the admin of the Linux box had already foreseen that Joe User 1 would be doing that, in which case I suspect the admin could be doing a lot better things with his prophetic gift than adminning a Linux box. But as mentioned, I don't really understand automount, so that might be an option for me to investigate. Thanks! I have had no problem mounting windows shares on my debian box. For one of mounts I use LinNeighborhood (like Win Xp Network Neighbourhood) which allows you to view and mount available shares on the network. It's basically a front end to smbmount. HTH Wackojacko -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
Wackojacko wrote: I have had no problem mounting windows shares on my debian box. For one of mounts I use LinNeighborhood (like Win Xp Network Neighbourhood) ^^ s/of/off :) KDE also has a quick browser menu for samba shares if you just want to view the contents. You can mount them this way also but you need to know the /path of the share. HTH Wackojacko -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kent West yazmış: So it appears there's something screwy about the cifs filesystem-type. So this issue remains. Another one of my issues was that smbmount all of a sudden (after my rebuild) started mounting the shares with the mount point being owned by root. With this working mount -t smbfs command, the addition of the uid= option takes care of that issue. And finally, the last issue remains: if mount normally must be run by root, how can I give non-root users access to mount shares without knowing before-hand what shares to pre-populate /etc/fstab with? It would be much easier just to continue using smbmount, but like I say, I'm trying to be a good, forward-going sort of guy rather than living in the fading past Thanks! Here is my scripts to sync laptop and desktop: sync-lapt-desk: #! /bin/sh echo enter the sudo pass: sudo /home/tejas/Desktop/bagla #mount script if [ $? != 0 ]; then echo couldn't mount; exit 1 ; fi echo syncing firefox... rsync -rv --delete /home/tejas/Desktop/firefox/ /your/firefox/profile/ echo example1 synced. echo unmounting shares... sudo /home/tejas/Desktop/ayir # unmount script bagla:(mount script) SHA=masaustu firefox thunderbird Downloads if [ `whoami` != root ]; then echo you must be root.; exit; fi for i in $SHA; do echo mounting $i... mount -t cifs -o iocharset=utf8,user=hede //192.168.2.2/$i /home/tejas/Desktop/$i sleep 3 if [ $? == 0 ]; then echo mounted $i.; fi done and ayir: (unmount script) #! /bin/bash SHA=masaustu firefox thunderbird Downloads if [ `whoami` != root ]; then echo you must be root; exit; fi for i in $SHA; do sudo umount -l /home/tejas/Desktop/$i sleep 5 done Notice here; this script mounts as a root, but sync as a normal user. And IIRC, this script works. (I tried it on Dapper and Etch.) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRpYulnCg+7fCe3L1AQLc6QgAo/28A/KXsG2UgcjKTbtapSatseB1syHE EGgCCGQa7gefs4yzX8yS1vqeZ6/aqXYJ25mi/vO9l6nzV2FTeYnz6hXHT8DfOGPz VC/fFMCNKB3jtjNL1m4v8JxGqtJztT30s6UoPhpArQzecXPbq63PQYFiTXnYYvy3 rmMsAU0Rczo1yE2+edygyP9FClxNegwOZ7SFb/yLT3ggAQHiu1TQA5FaPgY5DwKe huRlZoE5wBSJIf/xtS0lwxuNkl5HKueZNu4GFmXhcJgMSyWNs3WrjRAf57GzG1Y0 MA8bNSzP3uto1vNhRwR0/piHK9VHsXJeyYDe8r0FOWPEeTg70xm38Q== =zF2R -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 And, I forgot one point. I solve most of CIFS mount errors by chancing permissions of share. And try this also: Don't change permissions, but remove or disable share, and share it again. This maybe work. Mert -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRpYvinCg+7fCe3L1AQLF/wf9FXu/TjFItZY7D5BosIQOoU6ZFyI8YPPd dGrQmkULY65T/w33zL/2HvKOrM2w0QiqXcjPKvyHJdtkfjBvKQhWfL7SZ33R0fss bsLhhEUn2wQWbhnCqsamqIu2EUlGcPFXrJmQADqxsgT472P+evD1rApYP0jFDwWh 5G9gGYXeQvMCvUPm/RavOOtgwfNOjekfgLUm5gMYbTudQydyh0nN5HyPllCwXAqp inlWWwpCjklvKtRqOC7OFTlx6gD40kDGqDrqj6fzZiULV3kpy1vccTL/CI2GrXKb AIBfOjQM1nvhG/JFhOX4rAR1ZlJmu4ama+2QeP+bEHPjNGjATpVVPA== =IZkj -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
On Wed, Jul 11, 2007 at 11:35:51PM -0500, Kent West wrote: Andrew Sackville-West wrote: On Wed, Jul 11, 2007 at 09:04:29PM -0500, Kent West wrote: [a bunch of resolved cifs/smbfs stuff... ] And finally, the last issue remains: if mount normally must be run by root, how can I give non-root users access to mount shares without knowing before-hand what shares to pre-populate /etc/fstab with? It would be much easier just to continue using smbmount, but like I say, I'm trying to be a good, forward-going sort of guy rather than living in the fading past I;m jumping in here. What makes you think smbmount is going away? its still listed as a file in the sid versions of samba stuff. The man page, as in ... d'oh. (rtfm rtfm rtfm...) [...] maybe the solution to your problem is to go right around it and use automount (can you use that with samba? I think so) and just set up automounts for everything that could be mounted. I'm not really familiar with automount, but doesn't it require you to pre-define the available mounts (as your question indicates)? That would prevent Joe User 1 on his Windows box from sharing out a folder on Saturday evening so Jane User 2 on the Linux box could get to the pictures from the birthday party that day, unless the admin of the Linux box had already foreseen that Joe User 1 would be doing that, in which case I suspect the admin could be doing a lot better things with his prophetic gift than adminning a Linux box. yeah, okay. I like wackojacko's idea - LinNeighborhood. automount won't do it for you. A signature.asc Description: Digital signature
Re: Eeek?! smbmount is deprecated?!
tejas wrote: Kent West yazmış: tejas wrote: Kent West yazmış: 1. I've been unable to Google how to mount samba shares using the mount -t cifs method (lots of info on using the smbmount method). So what is the exact syntax equivalent, please, to smbmount //server/share /mntpoint -o credentials=LocationOfSecretsFile [EMAIL PROTECTED]:/home/westk: sudo mount -t cifs -o user=westk //faculty/web mnt Password: --- for the sudo command Password: mount error 112 = Host is down Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) [EMAIL PROTECTED]:/home/westk: smbmount //faculty/web mnt -o username=westk Password: [EMAIL PROTECTED]:/home/westk: ls mnt Network Trash Folder public_html So this syntax doesn't work. Also, this syntax still doesn't specify a secrets file so I can move the password out of the command itself. I just found the man mount.cifs which addresses my question about the credentials file, so that issue can be set aside now. This isn't about syntax. Something else must be wrong. I have a scripts to sync my laptop and my desktop. Script's mount part is like this: mount -t cifs -o iocharset=utf8,user=hede //192.168.2.2/$i /home/hede/Desktop/$i Maybe you should try using absolute path for mount point. I tried that, and it still failed. I tried using the IP address rather than name for the server, and it still failed. And, about CIFS, I had experienced some strange issues with it. (not too strange ;) For example, when share's permissions is not convenient (am I using right word!), CIFS refuse to mount and give some strange errors, but smbfs mounts nicely, but you cannot acces files inside share. Ah, yes; using the smbfs filesystem-type rather than cifs works, as below: Wed Jul 11 20:52:10 - [EMAIL PROTECTED]:/home/westk: ls mnt Wed Jul 11 20:52:14 - [EMAIL PROTECTED]:/home/westk: sudo mount -t cifs //faculty/web mnt -o username=westk Password: mount error 112 = Host is down Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) Wed Jul 11 20:52:22 - [EMAIL PROTECTED]:/home/westk: sudo mount -t smbfs //faculty/web mnt -o username=westk,uid=weskt Password: Wed Jul 11 20:52:29 - [EMAIL PROTECTED]:/home/westk: ls mnt Network Trash Folder public_html Wed Jul 11 20:52:30 - [EMAIL PROTECTED]:/home/westk: So it appears there's something screwy about the cifs filesystem-type. So this issue remains. Another one of my issues was that smbmount all of a sudden (after my rebuild) started mounting the shares with the mount point being owned by root. With this working mount -t smbfs command, the addition of the uid= option takes care of that issue. And finally, the last issue remains: if mount normally must be run by root, how can I give non-root users access to mount shares without knowing before-hand what shares to pre-populate /etc/fstab with? It would be much easier just to continue using smbmount, but like I say, I'm trying to be a good, forward-going sort of guy rather than living in the fading past Thanks! -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
On Wed, Jul 11, 2007 at 09:04:29PM -0500, Kent West wrote: [a bunch of resolved cifs/smbfs stuff... ] And finally, the last issue remains: if mount normally must be run by root, how can I give non-root users access to mount shares without knowing before-hand what shares to pre-populate /etc/fstab with? It would be much easier just to continue using smbmount, but like I say, I'm trying to be a good, forward-going sort of guy rather than living in the fading past I;m jumping in here. What makes you think smbmount is going away? its still listed as a file in the sid versions of samba stuff. maybe the solution to your problem is to go right around it and use automount (can you use that with samba? I think so) and just set up automounts for everything that could be mounted. just a thought. A signature.asc Description: Digital signature
Re: Eeek?! smbmount is deprecated?!
Andrew Sackville-West wrote: On Wed, Jul 11, 2007 at 09:04:29PM -0500, Kent West wrote: [a bunch of resolved cifs/smbfs stuff... ] And finally, the last issue remains: if mount normally must be run by root, how can I give non-root users access to mount shares without knowing before-hand what shares to pre-populate /etc/fstab with? It would be much easier just to continue using smbmount, but like I say, I'm trying to be a good, forward-going sort of guy rather than living in the fading past I;m jumping in here. What makes you think smbmount is going away? its still listed as a file in the sid versions of samba stuff. The man page, as in ... [EMAIL PROTECTED]:/home/westk: man smbmount snip DESCRIPTION smbmount mounts a Linux SMB filesystem. It is usually invoked as snip WARNING: smbmount is deprecated and not maintained any longer. mount.cifs (mount -t cifs) should be used instead of smbmount. maybe the solution to your problem is to go right around it and use automount (can you use that with samba? I think so) and just set up automounts for everything that could be mounted. I'm not really familiar with automount, but doesn't it require you to pre-define the available mounts (as your question indicates)? That would prevent Joe User 1 on his Windows box from sharing out a folder on Saturday evening so Jane User 2 on the Linux box could get to the pictures from the birthday party that day, unless the admin of the Linux box had already foreseen that Joe User 1 would be doing that, in which case I suspect the admin could be doing a lot better things with his prophetic gift than adminning a Linux box. But as mentioned, I don't really understand automount, so that might be an option for me to investigate. Thanks! -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Eeek?! smbmount is deprecated?!
(Warning: Lots of possibly irrelevant details follow.) On a recently-rebuilt box, mostly running Lenny, I've just discovered that if I smbmount a network share from a Windows box the mount point becomes owned by root.root and my normal user does not have write access. (A Windows box can still map the share as a drive as this user and have write access.) Before the rebuild, the normal user was able to write (and presumably owned the mount point, although I can't prove it at this point). (The rebuild became necessary because I was running unstable, and after a dist-upgrade one day X totally hosed (using mismatched video adapters for a dual-monitor setup) and the more I tinkered the worse the problem became, so I just finally gave up and rebuilt to Etch. I've since dabbled in Lenny, and just today lost my dual-monitor setup again. Yikes! Some sort of change in X.org comin' down the pike, I reckon. But I digress ..., er, ramble ) Also within the past couple of months we've run into a Samba-related problem campus-wide with half of our Linux-based backup servers not being able to authenticate off our Windows-based Active Directory setup, so we've speculated that Microsoft pushed some update down to our Windows servers that broke our older Linux backup servers Samba capability; the newer half of or Linux servers must have a new enough Samba to handle the break. So when I noticed that my workstation is having this Samba issue, I immediately suspected that it's related to the Windows update that we suspect broke half our backup servers. So I started reading the man page for smbmount to see if I could find any clues, and I noticed that smbmount is now deprecated in favor of using mount -t cifs. So being the progressive sort of guy that I am, I decided to drop smbmount in favor of the cifs option to mount, but I've run into a problem. 1. I've been unable to Google how to mount samba shares using the mount -t cifs method (lots of info on using the smbmount method). So what is the exact syntax equivalent, please, to smbmount //server/share /mntpoint -o credentials=LocationOfSecretsFile 2. smbmount could be run as a non-root user, allowing the non-root user to mount shares on an as-needed basis. The mount command, on the other hand, requires root access, unless the share is pre-defined in /etc/fstab. Am I just going to have to live with this limitation of having to pre-define shares in order for non-root users to mount them, or is there a work-around? 3. Not really a problem, but it took me a while to figure this out, so I'll go ahead and document it here for the benefit of others: SMB (Server Message Block) is the protocol for remote file access; CIFS is the newer, better incarnation of SMB; and Samba is the name of the various utilities that work with the SMB/CIFS protocol. Thanks for any enlightenment anyone can add! -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kent West yazmış: (Warning: Lots of possibly irrelevant details follow.) On a recently-rebuilt box, mostly running Lenny, I've just discovered that if I smbmount a network share from a Windows box the mount point becomes owned by root.root and my normal user does not have write access. (A Windows box can still map the share as a drive as this user and have write access.) Before the rebuild, the normal user was able to write (and presumably owned the mount point, although I can't prove it at this point). (The rebuild became necessary because I was running unstable, and after a dist-upgrade one day X totally hosed (using mismatched video adapters for a dual-monitor setup) and the more I tinkered the worse the problem became, so I just finally gave up and rebuilt to Etch. I've since dabbled in Lenny, and just today lost my dual-monitor setup again. Yikes! Some sort of change in X.org comin' down the pike, I reckon. But I digress ..., er, ramble ) Also within the past couple of months we've run into a Samba-related problem campus-wide with half of our Linux-based backup servers not being able to authenticate off our Windows-based Active Directory setup, so we've speculated that Microsoft pushed some update down to our Windows servers that broke our older Linux backup servers Samba capability; the newer half of or Linux servers must have a new enough Samba to handle the break. So when I noticed that my workstation is having this Samba issue, I immediately suspected that it's related to the Windows update that we suspect broke half our backup servers. So I started reading the man page for smbmount to see if I could find any clues, and I noticed that smbmount is now deprecated in favor of using mount -t cifs. So being the progressive sort of guy that I am, I decided to drop smbmount in favor of the cifs option to mount, but I've run into a problem. 1. I've been unable to Google how to mount samba shares using the mount -t cifs method (lots of info on using the smbmount method). So what is the exact syntax equivalent, please, to smbmount //server/share /mntpoint -o credentials=LocationOfSecretsFile mount -t cifs -o user=something,password=something //server/share /mount/point 2. smbmount could be run as a non-root user, allowing the non-root user to mount shares on an as-needed basis. The mount command, on the other hand, requires root access, unless the share is pre-defined in /etc/fstab. Am I just going to have to live with this limitation of having to pre-define shares in order for non-root users to mount them, or is there a work-around? If I'm not wrong, I have mounted some shares as root and rsync them as normal user a week ago. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRpP5Z3Cg+7fCe3L1AQLfNwf8CBGft0T8/fanV+oBrBMYPF8BYyXWFLJQ WAFfY17rQKpuz46KPWmWDf/YaFhddg8uYpIFL9cCP6B7vQF8+K11fuIqOWuKKMTX ZDsVS0WbBN6FD2FE7YrcAljlKsJIopiOIP7TFq+su4sWhxC5XMSZFNHy9HIst3kX KUJ+jOlQDwcewzOjN9BbmrVWmgtJdqlAfQ7MFUVi/dJBDa31L30g3RBRfAWu5RlU 2xionH1S99wquQddrPjgEw6l4+fG97NXp1rJw6bd4JycLwi2aE5G5zwq9HNPNc8I 2Ux8Dp4D6XHlU5NyWWkUBDaBqUO3IHjgetwM7HJpNAjEDik+T0bSVQ== =IJ54 -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
tejas wrote: Kent West yazmış: 1. I've been unable to Google how to mount samba shares using the mount -t cifs method (lots of info on using the smbmount method). So what is the exact syntax equivalent, please, to smbmount //server/share /mntpoint -o credentials=LocationOfSecretsFile mount -t cifs -o user=something,password=something //server/share /mount/point [EMAIL PROTECTED]:/home/westk: sudo mount -t cifs -o user=westk //faculty/web mnt Password: --- for the sudo command Password: mount error 112 = Host is down Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) [EMAIL PROTECTED]:/home/westk: smbmount //faculty/web mnt -o username=westk Password: [EMAIL PROTECTED]:/home/westk: ls mnt Network Trash Folder public_html So this syntax doesn't work. Also, this syntax still doesn't specify a secrets file so I can move the password out of the command itself. Thanks for the suggestion, though! -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Eeek?! smbmount is deprecated?!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kent West yazmış: tejas wrote: Kent West yazmış: 1. I've been unable to Google how to mount samba shares using the mount -t cifs method (lots of info on using the smbmount method). So what is the exact syntax equivalent, please, to smbmount //server/share /mntpoint -o credentials=LocationOfSecretsFile mount -t cifs -o user=something,password=something //server/share /mount/point [EMAIL PROTECTED]:/home/westk: sudo mount -t cifs -o user=westk //faculty/web mnt Password: --- for the sudo command Password: mount error 112 = Host is down Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) [EMAIL PROTECTED]:/home/westk: smbmount //faculty/web mnt -o username=westk Password: [EMAIL PROTECTED]:/home/westk: ls mnt Network Trash Folder public_html So this syntax doesn't work. Also, this syntax still doesn't specify a secrets file so I can move the password out of the command itself. Thanks for the suggestion, though! This isn't about syntax. Something else must be wrong. I have a scripts to sync my laptop and my desktop. Script's mount part is like this: mount -t cifs -o iocharset=utf8,user=hede //192.168.2.2/$i /home/hede/Desktop/$i Maybe you should try using absolute path for mount point. And, about CIFS, I had experienced some strange issues with it. (not too strange ;) For example, when share's permissions is not convenient (am I using right word!), CIFS refuse to mount and give some strange errors, but smbfs mounts nicely, but you cannot acces files inside share. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRpQGGXCg+7fCe3L1AQJenwgAsOiVlr5UdKxRXw/TZVW9vV3tvcVUhRXE k3Oa7rkS5jnYusVpT6TZb4QxMYnF93clLlc+/fItEE0GuYoa0OEiesv7mRR0Rmfh OeNbwHXDDxcYg5MIufR/ZNoyHtUKUbDIdplcaupXfBOrnhbRiraktHTeqqeQqWJd AtwEzm1gFy7OCJ/chBBNwdWp3iBuMDJ3FLnz/3/RLG9We3IBqQg/bDl0gSgaZ7QQ NjCB/T8A43NWCh3fzebq9LXbVwPID/WM3kOrrSrvVjXmUy2b75TzmcvZFnomsFD4 Fb8aZ0kQpqvFT3PekCUIszhdbkfpQtEinjZwOx1iWEdpFgvJwN8trg== =bAKH -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Smbmount + Caractéres ilegíveis
Boa tarde pessoal!!! Estou com um chato e incômodo problema. Estou mapendo o meu servidor de arquivos SAMBA pela minha estação linux(ubuntu 7.04) e os caractéres com acentos estão todos loucos, já tentei executar o comando smbmount com os parâmetros: codepage=cp850, iocharset=8859-1 e isto sem contar que no sbm.conf na configuraçao global declarei client code page = 850, e mesmo assim os acentos não ficam direito. O que mais devo fazer? Gustavo -- _ Gerente de TI IDT / UFRJ Tels: 2562-2887/2833
Modification des permissions avec smbmount
Bonjour, je suis en train d'expérimenter les ACL posix, et je m'aperçoit qu'il m'est impossible de modifier quelque droit que ce soit (y-compris les acl classiques u,g,o) sur un montage smbmount. J'ai mis le nez dans les howto de samba-doc, mais rien n'y fait :) Je suis toujours en Sarge. version de samba: 3.0.14a-3sarge4 l'utilisateur tom est bien propriétaire des fichiers et répertoires montés. ls -ld /media/disqueb1/tom/toto/ drwxr-xr-x 3 tom tom 4096 2007-04-29 12:58 /media/disqueb1/tom/toto/ suit le fichier de conf... -- Thomas Harding # # Sample configuration file for the Samba suite for Debian GNU/Linux. # # # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options most of which # are not shown in this example # # Any line which starts with a ; (semi-colon) or a # (hash) # is a comment and is ignored. In this example we will use a # # for commentary and a ; for parts of the config file that you # may wish to enable # # NOTE: Whenever you modify this file you should run the command # testparm to check that you have not many any basic syntactic # errors. # #=== Global Settings === [global] ## Browsing/Identification ### # Change this to the workgroup/NT-domain name your Samba server will part of workgroup = harding netbios name = geekette # server string is the equivalent of the NT Description field server string = %h server (Samba %v) # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable its WINS Server ; wins support = no wins support = yes # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # This will prevent nmbd to search for NetBIOS names through DNS. dns proxy = no # What naming service and in what order should we use to resolve host names # to IP addresses name resolve order = lmhosts host wins bcast Debugging/Accounting # This tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in Kb). max log size = 1000 # If you want Samba to only log through syslog then set the following # parameter to 'yes'. ; syslog only = no syslog only = yes # We want Samba to log a minimum amount of information to syslog. Everything # should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log # through syslog you should set the following parameter to something higher. ; syslog = 0 syslog = 2 # Do something sensible when Samba crashes: mail the admin a backtrace panic action = /usr/share/samba/panic-action %d ### Authentication ### # security = user is always a good idea. This will require a Unix account # in this server for every user accessing the server. See # /usr/share/doc/samba-doc/htmldocs/ServerType.html in the samba-doc # package for details. ; security = user security = user # You may wish to use password encryption. See the section on # 'encrypt passwords' in the smb.conf(5) manpage before enabling. encrypt passwords = true # If you are using encrypted passwords, Samba will need to know what # password database type you are using. passdb backend = tdbsam guest obey pam restrictions = yes ; guest account = nobody invalid users = root # This boolean parameter controls whether Samba attempts to sync the Unix # password with the SMB password when the encrypted SMB password in the # passdb is changed. ; unix password sync = no # For Unix password sync to work on a Debian GNU/Linux system, the following # parameters must be set (thanks to Augustin Luton [EMAIL PROTECTED] for # sending the correct chat script for the passwd program in Debian Potato). passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . # This boolean controls whether PAM will be used for password changes # when requested by an SMB client instead of the program listed in # 'passwd program'. The default is 'no'. ; pam password change = no ## Printing ## # If you want to automatically load your printer list rather # than setting them up individually then you'll need this ; load printers = yes load printers = yes # lpr(ng) printing. You may wish to override the location of the # printcap file ; printing = bsd ; printcap name = /etc/printcap # CUPS printing. See also the cupsaddsmb(8) manpage in the # cupsys-client package. ; printing = cups ; printcap name = cups printing = cups printcap name = cups # When using [print$], root is implicitly a 'printer admin', but you can # also give this right to other users to add drivers and set printer # properties ; printer
gnome - mount/smbmount
Hallo Wie ich sehe darf ich als user ja smbmount ausführen :-) Frage: Wie automatisiere ich das? Wie kann ich Smb-Freigaben vom Server mounten wenn ich mich unter Gnome anmelde? Ich hörte etwas von einem autostart unter gnome, kann jedoch nichts finden um ggf ein mount-script dort zu hinterlegen. Gruß Florian -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: gnome - mount/smbmount
On Wed, Oct 11, 2006 at 12:39:32PM +0200, Florian (flobee) wrote: Wie ich sehe darf ich als user ja smbmount ausführen :-) Frage: Wie automatisiere ich das? aptitude install libpam-mount less /usr/share/doc/libpam-mount/* -- Nicht Absicht unterstellen, wenn auch Dummheit ausreicht! pgphSPpusgwpe.pgp Description: PGP signature
Onde foi parar o smbmount?!
alguém sabe-- Cordialmente,Carlos Júnior [EMAIL PROTECTED](31) 9244-6543
Re: Onde foi parar o smbmount?!
Em Qui, 2006-08-17 às 13:00 -0300, Carlos Júnior ..::.. Boa Noite BH escreveu: alguém sabe jah tentou usar simplesmente o mount? -- Cordialmente, Carlos Júnior [EMAIL PROTECTED] (31) 9244-6543 -- Franz Gustav Niederheitmann GNU/Linux user #301744 http://blog.franzn.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Onde foi parar o smbmount?!
não funfa, mais descobrio pacote é o smbfs :Dvaleu! On 8/17/06, Franz Gustav Niederheitmann [EMAIL PROTECTED] wrote:Em Qui, 2006-08-17 às 13:00 -0300, Carlos Júnior ..::.. Boa Noite BH escreveu: alguém sabejah tentou usar simplesmente o mount? -- Cordialmente, Carlos Júnior [EMAIL PROTECTED] (31) 9244-6543--Franz Gustav NiederheitmannGNU/Linux user #301744http://blog.franzn.org-- Cordialmente, Carlos Júnior [EMAIL PROTECTED](31) 9244-6543
Re: Onde foi parar o smbmount?!
Funfa sim; mount -t smbfs //nome_netbios_da_maquina/compartilhamento /ponto_de_montagem e se omitir o tipo de sistema de arquivos (-t smbfs), o mount descobre. sugesto: use o smbtree para listar as mquinas e seus respectivos compartilhamentos Carlos Jnior ..::.. Boa Noite BH escreveu: no funfa, mais descobri o pacote o smbfs :D valeu! On 8/17/06, Franz Gustav Niederheitmann [EMAIL PROTECTED] wrote: Em Qui, 2006-08-17 s 13:00 -0300, Carlos Jnior ..::.. Boa Noite BH escreveu: algum sabe jah tentou usar simplesmente o mount? -- Cordialmente, Carlos Jnior [EMAIL PROTECTED] (31) 9244-6543 -- Franz Gustav Niederheitmann GNU/Linux user #301744 http://blog.franzn.org -- Cordialmente, Carlos Jnior [EMAIL PROTECTED] (31) 9244-6543
Re: Mountar unidade no debian com smbmount???
Aewsmbmount eh um alias para:mount -t smbfsportanto:mount -t smbfs /maquina/diretorio /diretorio eh o mesmo quesmbmount /maquina/diretorio /diretoriotem um pacote, smb algo que instala esse alias... se nao o encontrar cria ele! Vai no /etc/profile e adiciona:alias smbmount=mount -t smbfsFalow2006/7/15, Rafael Tomelin [EMAIL PROTECTED]:Sim, ... instalei o smbfs e o smbclient. O smbclient já está funcionando, mas o smbmount ainda ñ. O que pode ser?Em 15/07/06, julio henrique [EMAIL PROTECTED] escreveu: você instalou o pacote smbfs ? ? ?[ ]s, Henry--- Rafael Tomelin [EMAIL PROTECTED] escreveu: Olá galera, Jaá instalei o samba e configurei. Só que agora tento mountar uma unidade q está no ruindows mas não está dando certo: comandos: web:~# smbmount -bash: smbmount: command not found web:~# smbclient -bash: smbclient: command not found O que pode estar errado?porque estes 2 comandos ñ estão disponiveis?___ Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! http://br.mobile.yahoo.com/mailalertas/-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Atenciosamente,Madison Delano Tobal da Paz--Habilidades Profissionais:WebDesignerAdministrador de redes Configuração de Sistemas Debian para Desktop/ServidorCoordenador de plano de migração para software livreProgramador em DelphiProgramador em LazarusModelagem e animação de vídeo em blender 3dDesigner para criação de logotipos Acessor de qualidade em gestãoEditor de folders em CorelDrawEdição de imagens em Corel PhotoPaintContatos:E-mail: [EMAIL PROTECTED]ICQ: 1992397 MSN: [EMAIL PROTECTED]Home Page: http://www.radioatomic.com.br
Mountar unidade no debian com smbmount???
Olá galera,Jaá instalei o samba e configurei. Só que agora tento mountar uma unidade q está no ruindows mas não está dando certo:comandos:web:~# smbmount-bash: smbmount: command not found web:~# smbclient-bash: smbclient: command not foundO que pode estar errado? porque estes 2 comandos ñ estão disponiveis?
Re: Mountar unidade no debian com smbmount???
você instalou o pacote smbfs ? ? ? [ ]s, Henry --- Rafael Tomelin [EMAIL PROTECTED] escreveu: Olá galera, Jaá instalei o samba e configurei. Só que agora tento mountar uma unidade q está no ruindows mas não está dando certo: comandos: web:~# smbmount -bash: smbmount: command not found web:~# smbclient -bash: smbclient: command not found O que pode estar errado? porque estes 2 comandos ñ estão disponiveis? ___ Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora! http://br.mobile.yahoo.com/mailalertas/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Mountar unidade no debian com smbmount???
Sim, ... instalei o smbfs e o smbclient. O smbclient já está funcionando, mas o smbmount ainda ñ. O que pode ser?Em 15/07/06, julio henrique [EMAIL PROTECTED] escreveu: você instalou o pacote smbfs ? ? ?[ ]s, Henry--- Rafael Tomelin [EMAIL PROTECTED]escreveu: Olá galera, Jaá instalei o samba e configurei. Só que agora tento mountar uma unidade q está no ruindows mas não está dando certo: comandos: web:~# smbmount -bash: smbmount: command not found web:~# smbclient -bash: smbclient: command not found O que pode estar errado?porque estes 2 comandos ñ estão disponiveis?___ Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!http://br.mobile.yahoo.com/mailalertas/-- To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: unterschiedliche mtime nach cp -a file /mnt/SMBMOUNT/
Am Freitag 19 Mai 2006 00:49 schrieb Daniel Musketa: wie kommt es zu dem Zeitunterschied von einer Sekunde bei a- und mtime? Bin ich blind? ich sehe hier Unterschiede von 4h 11m 17s und 7s nichts von 1s zu sehen. Ich würde sagen das liegt daran, das die Datei kurz nach der Änderung nochmal angefasst worden ist. Gruß Chris -- A: because it distrupts the normal process of thought Q: why is top posting frowned upon
Re: unterschiedliche mtime nach cp -a file /mnt/SMBMOUNT/
Am Freitag, 19. Mai 2006 09:23 schrieb Christian Frommeyer: Am Freitag 19 Mai 2006 00:49 schrieb Daniel Musketa: wie kommt es zu dem Zeitunterschied von einer Sekunde bei a- und mtime? Bin ich blind? ich sehe hier Unterschiede von 4h 11m 17s und 7s nichts von 1s zu sehen. Die Originaldatei: File: ,,testfile Modify: 2006-05-12 17:42:59.000 Die Kopie: File: ,,/mnt/SMBMOUNT/testfile Modify: 2006-05-12 17:42:58.000 Der Kopiervorgang war später (2006-05-12 21:54:15), was ctime der neuen Datei zeigt: File: ,,/mnt/SMBMOUNT/testfile Change: 2006-05-12 21:54:15.103 Die Originaldatei wurde also *nicht* eine Sekunde nach dem Kopiervorgang nochmal angefaßt ...
Re: unterschiedliche mtime nach cp -a file /mnt/SMBMOUNT/
Am Freitag, 19. Mai 2006 10:32 schrieben Sie: Am 19.05.06 schrieb Daniel Musketa [EMAIL PROTECTED]: Die Originaldatei: File: ,,testfile Modify: 2006-05-12 17:42:59.000 Die Kopie: File: ,,/mnt/SMBMOUNT/testfile Modify: 2006-05-12 17:42:58.000 Der Kopiervorgang war später (2006-05-12 21:54:15), was ctime der neuen Datei zeigt: File: ,,/mnt/SMBMOUNT/testfile Change: 2006-05-12 21:54:15.103 Die Originaldatei wurde also *nicht* eine Sekunde nach dem Kopiervorgang nochmal angefaßt ... Tritt das auch auf wenn Du auf eine lokale, nicht über SMB gmountete Zielpartition kopierst? Nein, nur bei smbmount. Gegenstelle ist ein Windows 2000 prof. mit NTFS. Die mount-Optionen sind -t smbfs -o username=dm,password=xxx,ip=xx.xx.xx.xx,codepage=cp850,\ ttl=15000,iocharset=iso8859-15,fmask=0777 TTL vielleicht?
Re: unterschiedliche mtime nach cp -a file /mnt/SMBMOUNT/
Daniel Musketa wrote: Am Freitag, 19. Mai 2006 09:23 schrieb Christian Frommeyer: Am Freitag 19 Mai 2006 00:49 schrieb Daniel Musketa: wie kommt es zu dem Zeitunterschied von einer Sekunde bei a- und mtime? Bin ich blind? ich sehe hier Unterschiede von 4h 11m 17s und 7s nichts von 1s zu sehen. Die Originaldatei: File: ,,testfile Modify: 2006-05-12 17:42:59.000 Die Kopie: File: ,,/mnt/SMBMOUNT/testfile Modify: 2006-05-12 17:42:58.000 Der Kopiervorgang war später (2006-05-12 21:54:15), was ctime der neuen Datei zeigt: File: ,,/mnt/SMBMOUNT/testfile Change: 2006-05-12 21:54:15.103 Die Originaldatei wurde also *nicht* eine Sekunde nach dem Kopiervorgang nochmal angefaßt ... SMBMOUNT ist eine Windowsfreigabe? Wenn du auf dem Server mit Samba arbeitest schau dir mal den Parameter 'dos filetime resolution' an. Falls nicht, kann DOS (FAT) IIRC nur in 2sek. Auflösung dir Zeit speichern... HTH und Gruß, Michel -- Espy I invoke Espy's law, which states that you all suck :P -- Haeufig gestellte Fragen und Antworten (FAQ): http://www.de.debian.org/debian-user-german-FAQ/ Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED] mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)
Re: unterschiedliche mtime nach cp -a file /mnt/SMBMOUNT/
Am 19.05.06 schrieb Daniel Musketa [EMAIL PROTECTED]: Am Freitag, 19. Mai 2006 10:32 schrieb Dirk Ullrich: Tritt das auch auf wenn Du auf eine lokale, nicht über SMB gmountete Zielpartition kopierst? Nein, nur bei smbmount. Gegenstelle ist ein Windows 2000 prof. mit NTFS. Die mount-Optionen sind -t smbfs -o username=dm,password=xxx,ip=xx.xx.xx.xx,codepage=cp850,\ ttl=15000,iocharset=iso8859-15,fmask=0777 TTL vielleicht? Leider bin ich nur Samba-Dummynutzer. (Ich versuche es so wenig wie möglich zu verwenden, und kenne mich auch kaum aus damit.) Ändert sich denn was, wenn Du den ttl-Wert modifizierst? Ansonsten würde ich mal versuchenrauszukriegen wie stat für einen SMB-Ordner zu seinen Infos kommt. (Vielleicht gibt ja strace schon brauchbare Hinweise.) Und wäre das ansomsten nicht eine Frage für eine Samba-Mailingliste? Dirk
Re: unterschiedliche mtime nach cp -a file /mnt/SMBMOUNT/
Am Freitag, 19. Mai 2006 10:50 schrieb Michelino Caroselli: Daniel Musketa wrote: Die Originaldatei: File: ,,testfile Modify: 2006-05-12 17:42:59.000 Die Kopie: File: ,,/mnt/SMBMOUNT/testfile Modify: 2006-05-12 17:42:58.000 Der Kopiervorgang war später (2006-05-12 21:54:15), was ctime der neuen Datei zeigt: File: ,,/mnt/SMBMOUNT/testfile Change: 2006-05-12 21:54:15.103 Die Originaldatei wurde also *nicht* eine Sekunde nach dem Kopiervorgang nochmal angefaßt ... SMBMOUNT ist eine Windowsfreigabe? Wenn du auf dem Server mit Samba arbeitest schau dir mal den Parameter 'dos filetime resolution' an. Falls nicht, kann DOS (FAT) IIRC nur in 2sek. Auflösung dir Zeit speichern... SMBMOUNT ist ein Windows 2000 prof. mit NTFS. Ich habe jetzt ein paar Tests gemacht: These: Windows/NTFS speichert nur gerade Sekunden - Dateien, die ich auf dem Windows-Rechner selbst speichere, können auch ungerade Sekunden haben. - Also nein. These: Das SMB-Protokoll sieht nur gerade Sekunden vor - Ein stat testfile auf dem smb-Client zeigt auch die ungeraden Sekunden an (Auflösung Microsekunden). - Nein. These: Das SMB-Protokoll läßt beim Speichern nur gerade Sekunden zu - Beim Speichern von einem anderen Windows-2000-Client auf die SMB-Freigabe gehen auch ungerade Sekunden (Auflösung mind. 0,5 Microsekunden) - Nein. Aber: Beim Speichern einer Datei vom smb-Client (Debian), egal ob per cp oder touch werden immer nur volle, gerade Sekunden gespeichert. Was ist denn das nun wieder?
Re: unterschiedliche mtime nach cp -a file /mnt/SMBMOUNT/
Am Freitag, 19. Mai 2006 16:38 schrieb Daniel Musketa: Am Freitag, 19. Mai 2006 10:50 schrieb Michelino Caroselli: Daniel Musketa wrote: Die Originaldatei: File: ,,testfile Modify: 2006-05-12 17:42:59.000 Die Kopie: File: ,,/mnt/SMBMOUNT/testfile Modify: 2006-05-12 17:42:58.000 Der Kopiervorgang war später (2006-05-12 21:54:15), was ctime der neuen Datei zeigt: File: ,,/mnt/SMBMOUNT/testfile Change: 2006-05-12 21:54:15.103 Die Originaldatei wurde also *nicht* eine Sekunde nach dem Kopiervorgang nochmal angefaßt ... SMBMOUNT ist eine Windowsfreigabe? Wenn du auf dem Server mit Samba arbeitest schau dir mal den Parameter 'dos filetime resolution' an. Falls nicht, kann DOS (FAT) IIRC nur in 2sek. Auflösung dir Zeit speichern... SMBMOUNT ist ein Windows 2000 prof. mit NTFS. Ich habe jetzt ein paar Tests gemacht: These: Windows/NTFS speichert nur gerade Sekunden - Dateien, die ich auf dem Windows-Rechner selbst speichere, können auch ungerade Sekunden haben. - Also nein. These: Das SMB-Protokoll sieht nur gerade Sekunden vor - Ein stat testfile auf dem smb-Client zeigt auch die ungeraden Sekunden an (Auflösung Microsekunden). - Nein. These: Das SMB-Protokoll läßt beim Speichern nur gerade Sekunden zu - Beim Speichern von einem anderen Windows-2000-Client auf die SMB-Freigabe gehen auch ungerade Sekunden (Auflösung mind. 0,5 Microsekunden) - Nein. Aber: Beim Speichern einer Datei vom smb-Client (Debian), egal ob per cp oder touch werden immer nur volle, gerade Sekunden gespeichert. Was ist denn das nun wieder? riecht nach der Uralt Datumskodierung, die glaube ich Novell irgendwann mal eingeführt hat. Dabei wird ein komplettes Datum (Datum+Uhrzeit) in 32Bit gespeichert, dabei bleiben für die Sekunden nur 5 Bit (0-31) über, daher werden diese nur auf 2s genau gespeichert. Versuch doch mal anstatt via smbfs über cifs zu mounten und prüfe ob das Problem dann immernoch besteht. Vielleicht hat die smbfs Implementierung ja diese Einschränkung. Also mit mount -t cifs //... /.. -o... Mußt du allerdings iirc immer als root machen. -- Markus Schulz Wenn manche Leute verstanden hätten, wie Patente erteilt werden würden, als die meisten der heutigen Ideen erfunden wurden, und wenn sie sich dann Patente geholt hätten, wäre unsere Branche heute im kompletten Stillstand. Bill Gates (1991)
Re: unterschiedliche mtime nach cp -a file /mnt/SMBMOUNT/
Am Freitag, 19. Mai 2006 16:50 schrieb Markus Schulz: Am Freitag, 19. Mai 2006 16:38 schrieb Daniel Musketa: Am Freitag, 19. Mai 2006 10:50 schrieb Michelino Caroselli: Daniel Musketa wrote: Die Originaldatei: File: ,,testfile Modify: 2006-05-12 17:42:59.000 Die Kopie: File: ,,/mnt/SMBMOUNT/testfile Modify: 2006-05-12 17:42:58.000 Der Kopiervorgang war später (2006-05-12 21:54:15), was ctime der neuen Datei zeigt: File: ,,/mnt/SMBMOUNT/testfile Change: 2006-05-12 21:54:15.103 Die Originaldatei wurde also *nicht* eine Sekunde nach dem Kopiervorgang nochmal angefaßt ... SMBMOUNT ist eine Windowsfreigabe? Wenn du auf dem Server mit Samba arbeitest schau dir mal den Parameter 'dos filetime resolution' an. Falls nicht, kann DOS (FAT) IIRC nur in 2sek. Auflösung dir Zeit speichern... SMBMOUNT ist ein Windows 2000 prof. mit NTFS. Ich habe jetzt ein paar Tests gemacht: These: Windows/NTFS speichert nur gerade Sekunden - Dateien, die ich auf dem Windows-Rechner selbst speichere, können auch ungerade Sekunden haben. - Also nein. These: Das SMB-Protokoll sieht nur gerade Sekunden vor - Ein stat testfile auf dem smb-Client zeigt auch die ungeraden Sekunden an (Auflösung Microsekunden). - Nein. These: Das SMB-Protokoll läßt beim Speichern nur gerade Sekunden zu - Beim Speichern von einem anderen Windows-2000-Client auf die SMB-Freigabe gehen auch ungerade Sekunden (Auflösung mind. 0,5 Microsekunden) - Nein. Aber: Beim Speichern einer Datei vom smb-Client (Debian), egal ob per cp oder touch werden immer nur volle, gerade Sekunden gespeichert. Was ist denn das nun wieder? riecht nach der Uralt Datumskodierung, die glaube ich Novell irgendwann mal eingeführt hat. Dabei wird ein komplettes Datum (Datum+Uhrzeit) in 32Bit gespeichert, dabei bleiben für die Sekunden nur 5 Bit (0-31) über, daher werden diese nur auf 2s genau gespeichert. Versuch doch mal anstatt via smbfs über cifs zu mounten und prüfe ob das Problem dann immernoch besteht. Vielleicht hat die smbfs Implementierung ja diese Einschränkung. Aah, wieder was gelernt. mit -t cifs funktioniert's. Danke.
unterschiedliche mtime nach cp -a file /mnt/SMBMOUNT/
Hallo, wie kommt es zu dem Zeitunterschied von einer Sekunde bei a- und mtime? # stat testfile File: ,,testfile Size: 25600 Blocks: 56 IO Block: 131072 reguläre Datei Device: 309h/777d Inode: 67455 Links: 1 Access: (0760/-rwxrw) Uid: ( 1003/ xy) Gid: ( 1002/xy) Access: 2006-05-12 21:54:09.818869290 +0200 Modify: 2006-05-12 17:42:59.0 +0200 Change: 2006-05-12 17:42:52.0 +0200 # cp -a !$ /mnt/SMBMOUNT/ cp -a testfile /mnt/SMBMOUNT/ cp: konnte den Eigentümer für ,,/mnt/SMBMOUNT/testfile nicht erhalten: Die Operation ist nicht erlaubt # stat !$testfile stat /mnt/SMBMOUNT/testfile File: ,,/mnt/SMBMOUNT/testfile Size: 25600 Blocks: 50 IO Block: 4096 reguläre Datei Device: 12h/18d Inode: 322530 Links: 1 Access: (0777/-rwxrwxrwx) Uid: (0/root) Gid: (0/root) Access: 2006-05-12 21:54:08.0 +0200 Modify: 2006-05-12 17:42:58.0 +0200 Change: 2006-05-12 21:54:15.103744000 +0200
Nom d'hôtes avec DHCP pour smbmount
Salut la liste ;) J'ai un serveur Debian stable qui sert principalement à la sauvegarde de fichiers depuis des postes W$. Tout ce passe très bien dans le sens W$ = Debian avec samba. Par contre je n'arrive pas à monter des partages W$avec smbmount depuis un shell du serveur :( . (Les partage du serveur fonctionnent) Trois postes : serveur Debian, dao WinMe et portable WinXP. Un modem/routeur DHCP 192.168.1.1, le réseau sous 192.168.1.1, le masque 255.255.255.0 nmblookup dao, serveur etportable fonctionne bien j'ai bien leur ip en réponse. 192.168.1.X Par contre smbclient -Lsur dao et portable ne fonctionne que sur le serveur sur les clients j'ai un message du genre : "smbclient -L portable Error connecting to 82.101.8.42 (Connection refused) Connection to portable failed" Cette IP n'a rien à voir avec mon réseau !!! C'est comme si l'IP du nom d'hôte des client W$ n'avait rien à voir. smbclient -L ip_client_WinWPmarche bien smbclient -L ip_client_WinMemarche pas session request to 192.168.1.4 failed (Called name not present) smbclient -L ip_serveur_Debian marche bien Dans la meme idée smbmount sur le WinXpavec le nom d'hote ne marche pas, mais avec l'IP pas de pbs. Par contre le WinMe ne veux rien savoir. Bref je nage et je coule... Si vous y comprenez qq chose, merci d'avance. @+ Sil Ce message Envoyé est certifié sans virus connu. Analyse effectuée par Anti-virus AVG. Version: 7.1.375 / Base de données virus: 267.15.0/249 - Date: 02/02/2006
Re: smbmount and smbclient from sid fail when connecting to sarge share
hi, smbmount and smbclient from sid (both i386 and amd64) seem to fail to connect to our local samba server (running sarge, iirc). smbmount //server/share mnt_point gives me 4748: Connection to server failed SMB connection failed surprisingly the number changes every time this command is issued. smbclient //server/share just prints SMB connection failed i am sure it worked some time ago. i checked bugs.debian.org, but didn't find anything appropriate... it seems that there might be some conflict between the samba version on the server and on my box (?). when i try to mount the share on the sid amd64 box, it works fine... it seems that the samba from sid cannot talk to the server running sarge (but i don't have any clue why) since downgrading smbfs to version 3.0.14-a3_sarge solved the problem... regards, -- Lubos [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount and smbclient from sid fail when connecting to sarge share
On (02/02/06 16:52), Lubos Vrbka wrote: hi, smbmount and smbclient from sid (both i386 and amd64) seem to fail to connect to our local samba server (running sarge, iirc). smbmount //server/share mnt_point gives me 4748: Connection to server failed SMB connection failed surprisingly the number changes every time this command is issued. smbclient //server/share just prints SMB connection failed i am sure it worked some time ago. i checked bugs.debian.org, but didn't find anything appropriate... it seems that there might be some conflict between the samba version on the server and on my box (?). when i try to mount the share on the sid amd64 box, it works fine... it seems that the samba from sid cannot talk to the server running sarge (but i don't have any clue why) since downgrading smbfs to version 3.0.14-a3_sarge solved the problem... smbfs 3.0.21a-4 works fine here (on sid amd64) However, I'm using cifs which is the latest implementation of windows sharing. I've got the cifs module installed and in /etc/fstab: //server/share /smb/sharecifs //credentials=/home/user/.smb_pass,uid=user,gid=group,file_mode=0660,dir_mode=0770 //0 0 Regards Clive -- www.clivemenzies.co.uk ... ...strategies for business -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount and smbclient from sid fail when connecting to sarge share
hi, smbfs 3.0.21a-4 works fine here (on sid amd64) well, smbfs from sid worked for me correctly when i mount a share running this version of the server. however, when trying to mount a share running sarge, i had no luck. However, I'm using cifs which is the latest implementation of windows sharing. I've got the cifs module installed and in /etc/fstab: i'll check that out... regards, -- Lubos [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount and smbclient from sid fail when connecting to sarge share
On Thu, 02 Feb 2006 17:34:39 +0100 Lubos Vrbka [EMAIL PROTECTED] wrote: hi, smbfs 3.0.21a-4 works fine here (on sid amd64) well, smbfs from sid worked for me correctly when i mount a share running this version of the server. however, when trying to mount a share running sarge, i had no luck. I can mount a share from sarge on sid without any problems. They are both up to date. Here are my packages on Sid: ii libsmbclient 3.0.21a-4 shared library that allows applications to talk to SMB servers un samba none (no description available) ii samba-common 3.0.21a-4 Samba common files used by both the server and the client ii smbclient 3.0.21a-4 a LanManager-like simple client for Unix ii smbfs 3.0.21a-4 mount and umount commands for the smbfs (for kernels = than 2 and Sarge: ii libsmbclient 3.0.14a-3sarge shared library that allows applications to t ii samba 3.0.14a-3sarge a LanManager-like file and printer server fo ii samba-common 3.0.14a-3sarge Samba common files used by both the server a ii smbclient 3.0.14a-3sarge a LanManager-like simple client for Unix ii smbfs 3.0.14a-3sarge mount and umount commands for the smbfs (for Andrei P.S. My MUA automatically added your address in CC (though it usually does not). If you don't want that I'll remove it next time -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
smbmount and smbclient from sid fail when connecting to sarge share
hi everybody, smbmount and smbclient from sid (both i386 and amd64) seem to fail to connect to our local samba server (running sarge, iirc). smbmount //server/share mnt_point gives me 4748: Connection to server failed SMB connection failed surprisingly the number changes every time this command is issued. smbclient //server/share just prints SMB connection failed i am sure it worked some time ago. i checked bugs.debian.org, but didn't find anything appropriate... it seems that there might be some conflict between the samba version on the server and on my box (?). when i try to mount the share on the sid amd64 box, it works fine... any hints? thanks, -- Lubos [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: vitesses smbmount
Hello, le soucis viendrait de Samba car cela fonctionne TRES vite (10Mo/s) en HTTP Peux-etre un paramètre dans /proc, je vais voir ... Bon, l'étranglement n'a pas lieu du côté Disque dur Debian. Il reste donc trois possibilités: - défaillance du PC Windows - défaillance du réseau (carte réseau, hub/switch, câbles) - défaillance de Samba As-tu testé la vitesse des disques dur sous Windows ? Quelle est la configuration logicielle exact ? Debian + Samba et Windows + partage Windows ? Qui se connecte sur qui ? (qui utilise le partage de qui ?) Michel. Franck a écrit : Comment as-tu fait ton benchmark ? Voici comment j'ai procédé sur mon PC portable et mon serveur Debian: test d'écriture/lecture d'un fichier de 1 Go (200 blocs de 512 octets): Ecriture dd if=/dev/zero of=test.tmp count=200 200+0 records in 200+0 records out 102400 bytes transferred in 36.871789 seconds (27771910 bytes/sec) 27.3Mo/s Lecture dd if=test.tmp of=/dev/null count=200 200+0 records in 200+0 records out 102400 bytes transferred in 20.453555 seconds (50064647 bytes/sec) 50Mo/s ça me va comme valeurs ... Franck sur mon PC portable (Dell Inspiron 5100): dd if=/dev/zero of=test.tmp count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 66,864574 seconds (15314537 bytes/sec) -- 15.3 Mo/s en écriture dd if=test.tmp of=/dev/null count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 68,347249 seconds (14982315 bytes/sec) -- 14.9 Mo/s en lecture (pas terrible les temps d'accès sur ce portable...) sur mon Serveur Debian (RAID 5 Soft): dd if=/dev/zero of=test.tmp count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 61,193802 seconds (16733721 bytes/sec) -- 16.7 Mo/s en écriture dd if=test.tmp of=/dev/null count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 20,207787 seconds (50673535 bytes/sec) -- 50.7 Mo/s en lecture Tu peux tester ça et vérifier les résultats ? Michel Naud @GP Valence www.atgp.net Tél: 04 75 60 58 81 Mail: [EMAIL PROTECTED] Franck a écrit : Salut, Il est possible que ton Serveur Debian soit mal configuré au niveau des disques durs, ce qui expliquerait la lenteur de la copie via Samba. Les disques, en RAID soft IDE, sont-ils bien chacun sur un contrôleur IDE séparé ? Non, sur le meme controleur, je n'ai pas le choix dans mon rack 1U Le DMA est-il activé sur les disques IDE ? Oui, memes sorties que pour toi. Cela viendrait peut etre du fait qu'il soit sur le meme controleur :( ARF, pas cool ça J'ai aussi fait un test de vitesse : hda : Tamponé 141.29 MB/sec Cache tamponné 17.70 MB/sec hdb Tamponé 139.30 MB/sec Tamponé 139.30 MB/sec Franck exemple chez moi: hdparm /dev/hdc /dev/hdc: multcount= 0 (off) IO_support = 0 (default 16-bit) unmaskirq= 0 (off) using_dma= 1 (on) -- indispensable pour les performances keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 58140/16/63, sectors = 58605120, start = 0 Je viens de faire des tests depuis un Client Linux, vers un serveur Windows et vers un serveur Debian, en WIFI: Je tourne à 2 Mo/s (limite de ma bande passante wifi). Chez moi, client Windows, serveur Debian en RAID 5 SOFT (SATA) + réseau Giga, je tourne à 12 - 14 Mo/s en écriture (limité par le processeur qui fait le boulot pour le RAID5 Soft), et à plus de 25 Mo/s en lecture. Michel Naud Franck a écrit : Hello la liste, je fais un p'tit script de sauvegarde sous Debian et je monte un volume NFS d'une machine Win 2000 sur ma Debian. Tout se passe bien, la synchro se passe à merveille mais je trouve que la vitesse n'est pas au RDV :( En effet, j'atteins péniblement les 1.7 Mb :( Y aurait-il des limitations de vitesse au niveau SMB ? Je peux lançer quels tests pour voir où il y a étranglement ? Debian : PIII 800/768Mb RAM/RAID 1 soft 2x160Gb IDE 8Mo cache. Ecriture sur une partition dédiée LVM/ReiserFS Win2000 : PIV /1Gb RAM/2x200Gb SATA 8Mo cache Réseau 100 MB Les machines ne sont pas chargées Merci Franck -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- http://www.linuxpourtous.com -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: vitesses smbmount
Bon, l'étranglement n'a pas lieu du côté Disque dur Debian. Il reste donc trois possibilités: - défaillance du PC Windows - défaillance du réseau (carte réseau, hub/switch, câbles) - défaillance de Samba As-tu testé la vitesse des disques dur sous Windows ? Quelle est la configuration logicielle exact ? Debian + Samba et Windows + partage Windows ? Qui se connecte sur qui ? (qui utilise le partage de qui ?) Michel. Franck a écrit : Comment as-tu fait ton benchmark ? Voici comment j'ai procédé sur mon PC portable et mon serveur Debian: test d'écriture/lecture d'un fichier de 1 Go (200 blocs de 512 octets): Ecriture dd if=/dev/zero of=test.tmp count=200 200+0 records in 200+0 records out 102400 bytes transferred in 36.871789 seconds (27771910 bytes/sec) 27.3Mo/s Lecture dd if=test.tmp of=/dev/null count=200 200+0 records in 200+0 records out 102400 bytes transferred in 20.453555 seconds (50064647 bytes/sec) 50Mo/s ça me va comme valeurs ... Franck sur mon PC portable (Dell Inspiron 5100): dd if=/dev/zero of=test.tmp count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 66,864574 seconds (15314537 bytes/sec) -- 15.3 Mo/s en écriture dd if=test.tmp of=/dev/null count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 68,347249 seconds (14982315 bytes/sec) -- 14.9 Mo/s en lecture (pas terrible les temps d'accès sur ce portable...) sur mon Serveur Debian (RAID 5 Soft): dd if=/dev/zero of=test.tmp count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 61,193802 seconds (16733721 bytes/sec) -- 16.7 Mo/s en écriture dd if=test.tmp of=/dev/null count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 20,207787 seconds (50673535 bytes/sec) -- 50.7 Mo/s en lecture Tu peux tester ça et vérifier les résultats ? Michel Naud @GP Valence www.atgp.net Tél: 04 75 60 58 81 Mail: [EMAIL PROTECTED] Franck a écrit : Salut, Il est possible que ton Serveur Debian soit mal configuré au niveau des disques durs, ce qui expliquerait la lenteur de la copie via Samba. Les disques, en RAID soft IDE, sont-ils bien chacun sur un contrôleur IDE séparé ? Non, sur le meme controleur, je n'ai pas le choix dans mon rack 1U Le DMA est-il activé sur les disques IDE ? Oui, memes sorties que pour toi. Cela viendrait peut etre du fait qu'il soit sur le meme controleur :( ARF, pas cool ça J'ai aussi fait un test de vitesse : hda : Tamponé 141.29 MB/sec Cache tamponné 17.70 MB/sec hdb Tamponé 139.30 MB/sec Tamponé 139.30 MB/sec Franck exemple chez moi: hdparm /dev/hdc /dev/hdc: multcount= 0 (off) IO_support = 0 (default 16-bit) unmaskirq= 0 (off) using_dma= 1 (on) -- indispensable pour les performances keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 58140/16/63, sectors = 58605120, start = 0 Je viens de faire des tests depuis un Client Linux, vers un serveur Windows et vers un serveur Debian, en WIFI: Je tourne à 2 Mo/s (limite de ma bande passante wifi). Chez moi, client Windows, serveur Debian en RAID 5 SOFT (SATA) + réseau Giga, je tourne à 12 - 14 Mo/s en écriture (limité par le processeur qui fait le boulot pour le RAID5 Soft), et à plus de 25 Mo/s en lecture. Michel Naud Franck a écrit : Hello la liste, je fais un p'tit script de sauvegarde sous Debian et je monte un volume NFS d'une machine Win 2000 sur ma Debian. Tout se passe bien, la synchro se passe à merveille mais je trouve que la vitesse n'est pas au RDV :( En effet, j'atteins péniblement les 1.7 Mb :( Y aurait-il des limitations de vitesse au niveau SMB ? Je peux lançer quels tests pour voir où il y a étranglement ? Debian : PIII 800/768Mb RAM/RAID 1 soft 2x160Gb IDE 8Mo cache. Ecriture sur une partition dédiée LVM/ReiserFS Win2000 : PIV /1Gb RAM/2x200Gb SATA 8Mo cache Réseau 100 MB Les machines ne sont pas chargées Merci Franck -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: vitesses smbmount
Hello, Bon, l'étranglement n'a pas lieu du côté Disque dur Debian. Il reste donc trois possibilités: - défaillance du PC Windows non, il marche très bien - défaillance du réseau (carte réseau, hub/switch, câbles) alors là, ce serait plus enbetant mais mes sondes sont OK avec beaucoup de trafic - défaillance de Samba Comment le savoir As-tu testé la vitesse des disques dur sous Windows ? non, je ne sais pas comment faire ... Quelle est la configuration logicielle exact ? tous les paquets de sarge rien de plus apt-get install smbfs Debian + Samba et Windows + partage Windows ? Qui se connecte sur qui ? (qui utilise le partage de qui ?) Je me loggue en administrateur sur F$ Voilà, et c'est pareil d'un autre poste Linux qui monte le meme volume ... Cela viendrait de Win alors ? Franck -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: vitesses smbmount
Salut, Il est possible que ton Serveur Debian soit mal configuré au niveau des disques durs, ce qui expliquerait la lenteur de la copie via Samba. Les disques, en RAID soft IDE, sont-ils bien chacun sur un contrôleur IDE séparé ? Le DMA est-il activé sur les disques IDE ? exemple chez moi: hdparm /dev/hdc /dev/hdc: multcount= 0 (off) IO_support = 0 (default 16-bit) unmaskirq= 0 (off) using_dma= 1 (on) -- indispensable pour les performances keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 58140/16/63, sectors = 58605120, start = 0 Je viens de faire des tests depuis un Client Linux, vers un serveur Windows et vers un serveur Debian, en WIFI: Je tourne à 2 Mo/s (limite de ma bande passante wifi). Chez moi, client Windows, serveur Debian en RAID 5 SOFT (SATA) + réseau Giga, je tourne à 12 - 14 Mo/s en écriture (limité par le processeur qui fait le boulot pour le RAID5 Soft), et à plus de 25 Mo/s en lecture. Michel Naud @GP Valence www.atgp.net Tél: 04 75 60 58 81 Mail: [EMAIL PROTECTED] Franck a écrit : Hello la liste, je fais un p'tit script de sauvegarde sous Debian et je monte un volume NFS d'une machine Win 2000 sur ma Debian. Tout se passe bien, la synchro se passe à merveille mais je trouve que la vitesse n'est pas au RDV :( En effet, j'atteins péniblement les 1.7 Mb :( Y aurait-il des limitations de vitesse au niveau SMB ? Je peux lançer quels tests pour voir où il y a étranglement ? Debian : PIII 800/768Mb RAM/RAID 1 soft 2x160Gb IDE 8Mo cache. Ecriture sur une partition dédiée LVM/ReiserFS Win2000 : PIV /1Gb RAM/2x200Gb SATA 8Mo cache Réseau 100 MB Les machines ne sont pas chargées Merci Franck -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: vitesses smbmount
Salut, Il est possible que ton Serveur Debian soit mal configuré au niveau des disques durs, ce qui expliquerait la lenteur de la copie via Samba. Les disques, en RAID soft IDE, sont-ils bien chacun sur un contrôleur IDE séparé ? Non, sur le meme controleur, je n'ai pas le choix dans mon rack 1U Le DMA est-il activé sur les disques IDE ? Oui, memes sorties que pour toi. Cela viendrait peut etre du fait qu'il soit sur le meme controleur :( ARF, pas cool ça J'ai aussi fait un test de vitesse : hda : Tamponé 141.29 MB/sec Cache tamponné 17.70 MB/sec hdb Tamponé 139.30 MB/sec Tamponé 139.30 MB/sec Franck exemple chez moi: hdparm /dev/hdc /dev/hdc: multcount= 0 (off) IO_support = 0 (default 16-bit) unmaskirq= 0 (off) using_dma= 1 (on) -- indispensable pour les performances keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 58140/16/63, sectors = 58605120, start = 0 Je viens de faire des tests depuis un Client Linux, vers un serveur Windows et vers un serveur Debian, en WIFI: Je tourne à 2 Mo/s (limite de ma bande passante wifi). Chez moi, client Windows, serveur Debian en RAID 5 SOFT (SATA) + réseau Giga, je tourne à 12 - 14 Mo/s en écriture (limité par le processeur qui fait le boulot pour le RAID5 Soft), et à plus de 25 Mo/s en lecture. Michel Naud @GP Valence www.atgp.net Tél: 04 75 60 58 81 Mail: [EMAIL PROTECTED] Franck a écrit : Hello la liste, je fais un p'tit script de sauvegarde sous Debian et je monte un volume NFS d'une machine Win 2000 sur ma Debian. Tout se passe bien, la synchro se passe à merveille mais je trouve que la vitesse n'est pas au RDV :( En effet, j'atteins péniblement les 1.7 Mb :( Y aurait-il des limitations de vitesse au niveau SMB ? Je peux lançer quels tests pour voir où il y a étranglement ? Debian : PIII 800/768Mb RAM/RAID 1 soft 2x160Gb IDE 8Mo cache. Ecriture sur une partition dédiée LVM/ReiserFS Win2000 : PIV /1Gb RAM/2x200Gb SATA 8Mo cache Réseau 100 MB Les machines ne sont pas chargées Merci Franck -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- http://www.linuxpourtous.com -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: vitesses smbmount
Comment as-tu fait ton benchmark ? Voici comment j'ai procd sur mon PC portable et mon serveur Debian: test d'criture/lecture d'un fichier de 1 Go (200 blocs de 512 octets): sur mon PC portable (Dell Inspiron 5100): dd if=/dev/zero of=test.tmp count=200 200+0 enregistrements lus. 200+0 enregistrements crits. 102400 bytes transferred in 66,864574 seconds (15314537 bytes/sec) -- 15.3 Mo/s en criture dd if=test.tmp of=/dev/null count=200 200+0 enregistrements lus. 200+0 enregistrements crits. 102400 bytes transferred in 68,347249 seconds (14982315 bytes/sec) -- 14.9 Mo/s en lecture (pas terrible les temps d'accs sur ce portable...) sur mon Serveur Debian (RAID 5 Soft): dd if=/dev/zero of=test.tmp count=200 200+0 enregistrements lus. 200+0 enregistrements crits. 102400 bytes transferred in 61,193802 seconds (16733721 bytes/sec) -- 16.7 Mo/s en criture dd if=test.tmp of=/dev/null count=200 200+0 enregistrements lus. 200+0 enregistrements crits. 102400 bytes transferred in 20,207787 seconds (50673535 bytes/sec) -- 50.7 Mo/s en lecture Tu peux tester a et vrifier les rsultats ? Michel Naud @GP Valence www.atgp.net Tl: 04 75 60 58 81 Mail: [EMAIL PROTECTED] Franck a crit: Salut, Il est possible que ton Serveur Debian soit mal configur au niveau des disques durs, ce qui expliquerait la lenteur de la copie via Samba. Les disques, en RAID soft IDE, sont-ils bien chacun sur un contrleur IDE spar ? Non, sur le meme controleur, je n'ai pas le choix dans mon rack 1U Le DMA est-il activ sur les disques IDE ? Oui, memes sorties que pour toi. Cela viendrait peut etre du fait qu'il soit sur le meme controleur :( ARF, pas cool a J'ai aussi fait un test de vitesse : hda : Tampon 141.29 MB/sec Cache tamponn 17.70 MB/sec hdb Tampon 139.30 MB/sec Tampon 139.30 MB/sec Franck exemple chez moi: hdparm /dev/hdc /dev/hdc: multcount= 0 (off) IO_support = 0 (default 16-bit) unmaskirq= 0 (off) using_dma= 1 (on) -- indispensable pour les performances keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 58140/16/63, sectors = 58605120, start = 0 Je viens de faire des tests depuis un Client Linux, vers un serveur Windows et vers un serveur Debian, en WIFI: Je tourne 2 Mo/s (limite de ma bande passante wifi). Chez moi, client Windows, serveur Debian en RAID 5 SOFT (SATA) + rseau Giga, je tourne 12 - 14 Mo/s en criture (limit par le processeur qui fait le boulot pour le RAID5 Soft), et plus de 25 Mo/s en lecture. Michel Naud @GP Valence www.atgp.net Tl: 04 75 60 58 81 Mail: [EMAIL PROTECTED] Franck a crit : Hello la liste, je fais un p'tit script de sauvegarde sous Debian et je monte un volume NFS d'une machine Win 2000 sur ma Debian. Tout se passe bien, la synchro se passe merveille mais je trouve que la vitesse n'est pas au RDV :( En effet, j'atteins pniblement les 1.7 Mb :( Y aurait-il des limitations de vitesse au niveau SMB ? Je peux laner quels tests pour voir o il y a tranglement ? Debian : PIII 800/768Mb RAM/RAID 1 soft 2x160Gb IDE 8Mo cache. Ecriture sur une partition ddie LVM/ReiserFS Win2000 : PIV /1Gb RAM/2x200Gb SATA 8Mo cache Rseau 100 MB Les machines ne sont pas "charges" Merci Franck -- Pensez lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:" To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: vitesses smbmount
Comment as-tu fait ton benchmark ? Voici comment j'ai procédé sur mon PC portable et mon serveur Debian: test d'écriture/lecture d'un fichier de 1 Go (200 blocs de 512 octets): Ecriture dd if=/dev/zero of=test.tmp count=200 200+0 records in 200+0 records out 102400 bytes transferred in 36.871789 seconds (27771910 bytes/sec) 27.3Mo/s Lecture dd if=test.tmp of=/dev/null count=200 200+0 records in 200+0 records out 102400 bytes transferred in 20.453555 seconds (50064647 bytes/sec) 50Mo/s ça me va comme valeurs ... Franck sur mon PC portable (Dell Inspiron 5100): dd if=/dev/zero of=test.tmp count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 66,864574 seconds (15314537 bytes/sec) -- 15.3 Mo/s en écriture dd if=test.tmp of=/dev/null count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 68,347249 seconds (14982315 bytes/sec) -- 14.9 Mo/s en lecture (pas terrible les temps d'accès sur ce portable...) sur mon Serveur Debian (RAID 5 Soft): dd if=/dev/zero of=test.tmp count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 61,193802 seconds (16733721 bytes/sec) -- 16.7 Mo/s en écriture dd if=test.tmp of=/dev/null count=200 200+0 enregistrements lus. 200+0 enregistrements écrits. 102400 bytes transferred in 20,207787 seconds (50673535 bytes/sec) -- 50.7 Mo/s en lecture Tu peux tester ça et vérifier les résultats ? Michel Naud @GP Valence www.atgp.net Tél: 04 75 60 58 81 Mail: [EMAIL PROTECTED] Franck a écrit : Salut, Il est possible que ton Serveur Debian soit mal configuré au niveau des disques durs, ce qui expliquerait la lenteur de la copie via Samba. Les disques, en RAID soft IDE, sont-ils bien chacun sur un contrôleur IDE séparé ? Non, sur le meme controleur, je n'ai pas le choix dans mon rack 1U Le DMA est-il activé sur les disques IDE ? Oui, memes sorties que pour toi. Cela viendrait peut etre du fait qu'il soit sur le meme controleur :( ARF, pas cool ça J'ai aussi fait un test de vitesse : hda : Tamponé141.29 MB/sec Cache tamponné 17.70 MB/sec hdb Tamponé139.30 MB/sec Tamponé139.30 MB/sec Franck exemple chez moi: hdparm /dev/hdc /dev/hdc: multcount= 0 (off) IO_support = 0 (default 16-bit) unmaskirq= 0 (off) using_dma= 1 (on) -- indispensable pour les performances keepsettings = 0 (off) readonly = 0 (off) readahead= 256 (on) geometry = 58140/16/63, sectors = 58605120, start = 0 Je viens de faire des tests depuis un Client Linux, vers un serveur Windows et vers un serveur Debian, en WIFI: Je tourne à 2 Mo/s (limite de ma bande passante wifi). Chez moi, client Windows, serveur Debian en RAID 5 SOFT (SATA) + réseau Giga, je tourne à 12 - 14 Mo/s en écriture (limité par le processeur qui fait le boulot pour le RAID5 Soft), et à plus de 25 Mo/s en lecture. Michel Naud @GP Valence www.atgp.net Tél: 04 75 60 58 81 Mail: [EMAIL PROTECTED] Franck a écrit : Hello la liste, je fais un p'tit script de sauvegarde sous Debian et je monte un volume NFS d'une machine Win 2000 sur ma Debian. Tout se passe bien, la synchro se passe à merveille mais je trouve que la vitesse n'est pas au RDV :( En effet, j'atteins péniblement les 1.7 Mb :( Y aurait-il des limitations de vitesse au niveau SMB ? Je peux lançer quels tests pour voir où il y a étranglement ? Debian : PIII 800/768Mb RAM/RAID 1 soft 2x160Gb IDE 8Mo cache. Ecriture sur une partition dédiée LVM/ReiserFS Win2000 : PIV /1Gb RAM/2x200Gb SATA 8Mo cache Réseau 100 MB Les machines ne sont pas chargées Merci Franck -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- http://www.linuxpourtous.com -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
vitesses smbmount
Hello la liste, je fais un p'tit script de sauvegarde sous Debian et je monte un volume NFS d'une machine Win 2000 sur ma Debian. Tout se passe bien, la synchro se passe à merveille mais je trouve que la vitesse n'est pas au RDV :( En effet, j'atteins péniblement les 1.7 Mb :( Y aurait-il des limitations de vitesse au niveau SMB ? Je peux lançer quels tests pour voir où il y a étranglement ? Debian : PIII 800/768Mb RAM/RAID 1 soft 2x160Gb IDE 8Mo cache. Ecriture sur une partition dédiée LVM/ReiserFS Win2000 : PIV /1Gb RAM/2x200Gb SATA 8Mo cache Réseau 100 MB Les machines ne sont pas chargées Merci Franck -- http://www.linuxpourtous.com -- Pensez à lire la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To: To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount como usuario comum
Funcionu!! Pessoal, valeu pela força Abraços, Telmo Lemos da Rosa www.inphormatika.com.br - Original Message - From: Gustavo Luiz Duarte [EMAIL PROTECTED] To: Telmo Lemos da Rosa [EMAIL PROTECTED] Sent: Tuesday, December 06, 2005 10:21 PM Subject: Re: smbmount como usuario comum Colocando no fstab funciona sim. Eu jah fiz isso aqui. Aparentemente seu fstab tah certo... talvez seja melhor colocar smbfs no lugar de auto. O usuário telmolr precisa ser dono da pasta /matriz/info Vc verificou isso? Tente usar para montar apenas comando: $ mount /matriz/info Como jah estah no fstab ele vai saber os parametros a utilizar... as vezes, quando vc passa parametros para o mount, ele ignora o fstab (incluindo akele bendito user). []'s Gustavo Luiz Duarte 4 ano Ciência da Computação Universidade Estadual de Maringá Grupo PET-Informática On 12/6/05, Telmo Lemos da Rosa [EMAIL PROTECTED] wrote: Verifica para mim se estou fazendo alguma coisa errada: fstab: # /etc/fstab: static file system information. # # file system mount point type options dump pass proc/proc procdefaults0 0 /dev/hda1 / ext3defaults,errors=remount-ro 0 1 /dev/hda5 noneswapsw 0 0 /dev/hdb/media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/fd0/media/floppy0 autorw,user,noauto 0 0 //matriz/info /matriz/infoautorw,user,noauto comando: $ smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx erro: cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Grato desde já Telmo Lemos da Rosa www.inphormatika.com.br - Original Message - From: Fabiano Pires [EMAIL PROTECTED] To: Lista Debian debian-user-portuguese@lists.debian.org Sent: Tuesday, December 06, 2005 6:48 AM Subject: Re: smbmount como usuario comum Tente a minha segunda dica, deve funcionar. Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Não consigo nem executar um mount como usuario comum! Ja tentem alterar as permissoes do mount (chmod +s) mas mesmo assim não funciona! mount: operação exclusiva de root Agora estou tentando fazer com que o mount funcione para depois voltar ao smbmount ou ao mount -t smbfs! Fabiano, de qualquer maneira, valeu pela força! Abraços, Telmo Lemos da Rosa www.inphormatika.com.br - Original Message - From: Fabiano Pires [EMAIL PROTECTED] To: Lista Debian debian-user-portuguese@lists.debian.org Sent: Tuesday, December 06, 2005 6:22 AM Subject: Re: smbmount como usuario comum Acho que o smbmount chama o mount ... Já tentou ver as permissões do prório mount ? Ou colocar essa chamada no fstab com as opções noauto e user ? Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Pessoal, Alguem sabe como faço para permitir que o smbmount seja executado por um usuario comum? Entre inumeros testes, também já alterei as permissões do smbmount chmod +s smbmount Porem a mensagem é sempre a mesma smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Alguem já passou por isso? Grato desde já, Telmo Lemos da Rosa www.inphormatika.com.br -- Abraços, Fabiano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Abraços, Fabiano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount como usuario comum
On Tue, 2005-12-06 at 13:00 -0800, Telmo Lemos da Rosa wrote: erro: cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 a mensagem de erro diz tudo .. o usuario que estah tentando montar nao tem permissao na pasta /matriz/info.. eh soh mudar as permissoes desta pasta dando direito ao usuario antes de tentar montar .. -- [] JA Tavares -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
smbmount como usuario comum
Pessoal, Alguem sabe como faço para permitir que o smbmount seja executado por um usuario comum? Entre inumeros testes, também jáalterei as permissões do smbmount chmod +s smbmount Porem a mensagem é sempre a mesma smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx cannot mount on /matriz/info: Operation not permittedsmbmnt failed: 1 Alguem já passou por isso? Grato desde já, Telmo Lemos da Rosa www.inphormatika.com.br
Re: smbmount como usuario comum
Acho que o smbmount chama o mount ... Já tentou ver as permissões do prório mount ? Ou colocar essa chamada no fstab com as opções noauto e user ? Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Pessoal, Alguem sabe como faço para permitir que o smbmount seja executado por um usuario comum? Entre inumeros testes, também já alterei as permissões do smbmount chmod +s smbmount Porem a mensagem é sempre a mesma smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Alguem já passou por isso? Grato desde já, Telmo Lemos da Rosa www.inphormatika.com.br -- Abraços, Fabiano
Re: smbmount como usuario comum
Não consigo nem executar um mount como usuario comum! Ja tentem alterar as permissoes do mount (chmod +s) mas mesmo assim não funciona! mount: operação exclusiva de root Agora estou tentando fazer com que o mount funcione para depois voltar ao smbmount ou ao mount -t smbfs! Fabiano, de qualquer maneira, valeu pela força! Abraços, Telmo Lemos da Rosa www.inphormatika.com.br - Original Message - From: Fabiano Pires [EMAIL PROTECTED] To: Lista Debian debian-user-portuguese@lists.debian.org Sent: Tuesday, December 06, 2005 6:22 AM Subject: Re: smbmount como usuario comum Acho que o smbmount chama o mount ... Já tentou ver as permissões do prório mount ? Ou colocar essa chamada no fstab com as opções noauto e user ? Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Pessoal, Alguem sabe como faço para permitir que o smbmount seja executado por um usuario comum? Entre inumeros testes, também já alterei as permissões do smbmount chmod +s smbmount Porem a mensagem é sempre a mesma smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Alguem já passou por isso? Grato desde já, Telmo Lemos da Rosa www.inphormatika.com.br -- Abraços, Fabiano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount como usuario comum
Tente a minha segunda dica, deve funcionar. Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Não consigo nem executar um mount como usuario comum! Ja tentem alterar as permissoes do mount (chmod +s) mas mesmo assim não funciona! mount: operação exclusiva de root Agora estou tentando fazer com que o mount funcione para depois voltar ao smbmount ou ao mount -t smbfs! Fabiano, de qualquer maneira, valeu pela força! Abraços, Telmo Lemos da Rosa www.inphormatika.com.br - Original Message - From: Fabiano Pires [EMAIL PROTECTED] To: Lista Debian debian-user-portuguese@lists.debian.org Sent: Tuesday, December 06, 2005 6:22 AM Subject: Re: smbmount como usuario comum Acho que o smbmount chama o mount ... Já tentou ver as permissões do prório mount ? Ou colocar essa chamada no fstab com as opções noauto e user ? Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Pessoal, Alguem sabe como faço para permitir que o smbmount seja executado por um usuario comum? Entre inumeros testes, também já alterei as permissões do smbmount chmod +s smbmount Porem a mensagem é sempre a mesma smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Alguem já passou por isso? Grato desde já, Telmo Lemos da Rosa www.inphormatika.com.br -- Abraços, Fabiano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Abraços, Fabiano
Re: smbmount como usuario comum
Verifica para mim se estou fazendo alguma coisa errada: fstab: # /etc/fstab: static file system information. # # file system mount point type options dump pass proc/proc procdefaults0 0 /dev/hda1 / ext3defaults,errors=remount-ro 0 1 /dev/hda5 noneswapsw 0 0 /dev/hdb/media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/fd0/media/floppy0 autorw,user,noauto 0 0 //matriz/info /matriz/infoautorw,user,noauto comando: $ smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx erro: cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Grato desde já Telmo Lemos da Rosa www.inphormatika.com.br - Original Message - From: Fabiano Pires [EMAIL PROTECTED] To: Lista Debian debian-user-portuguese@lists.debian.org Sent: Tuesday, December 06, 2005 6:48 AM Subject: Re: smbmount como usuario comum Tente a minha segunda dica, deve funcionar. Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Não consigo nem executar um mount como usuario comum! Ja tentem alterar as permissoes do mount (chmod +s) mas mesmo assim não funciona! mount: operação exclusiva de root Agora estou tentando fazer com que o mount funcione para depois voltar ao smbmount ou ao mount -t smbfs! Fabiano, de qualquer maneira, valeu pela força! Abraços, Telmo Lemos da Rosa www.inphormatika.com.br - Original Message - From: Fabiano Pires [EMAIL PROTECTED] To: Lista Debian debian-user-portuguese@lists.debian.org Sent: Tuesday, December 06, 2005 6:22 AM Subject: Re: smbmount como usuario comum Acho que o smbmount chama o mount ... Já tentou ver as permissões do prório mount ? Ou colocar essa chamada no fstab com as opções noauto e user ? Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Pessoal, Alguem sabe como faço para permitir que o smbmount seja executado por um usuario comum? Entre inumeros testes, também já alterei as permissões do smbmount chmod +s smbmount Porem a mensagem é sempre a mesma smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Alguem já passou por isso? Grato desde já, Telmo Lemos da Rosa www.inphormatika.com.br -- Abraços, Fabiano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Abraços, Fabiano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount como usuario comum
Tente colocar o tipo de sistema de arquivos smbfs no fstab, ao invés de auto //matriz/info /matriz/infosmbfsrw,user,noauto ao invés de //matriz/info /matriz/infoautorw,user,noauto Tente também colocar o IP ao invés do nome do micro. Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Verifica para mim se estou fazendo alguma coisa errada: fstab: # /etc/fstab: static file system information. # # file system mount point type options dump pass proc/proc procdefaults0 0 /dev/hda1 / ext3defaults,errors=remount-ro 0 1 /dev/hda5 noneswapsw 0 0 /dev/hdb/media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/fd0/media/floppy0 autorw,user,noauto 0 0 //matriz/info /matriz/infoautorw,user,noauto comando: $ smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx erro: cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Grato desde já Telmo Lemos da Rosa www.inphormatika.com.br - Original Message - From: Fabiano Pires [EMAIL PROTECTED] To: Lista Debian debian-user-portuguese@lists.debian.org Sent: Tuesday, December 06, 2005 6:48 AM Subject: Re: smbmount como usuario comum Tente a minha segunda dica, deve funcionar. Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Não consigo nem executar um mount como usuario comum! Ja tentem alterar as permissoes do mount (chmod +s) mas mesmo assim não funciona! mount: operação exclusiva de root Agora estou tentando fazer com que o mount funcione para depois voltar ao smbmount ou ao mount -t smbfs! Fabiano, de qualquer maneira, valeu pela força! Abraços, Telmo Lemos da Rosa www.inphormatika.com.br - Original Message - From: Fabiano Pires [EMAIL PROTECTED] To: Lista Debian debian-user-portuguese@lists.debian.org Sent: Tuesday, December 06, 2005 6:22 AM Subject: Re: smbmount como usuario comum Acho que o smbmount chama o mount ... Já tentou ver as permissões do prório mount ? Ou colocar essa chamada no fstab com as opções noauto e user ? Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Pessoal, Alguem sabe como faço para permitir que o smbmount seja executado por um usuario comum? Entre inumeros testes, também já alterei as permissões do smbmount chmod +s smbmount Porem a mensagem é sempre a mesma smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Alguem já passou por isso? Grato desde já, Telmo Lemos da Rosa www.inphormatika.com.br -- Abraços, Fabiano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Abraços, Fabiano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Abraços, Fabiano
Re: smbmount como usuario comum
instala o sudoers, edita o arquivo /etc/sudoers (como root) e acrescenta comandos que voce utiliza como usuario comum : fulano ALL = NOPASSWD: /sbin/shutdown, /sbin/poweroff, /sbin/halt, /sbin/reboot, /bin/cdrecord, /usr/bin/mount, /sur/bin/smbmount o 'NOPASSWD' vai fazer com que o sudoers nao abra um prompt para digitar a senha especial do root. Claro que dessa forma o seu login para usar smbmount ficaria menos seguro, imagine um virus que use o comando smbmount : na conta de outros ele nao faria nada, na sua conta ele poderia fazer um belo estrago, entao minha sugestao se voce quer usar o NOPASSWD é criar um script com o smbmount dentro e colocar esse script na relação do sudoers e executar sempre o script via sudo para fazer sua montagem. A sintaxe para o sudo é : sudo smbmount //10.10.0.1/info /matriz/info -o ... ou sudo /usr/bin/nomedoscript.sh O comando smbmount é um programa que depende de outros que ficam tambem no samba-clients então para acertar via chmod voce teria que acertas essas pequenas permissoes nestes programas executaveis tambem. É muito mais fácil e simples usando sudoers. []'s Telmo Lemos da Rosa escreveu: Pessoal, Alguem sabe como faço para permitir que o smbmount seja executado por um usuario comum? Entre inumeros testes, também já alterei as permissões do smbmount chmod +s smbmount Porem a mensagem é sempre a mesma smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Alguem já passou por isso? Grato desde já, Telmo Lemos da Rosa www.inphormatika.com.br -- Jabber : sirhamacker Skype : sirhamacker -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
smbmount como usuario comum
Colocando no fstab funciona sim. Eu jah fiz isso aqui. Aparentemente seu fstab tah certo... talvez seja melhor colocar smbfs no lugar de auto. O usuário telmolr precisa ser dono da pasta /matriz/info Vc verificou isso? Tente usar para montar apenas comando: $ mount /matriz/info Como jah estah no fstab ele vai saber os parametros a utilizar... as vezes, quando vc passa parametros para o mount, ele ignora o fstab (incluindo akele bendito user). []'s Gustavo Luiz Duarte 4 ano Ciência da Computação Universidade Estadual de Maringá Grupo PET-Informática On 12/6/05, Telmo Lemos da Rosa [EMAIL PROTECTED] wrote: Verifica para mim se estou fazendo alguma coisa errada: fstab: # /etc/fstab: static file system information. # # file system mount point type options dump pass proc/proc procdefaults0 0 /dev/hda1 / ext3defaults,errors=remount-ro 0 1 /dev/hda5 noneswapsw 0 0 /dev/hdb/media/cdrom0 iso9660 ro,user,noauto 0 0 /dev/fd0/media/floppy0 autorw,user,noauto 0 0 //matriz/info /matriz/infoautorw,user,noauto comando: $ smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx erro: cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Grato desde já Telmo Lemos da Rosa www.inphormatika.com.br - Original Message - From: Fabiano Pires [EMAIL PROTECTED] To: Lista Debian debian-user-portuguese@lists.debian.org Sent: Tuesday, December 06, 2005 6:48 AM Subject: Re: smbmount como usuario comum Tente a minha segunda dica, deve funcionar. Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Não consigo nem executar um mount como usuario comum! Ja tentem alterar as permissoes do mount (chmod +s) mas mesmo assim não funciona! mount: operação exclusiva de root Agora estou tentando fazer com que o mount funcione para depois voltar ao smbmount ou ao mount -t smbfs! Fabiano, de qualquer maneira, valeu pela força! Abraços, Telmo Lemos da Rosa www.inphormatika.com.br - Original Message - From: Fabiano Pires [EMAIL PROTECTED] To: Lista Debian debian-user-portuguese@lists.debian.org Sent: Tuesday, December 06, 2005 6:22 AM Subject: Re: smbmount como usuario comum Acho que o smbmount chama o mount ... Já tentou ver as permissões do prório mount ? Ou colocar essa chamada no fstab com as opções noauto e user ? Fabiano. Em 06/12/05, Telmo Lemos da Rosa[EMAIL PROTECTED] escreveu: Pessoal, Alguem sabe como faço para permitir que o smbmount seja executado por um usuario comum? Entre inumeros testes, também já alterei as permissões do smbmount chmod +s smbmount Porem a mensagem é sempre a mesma smbmount //10.10.0.1/info /matriz/info -o username=telmolr,password=xx cannot mount on /matriz/info: Operation not permitted smbmnt failed: 1 Alguem já passou por isso? Grato desde já, Telmo Lemos da Rosa www.inphormatika.com.br -- Abraços, Fabiano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- Abraços, Fabiano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Re: Problemas con smbmount
Title: Re: Re: Problemas con smbmount Basta con hacer la instalación, o actualizacion en su caso, del smbfs y todo va sobre ruedas en debian apt-get install smbfs Pa casita, que llueve
Samba 3 symlinki i smbmount
Witam Mam serwer samby. Gdy serwer dzialal na wersji 2.x wszysko bylo ok, ale gdy przeszedlem na wersje 3 pojawil sie taki probem, ze na klientach linuxowych (smbmount) przestay dzialac dowiazania symboliczne tak jak dzialaly na sambie 2.x. W udostepnionym katalogu mam symlinka do innego katalogu. Pod klientem windozowym moge wejsc do katalogu na ktory wskazuje symlink, natomiast pod klientem linuxowym zamiast katalogu dostaje symlink, ktory oczywiscie nie dziala w lokalnym systemie plikow, gdyz odnosi sie do katalogu na serwerze. Szukalem w google ale nie moge trafic na rozwiazane mojego problemu :( -- pozdrawiam Piotr Potargowicz -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount
Khanh Cao Van wrote: I have just the CD 1 of Debian 3.1 , all another deb packages was in the other server that run samba . After finishing install base component of debian , I would like to mount to the shared forder on that server but could not findout the smbclient or smbmount ! ! ! ! How could I mount to the network samba shared server now ?? :# apt-get install smbfs smbclient samba-common These packages are in the first CD of Debian 3.1 ( also the main samba package ) Make sure your source.list pointing to your debian installation cd. man apt-cdrom will help you out. --w.h-- Send instant messages to your online friends http://asia.messenger.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount
Khanh Cao Van wrote: I could not do it cvkhanh:~# apt-get install smbfs smbclient samba-common Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package smbfs I've use apt-cdrom add and apt-get update before used those above command but it did not effect . How should I do ? First, please do not reply privately. It will be more helpfull for you if you reply to the list, since there may be a lot of people read your mail and give you help. These are som options : Mount your debian cd and go to pool/main/s directory to find out wheter the cd contained samba packages or not. If not, consider to get another debian cd. If yes (?), well... dpkg -i smbfs_blablabla..deb It might be complain for depedencies problem but let's see how it works first snip If your purpose is to update from a local server ( updates in shared samba folder ) then you might want the updates to be available via http and update from there. If 'the other server that has samba shared folder for updates' is a debian/linux box, than it will be an easy job. You just need to run apache and had a symlynk in /var/www into your main folder contained debian updates. If 'the other server that has samba shared folder for updates' is not a linux box, that use iis ( if windows ). --w.h-- On 7/4/05, Ms Linuz [EMAIL PROTECTED] wrote: Khanh Cao Van wrote: I have just the CD 1 of Debian 3.1 , all another deb packages was in the other server that run samba . After finishing install base component of debian , I would like to mount to the shared forder on that server but could not findout the smbclient or smbmount ! ! ! ! How could I mount to the network samba shared server now ?? :# apt-get install smbfs smbclient samba-common These packages are in the first CD of Debian 3.1 ( also the main samba package ) Make sure your source.list pointing to your debian installation cd. man apt-cdrom will help you out. --w.h-- Send instant messages to your online friends http://asia.messenger.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] Send instant messages to your online friends http://asia.messenger.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
smbmount
I have just the CD 1 of Debian 3.1 , all another deb packages was in the other server that run samba . After finishing install base component of debian , I would like to mount to the shared forder on that server but could not findout the smbclient or smbmount ! ! ! ! How could I mount to the network samba shared server now ?? -- --- Cao Van Khanh
Re: smbmount depois de login no kde
Fala galera ... blz ? Deixa eu tentar ajudar também ... hehe é o seguinte tem um módulo (lib) ... para ser configurado no pam.d ... o nome do cara é pam_mount ... tem para baixar via apt, se eu não me engano o nome do pacote é libpam-mount ... Com esse cara vc vai conseguir montar o que vc tá precisando ... uso aqui na empresa e funciona muito bem. vc vai ter que configurar o arquivo /etc/pam.d/kdm ou /etc/pam.d/gdm se for o seu caso. vai ter que configurar o arquivo /etc/pam_mount.conf (eu acho que é nesta pasta) O que vai acontecer ? ... quando seu usuário logar usando por exemplo o kdm ... ele já vai montar o compartilhamento de rede, isso se o usuário e senha para o compartilhamento for o mesmo do login ... dá uma olhada aqui: http://www.flyn.org/projects/pam_mount/ --- UnHoLy_cUrSe [EMAIL PROTECTED] escreveu: kra, uma maneira rapida eh usar o konqueror se vc digitar no konqueror: smb://maquina ele entrara na maquina utilizando o protocolo samba Se vc criar uma atalho com este endereco, nao precisa script nem nada, quando o konqueror tenta abrir o compartilhamento ele ja pede usuario e senha em uma janela, com interface grafica e tudo ;-) clica direito na area de trabalho do kde, novo, link (acho que eh isso) dai o atalho coloca konqueror smb://maquina/diretorio e pronto flw Em 29/06/05, Marcos V Lazarini[EMAIL PROTECTED] escreveu: Mauricio Merlin wrote: Pessoal.. é o seguinte.. aqui a onde trabalho tenho alguns clientes linux e preciso que assim que o usuario logar no KDE ele de um smbmount na compartilhamento do meu samba em uma pasta no desktop do usuario.. porem preciso que ele monte especificando o usuario e senha. como poderia fazer isso por um script??? Estude a sintaxe do comando mount (man mount) e faça um script com a linha de comando e coloque no ~/.kde/Autostart Se estiver com preguiça de estudar a man page, procure aqui no histórico da lista, há vários exemplos recentes. -- Marcos -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- - O linux eh um sistema operacional amigável, ele so eh seletivo com os seus amigos! =P UIN: 1992397 MSN: [EMAIL PROTECTED] e-mAiL: [EMAIL PROTECTED] hP: http://info.campus2.br/~mdapaz ___ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
smbmount depois de login no kde
Pessoal.. é o seguinte.. aqui a onde trabalho tenho alguns clientes linux e preciso que assim que o usuario logar no KDE ele de um smbmount na compartilhamento do meu samba em uma pasta no desktop do usuario.. porem preciso que ele monte especificando o usuario e senha. como poderia fazer isso por um script??? -- Cimed Ind. de Med. Ltda Mauricio Merlin Machado Analista de Suporte Tel. (11)2244-7257 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount depois de login no kde
Mauricio Merlin wrote: Pessoal.. é o seguinte.. aqui a onde trabalho tenho alguns clientes linux e preciso que assim que o usuario logar no KDE ele de um smbmount na compartilhamento do meu samba em uma pasta no desktop do usuario.. porem preciso que ele monte especificando o usuario e senha. como poderia fazer isso por um script??? Estude a sintaxe do comando mount (man mount) e faça um script com a linha de comando e coloque no ~/.kde/Autostart Se estiver com preguiça de estudar a man page, procure aqui no histórico da lista, há vários exemplos recentes. -- Marcos -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount depois de login no kde
kra, uma maneira rapida eh usar o konqueror se vc digitar no konqueror: smb://maquina ele entrara na maquina utilizando o protocolo samba Se vc criar uma atalho com este endereco, nao precisa script nem nada, quando o konqueror tenta abrir o compartilhamento ele ja pede usuario e senha em uma janela, com interface grafica e tudo ;-) clica direito na area de trabalho do kde, novo, link (acho que eh isso) dai o atalho coloca konqueror smb://maquina/diretorio e pronto flw Em 29/06/05, Marcos V Lazarini[EMAIL PROTECTED] escreveu: Mauricio Merlin wrote: Pessoal.. é o seguinte.. aqui a onde trabalho tenho alguns clientes linux e preciso que assim que o usuario logar no KDE ele de um smbmount na compartilhamento do meu samba em uma pasta no desktop do usuario.. porem preciso que ele monte especificando o usuario e senha. como poderia fazer isso por um script??? Estude a sintaxe do comando mount (man mount) e faça um script com a linha de comando e coloque no ~/.kde/Autostart Se estiver com preguiça de estudar a man page, procure aqui no histórico da lista, há vários exemplos recentes. -- Marcos -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- - O linux eh um sistema operacional amigável, ele so eh seletivo com os seus amigos! =P UIN: 1992397 MSN: [EMAIL PROTECTED] e-mAiL: [EMAIL PROTECTED] hP: http://info.campus2.br/~mdapaz
Re: smbmount //ns/part (g)/ se puede??
El Viernes, 6 de Mayo de 2005 23:43, Zhend R escribió: hola lista! llevo unos dias querieno montar una particion compartida por windows la cual esta compartida la unidad , pero esa unidad tiene un nombre y la han llamado INSTALL (G) referente a la unidad G .. la cual dentro de alli hay varias carpetitas que nesesito.. bueno yo le doy estos parametro : #smbmount //stred/INSTALL\ (g)/windowsXP/ Password: y sale el siguente error 5399: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) SMB connection failed Como puedo hacer para montar por comando smbmount una particion con nombre .. asi como es mi caso ... INSTALL (G) Saludos, .''`. Kenny De la Cruz R. Hola! Prueba con: #mount -t smbfs -o username=xxx //ip_del_ordenador/recurso_compartido /mnt/punto_de_montaje En tu caso podría ser por ejemplo: #mount -t smbfs -o username=administrador //192.168.150.26/g$ /mnt/windows_g Luego te pide el password y ya está... Para esto el punto de montaje debe existir, o sea, el directorio windows_g debe esxitir dentro de /mnt, el username es el ususrio con el que te vas a loguear en el ordenador con windows, la IP es la del ordenador y el recurso compartido claro está que es g$ Espero que con esto puedas resolver... Saludos, Asdrúval.
smbmount //ns/part (g)/ se puede??
hola lista! llevo unos dias querieno montar una particion compartida por windows la cual esta compartida la unidad , pero esa unidad tiene un nombre y la han llamado INSTALL (G) referente a la unidad G .. la cual dentro de alli hay varias carpetitas que nesesito.. bueno yo le doy estos parametro : #smbmount //stred/INSTALL\ (g)/windowsXP/ Password: y sale el siguente error 5399: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid share name) SMB connection failed Como puedo hacer para montar por comando smbmount una particion con nombre .. asi como es mi caso ... INSTALL (G) Saludos, .''`. Kenny De la Cruz R. : :' : .`'` `-Debian GNU/Linux (SARGE) Utilizando Debian GNU/Linux. ¿Por qué no te animas a probarlo? _ ¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en MSN Motor. http://motor.msn.es/researchcentre/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: smbmount //ns/part (g)/ se puede??
hola mano ... grasias por el dato la primera era ... la respuesta pero sin la / al final.. ejejeejej. #smbmount //stred/INSTALL\ \(g\)windowsXP/ Saludos, .''`. Kenny De la Cruz R. : :' : .`'` `-Debian GNU/Linux (SARGE) Utilizando Debian GNU/Linux. ¿Por qué no te animas a probarlo? brbrbrgt;From: ngarrido lt;[EMAIL PROTECTED]gt;brgt;Reply-To: ngarrido lt;[EMAIL PROTECTED]gt;brgt;To: Zhend R lt;[EMAIL PROTECTED]gt;brgt;Subject: Re: smbmount //ns/part (g)/ se puede??brgt;Date: Fri, 6 May 2005 18:51:43 -0400brgt;MIME-Version: 1.0brgt;Received: from zproxy.gmail.com ([64.233.162.202]) by mc9-f38.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 6 May 2005 15:51:43 -0700brgt;Received: by zproxy.gmail.com with SMTP id 40so1237580nzkfor lt;[EMAIL PROTECTED]gt;; Fri, 06 May 2005 15:51:43 -0700 (PDT)brgt;Received: by 10.36.101.20 with SMTP id y20mr766832nzb;Fri, 06 May 2005 15:51:43 -0700 (PDT)brgt;Received: by 10.36.36.11 with HTTP; Fri, 6 May 2005 15:51:43 -0700 (PDT)brgt;X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=brgt;DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NtSulWXZDRqA+B5gRdqg3XLy7hWWhiF23zk8tmloxw7+S1JFfFTGDIAT7UJu0xu3B/cUcF7v1zRphoqod+M2Cj0e7hWpXrTfKxUy0caEaQvq9RSncoHP6NfpnTH/ozuwfDmE7JwS2NME6Hh1AgROXQi/WJKkK2KzIXq9E8ziwUw=brgt;References: lt;[EMAIL PROTECTED]gt;brgt;Return-Path: [EMAIL PROTECTED]brgt;X-OriginalArrivalTime: 06 May 2005 22:51:43.0801 (UTC) FILETIME=[2CA8A290:01C5528E]brgt;brgt;Hola, prueba el siguiente comandobrgt;brgt; #smbmount stred/INSTALL\ \(g\)/ windowsXP/brgt;brgt;o este otro, no me acuerdo bienbrgt;brgt; #smbmount \/\/stred/INSTALL\ \(g\)/ windowsXP/brgt;brgt;espero que sirvabrgt;brgt;brgt;El 6/05/05, Zhend Rlt;[EMAIL PROTECTED]gt; escribió:brgt; gt; hola lista! llevo unos dias querieno montar una particion compartida porbrgt; gt; windows la cual esta compartida la unidad , pero esa unidad tiene un nombrebrgt; gt; y la han llamado quot;INSTALL (G)quot; referente a la unidad G .. la cual dentro debrgt; gt; alli hay varias carpetitas que nesesito.. bueno yo le doy estos parametro :brgt; gt;brgt; gt; #smbmount //stred/INSTALL\ (g)/windowsXP/brgt; gt; Password:brgt; gt;brgt; gt; y sale el siguente errorbrgt; gt;brgt; gt; 5399: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalidbrgt; gt; share name)brgt; gt; SMB connection failedbrgt; gt;brgt; gt; Como puedo hacer para montar por comando smbmount una particion con nombrebrgt; gt; .. asi como es mi caso ... quot;INSTALL (G)quot;brgt; gt;brgt; gt; Saludos,brgt; gt; .''`. Kenny De la Cruz R.brgt; gt; : :' :brgt; gt; .`'`brgt; gt; `-Debian GNU/Linux (SARGE)brgt; gt;brgt; gt; Utilizando Debian GNU/Linux. ¿Por qué no te animas a probarlo?brgt; gt;brgt; gt; _brgt; gt; ¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras enbrgt; gt; MSN Motor. http://motor.msn.es/researchcentre/brgt; gt;brgt; gt; --brgt; gt; To UNSUBSCRIBE, email to [EMAIL PROTECTED]brgt; gt; with a subject of quot;unsubscribequot;. Trouble? Contact [EMAIL PROTECTED]brgt; gt;brgt; gt;br _ Descarga gratis la Barra de Herramientas de MSN http://www.msn.es/usuario/busqueda/barra?XAPID=2031DI=1055SU=http%3A//www.hotmail.comHL=LINKTAG1OPENINGTEXT_MSNBH -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]