Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: 10.4 AD Bind #362466
    dhark01
    Participant

    Hi andyinindy

    Thank you very much you saved my Day!!!

    How did you managed to find this out? You’re the Man!!

    Thanks again.

    I append the commands I used to bind to AD and OLDAP (with your help of course!):

    # Bind to AD
    sudo /usr/sbin/dsconfigad -f -a $computerid -domain $domain -u $udn -p $password -ou $ou

    # Configure advanced options
    sudo /usr/sbin/dsconfigad -alldomains $multidomain -localhome $localhome -useuncpath disable -protocol $mountstyle

    # LDAP binding
    sudo dsconfigldap -v -a LDAPSERVER -c $computerid -u diradmin

    # Set the Search Path for AD and LDAP
    sudo dscl /Search -create / SearchPolicy CSPSearchPath
    sudo dscl /Search -append / CSPSearchPath /LDAPv3/LDAPSERVER
    sudo dscl /Search -append / CSPSearchPath “/Active Directory/All Domains”
    sudo dscl /Search/Contacts -create / SearchPolicy CSPSearchPath
    sudo dscl /Search/Contacts -append / CSPSearchPath /LDAPv3/LDAPSERVER
    sudo dscl /Search/Contacts -append / CSPSearchPath “/Active Directory/All Domains”

    Kind regards,

    dhark01

    in reply to: 10.4 AD Bind #362107
    dhark01
    Participant

    Hi there AMSR

    You’re dscl commands where a big help to me.

    4. Add the AD to your authentication path:
    dscl /Search -create / SearchPolicy CSPSearchPath
    dscl /Search -append / CSPSearchPath /Active Directory/All Domains

    Now I tried the same for /Contact and also for OLDAP but it keeps telling me that the Path for /Contact does not exists.
    When I list the Paths then a /Contact exists.

    Can you help me out here?

    Thanks in advance and kind regards,

    Dhark01

Viewing 2 posts - 1 through 2 (of 2 total)