DS5.2 - is it possible to run db2ldif.pl as a different user?

Normally we run exports using the following command
./db2ldif.pl -s "c=us" -a us.ldif -D "cn=directorymanager" -w <password>But I'd like to be able to run this as a different user, e.g.:
./db2ldif.pl -s "c=us" -a us.ldif -D "uid=me,ou=people,c=us" -j <password file>When I try that I get the following error:
adding new entry cn=export_2009_5_12_11_21_27, cn=export, cn=tasks, cn=config
ldap_add: Insufficient accessThe user in question has full read/write to the directory, but I'm guessing I've missed something that's not immediately apparent.
Does anyone know if this approach is possible? If so, do you know what steps I've missed?
Many thanks.

I'd like to be able to run this as a different user...Yep, as long as you have ACIs set up to allow the necessary access, this works fine.
The user in question has full read/write to the directory...Do you mean they have full access to cn=config, or to the suffix with your data?
Note that the error happens while db2ldif.pl is attempting to add an entry beneath cn=config.

Similar Messages

  • Is it possible to share an aperture library with different users using osx server.

    is it possible to share an aperture library with different users using osx server.

    Not really.  You should not be sharing an Aperture library over a network.  It's not designed for that and you'll likely corrupt your library at some point.

  • Running an app as a different user to use encrypted directories

    I have the following use case:
    We ship our application to customers as a pre-configured windows 8.1 box that runs as a server in a closed network.
    We want to provide access to the system to the customer for configuration, but we need to keep the software and the files created protected from unauthorized copying, even if somebody manages to steal the box and remove the hard disk.
    My questions are:
    Is it possible to create a special user for the application that uses bitlocker to encrypt the directories containing the application and its data, then allow users to run the application from a different account, where the application is run as that special
    user, giving it exclusive access to the directories?
    If we provide customers with an admin account, would they be able to take ownership of the directories?
    If this is possible, how is it done? Obviously this requires a way to safely store the credentials for the app's special user. Can that be done safely?
    I found a link to this app (http://www.robotronic.de/runasroben.html), which seems to allow something like this and sent an email to the developer asking him if the app would support my use case. I'm looking for alternatives that don't require additional
    software.
    Thanks!

    Hi,
    For you requirement, BitLocker cannot achieve this.
    BitLocker encrypts all personal and system files on the operating system drive, fixed data drives, and removable data drives. BitLocker does not depend on the individual user accounts associated with files. BitLocker is either on or off, for all users or
    groups.
    On the other hand, another encrypted tool EFS, EFS encrypts files based on the user account associated with it.
    EFS encrypts personal files and folders one-by-one and doesn't encrypt the entire contents of a drive. If a computer has multiple users or groups, each of them can encrypt their own files independently.
    But we can share the encrypted file between users:
    http://windows.microsoft.com/en-in/windows-vista/share-encrypted-files
    Applies to Windows 7 also.
    Alex Zhao
    TechNet Community Support

  • Is it possible to run 2 programs that need different versions of a library?

    Hi,
    I have the following situation.
    Tomcat 5.0 Server.
    Program A is running on server, and needs axis 1.1 as a library.
    Program B is running on the same server, and needs axis 1.4 as a library.
    Axis 1.1 and 1.4 are not backwards compatible... if I just put 1.1 on it.. program B won't work.. If I just put 1.4 on it, program A won't work.
    Tomncat doesn't seem to like having the same jar loaded in twice.
    How do I make this all work? I really don't want to have to try to manually convert a large application from using 1.1 to 1.4 or vice versa, want to try to make them both work...
    Edited by: TunaBoo on Jan 10, 2008 10:00 PM

    No.

  • HT204053 can this be used to run 1 spreadsheet from 5 different users imputting information

    can icloud be used to track information being put in one spreadsheet from 5 different locations?

    Hi there clv implants!
    I have an article here that can explain to you a little more about iCloud and can inform you about documents in the cloud:
    iCloud: Access iWork documents stored in iCloud
    http://support.apple.com/kb/ph2704
    Take care, and thanks for visiting the Apple Support Communities.
    -Braden

  • Is it possible to copy saved XLS templates to different users?

    Hello Everyone,
    Simple question here, yet proving devilish in it's complexity!!
    I am working with BEX and have generated several result sets saved as XLS files/templates.  (The templates allow me to easily update the criteria every month).  I am wondering though, if after I have created the templates, can I copy/send/etc... them to different users?  I'm only looking to copy 7 templates each to 6 different users, so it's not a ton of templates, but I don't want to recreate each template for each individual log on.  That would take too long and be too much of a PITA.
    Any ideas or thoughts on the subject, would be greatly appreciated!!
    Thanks in advance,
    Joe

    Hi Joe,
    i think you can achieve this but you have to save the templates to the role and not to your favorite. the other users should have access to that role. so that they can open and use those templates.
    hope this helps.

  • Running the same application in different database table- giving error:

    Hi All,
    I m new to JSF, spring and Hibernate web application. I have done a web project using JSF, Hibernate and Spring. We have to maintain the Data records which is stored in mysql db. Now there are different table is there such as example Employee Details and Company Details. So we created two seperate application o tomacat, For both Application we use same functionality except the JSP FILE Name and table name (Which is changed according to Application).
    In the employee.hbm.xml
    I changed the table name according to application. Two table (Company Details & Employee Details)...
    Now while running the application on the tomcat server, only one application is running at a time. if we start running the Employee Application, then Company Application is giving the below error,
    Error in Log:
    The resourse is already in used/busy.
    Interesting thing is only one Application is running at a time and other is in stop status.
    Could you please help us, how to overcome the error,
    Is it not possible to run both the application on different browsers.
    In logs the below error is showing:
    java.lang.Exception: Socket bind failed: [730048] Only one usage of each socket address (protocol/network address/port) is normally permitted.
    Could you please give some idea to sort out the below issue.
    Thanks in advance.

    Yes, I've changed the DynamicJDBCBindingFilter Class in this way:
    method doFiletr
    String usrName = request.getParameter(USERNAME_PARAM);
    String pswd = request.getParameter(PASSWORD_PARAM);
    String URL = request.getParameter(URL_PARAM);
    session.setAttribute(Configuration.DB_USERNAME_PROPERTY, usrName);
    session.setAttribute(Configuration.DB_PASSWORD_PROPERTY, pswd);
    session.setAttribute(Configuration.DB_CONNECT_STRING_PROPERTY,URL);//
    This is for retrieve the JDBC URL from the login page
    Then i've modified the DynamicJDBCEnvInfoProvider to accept this new parameter
    if(mJDBCURL!=null)
    ((Hashtable) connEnvironment).put(Configuration.DB_CONNECT_STRING_PROPERTY,mJDBCURL);
    Finally i modifed the DynamicJDBCSessionCookieFactory
    tho put this new parameter in DynamicJDBCEnvInfoProvider class
    EnvInfoProvider provider = new DynamicJDBCEnvInfoProvider(
    (String)session.getAttribute(Configuration.DB_USERNAME_PROPERTY),
    (String)session.getAttribute(Configuration.DB_PASSWORD_PROPERTY),
    (String)session.getAttribute[b](Configuration.DB_CONNECT_STRING_PROPERTY));
    cookie.setEnvInfoProvider(provider);
    But when I test the application it doesn't works.
    With the correct parameter the login fails.
    I'm not using a DB on my local machine, but one on another machine which has not the Dept table.
    thanks for help

  • With XP, with three different user accounts, is it possible to download Firefox 4 to one user and retain Firefox 3 on another, for a learning period?

    We are running XP, and have 3 different user accounts on one desktop. We are very excited by the Firefox4 features, but one user has much less comfort with changes, and doesn't want to lose browsing comfort in 3 before he has a chance to get used to using 4. May take a while....
    Is there any way to download Firefox 4, perhaps into a new location. Or a new user account. And use this as a 'teaching tool' while still retaining 3?
    Or can we upgrade to 4, redownload a version of 3, and import that user's previous bookmarks to the new download of 3, until we get him comfortable.
    The answer is probably no. But if there is a creative way to do this, without another computer available, that would be great. If not, we upgrade and deal with the frustration and whining here.... 4 is too good to pass up.
    Ideas?
    Linda

    When you install Firefox 4, choose the custom installation option and change the location where Firefox is installed. You will then have 2 versions of Firefox installed.
    As you have different user accounts, each user will have their own Firefox profile (location where bookmarks, passwords, etc are stored). You should not switch between different versions of Firefox with the same user profile. For those that want to use Firefox 4, just make sure you use a Firefox shortcut that opens Firefox 4, likewise for the person who wants to stay with Firefox 3, just keep their original Firefox shortcut and it should open the old version.

  • Run program as different user

    Hey there guys, how can i run a program as a different user in fluxbox?

    this will allow you to run applications as a different user in an X session. It's not mine - I got it from somewhere but I don't remember it anymore.
    #!/bin/sh
    # usage is:
    # save as ~/script-name
    # chmod +x script-name
    # ~/xsu username 'programname &'
    # ex:
    # ~/xsu john 'firefox &'
    if [ $# -lt 2 ]
    then echo "usage: `basename $0` clientuser command" >&2
    exit 2
    fi
    CLIENTUSER="$1"
    shift
    # FD 4 becomes stdin too
    exec 4>&0
    xauth list "$DISPLAY" | sed -e 's/^/add /' | {
    # FD 3 becomes xauth output
    # FD 0 becomes stdin again
    # FD 4 is closed
    exec 3>&0 0>&4 4>&-
    exec su - "$CLIENTUSER" -c \
    "xauth -q <&3
    exec env DISPLAY='$DISPLAY' "'"$SHELL"'" -c '$*' 3>&-"

  • Is it possible to run sub vi and main vi at same time from startup?

    Is it possible to run both my main vi and my two sub vi`s from startup, all of them continuously? I have to sub vi`s that are supposed to take in measurements from two different instruments continuously. I manage to make a program where I can open up and close the sub vi`s, but when my sub vi`s are closed, nothing is happening in them...and they start to run again when I open them...and I have to close them if my main VI is supposed to run. So the data in the chart is only from the periodes when the sub vi has been open.
    Thanks in advance for your help!

    I will send my labview programs. "Hovedprogram" is my main vi, "front" and "front 2" is my sub vi`s. I am also using global variables. I have already searched the discussion forum trying to find an answer to my problem, but I haven`t quite managed yet...
    My sub vi`s are not connected to any instrument now, but I have inserted a sinewave-generator and a chart in "front"(my sub vi) so I am able to see that the sub vi actually stop running when i close the window.
    Attachments:
    front2.vi ‏17 KB
    Hovedprogram.vi ‏42 KB
    front.vi ‏69 KB

  • Is it possible to run the Classic Environment INSIDE Rosetta on a MacBook Pro (Early 2008) with Leopard?

    Hi there,
    Rosetta works up until Snow Leopard. The Classic Environment works up until a late version of Tiger. Rosetta makes apps. built for PowerPC Macs work. The Classic Environment make apps. for Mac OS 9 work on Mac OS X for PowerPC Macs.
    Would it consequently be possible to run the Classic Environment INSIDE Rosetta?
    I have read https://discussions.apple.com/docs/DOC-2292, but I am still unconvinced unless there is a flaw to my logic. At any rate, I subscribe to the Churchillian adage of never giving in unless the forces of common sense and doctrine dictate otherwise.
    If it won't work, then why?
    Best Regards,
    Stefan

    Hi there, Klaus1, BDAqua and a brody,
    Thank you ever so much for your kind replies! (I tried giving you the 10 pts. of 'Correct Answers' to each of you, but unfortunately it was only possible for Klaus1, so the points were distributed between him and BDAqua even though you were all helpful!)
    My next question will naturally be: Is SheepShaver legal? My Google search didn't yield any conslusive proof that it was, nor any that it wasn't, but as the E-Maculation web page seemed quite official and above board I would assume that it is.
    The next logical step would be to ask whether it's safe for both HW and SW to run SheepShaver. HW, it appears, is very rarely, if ever, affected by SW settings, so I would assume that hardwarewise, I'm good to go. Could it ruin the kernel of Mac OS X's Unix-based operating system?
    Kind Regards,
    Stefan

  • Is it possible to run an application from a user or container login script?

    Is it possible to run an application from a user login script or a container login script?
    A "Force Run" application object works fine if the user's workstation is setup to auto-load "Application Window" or "Application Explorer" but in this case I'd like to run an application when someone does a manual login (ie. they right-click red "N" and choose "Novell Login...")
    Using a User Package's "Scheduled Action Policy" and the Event=Login also does not work when a user logs in manually. This type of Event seems to only apply when the user first logs into the workstation, not at a manual login.
    Thanks,
    Marc

    > Is it possible to run an application from a user login script or a
    container login script?
    Yes, see the documentation:
    http://www.novell.com/documentation/...a/a7q6999.html
    Regards
    Rolf Lidvall
    Swedish Radio (Ltd)

  • Is it possible to run a java program without using the command prompt?

    Hi,
    I was wondering whether it is possible to run a Java program (not an applet) without using a command line in the command prompt?
    Basically I want to run a program that will be continually running in the background and hence I don't want to have a command prompt screen loaded up as well - I just want the program to be running in the task bar.
    I know how to run the program in the task bar - but I still need to launch the program from the command prompt - is there anyway I can get a program running without having to start it from the command prompt?
    Cheers

    Or create a desktop shortcut (in Windows) or an application launcher ( in Linux GUI).

  • Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details?

    Is it possible to run two different versions of Apple operating system (for ex. 10.6.8 and 10.9) on a MacBook Pro, either on the same disk or from an external hard disk? If so, where would I find the details? (In order to be able to use the older applications no longer supported in 10.9)

    If you want to add a second partition to the internal drive (in Disk Utility, select the drive, then open the partition tab and just click the + button), you should first be sure that you will have enough room to accommodate whatever the second volume will be. I am currently doing this for Snow and Mountain Lion.
    To get to whatever volume is not the startup disk, restart and hold down option/alt at the chime, which will bring up a selection of the two volumes. Use the left or right arrow keys to select it and then hit enter/return.

  • Is it possible to run 5.5 on windows 8.1??

    Is it possible to run Photoshop 5.5 on Windows 8.1? I have a CD which I tried to run but when I click on install nothing is happening. I have CS6 trial already running on the laptop, so my question is, is it because I need to uninstall CS6 (although I haven't got a warning message come up to tell me to do that first before running 5.5, so don't want to get rid of the CS6 trial without making sure that it is the problem) or whether 5.5 will not run on Windows 8.1 anyway.
    Your time and advice would be greatly appreciated, as need to know whether I need to return the 2nd hand 5.5 CD.

    Thanks so much Gene. I really appreciate your time and suggestions.
    Btw, should have been clearer  as one couldn't imagine I meant that 5.5 (i.e. ancient one). The adobe website also has this info: Windows 8.1 compatibility for Adobe Photoshop version 5 which just says version 5.5 under compatibility. So it does seem possible indeed to run this but perhaps for someone more techie. Had a look at the thread re: 6.0 and tried to run it as admin. Tried copying the contents on the desktop and change the compatibility under properties (even ran compatibility trouble shooter under properties) - but in vain. Must be doing something wrong. Prolly easier to return the CD (:/)
    If anyone could drop an idea in relation to how/where to buy a genuine and legal copy of a CS5/CS6 I woudl greatly appreciate. I bought the 5.5 off eBay and probably will search for the right version this time on there again. But it's a bit of a question mark for me in regards to how do I make sure that I buy a genuine licenced version which I can register with the Adobe.

Maybe you are looking for

  • HT202157 how can i reset my apple tv

    i tried to update my apple tv after the update, its telling me to conect it with a cable to the itunes store i already tried it, but it doesnt work how can i reset it?

  • Fn + Spacebar key combinatio​n stopped working

    Fn + Spacebar key combination stopped working. I am using Windows 7. FWIW, I typed the key combination  "Ctrl +" which Windows 7 uses for magnification. Could this have overridden my Lenovo keypad settings?? Thank you,  Solved! Go to Solution.

  • 10.5.2; Canon 1DsM3 Raw Files = "Unsupported Image Format" in Aperture

    Just did the update and pointed Aperture to a folder of Canon 1Ds Mark III raw files (standard raw files, no sRaw or anything like that). Thumbnail previews are grey and Viewer says, "Unsupported Image Format". Tried rebooting and verifying/fixing pe

  • How do I create a simple database search

    Either I'm being very stupid or all the manuals and books I'm reading really are skirting round the obvious question of how do I build a search page (using Dreamweaver 8) that searches a database using only valid values previously fetched from the da

  • Console problem in Solaris 7

    Hi, I'm having a problem with the console in Solaris 7. I can open a session in terminal mode but I can't open a session in graphic mode. When I write the login and press the button, the screen is blocked and I have to kill the process from a remote