Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
Thanks for this tutorial. I have a question regardign an issue we are having with our Open Directory server (Mac LDAP server) which is based on openLDAP. Our Open Directory server is our main source of authentication for many online services including but not limited to Google Apps, we used Randy Seaks tutorial to sync OD passwords t our google apps domain because open directory stores passwords in format that google apps doesn’t recognize: http://macadmins.psu.edu/wp-content/uploads/sites/1567/2012/11/PSUMAC307-GoogleApps_and_OD-Randy_Saeks.pdf Which is basically attaching a shell script to store users’ passwords in SHA1 (read by google) in another user’s attribute on password change and it has been working like charm for us but now we are now moving to Open Directory 10.11 where everything has changed and I’m stuck in where and how to trigger a shell script on users’ password change, the script is:
#!/bin/bash
read password
password=echo -n $password | /usr/bin/openssl dgst -sha1 -hex
LDIFMOD=“/usr/sbin/authserver/tools/modify/modify.ldif” touch $LDIFMOD echo -e “dn: uid=$1,cn=users,dc=domain,dc=domain,dc=org\nchangetype: modify\nreplace: pager\npager: $password” > $LDIFMOD
ldapmodify -xD uid=admin,cn=users,dc=domain,dc=domain,dc=org -w password -f $LDIFMOD -v
Any idea how something similar can be done in openLDAP?
Thanks you so much.
ldappasswd -x -D “cn=admin,dc=enjaysun,dc=com” “uid=tbhandari,ou=developer,dc=enjaysun,dc=com” -a 123 -s 1234 -w 123
but this command show below error Result: No such object (32)
/usr/sbin/slappasswd -h {SSHA} - This command produces different hash everytime. Guess the salt added by SSHA is time based. How does it work then?