Q: Any changes in how PasswordServer/Service work on Lion?
I've clean installed a Lion Server, configured OD master and tried to set "ExternalCommand" in com.apple.passwordserver.plist.
I have found "ExternalCommand" section but noting else.
com.apple.passwordserver.plist in Snow Leopart Server had much more properties.
Also, ExternalCommand dosn't seem to be working. I've changed that parameter to "weakpatt" or some other external shell scripts. However, when I change a password of a user, these changes are not captured and does not triger the external command.
Am I missing someting to make ExternalCommand to work in Lion Server?
All the authentication functions are working..
Any help would be greatly appreciated.
masa
Posted on Aug 16, 2011 1:13 AM
Figured this out!!! So excited haha.
Here's what happened:
Lion no longer stores com.apple.passwordserver.plist in /Library/Preferences.
This is now held inside the LDAP database:
This is the path to the object:
dn: cn=passwordserver,cn=config,dc=example,dc=com
Edit the attribute:
apple-xmlplist
You will find the ExternalCommand parameter in here. Change it from <string>Disabled</string> to either weakpass or whatever script you're trying to run.
Cheers!
Posted on Oct 21, 2011 10:21 AM