TRUSTBAR.NLM (NW5/NW6) - консольная утилита от Novell, создает для тома xml файл в котором расписаны все доверенности, из этого же файла их и восстанавливает.
в отличии от tbackup не глюкае с русскими и длинными именами файлов !!
NOVELL TECHNICAL INFORMATION DOCUMENT
TITLE: TRUSTBAR.NLM (NW5/NW6)
TID #: 2961900
README FOR: trustbr1.exe
NOVELL PRODUCTS and VERSIONS:
NetWare 5
NetWare 5.1
NetWare 6
ABSTRACT:
This file contains a new version of trustbar.nlm that fixes problems retrieving
trustees from directory paths with long names (greater than 256 characters).
Trustbar.nlm was written by the clustering engineering team specifically to
help in the trustee migration of files/directories from servers running NWCS on
NW5 to NWCS on NetWare 6. As such, it has not been tested outside of these
parameters extensively.
-----------------------------------------------------------------
DISCLAIMER
THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO
NOVELL. NOVELL MAKES ALL REASONABLE EFFORTS TO VERIFY THIS
INFORMATION. HOWEVER, THE INFORMATION PROVIDED IN THIS DOCUMENT
IS FOR YOUR INFORMATION ONLY. NOVELL MAKES NO EXPLICIT OR IMPLIED
CLAIMS TO THE VALIDITY OF THIS INFORMATION.
-----------------------------------------------------------------
INSTALLATION INSTRUCTIONS:
INSTALLATION OPTIONS:
Copy the file to the sys:system directory.
Note that the internal date displayed using the modules list on the server
may not match the date of the actual physical file. This is normal and does not
indicate a problem.
ISSUE:
Fixes included in this NLM:
1. Abend when a directory path is longer than 256 characters.
Self-Extracting File Name: trustbr1.exe
Files Included Size Date Time
..\
TRUSTBR1.TXT (This file)
TRUSTBAR.NLM 17492 3-8-2002 1:31:54 pm
-----------------------------------------------------------------
Any trademarks referenced in this document are the property of their respective
owners. Consult your product manuals for complete trademark information.
-----------------------------------------------------------------
Using TRUSTBAR.NLM to backup file system trustees
fact
Novell NetWare 5.0
Novell NetWare 5.1
Novell NetWare 6.0
Volumes Traditional and NSS.
Network Storage Services (NSS)
fix
In order to backup file system trustees on an NSS volume before a NetWare 6 inplace upgrade or an across the wire migration, TRUSTBAR.NLM should be used. TRUSTBAR.NLM can be found on the NetWare 6 shipping CD in the PRODUCTS\NCS directory. TRUSTBAR will backup both NSS and Traditional volumes. HINT: Use CONLOG.NLM to log all error messages written to the screen. NOTE: TRUSTBAR does NOT work with NetWare 4.x.
TRUSTBAR usage:
TRUSTBAR [path]: [-options]
OPTIONS: H B R D V
-H Help
-B Backup trustees
-R Restore trustees
-D Delete trustees
-V Verbose (outputs results to the console)
TO BACKUP TRUSTEES
To back up all file system trustees on VOL2, type the following at the system console prompt:
TRUSTBAR VOL2: -B -V (don't forget the COLON after the volume name)
The output will be similar to the following:
TRUSTBAR: server FS1 DN CN=FS1.OU=Servers.O=novell serverID 0
TrustBar_Trustees(VOL2:Email/Secretary): backup TID 0xB612 name CN=kjones.O=novell rights 83
TrustBar_Trustees(VOL2:Email/Secretary): backup TID 0xB6A1 name CN=dsmith.O=novell rights 65
TRUSTBAR creates a file at the root of whatever volume being backed up called "trustees.xml". Once the file is created, it can be renamed and moved elsewhere. WARNING: if you run TRUSTBAR on a volume which already has a "trustees.xml" file at the root of the volume, the file will be overwritten.
TO RESTORE TRUSTEES
To restore file system trustees, type the following at the console:
TRUSTBAR VOL2:\trustees.xml(or different filename) -R -V (Remember the COLON after the volume name)
The XML file must be somewhere on the volume on which the trustees are being restored, but not necessarily at the root of the volume. If the XML file were in a sub directory called TEMP and the file was renamed to VOL2.XML, the following command would be used:
TRUSTBAR VOL2:\temp\vol2.xml -R -V
TO DELETE TRUSTEES
To delete all file system trustees on VOL2, type the following at the system console prompt:
TRUSTBAR VOL2: -D (don't forget the COLON after the volume name)
***NOTE - This will remove trustee assignments without warning. Please verify that you have Backed up your Trustee Assignments before doing so.***