আমি এটি সঠিকভাবে কাজ করতে পারি না। আমি অতিথি হিসাবে সূক্ষ্ম হিসাবে লগইন করতে পারি তবে যখন আমি সার্ভারে কোনও ব্যবহারকারীর জন্য ব্যবহারকারীর নাম এবং পাসওয়ার্ড লিখি, এটি তা গ্রহণ করে না। এমনকি মূলও নয়।
smb.conf
[global]
workgroup = WORKGROUP
server string = Samba Server Version %v
# log files split per-machine:
log level = 2
log file = /var/log/samba/log.%m
# maximum size of 50KB per log file, then rotate:
max log size = 50
debug timestamp = yes
security = user
passdb backend = tdbsam
map to guest = bad user
[public]
comment = Public Stuff
path = /opt/shares/filerepo
public = yes
writable = yes
printable = no
write list = +samba
ব্যবহারকারী হয় filerepo
।
/ Etc / passwd:
filerepo:x:1000:1001::/home/filerepo:/bin/bash
গ্রুপ তথ্য:
$ groups filerepo
filerepo : filerepo samba
ভাগ করা ডিরেক্টরি ( ls -lZ /opt/shares/
) এর জন্য অনুমতি :
drwxrwxr-x. filerepo samba unconfined_u:object_r:samba_share_t:s0 filerepo
সাম্বা পরিষেবা:
$ systemctl status smb.service
smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
Active: active (running) since Fri 2015-04-24 13:21:52 PDT; 4s ago
Main PID: 19684 (smbd)
Status: "smbd: ready to serve connections..."
CGroup: /system.slice/smb.service
├─19684 /usr/sbin/smbd
└─19685 /usr/sbin/smbd
Apr 24 13:21:52 localhost.localdomain smbd[19683]: [2015/04/24 13:21:52.516358, 0] ../source3/smbd/server.c:1269(main)
Apr 24 13:21:52 localhost.localdomain smbd[19683]: standard input is not a socket, assuming -D option
Apr 24 13:21:52 localhost.localdomain smbd[19684]: [2015/04/24 13:21:52.522356, 0] ../lib/util/become_daemon.c:136(daemon_ready)
Apr 24 13:21:52 localhost.localdomain systemd[1]: Started Samba SMB Daemon.
Apr 24 13:21:52 localhost.localdomain smbd[19684]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsFailed to fetch record!
Apr 24 13:21:52 localhost.localdomain smbd[19686]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsUnable to connect to CUPS server localhost:631 - Transport endpoint is not connected
Apr 24 13:21:52 localhost.localdomain smbd[19685]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsfailed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
ফায়ারওয়াল:
$ systemctl status firewalld
firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled)
Active: inactive (dead) since Fri 2015-04-24 13:00:08 PDT; 25min ago