[O&M Master] How to identify Non-interactive LDAP configuration?

sazzad
sazzad  Silver  (1)
5 years 7 months ago  View: 3607  Reply: 10
1F
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!
hieund
hieund  Silver 
5 years 7 months ago
2F
Not clearly about this, but i think it is usefull for every
sazzad
sazzad  Silver 
5 years 7 months ago
3F
Hi Hieund, It's query as i am facing problem regarding this.
Any help would be appreciated!
user_2789677
user_2789677  Medium 
5 years 7 months ago
4F
I hope you will get the solution, or the thread technical guys can help you out!
sazzad
sazzad  Silver 
5 years 7 months ago
5F
Actually i am still looking for the solution.
As i have asked in this thread, i hope i will get it.
sazzad
sazzad  Silver 
5 years 7 months ago
6F
Posted by user_2789677 at 2016-08-27 13:53 I hope you will get the solution, or the thread technical guys can help you out!
Thanks for your best wishes
sazzad
sazzad  Silver 
5 years 7 months ago
7F
Posted by hieund at 2016-08-27 07:31 Not clearly about this, but i think it is usefull for every
For me it's same! Just get stucked into the problem in a big!
I hope it will solve very soon!
sazzad
sazzad  Silver 
5 years 7 months ago
8F
Guys anyone have any step-by-step document for LDAP talk to over guide?
faheem180
faheem180  Gold 
5 years 7 months ago
9F
Not the topic of my concern
sazzad
sazzad  Silver 
5 years 7 months ago
10F
Posted by faheem180 at 2016-08-28 15:44 Not the topic of my concern
hm.. Thanks for your comments
1/2Page