Hi,
Setting up machine with openldap client via Mageia Control Center. But not working.
Mageia 3 , 32 bit.
Thanks.
# $OpenLDAP: pkg/ldap/libraries/libldap/ldap.conf,v 1.9 2000/09/04 19:57:01 kurt Exp $
#
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
#BASE dc=example, dc=com
#HOST ldap.example.com ldap-master.example.com
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666
#SIZELIMIT 12
#TIMELIMIT 15
#DEREF never
# SSL/TSL configuration. With CA-signed certs, TLS_REQCERT should be
# "demand", with the CA certificate accessible
#TLS_REQCERT ([demand],never,allow,try)
# We ship with allow by default as some LDAP clients (e.g. evolution) have
# no interactive SSL configuration
TLS_REQCERT allow
# CA Certificate locations
# Use the default self-signed cert generated by openldap-server postinstall
# by default
TLS_CACERT /etc/pki/tls/certs/ldap.pem
# If requiring support for certificates signed by all CAs (noting risks
# pam_ldap if doing DNS-based suffix lookup etc.
#TLS_CACERTDIR /etc/pki/tls/rootcerts
this is the content for /etc/nsswitch.conf
passwd: files ldap [NOTFOUND=return] db
shadow: files ldap
group: files ldap [NOTFOUND=return] db
hosts: mdns4_minimal files nis dns myhostname mdns4
networks: files
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
publickey: files
bootparams: files
automount: files ldap
aliases: files
base dc=polyscientific,dc=com
host 192.168.1.250
nss_base_group dc=polyscientific,dc=com?sub
nss_base_shadow dc=polyscientific,dc=com?sub
nss_base_passwd dc=polyscientific,dc=com?sub
authconfig --enableldap --enableldapauth --ldapserver="ldap://ldap01.example.com" --ldapbasedn="dc=example,dc=com" --enableforcelegacy [--nisdomain=<domain> --nisserver=<server> --nostart] --update
auth sufficient pam_ldap.so use_first_pass
account sufficient pam_localuser.so
account [default=bad success=ok user_unknown=ignore] pam_ldap.so
password sufficient pam_ldap.so use_authtok
session optional pam_ldap.so
USELDAP=yes
Users browsing this forum: No registered users and 1 guest