Question

using ice to export / import applications

Asked by: psadac

hi 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.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2006-03-01 at 00:50:35ID21755946
Tags

ice

,

export

Topic

Novell Netware Network Software

Participating Experts
2
Points
500
Comments
12

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

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.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

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.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

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.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. ICS
    I have installed ICS on a host win98 machine and have a functioning network between 2 pc's with tcp/ip private addressing. However, I cannot get the client machine to browse the web while the host machine is dialed up to ISP. I select winipcfg and have the public address give...
  2. ICS & Error 5
    Gang: I'm trying to get my ICS to work -- It *DID* work in the past, but I had to re-install to repair my installation, and now when I try to turn on my ICS (I'm sharing I-Net via a Bluetooth USB device) -- it says something to the effect of "Dependency Group or Service...
  3. Cisco VPN behind ICS
    Hello all! I'm using ADSL connection. I have home network and one of my computers is has Internet Connection Sharing (ICS Server). The problem is that I cannot use Cisco VPN client 3.5.. behind the ICS. I have to turn off ICS and then connect to VPN from the the ICS server, ...
  4. [Sockets] Indy or ICS?
    I don't want to start a flame-war but I often hear people praising the ICS components here while I myself just prefer the Indy components. So, a challenge. Define in up to 2000 words why we should use package [X] instead of package [Y] when developing client/server components...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

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.

Join the Community

Answers

 

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...

 

by: psadacPosted on 2006-03-01 at 11:55:34ID: 16078438

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 ?

 

by: ShineOnPosted on 2006-03-01 at 12:20:12ID: 16078701

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.com/

 

by: floyd99Posted on 2006-03-03 at 22:44:12ID: 16102107

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)

 

by: psadacPosted on 2006-03-11 at 09:49:08ID: 16163687

"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/cgi-bin/search/searchtid.cgi?10094434.htm)
however, thank you for your suggestions ShineOn and floyd99.

 

by: floyd99Posted on 2006-03-11 at 15:10:40ID: 16164793

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.

 

by: ShineOnPosted on 2006-03-11 at 17:26:29ID: 16165219

"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.


 

by: psadacPosted on 2006-03-12 at 07:32:00ID: 16167708

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 ;-)

 

by: ShineOnPosted on 2006-03-12 at 11:25:07ID: 16168695

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/coolsolutions/tools/14128.html.  Even the hardcore NetWare geeks that write their own tools want the pointin' and clickin.'

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...

 

by: psadacPosted on 2006-03-12 at 12:13:46ID: 16168919

"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/06utils/utils5.htm#Settrust
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 ;-)

 

by: floyd99Posted on 2006-03-12 at 15:31:59ID: 16169889

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. ;)

 

by: ShineOnPosted on 2006-03-13 at 07:50:58ID: 16174993

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.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...