Skip to main content
Question

Binding Google Secure LDAP

  • May 26, 2022
  • 1 reply
  • 0 views

rajrajan
Forum|alt.badge.img+6

Dear All,

Binding Google Secure LDAP in MacBook is working. I need help pushing this configuration to all the devices.

Has anyone done this before? 

Can I use Profile? Or bash script?

 

Thoughts?

 

Please share if you have any info on this.

 

Thanks,

Raj.

1 reply

gmorgan
Forum|alt.badge.img+7
  • Contributor
  • 25 replies
  • May 26, 2022

You should be able to set it up under Settings/LDAP servers if you configure it manually. You could also make a policy that runs a script.  Ours does more than just that, but here's the binding part:

 

LOGGING "Binding to Active Directory"
dsconfigad -force \\
-add "DOMAINNAME" \\
  -username "USERNAME" \\
  -password "PASSWORD" \\
-computer "$computer_name" \\
-mobile enable \\
-mobileconfirm disable \\
-localhome enable \\
-useuncpath enable \\
-protocol smb \\
-shell /bin/bash \\
-ou "OU" \\
-groups "GROUP" \\
-alldomains enable \\
-passinterval 0 | tee -a $LOG
 
I hope this helps.

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings