thanks for your quick reply ShineOn.
why ? let say for historical reasons, but, unfortunately i can't change this. anyway, do you have a solution ?
Main Topics
Browse All Topicshi experts,
i have a zenworks application object installed in one container. i need to install this application on several containers. i have exported this application using ice and created an ldif file. but in this file there are multiple attributes refering to other objects of the original container (appBackLink, appFolderObjects, ACL, ...). if i replace them by the correct context, and import this ldif file, will it work correctly ? is there another way to do this from the command line ?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I have no idea how successful you'll be using ICE to replicate an application object that way. I know of no "command line" method for replicating objects.
Unless you have hundreds of containers making it an herculean task, I'd recommend using ConsoleOne, using the add object dialog, selecting the app object type, and choosing to create the new object using an existing app object. All of the attributes of the existing object should translate over to the new object, making it virtually identical to the original.
You could also export the application as an AOT and use that AOT when you re-create the object in each container
Or, you could use a 3rd party utility, like ZENith: http://www.performingpcs.c
look around on coolsolutions. There are zen export/import utilities as ShineOn suggested.
A while back we needed to make duplicates of a heap of app objects and the new object needed to be exactly like the old, with one small change.
I wrote a batch file that extracted the app to AOT, converted the AOT to AXT, search/replaced to make the change needed, converted back to AOT, then imported into the tree.
From memory the utils to do this were from coolsolutions... "appxport", "aotxport" and "appcreat".
Then to extract the original object's associations and replicate on the new object, "applist" and "appadd" from the magnificent JRB Utilities suite (IMO you're not a real admin if you don't own John's suite of utilities... do yourself a favour and spend the tiny US$1000 a year and get them -- they've saved my bacon countless times for hundreds of tasks)
"IMO you're not a real admin if you don't own John's suite of utilities"
IMO a good network/OS should provide efficient command line tools free of charge. Unfortunately Novell command line tools are buggy or unmaintained.
I have found something related to ice in novell support and will test it soon (http://support.novell.com
however, thank you for your suggestions ShineOn and floyd99.
I agree. But, we all know that's not the case. ICE is excellent, I use it extensively.
Trust me though, JRB Utils is one of the best investments you'll ever make.. his software is cheap, his support is awesome (if you need a change to a program, he's always happy to tweak the code). I can't recommend it enough.
"IMO a good network/OS should provide efficient command line tools free of charge. Unfortunately Novell command line tools are buggy or unmaintained."
That's a bizarre comment. Usually, folx complain about having to >use< command-line tools, 'cause they needs tha pointin' an' tha clickin'.. I'd never heard anyone complain about any of the NetWare command line tools being buggy or unmaintained before now, either.
You get more for free from Novell than any other closed-source OS, besides, so the "free of charge" thing seems a bit off to me...
Now that NetWare can use the BASH shell, there are even more command-line tools.
Good luck with the ICE thing. Let us know how it goes.
ShineOn, ICE is probably not a good example, but you probably know the RIGHTS command which only works with 8.3 file names, stop randomly when you have non ASCII characters or when the directory is more than three level deep. Don't you think Novell don't have developpers to correct this ?
Additionnally if you have many servers (> 100) all over the world (sometimes with slow lines), 'point and click' tools are not a valid option, you can't even have logs of what have been done.
bash and other command line are only available on server side and only on newer versions of netware, if you don't have access to the console you're stuck.
On other closed source OS, you get xcacls, ldifde, csvde without having to convince managment to purchase jrbsoftware tools for each site.
I am not microsoft fan, but i think that Novell have missed something, they should have bought jrbsoftware or developped equivalent tools. Let's hope that with Ximian and Suse guys they will be smarter ;-)
The RIGHTS.EXE DOS command-line command is deprecated. It is for NetWare 3.x and NetWare 4.x. Its last version was, I believe, 4.22. being a DOS command, it does not understand long file names. Deprecated means it's no longer supported or maintained, and you use it at your own risk. Guess what - GRANT.EXE and REVOKE.EXE are deprecated, too. (for the casual reader, they're Bindery command-line utilities)
If you're trying to use the RIGHTS command in modern NetWare, the problem isn't the tool, it's the user. You should be assigning filesystem rights via eDirectory tools anyway. Since almost any eDirectory object in a NetWare network can be a filesystem principal and filesystem rights can be inherited many ways, it is too complex a task for the command line, and it was right to drop "RIGHTS.EXE" from the repertoire. The resource-kit command you cite for Windoze is OK for Windoze rights, 'cause it's all static inheritance ACL-based stuff and very simplistic to begin with, not dynamic like NWFS/NSS trustee rights.
If you must do that kind of thing via a command-line-style function, the closest thing would be trustee.nlm, on the server. If you're stuck in the command-line-centric mindset, a Windoze command-prompt utility called TRUSTEES.EXE had been written by some admin somewhere and was available for free download from the Novell coolsolutions site, but guess what! The latest revision (trustees5) has a GUI! http://www.novell.com/cool
Bulk loading of certain trustee rights may be a valid endeavor, but you could probably do what you need using trustee.nlm.
The csvde and ldifde Windoze RK commands are more closely related to ICE, I suppose, but as you say, that's probably not a good example of buggy, unmaintained utilities... 'specially since it's not a deprecated 16-bit MS-DOS command...
"You should be assigning filesystem rights via eDirectory tools anyway"
no, thanks. An outdated, bugged command line tool is always far better than a gui when you have mass updates to do.
"it is too complex a task for the command line"
when you want you can : http://www.jrbsoftware.com
it's a shame that Novell can't do something like this.
"The resource-kit command you cite for Windoze is OK for Windoze rights, 'cause it's all static inheritance ACL-based stuff and very simplistic to begin with, not dynamic like NWFS/NSS trustee rights."
probably, but it works, and you don't have to search additionnal tools to do the job.
"The latest revision (trustees5) has a GUI!"
i have already tested, il has taken ages to display the available trees, i stopped five minutes later.
"Even the hardcore NetWare geeks that write their own tools want the pointin' and clickin.'"
hope they won't be deceived with Novell dropping their DR-DOS system to switch to linux ;-)
I totally agree with psadac.
For instance, the other day I needed to expire about a few hundred staff accounts. This involved moving them into an 'expired' OU, setting their accounts to disabled, setting their groupwise accounts to disabled, and removing them from all groupwise distribution lists.
Using a few different JRB command line tools, I did this whole task in literally 10 minutes. This included extracting a list of all the staff that I needed to expire in the first place (based on last login time and a few other things), and then doing it.
Can you imagine how long it would have taken using Console One? i'd still be here a week later, quite literally.
It's soon time for me to delete all of last year's student accounts who are no longer studying. That will be somewhere in the order of 20,000 accounts. This task doesn't daunt me at all.. including figuring out which accounts to delete and then making it happen (including their home directories I might add), will be less than a day's work.
Sorry, anyone who says GUI based stuff is the way to go clearly doesn't maintain a large user base, or if they do, they never need to perform mass updates/changes to more than 10 accounts at a time. Anything GUI based, that has to read a container with 30,000 objects in it, just has a coronary.
Of course, then think about all the things we schedule overnight or at various points during the day. The way I import new student accounts 3 times a day from the enrollment system is via an extensive collection of batch files using ICE and JRB utils. How I would have done this without those command line utils I have no idea.
I agree - Novell should provide tools to do this stuff. But they don't, and I guess that's why John is still in business and still developing.. and I'm still very much willing to keep paying him every year for it. In fact, i believe he's writing a version of his tools for the linux and windows environments now!
Just my 2c. ;)
I didn't say "GUI ... is the way to go." Just that the old method of assigning filesystem rights using "rights.exe" is not the way to go, especially with the powerful inheritance model of NetWare filesystems in conjunction with eDirectory.
If the filesystem rights are structured properly, the direct assignment of rights to users should be extremely minimal.
Business Accounts
Answer for Membership
by: ShineOnPosted on 2006-03-01 at 09:44:07ID: 16077196
Is the object otherwise identical, or is each container a different location with its own server, for load-balancing the app?
I guess I'm wondering why have more than one app object for the same app...