特殊:Badtitle/NS100:AccessingNetwareShares/zh:修订间差异
新页面: {{Copyedit translation| from=https://help.ubuntu.com/community/AccessingNetwareShares}}<br>{{From| https://help.ubuntu.com/community/AccessingNetwareShares}}<br>{{Translator|tlhl28}}<br>{... |
无编辑摘要 |
||
第29行: | 第29行: | ||
== Netware Password Change<br><br> == | == Netware Password Change<br><br> == | ||
Most Windows Netware Clients needs to change their passwords every x days.<br> <br>So to make it easy to update your passwords in Ubuntu use this script after changing your Windows Netware Password.<br><br> | Most Windows Netware Clients needs to change their passwords every x days.<br><br>So to make it easy to update your passwords in Ubuntu use this script after changing your Windows Netware Password.<br><br> | ||
几乎所有 | |||
WINDOWS下的Netware客户端都要每X天改一次密码。所以在你更改你的 Windows Netware 的密码后,执行这个脚本,它会使你在Ubuntu下更新密码变得省事。<br><br> | |||
<pre>#!/bin/bash | <pre>#!/bin/bash | ||
# windows-passwd-change.sh | # windows-passwd-change.sh | ||
第49行: | 第53行: | ||
echo 'Running rc.local script to configure IPX Netware mounts...' | echo 'Running rc.local script to configure IPX Netware mounts...' | ||
echo | echo | ||
/etc/rc.d/rc.local | /etc/rc.d/rc.local</pre> | ||
</pre> | |||
Note: The content on this page should be merged with MountingNovellNetworkDrives. <br>注:本页面的内容要和 MountingNovellNetworkDrives合并使用<br> | Note: The content on this page should be merged with MountingNovellNetworkDrives. <br>注:本页面的内容要和 MountingNovellNetworkDrives合并使用<br> |
2008年2月2日 (六) 19:55的版本
文章出处: |
{{#if: | [ https://help.ubuntu.com/community/AccessingNetwareShares {{{2}}}] | https://help.ubuntu.com/community/AccessingNetwareShares }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/af | • {{#if: UbuntuHelp:AccessingNetwareShares|Afrikaans| [[::AccessingNetwareShares/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/ar | • {{#if: UbuntuHelp:AccessingNetwareShares|العربية| [[::AccessingNetwareShares/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/az | • {{#if: UbuntuHelp:AccessingNetwareShares|azərbaycanca| [[::AccessingNetwareShares/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/bcc | • {{#if: UbuntuHelp:AccessingNetwareShares|جهلسری بلوچی| [[::AccessingNetwareShares/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/bg | • {{#if: UbuntuHelp:AccessingNetwareShares|български| [[::AccessingNetwareShares/zh/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/br | • {{#if: UbuntuHelp:AccessingNetwareShares|brezhoneg| [[::AccessingNetwareShares/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/ca | • {{#if: UbuntuHelp:AccessingNetwareShares|català| [[::AccessingNetwareShares/zh/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/cs | • {{#if: UbuntuHelp:AccessingNetwareShares|čeština| [[::AccessingNetwareShares/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/de | • {{#if: UbuntuHelp:AccessingNetwareShares|Deutsch| [[::AccessingNetwareShares/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/el | • {{#if: UbuntuHelp:AccessingNetwareShares|Ελληνικά| [[::AccessingNetwareShares/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/es | • {{#if: UbuntuHelp:AccessingNetwareShares|español| [[::AccessingNetwareShares/zh/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/fa | • {{#if: UbuntuHelp:AccessingNetwareShares|فارسی| [[::AccessingNetwareShares/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/fi | • {{#if: UbuntuHelp:AccessingNetwareShares|suomi| [[::AccessingNetwareShares/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/fr | • {{#if: UbuntuHelp:AccessingNetwareShares|français| [[::AccessingNetwareShares/zh/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/gu | • {{#if: UbuntuHelp:AccessingNetwareShares|ગુજરાતી| [[::AccessingNetwareShares/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/he | • {{#if: UbuntuHelp:AccessingNetwareShares|עברית| [[::AccessingNetwareShares/zh/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/hu | • {{#if: UbuntuHelp:AccessingNetwareShares|magyar| [[::AccessingNetwareShares/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/id | • {{#if: UbuntuHelp:AccessingNetwareShares|Bahasa Indonesia| [[::AccessingNetwareShares/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/it | • {{#if: UbuntuHelp:AccessingNetwareShares|italiano| [[::AccessingNetwareShares/zh/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/ja | • {{#if: UbuntuHelp:AccessingNetwareShares|日本語| [[::AccessingNetwareShares/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/ko | • {{#if: UbuntuHelp:AccessingNetwareShares|한국어| [[::AccessingNetwareShares/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/ksh | • {{#if: UbuntuHelp:AccessingNetwareShares|Ripoarisch| [[::AccessingNetwareShares/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/mr | • {{#if: UbuntuHelp:AccessingNetwareShares|मराठी| [[::AccessingNetwareShares/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/ms | • {{#if: UbuntuHelp:AccessingNetwareShares|Bahasa Melayu| [[::AccessingNetwareShares/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/nl | • {{#if: UbuntuHelp:AccessingNetwareShares|Nederlands| [[::AccessingNetwareShares/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/no | • {{#if: UbuntuHelp:AccessingNetwareShares|norsk| [[::AccessingNetwareShares/zh/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/oc | • {{#if: UbuntuHelp:AccessingNetwareShares|occitan| [[::AccessingNetwareShares/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/pl | • {{#if: UbuntuHelp:AccessingNetwareShares|polski| [[::AccessingNetwareShares/zh/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/pt | • {{#if: UbuntuHelp:AccessingNetwareShares|português| [[::AccessingNetwareShares/zh/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/ro | • {{#if: UbuntuHelp:AccessingNetwareShares|română| [[::AccessingNetwareShares/zh/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/ru | • {{#if: UbuntuHelp:AccessingNetwareShares|русский| [[::AccessingNetwareShares/zh/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/si | • {{#if: UbuntuHelp:AccessingNetwareShares|සිංහල| [[::AccessingNetwareShares/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/sq | • {{#if: UbuntuHelp:AccessingNetwareShares|shqip| [[::AccessingNetwareShares/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/sr | • {{#if: UbuntuHelp:AccessingNetwareShares|српски / srpski| [[::AccessingNetwareShares/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/sv | • {{#if: UbuntuHelp:AccessingNetwareShares|svenska| [[::AccessingNetwareShares/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/th | • {{#if: UbuntuHelp:AccessingNetwareShares|ไทย| [[::AccessingNetwareShares/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/tr | • {{#if: UbuntuHelp:AccessingNetwareShares|Türkçe| [[::AccessingNetwareShares/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/vi | • {{#if: UbuntuHelp:AccessingNetwareShares|Tiếng Việt| [[::AccessingNetwareShares/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/yue | • {{#if: UbuntuHelp:AccessingNetwareShares|粵語| [[::AccessingNetwareShares/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/zh | • {{#if: UbuntuHelp:AccessingNetwareShares|中文| [[::AccessingNetwareShares/zh/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/zh-hans | • {{#if: UbuntuHelp:AccessingNetwareShares|中文(简体)| [[::AccessingNetwareShares/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:AccessingNetwareShares | UbuntuHelp:AccessingNetwareShares | {{#if: | :}}AccessingNetwareShares/zh}}/zh-hant | • {{#if: UbuntuHelp:AccessingNetwareShares|中文(繁體)| [[::AccessingNetwareShares/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:AccessingNetwareShares|:AccessingNetwareShares/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :AccessingNetwareShares/zh/zh | | {{#ifexist: AccessingNetwareShares/zh/zh | | {{#ifeq: {{#titleparts:AccessingNetwareShares/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:AccessingNetwareShares/zh|1|-1|}} | zh | | }}
Introduction
This page shows how to mount a Netware filesystem and create symbolic links to it on the User Desktop.
本页面展示了如何挂载一个 Netware文件系统和创建符号链接到使用者的桌面。
What is Needed
ipx - utilities to configure the kernel ipx interface.
配置交换协议内核接口的工具
ncpfs - a set of utilities to use resources from NetWare servers.
一组用于使用NetWare服务器资源的工具。
Mount Netware Filesystem
Firstly we need to make the folder to mount the filesystem to.
首先我们要建一个文件夹来挂载文件系统
sudo mkdir /mnt/company_fs
Then we mount the filesystem
接着挂载文件系统
sudo ncpmount -S RDI_DBN_FS -U <UserName>.LABS -u <UserNo> -g <GroupNo> -P <NetWarePassword> -c <UbuntuUserName> /mnt/company_fs
To make sure that the filesystem is automatically mounted at startup, we need to add the following line to /etc/rc.local
我们要在 /etc/rc.local 文件里添加以下内容以确认文件系统在启动时自动挂载
ncpmount -S RDI_DBN_FS -U <UserName>.LABS -u <UserNo> -g <GroupNo> -P <NetWarePassword> -c <UbuntuUserName> /mnt/company_fs
Creating Symbolic Links
创建符号链接
Create a symbolic (never a hard) link to the mounted netware filesystem and place it in a folder on the user desktop.
为已经挂载的netware文件系统创建一个符号链接(非硬盘),然後把它软连接到用户桌面的一个文件夹里。
ln -s /mnt/company_fs/ /home/<UbuntuUserName>/Desktop/CompanyNetwork/company_fs
Now, most Companies have a lot of shared drives in Windows, ex P: S: X: etc., that are normally used for say Apps, Users etc.
现在的很多公司在WINDOWS下有很多共享,例如 P: S: X: 等等,这些通常用于描述应用程序,用户等
If required these shares must be made with symbolic links as only one mount to a filesystem can be make at a time.
如果需要,这些共享应该单独用符号连接 连接到一个文件系统。
ln -s /mnt/company_fs/FolderToShare /home/<UbuntuUserName>/Desktop/CompanyNetwork/ShareDriveName
Netware Password Change
Most Windows Netware Clients needs to change their passwords every x days.
So to make it easy to update your passwords in Ubuntu use this script after changing your Windows Netware Password.
几乎所有
WINDOWS下的Netware客户端都要每X天改一次密码。所以在你更改你的 Windows Netware 的密码后,执行这个脚本,它会使你在Ubuntu下更新密码变得省事。
#!/bin/bash # windows-passwd-change.sh # Script to change netware mounts and restart cups after a # windows/netware password change ncpumount -a gedit /etc/cups/printers.conf echo echo 'Restarting the CUPS service...' echo /etc/init.d/cupsys restart gedit /etc/rc.d/rc.local echo echo 'Running rc.local script to configure IPX Netware mounts...' echo /etc/rc.d/rc.local
Note: The content on this page should be merged with MountingNovellNetworkDrives.
注:本页面的内容要和 MountingNovellNetworkDrives合并使用