OCI: Unable To Access Samba Share — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
Get Started with Redwood: Oracle Cloud SCM and Purchasing

OCI: Unable To Access Samba Share

in Linux 2 comments

Applies To:

Oracle Cloud Infrastructure - Version N/A and later 

Linux x86-64 

Goal: 

This document outlines the steps required to check the correct samba configuration, and ensure that shares from the Oracle Linux instance are accessible from Windows Explorer. 

Symptoms:

Access to the shared directory takes up to 10 minutes from Windows Explorer. 

The smb service is started: 

# systemctl status smb.service 
* smb.service - Samba SMB Daemon 
  Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor preset: disabled) 
  Active: active (running) since Tue 2023-07-04 18:13:36 CDT; 1h 18min ago 
    Docs: man:smbd(8) 
          man:samba(7) 
          man:smb.conf(5) 
 Main PID: 27258 (smbd) 
  Status: "smbd: ready to serve connections..." 
   Tasks: 4 
  Memory: 12.5M 
  CGroup: /system.slice/smb.service 
          |-27258 /usr/sbin/smbd --foreground --no-process-group 
          |-27261 /usr/sbin/smbd --foreground --no-process-group 
          |-27262 /usr/sbin/smbd --foreground --no-process-group 
          `-27292 /usr/sbin/smbd --foreground --no-process-group 
 
Jul 04 18:13:36 <hostname> systemd[1]: Stopped Samba SMB Daemon. 
Jul 04 18:13:36 <hostname> systemd[1]: Starting Samba SMB Daemon... 
Jul 04 18:13:36 <hostname> smbd[27258]: [2023/07/04 18:13:36.223261, 0] ../../lib/util/become_daemon.c:136(daemon_ready) 
Jul 04 18:13:36 <hostname>  systemd[1]: Started Samba SMB Daemon. 
Jul 04 18:13:36 <hostname>  smbd[27258]:  daemon_ready: daemon 'smbd' finished starting up and ready to serve connections 
 
# systemctl status winbind.service 
winbind.service - Samba Winbind

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!