Autofs creates an empty directory

This is driving me up the wall...
I'm trying to mount a samba share on a file server in a home network.
Mounting it manually works perfectly:
mount -t cifs -o guest //lancelot/shared /mnt
My auto.master looks like this:
/mnt/shared /etc/auto.lancelot --timeout=0
and auto.lancelot like this:
shared -fstype=cifs,guest ://lancelot/shared
Starting autofs and looking at var/log/messages:
Jun 2 23:59:08 galahad automount[4235]: mounted indirect on /mnt/shared
And indeed, a directory /mnt/dir is created. However, it's empty. I've been going through the Arch wiki, Gentoo wiki, a million different howto's, including one with horrible green on black text, and now I'm at the end of my wits. Help would be appreciated.
San

I know it's late but I'm stuck right now at the exact same spot.
Automount mounts but the folder is empty.
Any help appreciated
Thanks

Similar Messages

  • Can I create and empty directory with installer

    I have modified a program executable to run on Windows 7 and I have an ini file that I am putting in the ProgramData\<company>\<app name> directory but I do NOT want to include in the installer. It will be created by the software. Within this ini file is a path pointing to another file that will either be C:\Program Files... or C:\Program Files (x86)... depending on whether or not the software is being installed on Windows 7 x64.
    So, what I do in software is check if the config file exists (which it wont the first time I run the program ) then check the OS, and create the default the path within that ini file according to the OS I am running on. Then any time the program is run in the future it will load whatever path is there. This gives the user the ability to change it should they want and it will load their changes any subsequent time the program is run. However, in order to do this I want my installer to create the directory structure C:\ProgramData\<company>\<app name> with nothing in it. It seems I can't do this...is there a way to or do I have to just put some empty file in there in order for the directory structure to be created?
    CLA, LabVIEW Versions 2010-2013

    Darin.K wrote:
    Sounds like a good place to put the "Readme" file that nobody is actually going to read...
    I actually laughed out loud at that one. Thanks Darin, I'll go that route. Another option is to just create the default ini file with a tag that is called, say "first time" and have that default value be true. I could check if it's true in the startup state in the software and if it is then set the path accordingly. After this is done, switch the boolean to false and write it back to the file.Then I wouldn't have to write the whole file, just change that one line, and the uninstaller would also get rid of the file if the program was uninstalled (I think). If it was created programmatically I don't believe it will. But, this method would require some software changes to make it compatible with the new tag. So, I guess I just have to pick my poison here.
    CLA, LabVIEW Versions 2010-2013

  • How can I create an empty row on a #TempTable based on an input parameter

    So if my Line of Business is 'MC' or 'MG', I have to go over to Oracle and get its data accordingly. Then, when I create my final report result set, I think I'll want to UNION in that result set if my Parameter is 'MC' or 'MG'. I don't think I can UNION
    based on the value of the Parameter. So my thought process was to create an empty row on my #TempTable so when I UNION and my parameter is NOT 'MC' or 'MG' then it will have nothing to UNION in. My struggle is how do I create an empty row in my #TempTable
    if my parameter is NOT 'MC' or 'MG'
    If I am wwwaaayyy off here, please tell me so.
    This is my #TempTable Creation SQL...
    IF EXISTS
    (SELECT 1
    FROM [#TempTable_LineOfBusiness_Parameter]
    WHERE [#TempTable_LineOfBusiness_Parameter].[RESULT] IN ('MC','MG'))
    BEGIN
    SELECT *
    INTO [#TempTable_Market_Prominence_Member_Data]
    FROM OPENQUERY
    (RPDMHF,
    'SELECT HCFA_NAME_ORG.NAME_ID,
    HCFA_NAME_ORG.MEMBER_ID,
    HCFA_NAME_ORG.HIC_NUMBER,
    MEMBER.NAME_FIRST,
    MEMBER.NAME_LAST,
    HCFA_DATE.START_DATE,
    HCFA_DATE.END_DATE,
    HCFA_NAME_ORG.COUNTY_CODE,
    HCFA_NAME_ORG.PART_A_PAYMENT,
    HCFA_NAME_ORG.PART_B_PAYMENT,
    HCFA_NAME_ORG.STATUS,
    HCFA_NAME_ORG.ORG_ID,
    HCFA_NAME_ORG.PLAN,
    HCFA_NAME_ORG.ENROLL_DATE,
    HCFA_NAME_ORG.PBP_ID,
    HCFA_DATE.VALUE
    FROM SC_BASE.HCFA_DATE
    LEFT JOIN SC_BASE.HCFA_NAME_ORG
    ON HCFA_NAME_ORG.NAME_ID = HCFA_DATE.NAME_ID
    LEFT JOIN AMIOWN.MEMBER
    ON TRIM(MEMBER.MEMBER_NBR) = TRIM(HCFA_NAME_ORG.MEMBER_ID)
    WHERE HCFA_DATE.INDICATOR = ''plan''
    AND HCFA_DATE.START_DATE >= ''2015-01-01''
    END
    If I add an ELSE, it always comes back and tells me the #TempTable_Market_Prominence_Member_Data already exists. As if it's creating it regardless of the Top IF.
    Thanks for your review and am hopeful for a reply.

    Hi ITBobbyP,
    The error came back from your ELSE Statement most probably caused by the reason mentioned in Hoffmann's post.
    Regarding your requirement, I would suggest you CREATE the [#TempTable_Market_Prominence_Member_Data] explicitly.
    CREATE TABLE [#TempTable_Market_Prominence_Member_Data]
    NAME_ID INT,
    MEMBER_ID INT,
    HIC_NUMBER VARCHAR(99),
    NAME_FIRST VARCHAR(99),
    NAME_LAST VARCHAR(99),
    START_DATE DATE,
    END_DATE DATE,
    COUNTY_CODE VARCHAR(99),
    PART_A_PAYMENT MONEY,
    PART_B_PAYMENT MONEY,
    STATUS VARCHAR(99),
    ORG_ID INT,
    PALN VARCHAR(99),
    ENROLL_DATE VARCHAR(99),
    PBP_ID INT,
    VALUE INT
    IF EXISTS
    (SELECT 1
    FROM [#TempTable_LineOfBusiness_Parameter]
    WHERE [#TempTable_LineOfBusiness_Parameter].[RESULT] IN ('MC','MG'))
    BEGIN
    INSERT INTO [#TempTable_Market_Prominence_Member_Data]
    SELECT *
    FROM OPENQUERY
    (RPDMHF,
    'SELECT HCFA_NAME_ORG.NAME_ID,
    HCFA_NAME_ORG.MEMBER_ID,
    HCFA_NAME_ORG.HIC_NUMBER,
    MEMBER.NAME_FIRST,
    MEMBER.NAME_LAST,
    HCFA_DATE.START_DATE,
    HCFA_DATE.END_DATE,
    HCFA_NAME_ORG.COUNTY_CODE,
    HCFA_NAME_ORG.PART_A_PAYMENT,
    HCFA_NAME_ORG.PART_B_PAYMENT,
    HCFA_NAME_ORG.STATUS,
    HCFA_NAME_ORG.ORG_ID,
    HCFA_NAME_ORG.PLAN,
    HCFA_NAME_ORG.ENROLL_DATE,
    HCFA_NAME_ORG.PBP_ID,
    HCFA_DATE.VALUE
    FROM SC_BASE.HCFA_DATE
    LEFT JOIN SC_BASE.HCFA_NAME_ORG
    ON HCFA_NAME_ORG.NAME_ID = HCFA_DATE.NAME_ID
    LEFT JOIN AMIOWN.MEMBER
    ON TRIM(MEMBER.MEMBER_NBR) = TRIM(HCFA_NAME_ORG.MEMBER_ID)
    WHERE HCFA_DATE.INDICATOR = ''plan''
    AND HCFA_DATE.START_DATE >= ''2015-01-01''
    END
    Explicitly creating the temp table will offer below benefit in this case.
    The ELSE statement is no longer needed, if the no rows get inserted into that table, it has nothing to union an empty table.
    With the column datatype defined, you can avoid such conversion error
    SELECT NULL AS COL1,NULL AS COL2 INTO #T
    SELECT COL1,COL2 FROM #T
    UNION
    SELECT 1,'ABC'--Conversion failed when converting the varchar value 'ABC' to data type int.
    If you have any question, feel free to let me know.
    Eric Zhang
    TechNet Community Support

  • Is there a way to create a new directory or file in application install directory programatically

    Hi to all,
    Is there a way to create a new directory or file in
    application install directory programatically.
    I want a xml file to be created with in the application
    install directory programatically(not the application storage
    directory)
    I have used the following code snippet:
    var file:File = new File();
    file = File.applicationDirectory;
    file = file.resolvePath("assets");
    if(!file.exists)
    file.createDirectory()
    I am thrown an exception when using this .....Security
    Exception

    Thanks, but my main problem is to delete the locally stored
    data that is stored in the application storage directory when the
    application is uninstalled.
    The data is not being deleted automatically when the
    application is uninstalled, thats why I want to write some file to
    application directory.
    My application is remembering the login username and password
    even I uninstall the application and reinstall the next
    time.

  • Error while creating the backup directory

    I bought a Time Capsule yesterday. As with all of Apple's networking products, it set up like a breeze. Took about 10 minutes. I have two MacBooks running on the network now. I set Time Machine to start working on both of them (one of them has used TM before with an attached external hard drive). The machine that never used TM before is backing up nicely to the TC. On my machine, however, I keep getting this error: Time Machine Error. Unable to complete backup. An error occurred while creating the backup directory."
    Have any of you run into this before and, if so, how do I get around it?
    Both MacBooks are 2.16 GHz Intel Core 2 Duo with 2 GB RAM and running 10.5.2
    Thanks,
    Martin

    Maybe I have the answer for you, TommorowNeverKnows. Somewhere on the forum in the many emails about this subject, someone proposed a solution and yesterday it worked for me. (I'm sorry that I can't find it right now, but I do remember it).
    He (or she) proposed first using Onyx to see whether that solved the problem. If not, then download the combo updater for 10.5.2 and try that. He was unable to run it, however; and I couldn't run it either -- a message about it's not being able to run on "this machine." That might be because the machine was already running 10.5.2.
    In that case, he proposed doing an archive and install from the original system disc (being sure, of course, to save your settings). Well, I dreaded doing that, just because of the time it took, but by yesterday evening I was so frustrated that I bit the bullet. So I archived and installed and was back to 10.5. Then I ran the combo updater and it worked. Then I did a Software Update, and there was loads of stuff to be updated. After all that, I turned on Time Machine and went to bed.
    When I woke this morning, the machine was fully backed up to the Time Capsule with no errors (about 92+ gig). And when I looked at my Time Machine files, everything was just fine.
    So, if you haven't tried this yet, I would say that it's definitely worth an attempt.
    Hope this helps,
    Martin

  • I can't create a empty project in Sun Java Studio Enterprise 8.1

    Hello, i have a problem, i can't create a empty projects because the option is not in wizard, i only have a option "Web Application with Existing Ant Project"
    Why? What can i do?
    I only have one template!!! In other PC work OK with all templates.
    I reinstall, uninstall, install, all!!!
    Regards.
    Edited by: Crainar on Feb 25, 2008 1:26 PM

    I am having same trouble. Installed JDK 5.0 Update 5. Installed the Studio. Ctrl+Shift+N, the only option I have is Web Application with Existing Ant Script.. Please advise how to solve this problem. thx

  • " An error occurred while creating the backup directory"

    Hi all,
    I recently bought an external drive because my mac was just about full.
    It's made by Lacie, model # P'9231... (1TB)
    I got it working, for moving and accessing files (I moved the iPhoto library-and that works fine)...  but...
    I told Time Machine to use it as the backup disk, but TM often tells be that the backup failed. I get this message;
    "Backup failed.  An error occurred while creating the backup directory"
    I don't understand this.  I did some experiments with Time Machine, and I've been able to restore some things, but I still keep getting this message.
    I don't know what is getting backed up and what is not..
    Did I do something wrong? Or, more importantly, what is the fix?
    Any advice is much appreciated.  Thanks in advance,
    Jim

    I'm having the same problem.  I just got the drive Saturday at the local Apple store.
    Have you figured it out?

  • Trouble Creating a New Directory to Import into

    I just upgraded to Lightroom 5 today and installed the update to 5.2 on Windows 7 64 bit.  I have run into a problem I never had before.  In the import module I want to create a new directory to import into.  I go through the same steps I did in Lightroom 4, but when I am done, the directory does not show up on the list.  I can find it in Windows Explorer, but not Lightroom.  If I leave the import module and then return, the directory shows up in the Lightroom list of directories.  I have tried this twice with the same result both times.  Has anyone else seen this?  Is there a Fix?

    Thanks that works.  I found that even though the new directory did not show in the Import list of directories when I created it usind the right-click method as I did in LR4,  LR5 is in fact creating it and will import to it.  Another odd thing is when I create the directory using the right-click, Windows Explorer method, the directory list in the Import module flickers like it is adding the new directory.  However, the new directory cannot be seen.

  • How to Create a Temporary Directory?

    Hi,
    I'd like to create a directory with all of the
    nice properties that File.createTempFile gives
    you. However, it looks as though the only way to
    do this is to:
    File tfile = File.createTempFile("blah","", parent);
    tfile.delete();
    workingCopyDir = new File(tfile.getCanonicalPath());
    workingCopyDir.mkdir();
    What I'd like is either:
    File wcd = File.createTempFile("blah","",parent,true)
    where the 4th arg is a boolean "make a directory?"
    kind of arg...
    OR
    File tfile = new File(parent,File.createTempFileName())
    where createTempFileName returns a String.
    OR
    something else that is an equally good solution.
    Now, I've somewhat searched the archive on this but
    got slogged by the large number of hits. I've browsed
    the API and didn't see anything else that would work.
    Suggestions are welcome. Advice on a better place
    to send this suggestion would also be great...
    -Jen

    File tfile = File.createTempFile("blah","", parent);
    tfile.delete();
    workingCopyDir = new File(tfile.getCanonicalPath());
    workingCopyDir.mkdir();While it isn't as good a solution as File.createTempDirectory(), there are some steps in your code that you don't need to follow. You would be able to do the following:
    File tempDirectory = File.createTempFile("blah","blah", parent);
    tempDirectory.delete();
    tempDirectory.mkdir();
    After calling tempDirectory.delete(), tempDirectory still points to the name of the temp file, which can then be used directly to create the temp directory.
    This assumes nobody creates a temp file with the same name as the original temp file between "delete()" and "mkdir()". The likelihood of this happening is not high, but it is possible.

  • How to create an Empty Playlist File on Mac?

    Hello everyone, I'm working on a Music Player script, I was able to play a file via the default player as when we doubleclick on a file. The problem is I have no control over the Player, so to "stop" a file I could play a "silent" mp3, one with 1 second of silence in it for example. I discarded the idea since I had to distribute this silent.mp3 file along with the script. A better option is to play a "playlist", since playlist files are text only, I could create them an empty playlist file on the fly...
    so, the question is, what's the default playlist extension on a mac? and how to create one on the Mac?
    in windows the default player is Windows Media Player, the default playlist file extension is *.wpl.
    here's the contents of an empty playlist
    <?wpl version="1.0"?>
    <smil>
        <head>
            <meta name="Generator" content="Microsoft Windows Media Player -- 12.0.7601.18150"/>
            <meta name="ItemCount" content="0"/>
            <title>empyPlaylist</title>
        </head>
    </smil>
    here's the script, so far Windows only, at least to stop the file being played.
    //  script.name = musicPlayer_Windows.jsx;
    //  script.needs = I need to create an Empty Playlist File for the Mac, that will play on the default music player when executed
    // carlos canto, 10/12/2014
    var w = new Window('dialog', 'Music Player');
    var btnFile = w.add('button', undefined, 'Select an *.mp3 file to play...');
    var lblSong = w.add('edittext', undefined, '');
    lblSong.characters = 30;
    var btnPlay = w.add('button', undefined, 'Play');
    var btnStop = w.add('button', undefined, 'Stop');
    var btnClose = w.add('button', undefined, 'Close');
    btnPlay.enabled = btnStop.enabled = false;
    var emptyPlaylist = getEmptyPlaylist ();
    btnFile.onClick = function () {
        var file = File.openDialog ("Select File to Play...", '*.mp3', false);
        lblSong.text = file.displayName;
        lblSong.file = file;
        btnPlay.enabled = btnStop.enabled = true;
    btnPlay.onClick = function () {
        lblSong.file.execute();
        $.sleep (300);
        BridgeTalk.bringToFront('estoolkit');
    btnStop.onClick = function () {
        emptyPlaylist.execute();
        $.sleep (300);
        BridgeTalk.bringToFront('estoolkit');
    btnClose.onClick = function () {
        w.close();
    w.show();
    // this function creates an Empty Playlist file (Windows) on the fly, this file will be used to "stop" a playing file
    // I need a similar function for Mac
    function getEmptyPlaylist () {
        var desk = Folder.desktop;
        var f = new File(desk+'/emptyPlaylist.wpl');
        if (!f.exists) {
            var s_emptyPlaylist = (new String("<?wpl version=\"1.0\"?>\n<smil>\n    <head>\n        <meta name=\"Generator\" content=\"Microsoft Windows Media Player -- 12.0.7601.18150\"/>\n        <meta name=\"ItemCount\" content=\"0\"/>\n        <title>empyPlaylist</title>\n    </head>\n</smil>\n"));
            f.encoding = 'utf-8';
            f.open('w');
            f.write(eval(s_emptyPlaylist));
            f.close();
        return f;
    thanks in advance
    Carlos

    hmm...I think it's going to be more complicated than I thought.
    correct, this script targets the ESTK, it is part of a larger Illustrator script, which doesn't have doScript either...I would go with applescript as last resort. I think going with the playlist file is easier.
    based on your comment I realized users might change their default players, so on Windows I'm going to change the playlist file from *.wpl to the more universal *.m3u, I guess whatever decent player made the default, supports this file.
    so, will an *.m3u playlist file play on the default mac player (itunes) when executed?
    File("~/Music/iTunes/iTunes Media/Music/emptyPlaylist.m3u").execute(); // will this play on itunes?
    I noticed that the *.m3u file can be blank, it will still "play" when executed() and effectively "stops" any music file currently being played...if this happens on Mac also, that's what I'm after.
    thanks for helping Dirk.

  • Weird filename are getting created in archive directory.

    Hi All,
    Weird filename are getting created in archive directory.
    I have one ftp adapter,after the file getting processed the file's are getting moved to archive directory.
    But with some different file name/ filename are randomly generated. But the content of the file remains the same.
    Pls suggest.
    Thanks.

    This is standard functionality, it uses the original filename with a suffix of the datetime.
    cheers
    James

  • Hudson - Unable to create the home directory

    Hello, I installed tomcat and downloaded hudson.war and put it into
    /opt/tomcat/webapps/hudson.war
    I'm able to navigate to localhost:8080/hudson, but I only see this message:
    Unable to create the home directory {0}. This is most likely a permission problem.
    To change the home directory, use HUDSON_HOME environment variable or set the HUDSON_HOME system property. See Container-specific documentation for more details of how to do this.
    I've set HUDSON_HOME in a gazillion places -- yet none of them has done any good.
    Can anyone point me to a solution?
    Thanks,
    --Nate

    That indicates that Time Machine is having trouble writing to that sparse bundle.
    See #C9 and #C10 in the Time Machine - Troubleshooting *User Tip,* also at the top of the +Time Machine+ forum.

  • TM Error - An error occurred while creating the backup directory.

    mmm
    Got the TC last Wednesday. Connected 1 brand new iMac and a one year old mini, both on 10.5.2 with Airport Utility updates.
    The mini just started getting errors (Sunday lunch)
    TM Error
    Unable to complete computer backup. An error occurred while creating the backup directory.
    Forcing a Backup Now gets the same error.
    Mini is connected wirelessly direct to the TC and can browse the TC and read/write files ok.
    I can see no reason how why this error is occurring.
    TM opens and you can browse the backups fine.
    Anyone know how to get TM to be able to create directories again?
    Thanks

    exactly what I am seeing as well. I had one complete backup before I started seeing the exact error you are getting. I have tried everything I can think of from watching here and spending as much time on hold as I can afford. Hold times to talk with someone who actually might be able to help,that means not the first tech you will speak with but who they transfer you to may understand the TC/TM errors and fixes that work. That means 1 hour plus on hold,almost an hour before the first tech will finally give up and transfer you deeper and 30 minutes to 45 on hold there. Add another hour for them to get caught up with your case. These times are kinda like TC/TM themselves,very slow. I am connected via ethernet and shut down everything when trying to get this to work thus I have lost over 100 hours work time because of trying to get this to work without any interruption. It is such a generic error message it so totally reminds me of windoze daze. All I can do at this point is follow the leader on on the Apple death and dying forums. I am toast on trying and have seen that exact error screen more times than I am willing to admit. I am gonna get something that works as soon as I recover from spending 299 on a new wireless router! Please any of you seeing this error and somehow overcome it please post back and gives us losers something to chew on?

  • Directory Traversal and Empty Directory Issue. Please Help!

    Hi
    I am building an application which is aimed at traversing the entire hard disk or a given folder and extract files from the folder, sub-folders and so on. I am able to currently traverse the disk and able to gain access to the files which are nested several layers of directories. The issue I am facing is that when I reach an empty directory, it throws a NullPointerException. I have tried using all kinds of methods like dir.exists() and have also tried to check for whether the number files in the directory is > 0, but the exception is still bugging me. I would require any help I can get.
    Here is the code:
    public class myFileReader{
        void myRecursiveMethod(File dir) {
            File eachFile;
            File[] files = dir.listFiles();
            for (int i = 0;i < files.length; i++) {
                if (files.isDirectory()) {
    if (files[i].list().length > 0) { // I am not sure if this is the right way to go about it. This is one of the ways I tried.
    eachFile = (File)files[i];
    myRecursiveMethod(eachFile);
    System.out.println("Directory: " + eachFile);
    } else if (files[i].isFile()) {
    System.out.println("Files: " + files[i]);
    public static void main(String[]args) throws Exception {
    File dir = new File("C://");
    myFileReader mfr = new myFileReader();
    mfr.myRecursiveMethod(dir);
    Hope to get some responses soon.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    kajbj wrote:
    One line throws the exception, and why aren't you checking what list() returns? It can return null.
    and the whole of this
                  if (files.list().length > 0) { // I am not sure if this is the right way to go about it. This is one of the ways I tried.
    eachFile = (File)files[i];
    myRecursiveMethod(eachFile);
    System.out.println("Directory: " + eachFile);
    } can be replaced by myRecursiveMethod(files[i]);
    System.out.println("Directory: " + files[i]);
    Edited by: sabre150 on May 23, 2009 8:49 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Unable To Create New Open Directory Master

    I have a brand new installation of MacOS X Mountain Lion Server, latest version, in a brand new Mac Mini. This Mac Mini is being co-located in a data centre, and I am setting it up via remote access (screen sharing). The data centre has setup DNS zone records for my domain, including a reverse DNS PTR record, and everything in the DNS is working fine.
    During the installation of Server, when the installer asked for the type of 'Host Name', I selected 'Host name for Internet'. The installer was able to use the IP address of the Mac Mini to automatically find the correct host name, and configure it. Once the installation was complete, no services were turned on - not even DNS, as the installer probably figured out that DNS services were being handled externally.
    The first thing I went to try and do was to turn on Open Directory. I turn the service on, and a sheet comes down, where I select to "Create a new Open Directory Domain". I click 'next', and on the next sheet I enter the OD Administrator's details, and password. Click 'next' again, and then I get the following message:
    "This computer's host name is invalid.
    The host name does not resolve to any configured address of this computer. Please ensure the host name is correct."
    Opening Terminal app, and typing "hostname", I get the correct hostname, as showing in Server app itself.
    Entering "sudo changeip -checkhostname" in Terminal app, I get all correct details for the IP address and host name of the machine, and the message: "The names match. There is nothing to change. dirserv:success = 'success'"
    I finally tried getting Server app to change the host name itself - going into the Server pane, select the 'Network' tab, and in the 'Names' section, next to the host name, click on the "Edit..." button. Again, went through the wizard, and the wizard again was able to find the hostname automatically from the machine's IP address. Once the 'changing' process was completed, I went to try and initialise Open Directory, and again, got the same message.
    Can anyone shed any light? Any suggestion would be welcome at this stage...

    MrHoffman, thank you for your guidance. You have, however, given me a bit of a headache.
    MrHoffman wrote:
    127.0.0.1 is likely going to be incorrect here.  Please reference the DC DNS servers, and not a local server.  If you're in a DC and particularly with a public-facing host without an outboard firewall to block DNS traffic, you likely do not want to be running your own local DNS services.
    As described previously, the server was referencing the DC DNS servers. The server was not running its own DNS service. Open Directory was not able to detect that the ip address and the hostname were correct with this setup - even though the command line on the server as well as externally showed that all DNS records were setup correctly, and that the IP address and hostname matched. The server's own installation wizard and 'Change Host Name' wizard automatically detected the hostname from the machine's ip address - by consulting the reverse DNS PTR record in the DC DNS servers.
    Starting the server's own DNS server - and adding '127.0.0.1' to the top of the DNS list in Preferences - allowed me to create the Open Directory master, finally. Of course, the internal DNS server was setup so that only the server itself could access it - it was closed to any other machines - and even then, I had it running only momentarily: once Open Directory created its master domain, I switched DNS service off, and removed '127.0.0.1' from the DNS list in Prefences.
    With that setup, everything seemed to work fine. All users were able to login, access their share points and their mail.
    MrHoffman wrote:
    For the host name, the host name would usually be the FQDN fully-qualified domain name, and "example.com" isn't usually a host name.  You'd usually find somehostname.example.com here
    That is the only machine in the domain. All public sub-domains - like 'mail', 'www' or 'calendar' - point to the same machine. The reverse DNS PTR record points to the higher-level domain "example.com".
    Your warning, however, made me worried:
    MrHoffman wrote:
    I'd probably rebuild the OD configuration, as I'd wonder of OD now had a bogus host name.  Once bad DNS gets involved, the entanglements can be quite pernicious..
    So I decided to heed your advice, and rebuild OD. I deleted the Open Directory master, and tried rebuilding it with DNS service turned off. As before, OD insists that "the host name does not resolve to any configured address of this computer", and refuses to create the new Master. I ended up following the procedure above again - switching DNS service on temporarily to get OD to work.
    The problem is, that now no user can connect to the server anymore. Everyone keeps getting a message stating that their password is wrong - including users on their iPhones and iPads.
    I suspect that when I created the new OD Master, it created a new certificate, and that is what is causing problems. While I could try to get the desktop users to delete the old certificates from their keychain, this is not really an option for iPhone/iPad users.
    Where do I go from here? After almost 24 hours straight dealing with this, I'm at the end of my rope...

Maybe you are looking for

  • How to make plant in shipping cond tab for line item in sales doc mandatory

    Hi How to make plant as mandatory for a sales document say quotation mandatory ? I went to SPRO-> Basic Fucntion - > log of incomplete terms ->  Define incomplete Groups -> B.selected sales -Item -> Created new procedure Z001 with fielda VBAP - WERKS

  • How can I reduce number of rows in Planning webform in Smartview?

    Hi, I downloaded a Planning webform into Smartview. I want to reduce the 1000 rows down to 20 for a particular user as he does not submit data for the other 980 rows. How can I reduce number of rows in Planning webform in Smartview? Someone said that

  • What's the difference KB2483139 and KB974587?

    All, I have a qeustion about the language pack, what's the difference KB2483139 and KB974587 ? for difference windows platform? Thanks.

  • I can't recover sent emails

    When I look for emails in the "Sent" mailbox, they are all marked with a message that indicates the mailbox is overstuffed. I have reviewed a number of previous emails to try and recover them. So far I have checked the contents of Sent Messages.mbox

  • Configuration Tasks in a Production Environment

    Do I have to configure SSL for Oracle Apps ? Use Oracle Wallet Manager to do so? Also do we have to generate Server ids for security purpose in a production environment ? These steps are stated as an initial task after installing Oracle Apps ? Is the