Страница 1 из 1

перенос прав NetWare

СообщениеДобавлено: 23 апр 2013, 14:23
sovchik
извиняюсь ,ежели не сумел найти сам решение. Но есть вот такой вопрос: как перенести NetWare права на папки с одного сервака на другой?
Возникла необходимость домашние директории с сервака на сервак перенести и как то перебивать руками 200+ папок не очень хочется...

Re: перенос прав NetWare

СообщениеДобавлено: 23 апр 2013, 15:51
Владимир Семиколенных
TRUSTEE.NLM

Re: перенос прав NetWare

СообщениеДобавлено: 23 апр 2013, 21:40
sovchik
это конечно хорошо, но перенести надо на SLES.

Re: перенос прав NetWare

СообщениеДобавлено: 24 апр 2013, 05:10
Dimerson
TRUSTNDS Version 1.4
Copyright (c) Nick Payne 1995-1998

This program will scan all volumes on an NDS server and find all file and directory trustee rights and inherited rights filters. It can also optionally create a batch file containing all the RIGHTS statements needed to recreate all the trustee assignments. The batch file created is TRUSTEES.BAT in the root of the SYS volume on the server.

TRUSTNDS.EXE is the 16-bit DOS version which needs a Novell client installed, TRUSTNDS32 is a Win32 console executable which needs either Windows 95 or Windows NT with Novell's client32 installed.

Usage
TRUSTNDS [/R] [/A]
or: TRUSTNDS /?

Options
R - create a batch file containing the RIGHTS statements
needed to recreate the assignments.
A - process all volumes on server without prompting

Processes either your primary server, if your current drive is a local drive, or the server for the current drive. Note that if your server has long name space support installed, and you are using the /R option to create a batch file for recreating the trustee assignments, you are better off using TRUSTNDS rather than TRUSTNDS32. The reason for this is that the RIGHTS utility which is used to recreate the trustee assignments is only a 16-bit program, and cannot cope with long filenames. If you use TRUSTNDS, it will use the short DOS 8.3 format for any long names for which it finds trustee assignments.

NOTE: as an NDS utility, this program needs access to the NLS files. This means you must either run it from a directory such as PUBLIC which has an NLS subdirectory, or create a search mapping to the PUBLIC\NLS directory.

Nick Payne
29 Oct 1998
njpayne@pcug.org.au

p.s. даже в сырцах доступна ....

Re: перенос прав NetWare

СообщениеДобавлено: 29 апр 2013, 08:16
sovchik
спасибо, практически что надо.
единственное, не понимает русские имена файлов. решение знаете какое-либо?

Re: перенос прав NetWare

СообщениеДобавлено: 29 апр 2013, 10:06
Dimerson
Оно же в сырцах .... все можно потестить и допилить ;o)

Re: перенос прав NetWare

СообщениеДобавлено: 30 апр 2013, 06:57
sovchik
оно на rights основано, толку 0 допиливать: rights сам не понимает ни бум-бум по русски :(

Re: перенос прав NetWare

СообщениеДобавлено: 30 апр 2013, 14:33
Dimerson
был settrust от jrb (вроде как win32) но оно $$$ стоит

Re: перенос прав NetWare

СообщениеДобавлено: 02 май 2013, 18:07
sovchik
был не прав, он русские понимает.
в общем, алгоритм такой получился:
1. на netware запускаем turstnds32 и снимаем все трасты в BAT файл.
2. приводим его в подходящий внешний вид (модифицируем команды RIGHTS в соотвествии с командой rights из OES). Там не сложно, прямые замены подстрок получаются. Ну и из CP866 в UTF-8 пересохранить файл надо. far с этим отлично справляется.
3. запускаем полученное на OES сервере.
завтра и попробую ,сегодня не успею долить инфу.

upd: в общем, всё сработало как и ожидалось. Тема исчерпана, всем спасибо.