* Re: [sisyphus] поломался модуль smbfs в ядре 2.4.25-alt2.
@ 2004-03-30 15:05 Alexander Bokovoy
2004-03-30 15:44 ` [sisyphus] credentials+cifs (was: поломался модуль smbfs в ядре 2.4.25-alt2.) iLya Bryzgalow
0 siblings, 1 reply; 8+ messages in thread
From: Alexander Bokovoy @ 2004-03-30 15:05 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
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.
--
/ Alexander Bokovoy
Samba Team http://www.samba.org/
ALT Linux Team http://www.altlinux.org/
Midgard Project Ry http://www.midgard-project.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] credentials+cifs (was: поломался модуль smbfs в ядре 2.4.25-alt2.)
2004-03-30 15:05 [sisyphus] поломался модуль smbfs в ядре 2.4.25-alt2 Alexander Bokovoy
@ 2004-03-30 15:44 ` iLya Bryzgalow
2004-03-30 16:01 ` Alexander Bokovoy
0 siblings, 1 reply; 8+ messages in thread
From: iLya Bryzgalow @ 2004-03-30 15:44 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Tue, 30 Mar 2004 18:05:05 +0300 Alexander Bokovoy
<a.bokovoy@sam-solutions.net> сообщил:
> 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
Это про что?
>
> --
> / Alexander Bokovoy
> Samba Team http://www.samba.org/
> ALT Linux Team http://www.altlinux.org/
> Midgard Project Ry http://www.midgard-project.org/
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/__/_/ _/ _/ _/
_/ iLya Bryzgalow aka iLL _/ _/ _/
_/ Linux-Astronomy-Krasnodar-Russia_/ _/ _/ _/
_/ i don't smoke, so wish to you! _/ _/ _/_/_/ _/_/_/
=========LinuxUser 301257===========
http://www.krumn.oilnet.ru/
ftp://ftp.krumn.oilnet.ru/
jid://ill@jabber.org
e-mail://ill@krumn.oilnet.ru
kernel-2.6.4-std26-up-alt4 ALT Linux Sisyphus (20040326)
19:37:18 up 1 day, 7:44, 4 users, load average: 0.36, 0.22, 0.23
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] credentials+cifs (was: поломался модуль smbfs в ядре 2.4.25-alt2.)
2004-03-30 15:44 ` [sisyphus] credentials+cifs (was: поломался модуль smbfs в ядре 2.4.25-alt2.) iLya Bryzgalow
@ 2004-03-30 16:01 ` Alexander Bokovoy
2004-03-30 16:38 ` iLya Bryzgalow
0 siblings, 1 reply; 8+ messages in thread
From: Alexander Bokovoy @ 2004-03-30 16:01 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] credentials+cifs (was: поломался модуль smbfs в ядре 2.4.25-alt2.)
2004-03-30 16:01 ` Alexander Bokovoy
@ 2004-03-30 16:38 ` iLya Bryzgalow
2004-03-30 16:42 ` Alexander Bokovoy
0 siblings, 1 reply; 8+ messages in thread
From: iLya Bryzgalow @ 2004-03-30 16:38 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Tue, 30 Mar 2004 19:01:41 +0300 Alexander Bokovoy
<a.bokovoy@sam-solutions.net> сообщил:
> 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. Если машины с 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
Тоже самое. Самое главное мне это надо в /etc/fstab.
Хотя (задумчиво) руту можно передать переменную заранее, до обработки
/etc/fstab при загрузке. Ладно, заработало (с cifs) и то хорошо.
ЗЫ cifs это теперь заменитель smbfs полностью? Разумеется что, с самбами
и с новыми Выньдами.
Ладно, завтра допроверяем.
>
> --
> / Alexander Bokovoy
> Samba Team http://www.samba.org/
> ALT Linux Team http://www.altlinux.org/
> Midgard Project Ry http://www.midgard-project.org/
--
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ _/ _/ _/
_/ iLya Bryzgalow aka iLL _/ _/ _/
_/ Linux-Astronomy-Krasnodar-Russia _/ _/ _/ _/
_/ i don't smoke, so wish to you! _/ _/ _/_/_/ _/_/_/
=========LinuxUser 301257=============================
http://www.krumn.oilnet.ru/
ftp://ftp.krumn.oilnet.ru/
JID://ill@jabber.org
e-mail://ill@krumn.oilnet.ru
kernel-2.6.4-std26-up-alt4 ALT Linux Sisyphus (20040326)
20:32:44 up 1 day, 8:40, 4 users, load average: 0.35, 1.00, 1.26
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] credentials+cifs (was: поломался модуль smbfs в ядре 2.4.25-alt2.)
2004-03-30 16:38 ` iLya Bryzgalow
@ 2004-03-30 16:42 ` Alexander Bokovoy
2004-03-30 16:55 ` [sisyphus] credentials+cifs Sviataslau Svirydau
0 siblings, 1 reply; 8+ messages in thread
From: Alexander Bokovoy @ 2004-03-30 16:42 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
On Tue, Mar 30, 2004 at 08:38:49PM +0400, iLya Bryzgalow wrote:
> > > работал smbfs
> > > Это про что?
> > Что-то я в коде обработку именно credentials= не вижу. Попробуйте так:
> >
> > PASSWD_FILE=/root/samba.credentials mount -t cifs //samba-m/ivt
> > /mnt/ivt
> Тоже самое. Самое главное мне это надо в /etc/fstab.
> Хотя (задумчиво) руту можно передать переменную заранее, до обработки
> /etc/fstab при загрузке. Ладно, заработало (с cifs) и то хорошо.
>
> ЗЫ cifs это теперь заменитель smbfs полностью? Разумеется что, с самбами
> и с новыми Выньдами.
Я бы скорее сказал -- рекомендованное. Пока будут существовать
неюникодные сервера, нужда в smbfs не отпадет.
--
/ Alexander Bokovoy
Samba Team http://www.samba.org/
ALT Linux Team http://www.altlinux.org/
Midgard Project Ry http://www.midgard-project.org/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] credentials+cifs
2004-03-30 16:42 ` Alexander Bokovoy
@ 2004-03-30 16:55 ` Sviataslau Svirydau
2004-03-30 21:06 ` Alexey Lubimov
0 siblings, 1 reply; 8+ messages in thread
From: Sviataslau Svirydau @ 2004-03-30 16:55 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Alexander Bokovoy wrote:
>On Tue, Mar 30, 2004 at 08:38:49PM +0400, iLya Bryzgalow wrote:
>
>
>>>>работал smbfs
>>>>Это про что?
>>>>
>>>>
>>>Что-то я в коде обработку именно credentials= не вижу. Попробуйте так:
>>>
>>>PASSWD_FILE=/root/samba.credentials mount -t cifs //samba-m/ivt
>>>/mnt/ivt
>>>
>>>
>>Тоже самое. Самое главное мне это надо в /etc/fstab.
>>Хотя (задумчиво) руту можно передать переменную заранее, до обработки
>>/etc/fstab при загрузке. Ладно, заработало (с cifs) и то хорошо.
>>
>>ЗЫ cifs это теперь заменитель smbfs полностью? Разумеется что, с самбами
>>и с новыми Выньдами.
>>
>>
>Я бы скорее сказал -- рекомендованное. Пока будут существовать
>неюникодные сервера, нужда в smbfs не отпадет.
>
>
И пока cifs не начнет нормально работать на smp :)
--
Regards,
Sviatoslav Sviridov <Sviataslau_Svirydau at epam.com>
phone: +375 17 210 1662, ext. 1302
mobile: +375 29 641 4214
--
"Oh, well. Not everybody can be as goodlooking as me. It's a curse."
- Linus Torvalds
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] credentials+cifs
2004-03-30 16:55 ` [sisyphus] credentials+cifs Sviataslau Svirydau
@ 2004-03-30 21:06 ` Alexey Lubimov
2004-03-30 20:28 ` Sviataslau Svirydau
0 siblings, 1 reply; 8+ messages in thread
From: Alexey Lubimov @ 2004-03-30 21:06 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Sviataslau Svirydau пишет:
> И пока cifs не начнет нормально работать на smp :)
>
В какую сторону? вроде у меня работает. Чего бояться надо?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [sisyphus] credentials+cifs
2004-03-30 21:06 ` Alexey Lubimov
@ 2004-03-30 20:28 ` Sviataslau Svirydau
0 siblings, 0 replies; 8+ messages in thread
From: Sviataslau Svirydau @ 2004-03-30 20:28 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Alexey Lubimov пишет:
> Sviataslau Svirydau пишет:
>
>> И пока cifs не начнет нормально работать на smp :)
>>
> В какую сторону? вроде у меня работает. Чего бояться надо?
Хм...
У меня конфигурация была такая: шара на вынь2к (машина в домене AD), я у
себя монтирую эту шару через cifs (последний раз пробовал давно, но это
было на cifs 0.9.3 и 0.9.9). Вроде бы работает... Интересное начинается
при попытке скопировать на зашаренный ресурс чего-нить большого - через
некоторе время машина виснет, вплоть до использования Alt+SysRq :-/
А потом оказалось, что smbfs тоже работает - его и начал снова
использовать. Перейти на cifs меня вынудила невозможность использовать
smbfs где-то в сентябре-октябре прошлого года.
--
Regards,
Sviatoslav Sviridov <Sviataslau_Svirydau at epam.com>
/* icq: 10845380; jid: svd at altlinux.org; */
--
You will be attacked by a beast who has the body of a wolf, the tail of
a lion, and the face of Donald Duck.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-03-30 21:06 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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
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