[opensuse-autoinstall] xml tag to add "sudoers_base" line to /etc/ldap.conf file?
Hi,
Is there an autoyast tag to add a sudoers line to /etc/ldap.conf file?
My customer tried adding this line to <ldap> section but this didn't work:
On 08/16/2012 12:21 AM, Nefi Munoz wrote:
Hi,
Is there an autoyast tag to add a sudoers line to /etc/ldap.conf file?
My customer tried adding this line to<ldap> section but this didn't work:
ou=sudoers,dc=HPC,dc=COMPANY,dc=COM Below is the complete ldap section (I masked company name)
Thanks in advance,
Nefi M.
--------------------------- <ldap>
ou=ldapconfig,dc=HPC,dc=COMPANY,dc=COM
false
false
dc=HPC,dc=COMPANY,dc=COM
server.hpc.COMPANY.com server.hpc.COMPANY.com
false
false
true
member
ou=Group,dc=HPC,dc=COMPANY,dc=COM
ou=People,dc=HPC,dc=COMPANY,dc=COM
ou=People,dc=HPC,dc=COMPANY,dc=COM
exop
true
true
/etc/ssl/certs
ou=sudoers,dc=HPC,dc=COMPANY,dc=COM </ldap> -----------------------------
Hi,
autoYaST only can use tags it knows about. You can find those in
/usr/share/YaST2/schema/autoyast/rnc/ldap_client.rnc
I'm using a post-script to add additional nss_bases to /etc/ldap.conf, e.g.:
#+begin_src sh
!/bin/sh
cat >> /etc/ldap.conf <
Great info ! Thank you Robert. Nefi M.
Robert Klein
8/16/2012 12:49 AM >>> On 08/16/2012 12:21 AM, Nefi Munoz wrote: Hi,
Is there an autoyast tag to add a sudoers line to /etc/ldap.conf file?
My customer tried adding this line to<ldap> section but this didn't work:
ou=sudoers,dc=HPC,dc=COMPANY,dc=COM Below is the complete ldap section (I masked company name)
Thanks in advance,
Nefi M.
--------------------------- <ldap>
ou=ldapconfig,dc=HPC,dc=COMPANY,dc=COM
false
false
dc=HPC,dc=COMPANY,dc=COM
server.hpc.COMPANY.com server.hpc.COMPANY.com
false
false
true
member
ou=Group,dc=HPC,dc=COMPANY,dc=COM
ou=People,dc=HPC,dc=COMPANY,dc=COM
ou=People,dc=HPC,dc=COMPANY,dc=COM
exop
true
true
/etc/ssl/certs
ou=sudoers,dc=HPC,dc=COMPANY,dc=COM </ldap> -----------------------------
Hi,
autoYaST only can use tags it knows about. You can find those in
/usr/share/YaST2/schema/autoyast/rnc/ldap_client.rnc
I'm using a post-script to add additional nss_bases to /etc/ldap.conf, e.g.:
#+begin_src sh
!/bin/sh
cat >> /etc/ldap.conf <
participants (2)
-
Nefi Munoz
-
Robert Klein