+ Post New Thread
Results 1 to 4 of 4
O/S Deployment Thread, Syntax for specifying OU in AD in Technical; So far my evaluation of FOG is going very well indeed, but I've hit a minor stumbling block. The machines ...
  1. #1

    Join Date
    Jun 2008
    Location
    Barnet
    Posts
    127
    Thank Post
    36
    Thanked 11 Times in 7 Posts
    Rep Power
    15

    Syntax for specifying OU in AD

    So far my evaluation of FOG is going very well indeed, but I've hit a minor stumbling block. The machines are being added to AD but in the Computers container. I've had several attempts to get it to add to a different OU but so far without success.

    If I want the PCs to be added to outer ou/middle ou/inner ou the syntax I've been trying is ou=first ou,ou=second ou,ou=third ou. I've tried reversing the order of the OUs without any greater degree of success.

    OK, if i can't get this to work it's very much not a deal-breaker, but it would be nice if it was right.

  2. #2

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,087
    Thank Post
    210
    Thanked 432 Times in 312 Posts
    Rep Power
    145
    I've never managed to get this to work either, gave up in the end as it was easier to keep moving them around AD manually!

    Mike.

  3. #3

    Join Date
    Jun 2008
    Location
    Barnet
    Posts
    127
    Thank Post
    36
    Thanked 11 Times in 7 Posts
    Rep Power
    15
    Working!

    I've had a few problems with this, but it's now working. The main stumbling block is getting the OU specified correctly in FOG. I'm no LDAP expert - I'm sure that if I were this would have been easy.

    The syntax needed for the OU in FOG is the full LDAP location. If you have nested OUs they must be listed starting with the deepest nesting. The string must include the DC entries.

    So, if your domain is school.local and you have an OU called OUouter with OUinner nested within it, the required string to place a machine inside OUinner is:

    OU=OUinner,OU=OUouter,DC=school,DC=local

  4. #4

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,087
    Thank Post
    210
    Thanked 432 Times in 312 Posts
    Rep Power
    145
    Actually funny enough after this thread, I had another go and also got it working, although I forgot to feedback to you all.

    Download LDAP browser from softerra, it connects to you AD and allows you to copy the correct LDAP syntaxes straight out of the program, which is dead handy.

    Mike.



SHARE:
+ Post New Thread

Similar Threads

  1. SQL Syntax?
    By ScottStevinson in forum How do you do....it?
    Replies: 2
    Last Post: 8th September 2008, 02:01 PM
  2. Proper syntax to delete folder from Multiple Profiles
    By soze in forum How do you do....it?
    Replies: 2
    Last Post: 3rd June 2008, 03:54 PM
  3. Grep syntax for multiple srtings?
    By ChrisH in forum *nix
    Replies: 17
    Last Post: 14th October 2006, 09:20 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •