[Samba] ERROR: Initialization failed for alloc backend tdb, deferred!

Anoop T S anoop.ts.2005 at gmail.com
Wed Aug 22 10:41:22 UTC 2018


 Hi,
I tired to add second AD domain to provide access to my samba share from
RHEL5u3 server. Share access is working for primary domain and still users
from second domain doesn't have access to shares. wbinfo -u shows user
details from both domain. I could see below errors popped up in logs.
Updated krb5.conf with both domians realms. do we need to update any
additional steps in smb.conf for second domain?

Aug 16 18:39:33 enebrisftp01 smbd[26235]:   read_data: read failure for 4
bytes to client 10.250.5.107. Error = Connection reset by peer
Aug 16 18:41:47 enebrisftp01 smbd[26470]: [2018/08/16 18:41:47, 0]
lib/util_sock.c:read_data(534)
Aug 16 18:41:47 enebrisftp01 smbd[26470]:   read_data: read failure for 4
bytes to client 10.250.5.107. Error = Connection reset by peer
Aug 16 18:49:01 enebrisftp01 restorecond: Will not restore a file with more
than one hard link (/etc/resolv.conf) No such file or directory
Aug 16 18:49:48 enebrisftp01 restorecond: Will not restore a file with more
than one hard link (/etc/resolv.conf) No such file or directory
Aug 16 18:51:32 enebrisftp01 restorecond: Will not restore a file with more
than one hard link (/etc/resolv.conf) No such file or directory
Aug 16 19:07:07 enebrisftp01 winbindd[28351]: [2018/08/16 19:07:07, 0]
nsswitch/winbindd_cache.c:initialize_winbindd_cache(2229)
Aug 16 19:07:07 enebrisftp01 winbindd[28351]:   initialize_winbindd_cache:
clearing cache and re-creating with version number 1
Aug 16 19:31:09 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:09, 0]
nsswitch/idmap.c:idmap_init(772)
Aug 16 19:31:09 enebrisftp01 winbindd[30056]:   ERROR: Initialization
failed for alloc backend tdb, deferred!
Aug 16 19:31:10 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:10, 0]
nsswitch/idmap.c:idmap_alloc_init(820)
Aug 16 19:31:10 enebrisftp01 winbindd[30056]:   ERROR: Initialization
failed for alloc backend, deferred!
Aug 16 19:31:10 enebrisftp01 smbd[30055]: [2018/08/16 19:31:10, 0]
auth/auth_util.c:create_builtin_administrators(844)
Aug 16 19:31:10 enebrisftp01 smbd[30055]:   create_builtin_administrators:
Failed to create Administrators
Aug 16 19:31:10 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:10, 0]
nsswitch/idmap.c:idmap_alloc_init(820)
Aug 16 19:31:10 enebrisftp01 winbindd[30056]:   ERROR: Initialization
failed for alloc backend, deferred!
Aug 16 19:31:10 enebrisftp01 smbd[30055]: [2018/08/16 19:31:10, 0]
auth/auth_util.c:create_builtin_users(810)
Aug 16 19:31:10 enebrisftp01 smbd[30055]:   create_builtin_users: Failed to
create Users
Aug 16 19:31:22 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:22, 0]
nsswitch/idmap.c:idmap_alloc_init(820)
Aug 16 19:31:22 enebrisftp01 winbindd[30056]:   ERROR: Initialization
failed for alloc backend, deferred!
Aug 16 19:31:22 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:22, 0]
nsswitch/idmap.c:idmap_alloc_init(820)
Aug 16 19:31:22 enebrisftp01 winbindd[30056]:   ERROR: Initialization
failed for alloc backend, deferred!
Aug 16 19:31:22 enebrisftp01 smbd[30055]: [2018/08/16 19:31:22, 0]
auth/auth_util.c:create_builtin_administrators(844)
Aug 16 19:31:22 enebrisftp01 smbd[30055]:   create_builtin_administrators:
Failed to create Administrators
Aug 16 19:31:22 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:22, 0]
nsswitch/idmap.c:idmap_alloc_init(820)
Aug 16 19:31:22 enebrisftp01 winbindd[30056]:   ERROR: Initialization
failed for alloc backend, deferred!
Aug 16 19:31:22 enebrisftp01 smbd[30055]: [2018/08/16 19:31:22, 0]
auth/auth_util.c:create_builtin_users(810)
Aug 16 19:31:22 enebrisftp01 smbd[30055]:   create_builtin_users: Failed to
create Users
Aug 16 19:31:33 enebrisftp01 smbd[29801]: [2018/08/16 19:31:33, 0]
lib/util_sock.c:read_data(534)
Aug 16 19:31:33 enebrisftp01 smbd[29801]:   read_data: read failure for 4
bytes to client 10.250.4.107. Error = Connection reset by peer
Aug 16 19:32:32 enebrisftp01 smbd[30055]: [2018/08/16 19:32:32, 0]
lib/util_sock.c:read_data(534)
Aug 16 19:32:32 enebrisftp01 smbd[30055]:   read_data: read failure for 4
bytes to client 10.250.4.108. Error = Connection reset by peer
Aug 16 19:37:21 enebrisftp01 winbindd[30056]: [2018/08/16 19:37:21, 0]
nsswitch/idmap.c:idmap_alloc_init(820)
Aug 16 19:37:21 enebrisftp01 winbindd[30056]:   ERROR: Initialization
failed for alloc backend, deferred!
Aug 16 19:37:21 enebrisftp01 winbindd[30056]: [2018/08/16 19:37:21, 0]
nsswitch/idmap.c:idmap_alloc_init(820)

On Wed, Aug 22, 2018 at 4:04 PM Anoop T S <anoop.ts.2005 at gmail.com> wrote:

> Hi,
> I tired to add second AD domain to provide access to my samba share from
> RHEL5u3 server. Share access is working for primary domain and still users
> from second domain doesn't have access to shares. wbinfo -u shows user
> details from both domain. I could see below errors popped up in logs.
> Updated krb5.conf with both domians realms. do we need to update any
> additional steps in smb.conf for second domain?
>
> Aug 16 18:39:33 enebrisftp01 smbd[26235]:   read_data: read failure for 4
> bytes to client 10.250.5.107. Error = Connection reset by peer
> Aug 16 18:41:47 enebrisftp01 smbd[26470]: [2018/08/16 18:41:47, 0]
> lib/util_sock.c:read_data(534)
> Aug 16 18:41:47 enebrisftp01 smbd[26470]:   read_data: read failure for 4
> bytes to client 10.250.5.107. Error = Connection reset by peer
> Aug 16 18:49:01 enebrisftp01 restorecond: Will not restore a file with
> more than one hard link (/etc/resolv.conf) No such file or directory
> Aug 16 18:49:48 enebrisftp01 restorecond: Will not restore a file with
> more than one hard link (/etc/resolv.conf) No such file or directory
> Aug 16 18:51:32 enebrisftp01 restorecond: Will not restore a file with
> more than one hard link (/etc/resolv.conf) No such file or directory
> Aug 16 19:07:07 enebrisftp01 winbindd[28351]: [2018/08/16 19:07:07, 0]
> nsswitch/winbindd_cache.c:initialize_winbindd_cache(2229)
> Aug 16 19:07:07 enebrisftp01 winbindd[28351]:   initialize_winbindd_cache:
> clearing cache and re-creating with version number 1
> Aug 16 19:31:09 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:09, 0]
> nsswitch/idmap.c:idmap_init(772)
> Aug 16 19:31:09 enebrisftp01 winbindd[30056]:   ERROR: Initialization
> failed for alloc backend tdb, deferred!
> Aug 16 19:31:10 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:10, 0]
> nsswitch/idmap.c:idmap_alloc_init(820)
> Aug 16 19:31:10 enebrisftp01 winbindd[30056]:   ERROR: Initialization
> failed for alloc backend, deferred!
> Aug 16 19:31:10 enebrisftp01 smbd[30055]: [2018/08/16 19:31:10, 0]
> auth/auth_util.c:create_builtin_administrators(844)
> Aug 16 19:31:10 enebrisftp01 smbd[30055]:   create_builtin_administrators:
> Failed to create Administrators
> Aug 16 19:31:10 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:10, 0]
> nsswitch/idmap.c:idmap_alloc_init(820)
> Aug 16 19:31:10 enebrisftp01 winbindd[30056]:   ERROR: Initialization
> failed for alloc backend, deferred!
> Aug 16 19:31:10 enebrisftp01 smbd[30055]: [2018/08/16 19:31:10, 0]
> auth/auth_util.c:create_builtin_users(810)
> Aug 16 19:31:10 enebrisftp01 smbd[30055]:   create_builtin_users: Failed
> to create Users
> Aug 16 19:31:22 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:22, 0]
> nsswitch/idmap.c:idmap_alloc_init(820)
> Aug 16 19:31:22 enebrisftp01 winbindd[30056]:   ERROR: Initialization
> failed for alloc backend, deferred!
> Aug 16 19:31:22 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:22, 0]
> nsswitch/idmap.c:idmap_alloc_init(820)
> Aug 16 19:31:22 enebrisftp01 winbindd[30056]:   ERROR: Initialization
> failed for alloc backend, deferred!
> Aug 16 19:31:22 enebrisftp01 smbd[30055]: [2018/08/16 19:31:22, 0]
> auth/auth_util.c:create_builtin_administrators(844)
> Aug 16 19:31:22 enebrisftp01 smbd[30055]:   create_builtin_administrators:
> Failed to create Administrators
> Aug 16 19:31:22 enebrisftp01 winbindd[30056]: [2018/08/16 19:31:22, 0]
> nsswitch/idmap.c:idmap_alloc_init(820)
> Aug 16 19:31:22 enebrisftp01 winbindd[30056]:   ERROR: Initialization
> failed for alloc backend, deferred!
> Aug 16 19:31:22 enebrisftp01 smbd[30055]: [2018/08/16 19:31:22, 0]
> auth/auth_util.c:create_builtin_users(810)
> Aug 16 19:31:22 enebrisftp01 smbd[30055]:   create_builtin_users: Failed
> to create Users
> Aug 16 19:31:33 enebrisftp01 smbd[29801]: [2018/08/16 19:31:33, 0]
> lib/util_sock.c:read_data(534)
> Aug 16 19:31:33 enebrisftp01 smbd[29801]:   read_data: read failure for 4
> bytes to client 10.250.4.107. Error = Connection reset by peer
> Aug 16 19:32:32 enebrisftp01 smbd[30055]: [2018/08/16 19:32:32, 0]
> lib/util_sock.c:read_data(534)
> Aug 16 19:32:32 enebrisftp01 smbd[30055]:   read_data: read failure for 4
> bytes to client 10.250.4.108. Error = Connection reset by peer
> Aug 16 19:37:21 enebrisftp01 winbindd[30056]: [2018/08/16 19:37:21, 0]
> nsswitch/idmap.c:idmap_alloc_init(820)
> Aug 16 19:37:21 enebrisftp01 winbindd[30056]:   ERROR: Initialization
> failed for alloc backend, deferred!
> Aug 16 19:37:21 enebrisftp01 winbindd[30056]: [2018/08/16 19:37:21, 0]
> nsswitch/idmap.c:idmap_alloc_init(820)
> --
> Anoop.T S
>
>


-- 
Anoop.T S


More information about the samba mailing list