On Mon, Jul 16, 2012 at 12:52:50AM -0500, Ariel Barria wrote:
Apology, can give me a clue please.
Attached message.
[./sss_useradd] [confdb_init] (0x0010): Unable to open config
database [/usr/local/var/lib/sss/db/config.ldb], [1] [Operation not permitted].
Error initializing the tools
Is there any more debug information or is this it? Are you running
sss_useradd as root?
but exists in:
/var/lib/sss/db/config.ldb
Judging by the confdb path pointing to /usr/local, most probably you have
configured the SSSD with a different prefix than the compiled RPM uses. If
you wish to use the same structure as the RPM packages does, which is not
a bad idea if you're running Fedora, you should pass --prefix=/usr to the
configure script.
I personally use a variation of RPM's %configure:
alias configure='./configure
--program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man
--infodir=/usr/share/info --with-test-dir=/dev/shm --enable-silent-rules
--enable-nsslibdir=/lib64 --enable-all-experimental-features'
Of course, you should adapt the paths accordingly if you are on a 32bit
machine.