From: Sergey Bolonkin <sb@izh.com>
To: community@altlinux.ru
Subject: Re: [Comm] FTP access to NetWare
Date: Fri, 21 Feb 2003 13:36:55 +0400
Message-ID: <20030221133655.0c3b35e6.sb@izh.com> (raw)
In-Reply-To: <3E55EA57.1010603@yug.com.ua>
On Fri, 21 Feb 2003 10:59:03 +0200
"Андрей В. Кулешов" <KuleshovAV@yug.com.ua> wrote:
> Очень рад, что проблема занимает еще кого-нибудь кроме меня ;)
> Здравствуйте!
>
> Sergey Bolonkin пишет:
>
> > Если сервер в локалке, то может лучше по NCP с ним договариваться ?
> Как? Расскажите, пожалуйста.
>
Не так давно отписывал одному из начинающих админов.
Получите.
Писалось под утро, так что могут быть некоторые неточности :)
#--------------------------------------------------
Логин из Linux на сервер NetWare 5.1 по TCP/IP
По порядку.
Предположим (поменяешь на свои значения):
nw5.domain.ru - DNS (no NDS ) твой NetWare сервере
nw5 - name NetWare server (NDS)
dd - твой логин на Linux
ddnw - твой логин на NetWare
work - том на сервере nw5, который будем монтировать
$ - строка приглашения на Linux для не root пользователя
1. Если еще не прописал, сделай
$ sudo ncedit /etc/group
в строке
rpm:x:16
добавь свой Linux-login_name
rpm:x:16:dd
выход [F10]
2. Устанавливаем пакет NCPFS с библиотеками
$ sudo apt-get install ncpfs libncp
3. Создаем каталог для личных выполняемых файлов
mkdir /home/dd/bin
4. Создаем точку монтирования
mkdir /home/dd/NW/nw5_work
5. Создаем файл монтирования тома
$ mcedit /home/dd/bin/nw_login
===================================================
#!/bin/sh
sudo ncpmount \
-P cp866 \
-A nw5.domain.ru nw5 \
-U ddnw \
-V work \
-g dd \
-u dd \
/home/dd/NW/nw5_work
===================================================
выход [F10]
-A может быть DNS name или IP
-U может быть как bindery name так и NDS name
-P можно сразу уназать пароль
5. Создаем файл размонтирования тома
$ mcedit /home/dd/bin/nw_logout
===================================================
#!/bin/sh
sudo ncpumount /home/dd/NW/nw5_work
===================================================
выход [F10]
Запускаем nw_login, и имеем в каталоге /home/dd/NW/nw5_work
файловую систему сервера.
nw_logout - соответственно.
Проверил на работе и дома по модему - работает.
Можешь сам поковыряться
$ man ncpmount
#--------------------------------------------------
_______________
Sergey Bolonkin
next prev parent reply other threads:[~2003-02-21 9:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-18 16:03 "Андрей В. Кулешов"
2003-02-19 8:25 ` "Андрей В. Кулешов"
2003-02-20 11:57 ` Sergey Bolonkin
2003-02-21 8:59 ` "Андрей В. Кулешов"
2003-02-21 9:04 ` Korshunov Ilya
2003-02-21 9:21 ` Sergey Bolonkin
2003-02-21 10:11 ` Илья Брызгалов
2003-02-21 10:15 ` Sergey Bolonkin
2003-02-21 10:57 ` sam
2003-02-21 11:47 ` Илья Брызгалов
2003-02-21 10:59 ` Korshunov Ilya
2003-02-21 9:36 ` Sergey Bolonkin [this message]
2003-02-21 10:43 ` sam
2003-02-21 13:33 ` "Андрей В. Кулешов"
2003-02-24 7:58 ` "Андрей В. Кулешов"
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=20030221133655.0c3b35e6.sb@izh.com \
--to=sb@izh.com \
--cc=community@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 Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git