You are not logged in.
Pages: 1
hi everyone, I installed samba and smbclient, edited the smb .conf file like this:
global]
workgroup = WORKGROUP
dns proxy = no
log file = /var/log/samba/%m.log
max log size = 1000
client min protocol = SMB2
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
map to guest = Bad Password
usershare allow guests = yes
name resolve order = lmhosts bcast host wins
security = user
guest account = nobody
usershare path = /var/lib/samba/usershare
usershare max shares = 100
usershare owner only = yes
force create mode = 0070
force directory mode = 0070
client min protocol = SMB2_02
server min protocol = SMB2_02
[homes]
comment = Home Directories
browseable = no
read only = yes
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
[shares]
path = /home/jon/Music
printable = yes
guest ok = yes
read only = no
create mask = 0755
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
iptables:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
systemctl status smb:
smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled; vendor prese>
Active: active (running) since Wed 2022-03-30 18:05:35 CEST; 10min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Main PID: 491 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 8713)
Memory: 47.3M
CPU: 631ms
CGroup: /system.slice/smb.service
├─ 491 /usr/bin/smbd --foreground --no-process-group
├─ 504 /usr/bin/smbd --foreground --no-process-group
├─ 505 /usr/bin/smbd --foreground --no-process-group
└─1461 /usr/bin/smbd --foreground --no-process-group
mar 30 18:05:34 user systemd[1]: Starting Samba SMB Daemon...
mar 30 18:05:34 user smbd[491]: [2022/03/30 18:05:34.999615, 0] ../../source3/>
mar 30 18:05:34 user smbd[491]: smbd version 4.16.0 started.
mar 30 18:05:34 user smbd[491]: Copyright Andrew Tridgell and the Samba Team >
mar 30 18:05:35 user smbd[491]: [2022/03/30 18:05:35.000450, 0] ../../lib/para>
mar 30 18:05:35 user smbd[491]: WARNING: [printers] service MUST be printable!
lines 1-23
i am not able to open the hdd connected to the router, not from the terminal, not from nautilus, how do i do it?
Last edited by neretum925 (2022-03-30 19:30:12)
Offline
First, you were asked in your previous thread to use code tags - it is even more important for readability here. Edit your post and add the code tags.
Second, please describe your goal. You are posting a config file for a samba server, but then all you say about the error is that you can't connect to some HDD. What machine is the server, and what machine is the client? Are you sure you want to run an samba server on your arch system? Are you just trying to connect with a HDD shared by some other system?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I would just like to connect to the hdd, connected to the router, from my pc, nautilus sees the hdd but does not let me access
Offline
And is there a reason you editted your first post but still have not added code tags? I'm not really trying to be a dick about it - but frankly I almost ignored this thread from the outset - and I suspect lots of people who opened it just left in silence. I'm giving you the benefit of the doubt that you can take feedback and do better - don't prove me wrong. If you want help from this community, show that you are willing to respect our standards and present information in a way that makes it easy for people to help you.
Last edited by Trilby (2022-03-30 17:18:24)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
i didn't understand what itag code is
Offline
Offline
Not in the subject, but for the Shell IO and file contents.
The smb .conf as posted is invalid, please make sure to provide a straight copy and paste, in doubt upload the file (see 1st link below)
The output of "systemctl status smb" is capped, don't copy out of the pager, but use the pastebin service or redirect the output into a file or xsel/xclip.
i am not able to open the hdd connected to the router
suggests that the arch system is rather the client?
not from the terminal
Please post the command you tried as well as the error you receive and also
nmap _gatewayOffline
null
Last edited by neretum925 (2022-03-30 20:25:50)
Offline
Consider this your final warning. Don't bother posting again until you've fixed your posts. That includes using code tags as requested, and removing the unnecessary (and broken) bbcode from your topic title.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1