Forums

Resolved
0 votes
Hi,

At the server of a friend all users cannot connect to samba anymore.
I see to following errors in the log

Dec 31 15:33:23 xxxxxxxxxxxsmbd[16266]: [2020/12/31 15:33:23.505101,  0] ../../source3/smbd/uid.c:448(change_to_user_internal)
Dec 31 15:33:23 xxxxxxxxxxx smbd[16266]: change_to_user_internal: chdir_current_service() failed!
Dec 31 15:33:23 xxxxxxxxxxx smbd[16266]: [2020/12/31 15:33:23.507072, 0] ../../source3/smbd/uid.c:448(change_to_user_internal)
Dec 31 15:33:23 xxxxxxxxxxx smbd[16266]: change_to_user_internal: chdir_current_service() failed!
Dec 31 15:33:23 xxxxxxxxxxx smbd[16266]: [2020/12/31 15:33:23.511682, 0] ../../source3/smbd/uid.c:448(change_to_user_internal)
Dec 31 15:33:23 xxxxxxxxxxx smbd[16266]: change_to_user_internal: chdir_current_service() failed!


[2020/12/31 15:33:23.330087,  1] ../../lib/param/loadparm.c:1022(lpcfg_service_ok)
NOTE: Service netlogon is flagged unavailable.
[2020/12/31 15:33:23.330145, 1] ../../lib/param/loadparm.c:1022(lpcfg_service_ok)
NOTE: Service profiles is flagged unavailable.
[2020/12/31 15:33:23.331535, 1] ../../source3/passdb/pdb_ldap.c:2415(init_group_from_ldap)
SID string [-63000] could not be read as a valid SID
[2020/12/31 15:33:23.331571, 1] ../../source3/passdb/pdb_ldap.c:2544(ldapsam_getgroup)
ldapsam_getgroup: init_group_from_ldap failed for group filter (&(objectClass=sambaGroupMapping)(gidNumber=63000))

where do i need to look or what can be the problem ?
Thursday, December 31 2020, 02:47 PM
Share this post:
Responses (3)
  • Accepted Answer

    Thursday, December 31 2020, 07:25 PM - #Permalink
    Resolved
    0 votes
    Then it won't work. I also don't know how to repair an LDAP database, but I believe there is a way. Try googling "openldap repair database" but take a configuration backup first and keep it outside ClearOS.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, December 31 2020, 05:39 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    I've no idea what is going on, but as a start I'd grab an old configuration backup just in case. I am wondering if you have a corrupt LDAP and you could try a restore.

    That will be a challenge. It seems that the problem is already some month old.
    But, i'll try your suggestion
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, December 31 2020, 04:46 PM - #Permalink
    Resolved
    0 votes
    I've no idea what is going on, but as a start I'd grab an old configuration backup just in case. I am wondering if you have a corrupt LDAP and you could try a restore.
    The reply is currently minimized Show
Your Reply