My Oracle Support Banner

Oracle Linux : Samba Service Cannot Start on an AD Integrated Server (Doc ID 2705420.1)

Last updated on SEPTEMBER 03, 2020

Applies to:

Linux OS - Version Oracle Linux 7.0 and later
Information in this document applies to any platform.

Symptoms

Samba service cannot be started on an AD integrated server with realmd. Samba is being used with idmap_sss. This issue is preventing users from accessing Samba share using AD credentials.

 

Error Messages :

------------------

 ~]# systemctl status smb -l
● smb.service - Samba SMB Daemon
  Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled)
  Active: failed (Result: exit-code) since Thu 2020-08-20 16:17:40 PDT; 43min ago
    Docs: man:smbd(8)
          man:samba(7)
          man:smb.conf(5)
 Process: 9441 ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS (code=exited, status=255)
Main PID: 9441 (code=exited, status=255)
  Status: "Starting process..."

Logs :

---------
systemd[1]: Starting Samba SMB Daemon...
smbd[9441]: [2020/08/20 16:17:40.521599,  0] ../../source3/auth/auth_util.c:1386(make_new_session_info_guest)
smbd[9441]:   create_local_token failed: NT_STATUS_NO_MEMORY
smbd[9441]: [2020/08/20 16:17:40.521661,  0] ../../source3/smbd/server.c:2041(main)
smbd[9441]:   ERROR: failed to setup guest info.
systemd[1]: smb.service: main process exited, code=exited, status=255/n/a
systemd[1]: Failed to start Samba SMB Daemon.
systemd[1]: Unit smb.service entered failed state.
systemd[1]: smb.service failed.

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.