ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] credentials+cifs (was: поломался модуль smbfs в ядре 2.4.25-alt2.)
Date: Tue, 30 Mar 2004 19:01:41 +0300
Message-ID: <20040330160140.GH28096@sam-solutions.net> (raw)
In-Reply-To: <20040330194455.6e8952fb.ill@krumn.oilnet.ru>

On Tue, Mar 30, 2004 at 07:44:55PM +0400, iLya Bryzgalow wrote:
> > On Tue, Mar 30, 2004 at 05:17:43PM +0300, led@ukr-fin.com.ua wrote:
> > > Если нет, тогда каковы ваши рекомендации? Переходить на 2.6.3 и не 
> > > использовать Виндошные шары, а только самбовские?
> > Вот что получается:
> > 
> >  1. Реализация SMB_TRANS2 в smbfs не соответствует реалиям. В
> >  результате, получается вот такое:
> >  
> >  Mar 30 16:50:16 foobar kernel: smb_receive_trans2: invalid parms,
> >  disp=0, cnt=16480, tot=0 Mar 30 16:50:16 foobar kernel:
> >  smb_trans2_request: result=-5, setting invalid
> > 
> >  Что с этим делать, я подумаю. Нужна синхронизация кода smbfs с
> >  состоянием поддержки RPC в Самбе, которая ушла далеко вперед.
> >  
> >  2. Если машины с Windows не менее NT, то лучше использовать cifsfs
> >  (kernel-modules-cifs-std-up, например). Описание опций -- в
> >  mount.cifs.
> # mount -t cifs //samba-m/ivt /mnt/ivt -o user=ill
> монтируется нормально (с smbfs нет) но!:
> # mount -t cifs //samba-m/ivt /mnt/ivt -o \
>   credentials=/root/samba.credentials
> mount error 13 = Permission denied
> Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
> В файле разумеется username= password= остались с тех времен когда
> работал smbfs
> Это про что?
Что-то я в коде обработку именно credentials= не вижу. Попробуйте так:

PASSWD_FILE=/root/samba.credentials mount -t cifs //samba-m/ivt /mnt/ivt

-- 
/ Alexander Bokovoy
Samba Team                      http://www.samba.org/
ALT Linux Team                  http://www.altlinux.org/
Midgard Project Ry              http://www.midgard-project.org/


  reply	other threads:[~2004-03-30 16:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-30 15:05 [sisyphus] поломался модуль smbfs в ядре 2.4.25-alt2 Alexander Bokovoy
2004-03-30 15:44 ` [sisyphus] credentials+cifs (was: поломался модуль smbfs в ядре 2.4.25-alt2.) iLya Bryzgalow
2004-03-30 16:01   ` Alexander Bokovoy [this message]
2004-03-30 16:38     ` iLya Bryzgalow
2004-03-30 16:42       ` Alexander Bokovoy
2004-03-30 16:55         ` [sisyphus] credentials+cifs Sviataslau Svirydau
2004-03-30 21:06           ` Alexey Lubimov
2004-03-30 20:28             ` Sviataslau Svirydau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040330160140.GH28096@sam-solutions.net \
    --to=a.bokovoy@sam-solutions.net \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git