Hi Steve
i think i have found the problem
this is a portion of the samba install steps from
https://wiki.archlinux.org/index.php/Samba_4_Active_Directory_Domain_Cont...
if you intend to use the LDB utilities, you will need to set the
LDB_MODULES_PATH
# echo "export
LDB_MODULES_PATH=\"\${LDB_MODULES_PATH}:/usr/lib/samba/ldb\"" >
/etc/profile.d/sambaldb.sh
# chmod 0755 /etc/profile.d/sambaldb.sh
cat /etc/profile.d/sambaldb.sh
export LDB_MODULES_PATH="${LDB_MODULES_PATH}:/usr/lib/samba/ldb"
# export
LDB_MODULES_PATH=":/usr/lib/samba/ldb"
there is no value for ${LDB_MODULES_PATH}
i assumed that ${LDB_MODULES_PATH} would be exported by samba4,
i then looked further at what was actually exported and decided that the
"${LDB_MODULES_PATH}:" section may not be needed so i
export LDB_MODULES_PATH="/usr/lib/samba/ldb" and the error disappeared.
i hope nothing breaks further down the line by removing ${LDB_MODULES_PATH}:
shadrock
/
> / hi everyone
/>/ could anyone explain the following line in the startup sequence,
/>/ ldb: unable to stat module :/usr/lib/samba/ldb : No such file or
directory
/>/ the directory exist with file in it .
/
Have you checked permissions and selinux context?
Was it removed and then copied from other place?
Labels and permission might be off then.
> / how do i fix it ?
/>/ shadrock
/>/
/>/
/>/ sssd -i -d7
/>/ (Fri Aug 1 14:08:42:941358 2014) [sssd] [check_file] (0x0400): lstat
/>/ for [/var/run/nscd/socket] failed: [2][No such file or directory].
/>/ (Fri Aug 1 14:08:43:034141 2014) [sssd] [ldb] (0x0400):
/>/ server_sort:Unable to register control with rootdse!
/>/ (Fri Aug 1 14:08:43:039640 2014) [sssd] [confdb_get_domain_internal]
/>/ (0x0400): No enumeration for [tissisat.co.uk]!
/>/ (Fri Aug 1 14:08:43:040001 2014) [sssd] [confdb_get_domain_internal]
/>/ (0x1000): pwd_expiration_warning is -1
/>/ (Fri Aug 1 14:08:43:040678 2014) [sssd] [ldb] (0x0400):
/>/ server_sort:Unable to register control with rootdse!
/>/ (Fri Aug 1 14:08:43 2014) [sssd] [server_setup] (0x0400): CONFDB:
/>/ /var/lib/sss/db/config.ldb
/>/ ldb: unable to stat module :/usr/lib/samba/ldb : No such file or
directory
/>/ (Fri Aug 1 14:08:43 2014) [sssd] [sysdb_domain_init_internal]
(0x0200):
/>/ DB File for tissisat.co.uk:
/var/lib/sss/db/cache_tissisat.co.uk.ldb
/>/ ldb: unable to stat module :/usr/lib/samba/ldb : No such file or
directory
/>/ (Fri Aug 1 14:08:43 2014) [sssd] [ldb] (0x0400): asq: Unable
to
/>/ register control with rootdse!
/>/ (Fri Aug 1 14:08:43 2014) [sssd] [sbus_new_server] (0x0400): D-BUS
/>/ Server listening on
/>/
unix:path=/var/lib/sss/pipes/private/sbus-monitor,guid=4e3498299402c9fa69fe2d4553db915b/