[O&M Master] How to identify Non-interactive LDAP configuration?
I've got a setup shell script I run on new CentOS systems to customize them for our environment. One of the commands configures LDAP to talk to our server:authconfig --enableshadow --passalgo=sha512 --enableldap --enableldapauth --enableldaptls --ldapbasedn=dc=aaa,dc=bbb,dc=ccc,dc=ddd --ldapserver=eee.fff.ggg.hhh --ldaploadcacert=http://iii.jjj.kkk.lll/ldap/slapd.pem --enablelocauthorize --enablesssdauth --enablecachecreds --updateall (The names have been changed to protect the innocent.) I now need to create a similar script for Ubuntu 14 systems. However, Ubuntu doesn't have the authconfig command. Does anyone know what command or commands I can use to perform the same LDAP configuration? The catch, of course, is that the commands can not prompt the user for any input, as the configuration script has to be able to run unattended and/or remotely. This seems to rule out dpkg-reconfigure, auth-client-config and all other commands I've come across in Googling this issue. Any suggestions would be greatly appreciated! Thank you! |
| I hope you will get the solution, or the thread technical guys can help you out! |

Favorite (0)
