Ldapsearch -t option and "temporary files"

The MAN page shows
"A single -t writes retrieved non-printable values to a set of temporary files."
I am using a single -t and the attribute I am returning shows like "cACertificate::" where the :: implies it is binary.
But I can NEVER find where the file for the "temporary files" is created.
Normally on Linux/Unix I would expect to find these it /tmp.
Any ideas?
Thanks -jim

Ok, mkstemp (which is the C call being used underneath the ldapsearch -t and -tt switches) returns a "safe" temporary file path, which means the man page is +way wrong+ here.
The temporary files are logged under +/var/folders/{random stuff expunged}/ldapsearch-objectClass-XXXXXX+ and which means (if you want this to go somewhere else) then you'll want to use -T /var/tmp or whatever.
The target file locations for the various chunks are displayed when the following syntax is used:
ldapsearch -LLL -x -h ldap.example.com -b "dc=ldap,dc=example,dc=com" -tt
Related commands (and useful Google search targets) include:
$ getconf DARWINUSER_CACHEDIR
$ getconf DARWINUSER_TEMPDIR
Whether logging a radar against the documentation is in your future or mine is an open question.

Similar Messages

  • Which caches and temporary files can I remove

    Using Drive Genius 3 I have identified lots of cache and temporary files they say I can delete. Is there any concern with removing them?

    No, go right ahead.

  • Import failure and temporary files

    Hi, I'm trying to import my photos from my iPhone into Aperture using the Import function. During the import process, it creates a temporary file, like "..importing.IMG1721.JPG" onto my photo folder, and then continues to say "Importing" indefinitely, so I need to do a force quit on the application. So now two problems:
    1) how can I remove these temporary files Aperture has created? When I do a Get Info on them, the permissons say Unknown Access. I can't drag them to Trash or rename these files either?
    2) is the iPhone importing a known bug? Note my setup is as follows:
    - my files in Aperture are referenced instead of managed
    - my photo files are stored on an external drive connected thru my Airport Extreme
    - I have no problem importing photos from an SD card to my external drive using Aperture's Import
    - as a workaround, I can tell Aperture to import the photos from the iPhone to a local folder, then manually copy the files from the local folder to my external drive and then do a "reconnect all" in Aperture, though this process is time-consuming and something I want to avoid.
    Any help is much appreciated.
    Thanks,
    Tim

    The m4v can be converted using Compressor. The Unix file is more of a problem. See if you can fnd something that opens it. Try the QT player first. If not you'll need to get it in a proper video format.
    Can't tell you what to convert it to without knowing complete and exact specifications of the media.

  • Font.createFont() and temporary files

    Hi,
    I have a servlet which uses the Font createFont(int, InputStream) method to overlay text on an image, which is sent to the client.
    However, each time this method is invoked, a copy of the font as a temporary file is stored in c:\windows\temp. Closing the input stream has no effect, and the files only seem to disappear once JBoss/Tomcat is shut down.
    Once the font is read and rendered, it is no longer required; how does one signal that this temporary file should be removed? I cannot believe that there is no mechanism designed to programmatically remove these.
    (as a possibly amusing sidenote - I recently went on holiday for two weeks and had temporarily commented out the lines to cache already-generated images. I came back to find 6Gb of temporary files, all of them being copies of Verdana.ttf!)
    Thanks,
    Matt
    PS. Yes, I realise that it's inefficient to be reading the font file every time I invoke the servlet - I will change this, but I still dislike the thought of having useless temporary files floating around.

    Thank you both so much for your help; I've upgraded from 1.5.0_06 to 1.5.0_08 and the temporary files are now correctly garbage collected.
    There are several reasons why I am using an InputStream for loading the Verdana font; firstly, I believe it is best practice to write code that is platform-agnostic where possible. Secondly, I prefer to bundle dependent resources in the software itself rather than rely - or hope - on the target system having what the software is after (within reason, of course).
    However, the pragmatic answer is that since Java's font kerning capabilities are less-than-desired (non-existant, even?), I am using iText to calculate font kerning. iText reads the ttf file itself, so rather than have a hard-coded reference to c:\windows\fonts\verdana.ttf (ick!) I decided to bundle the font with the software.

  • Infobus applet and temporary files

    Hi,
    I have made an infobus applet and deploy it with the OAS407.
    Now I have seen, that each time I load the applet from the
    OAS407 the applet create 15 files in my temp-folder with the
    prefix jar_cache (for example: jar_cache40989.tmp).
    There is no problem with creating but there is a problem with
    deleting because there is no mechanism for automatic deleting.
    So I have to delete these files manually but I think that this
    is unuseable for end-user.
    Does anybody know how to bypass this problem ?
    Thanks.
    Nils
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Nils Buering ([email protected]):
    I ran into the same problem when I built an applet that uses DAC and runs the app module in the downloaded applet. The Java plugin 1.2.2 is creating these files in TEMP and these files are equal in size to the support jar and zip files downloaded to the browser. You can easily verify this by comparing file sizes (use the Properties facility when you right click a Windows file sname to see its exact size in bytes). The plugin does not delete these files when you exit the browser and thus re-creates them every time you restart the browser and access the applet from the web server potentially filling the user's disk.
    SUN has fixed this problem with the 1.3 plugin. Ater downloading and installing the 1.3 plugin, you must edit the applet's HTML file to add two new PARAM options: "cache_option" and "cache_archive". See http://java.sun.com/j2se/1.3/docs/guide/misc/appletcaching.html for instructions (a document titled "Applet caching in Java Plug-in") on doing this. This basically tells the plugin to use its own caching, instead of the browser's and doing this, the jar files created in the user's TEMP directory are deleted when you kill the browser.
    However, since Jdeveloper is not certified with Java 2 v1.3, I ran into problems with code that works under the 1.2.2 plugin. The applet no longer runs once its been downloaded: I get a permissions error in jbo.logging.show and jbo.logging.trace; to wit: (java.lang.ExceptionInInitializerError: java.security.AccessControlException: access denied (java.sql.SQLPermission setLog). So switching to the 1.3 plugin will fix the buildup of jar files in TEMP problem; but your applets may no longer work! Best to wait until Jdeveloper is certified with 1.3 then you can run the 1.3 plugin successfully.
    Hi,
    I have made an infobus applet and deploy it with the OAS407.
    Now I have seen, that each time I load the applet from the
    OAS407 the applet create 15 files in my temp-folder with the
    prefix jar_cache (for example: jar_cache40989.tmp).
    There is no problem with creating but there is a problem with
    deleting because there is no mechanism for automatic deleting.
    So I have to delete these files manually but I think that this
    is unuseable for end-user.
    Does anybody know how to bypass this problem ?
    Thanks.
    Nils<HR></BLOCKQUOTE>
    null

  • How to import programmatically an APEX images file using workspace images option and CSS files to APEX?

    Oracle db 11gR2
    Oracle APEX 4.2.1
    Linux RHEL 6.3
    I am importing a images file programmatically into APEX.  And also a CSS file.
    I want to add an images file to my APEX instance but I want to choose the option -- workspace images --.  How does one do that programmatically via the APEX API e.g.?
    I don't want the images tied to an application within APEX.
    Does one do the same thing for CSS files that are imported to APEX?
    thx.

    This is interesting and helpful,  I use the following code to import my APEX database application and run it via SQL*Plus and it works fine for database applications -- what do I need to change/add/modify in order to load the images and CSS files?  NOTE: I want the images to be -- Workspace images -- not tied to any application.  Also, I need to handle the situation where the images and CSS data already exist in the APEX environment as well as when they are not there (i.e. initial install).  Usually it is a case where it is an upgrade so the data already exists in the APEX app and just needs to be updated.
    declare
                      v_workspace      varchar2(35)    := 'WORKSPACE';
                      n_existing_app   number          := 123;
                      n_new_app        number          := 456;
                      v_app_alias      varchar2(35)    := 'WKALIAS';
                      v_parsing_schema varchar2(35) :='WORKSPACE_PARSE';
                      n_secgrp_id      number;
                      v_err_msg        varchar2(200);
                      n_err_num        number;
                      n_workspace_id   number;
                    begin
                      -- get workspace id
                      select workspace_id
                      into n_workspace_id
                      from apex_workspaces
                      where workspace = v_workspace;
                      -- set workspace id
                      apex_application_install.set_workspace_id (n_workspace_id);   
                      -- set security group
                      apex_util.set_security_group_id (p_security_group_id => apex_application_install.get_workspace_id);
                      -- set pasring schema
                      apex_application_install.set_schema(p_schema => v_parsing_schema);
                      -- delete existing app
                      begin
                        wwv_flow_api.remove_flow(n_existing_app);
                      exception
                      when NO_DATA_FOUND then -- do nothing when the application does not exist
                        null;
                      end; 
                      -- set new app id
                      apex_application_install.set_application_id(p_application_id => n_new_app);
                      -- generate offset
                      apex_application_install.generate_offset;
                      -- set application alias
                      apex_application_install.set_application_alias(p_application_alias => v_app_alias);
                      exception
                      when others then        
                        n_err_num := SQLCODE;
                        v_err_msg := SUBSTR(SQLERRM, 1, 200);
                        dbms_output.put_line('Error number = ' || n_err_num);     
                        dbms_output.put_line('Error message = ' || v_err_msg);
                    end;
    @newapp.sql
    commit;

  • Downloading music and temporary files

    When downloading a song from the internet... it goes to a temporary folder and then it dissapears from itunes after a few days, is there a setting that I can change to modify this behavior??
    Thanks

    No, but I'm surprised it takes a few days to disappear.
    Many programs use this method - create a temp file to make sure the whole thing gets downloaded, then move it to the final location, and finally delete the temp file.

  • Problems with creation of catalogue XPGrpwise and temporary

    Problems with creation of catalogue XPGrpwise and temporary files.
    I use GroupWise 8.01 and WinXP (SP2), OpenOffice 3.1.
    Why at opening files in Library, temporary files are not created in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\XPGrpwise, and created in catalogue C:\Documents and Settings\Jon Smith\My Documents. That causes problems. How to change a situation that worked as it is necessary.
    Catalogue XPGrpWise is created and leaves duly in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\.

    Cvetaev,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • How can I delete temporary files in FF. This is very simple in IE but feature cannot be found in FF

    IE has a simple means to delete both cookies and temporary files. I can delete cookies in FF but there is no way found to delete temporary files. This is a design feature flaw I assume since I cannot imagine this feature is not in the design..just can't be found. I have no idea about the educated guess of "installed plugins". My use of Firefox is just plain vanilla. I've never added any plugins to it.
    Any help appreciated.

    See:<br />
    - https://support.mozilla.com/en-US/kb/Clearing+private+data<br />
    - https://support.mozilla.com/en-US/kb/How+to+clear+the+cache
    Also see: https://support.mozilla.com/en-US/kb/Options+window+-+Privacy+panel<br />
    Tools > Options > Privacy > "Clear history when Firefox closes" > Settings
    <br />
    The information submitted with your question indicates that you have out of date plugins with known security issues that should be updated. To see the plugins submitted with your question, click "More system details..." to the right of your original question post.
    * Adobe Shockwave for Director Netscape plug-in, version 11.0
    * Adobe PDF Plug-In For Firefox and Netscape 8.2.5
    * Next Generation Java Plug-in 1.6.0_21 for Mozilla browsers
    #'''Check your plugin versions''': http://www.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #'''Update Shockwave for Director'''
    #*NOTE: this is not the same as Shockwave Flash; this installs the Shockwave Player.
    #*Use Firefox to download and SAVE the installer to your hard drive from the link in the article below (Desktop is a good place so you can find it).
    #*When the download is complete, exit Firefox (File > Exit)
    #*locate and double-click in the installer you just downloaded, let the install complete.
    #*Restart Firefox and check your plugins again.
    #*'''<u>Download link and more information</u>''': http://support.mozilla.com/en-US/kb/Using+the+Shockwave+plugin+with+Firefox
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**Use Firefox to download and SAVE the installer to your hard drive from the link in the article below
    #**On the Adobe page, un-check any extra items (i.e. Free McAfee® Security Scan Plus) then click Download button
    #**If you see message just under tabs, DO NOT click the Allow button, instead click below that where it says "click here to download".
    #**Click "Save to File"; save to your Desktop (so you can find it)
    #**After download completes, close Firefox
    #**Click the installer you just downloaded and allow the install to continue
    #***Note: Vista and Win7 users may need to right-click the installer and choose "Run as Administrator"
    #**'''<u>Download link and more information</u>''': https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox#Installing_and_updating_Adobe_Reader
    #*After the installation, start Firefox and check your version again.
    #'''Update Java:'''
    #* Download and update instructions: https://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox
    #* Removing old versions (if needed): http://www.java.com/en/download/faq/remove_olderversions.xml
    #* Remove multiple Java Console extensions (if needed): http://kb.mozillazine.org/Java#Multiple_Java_Console_extensions
    #* After the installation, start Firefox and check your version again.

  • Use Temporary File (File Receiver)

    Hi All,
    I have a file format in the file receiver which has a special charecter(#0) that represents the end of the file. but i wanna append more than one message to the same file. if i do so, the content would be added after the end of the file charecter (#0) there by my system which processes these files ignores the content. i think i hav to do something using the option 'Use Temporary File'. but i din't find ample info about it on help.sap.com. Can any one plz throw some light on this?
    Thnx in Advance
    Anil Kumar Veepuri

    Hi Anil,
    The functionality of temporary file is that, the receiver file adapter first collects the data of the file into a temporary file before putting it on the server.
    This is generally use so that ur target system does not read the file when u are writing it on the server.
    Try using File construction mode Append.
    Hope this helps.
    Regards
    Vijaya

  • Tmp file locations and Log file locations

     

    I have been having a real headache too trying to get WebLogic to put all its
    log files and temporary files in directories that I specify. It seems that
    WebLogic has a mind of its own as files get created all over the place.
    Trying to configure these really basic settings has proved extremely
    awkward. Why is it such a nightmare to do?
    "Scott Jones" <[email protected]> wrote in message
    news:3af0179d$[email protected]..
    OK, I changed the relative path for the log files.
    1. I am still getting app-startip.log
    app0000.tlog
    in the root directory and not in the ./logs directory. Any other
    settings?
    2. I sill do not know how to redirect the tmp_ejbdomain.port directory.
    Any suggestions?
    Scott
    "Sanjeev Chopra" <[email protected]> wrote in message
    news:3aef0a42$[email protected]..
    "Scott Jones" <[email protected]> wrote in message
    news:3aef05be$[email protected]..
    I a domain configured and running with two applications. WLS 6 is
    placing
    the following logs for each application at the same dir level as
    config
    dir. It is also creating tmp_ejb directory at the same level.
    1. How do I tell WLS 6 to place log files in a diff directoryIn Admin Console: modify the property Server -> Configuration ->Logging ->
    FileName
    In config.xml: the 'FileName' attr can be set to an absolute path OR apath
    relative to Server.RootDirectory
    <Server EnabledForDomainLog="true" ListenAddress="localhost"
    ListenPort="7701" Name="managed"
    StdoutDebugEnabled="true" ThreadPoolSize="15">
    <Log FileCount="10" FileMinSize="50" FileName="managed.log"
    Name="managed" NumberOfFilesLimited="true"
    RotationType="bySize"/>
    </Server>
    2. How do I tell WLS 6 to place tmp_ejb directories in a diff
    directory
    >>>
    Thanks,
    Scott

  • Temporary files are not getting deleted

    Hi All,
    I am using informix database and my code is reading BLOB from database and writing the image to different storage media. The program has to run for number of images. It is writing to media successfully but not exiting even after printing the last statement in program. it is generating some temporary files ifxb_* . If I use System.exit() garbage collection is not happeneing and temporary files not getting deleted.
    I am storing BLOB to an InputStream. and closing all the Connections and ResultSet before exit.
    Can anyone please tell why program is not exiting normally?

    gtRpr wrote:
    It doesn't make much sense to me to go through extra work to make code insecure, when doing things the right way is easier and more secure.@yawmark - I get it, relax.
    I never used them last year because I only found out about there existance about 4 Months ago.
    And guess what I have never used normal statements for something like that again.
    Only time I use a normal Statement is when I run that query only once, and no the entire query is hardcoded so no need for any worries due to security.Um ... D'you post this to the wrong forum/topic?
    Anyway, OP ... I don't know a thing about informix, so perhaps a trip over to IBM would help ... they have lots of information on their site. You might want to try a different forum right here at java.sun.com as well.
    About those closing of Connections and Resultsets ... are they in finally clauses? They should be.
    ~Bill

  • Whre does oracle cache and temp files are located?

    Hi
    thank you for reading my post
    Please do not shoot me if i have misconception.
    I come from netbeans world and for netbeans there was some folder that we could delete to make netbeans cache fresh (so more speed).
    for Jdeveloper i can not find such folder and its some times that Jdev works really slow.
    once i delete the system directory and all my settings gone with that (specially server that i registered / database connection /libaries)
    what should i delete to
    -keep all registered server / librarye/database connections
    -make Oracle Jdeveloper to work like a new installation.
    thanks

    If you wish to exclude anything from the backup simply drag the item into the Exclude list. For example, you can save considerable space by excluding the /System/ folder. Cache files would be found in the /Library/ and /Home/Library/ folders. Each folder contains a folder named Caches. There is no specific folder in which temporary items as stored that is visible to the user because the operating system will usually delete temporary files on its own. This may not be the case for a specific program, however. Browsers may maintain their own reserved cache and temporary files, and manage them on their own.
    I do not think, however, that TM backs up caches or temporary files. I find no such items in my TM backup - only the folders. I do not back up my /System/ folder.

  • Where does the CS5 Automatic Update put temporary files?

    I am getting the same error that I see other people have had.  When I try to download and install CS5 updates using the automatic updater, I am told that the download failed and that I should try again later.  My guess is that one of the files was damaged in the download, and that it chokes each time it tries to open it.  I suspect that the "fix" is to delete all of the downloaded and temporary files and to start over, but I don't know where they are.  Anybody know?  Thanks.

    The file I downloaded was downloaded with the following filename cf10_mdt_updt.zip.  I then ran an extract all and saved the extracted files to a folder called cf10_mdt_updt.  I then copied the folder with the extracted files to the following folder c:\ColdFusion10\jre\bin.  I then ran Command Prompt as Administrator and got the error message shown below.

  • Time machine backups cache and temp files?

    Just bought a new external usb disk and used it as the time machine backup volume. All time machine configurations are remained as default, so it would backup all my current HD. While watching it estimating the time that the first backup would take, a question jump out in my mind:
    Will time machine backup all files "honestly"? Will it make a copy of every file including the Internet cache and temp files when I'm browsing websites? I'm used to watch youtube a lot, and the temp flv file would be large (though I don't know where it is stored on Leopard). If these files would be backup-ed as well, I think it would be a great waste of disk space.
    Can anyone confirm that those caches and temp files would be copied or not? If it would, how to prevent this? Thank you.

    If you wish to exclude anything from the backup simply drag the item into the Exclude list. For example, you can save considerable space by excluding the /System/ folder. Cache files would be found in the /Library/ and /Home/Library/ folders. Each folder contains a folder named Caches. There is no specific folder in which temporary items as stored that is visible to the user because the operating system will usually delete temporary files on its own. This may not be the case for a specific program, however. Browsers may maintain their own reserved cache and temporary files, and manage them on their own.
    I do not think, however, that TM backs up caches or temporary files. I find no such items in my TM backup - only the folders. I do not back up my /System/ folder.

Maybe you are looking for

  • AD mobile account with local home directory

    I basically have the same question as this post: http://discussions.apple.com/message.jspa?messageID=696367 I have set up Tiger workstations to authenticate to AD, I am forcing a local home dir. Everything works great. I want to do the same thing for

  • Adobe Photoshop CS5 - Save As TARGA missing!

    Hello helpful people! I'm by no means a photoshop expert, but I've done some research about this problem of mine and I can't make any sense out of it. I'm using Photosho CS5 (64 Bit) and for some reason the "Save As..." dialog does not have the TARGA

  • IDVD 4 now freezes the entire computer during burning

    Hello, iDVD 4 now freezes my entire computer during burning somewhere around stage 3. I can't even force quit. This never happened before - it does so while burning a project that had been burned successfully many times in the past and also new proje

  • Syncronized Loops not starting

    All, I have process in which I <think> I need to utilized multiple timed loops with synchronization. In one loop,  I am sending a signal low on channel 1, reading a sample on channel 2, and then sending channel 1 high. This repeats every 100ms using

  • Can't print to network printer

    I can't print to my network printer.  Network Magic shows that the printer is 'online', however, when I try to print from Windows, the 'Print' dialog box shows the status as 'Error - Offline'.  The printer's display window shows the printer as 'Ready