On 07/15/2015 07:41 AM, Srinivas wrote:
Hi All,

I am very new to sssd and trying to deploy sssd to our custom embedded platform.

I could able to build sssd and its dependencies such as samba, openldap, pam-nss-ldapd etc.


When I try to run authconfig, my output isĀ 

+ NAME=nslcd
+ CONFIG=/etc/nslcd.conf
+ DAEMON=/usr/sbin/nslcd
+ DESC='LDAP connection daemon'
+ STATEDIR=/var/run/nslcd
+ PIDFILE=/var/run/nslcd/nslcd.pid
+ case "$1" in
+ start
+ '[' -e /var/run/nslcd/nslcd.pid ']'
+ echo -n 'Starting LDAP connection daemon...'
Starting LDAP connection daemon...+ start-stop-daemon --start --oknodo --pidfile /var/run/nslcd/nslcd.pid --startas /usr/sbin/nslcd
+ '[' 0 -eq 0 ']'
+ echo done.
done.
+ exit 0

But I could not able to see any /etc/sssd/sssd.conf

Please help me in getting sssd.conf.

If I run #sssd -f -D
uration] (0x0010): ConfDB initialization has failed [Missing configuration file]
20): Configuration file: /etc/sssd/sssd.conf does not exist.

Also attaching authconfig --test log

Please help me in debugging this problem

Thanks,
Srinivas.




_______________________________________________
sssd-users mailing list
sssd-users@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-users


Where are you getting authconfig code?
It is not configuring SSSD.

The simplest way would be for you to configure SSSD against some LDAP server and see the config file then try to do the same manually on the embedded system.

For example take Fedora/CentOS/RHEL system and install FreeIPA as a test server.
Use another system as a client and use ipa-client-install to join client to FreeIPA server.
This will create an sssd.conf file that you can take a look at and model from.

I think authconfig has some sssd related switches too at least in Fedora and downstreams.
But you need to configure SSSD for the specific LDAP server you will deal with.
What is your server? IPA, AD or something else?

-- 
Thank you,
Dmitri Pal

Director of Engineering for IdM portfolio
Red Hat, Inc.