Post by vladuna on Dec 26, 2023 11:08:16 GMT
Host Win 11 Home, VirtualBox 7.0 + extensions, Bodhi 7.0 + guest additions, network bridged
Task: integrate Bodhi into Win workgroup, no security measures, the whole network is behind firevall
I followed a video on YouTube to manage this task.
smb.conf ----->
[global]
server string = FiSer
workgroup = ALNILAM
security = user
map to guest = Bad User
name resolve order = bcast host
include = /etc/samba/shares.conf
shares.conf ----->
[CLI Sharic Public]
path = /home/noahsi/SharicCLI
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writable = yes
[GEJ Sharic Protected]
path = /home/noahsi/SharicGEJ
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writable = no
Permisions and ownership fixed ----->
drwxrwxr-x 2 smbuser smbgroup 4096 dic 24 19:27 SharicCLI
drwxrwxrwx 2 smbuser smbgroup 4096 dic 24 18:59 SharicGEJ
smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-12-26 06:09:42 -03; 33min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 1540 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
Main PID: 1544 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 4650)
Memory: 18.9M
CPU: 795ms
CGroup: /system.slice/smbd.service
├─1544 /usr/sbin/smbd --foreground --no-process-group
├─1546 /usr/sbin/smbd --foreground --no-process-group
├─1547 /usr/sbin/smbd --foreground --no-process-group
└─1551 /usr/lib/x86_64-linux-gnu/samba/samba-bgqd --ready-signal-fd=46 --parent-watch-fd=12 --debuglevel=0 -F
dic 26 06:09:42 CordobeseNS systemd[1]: Starting Samba SMB Daemon...
dic 26 06:09:42 CordobeseNS smbd[1544]: [2023/12/26 06:09:42.503792, 0] ../../source3/smbd/server.c:1734(main)
dic 26 06:09:42 CordobeseNS smbd[1544]: smbd version 4.15.13-Ubuntu started.
dic 26 06:09:42 CordobeseNS smbd[1544]: Copyright Andrew Tridgell and the Samba Team 1992-2021
dic 26 06:09:42 CordobeseNS systemd[1]: Started Samba SMB Daemon
Win11 sees the shares but they cannot be accessed.
Bodhi does not see any Win computer.
Task: integrate Bodhi into Win workgroup, no security measures, the whole network is behind firevall
I followed a video on YouTube to manage this task.
smb.conf ----->
[global]
server string = FiSer
workgroup = ALNILAM
security = user
map to guest = Bad User
name resolve order = bcast host
include = /etc/samba/shares.conf
shares.conf ----->
[CLI Sharic Public]
path = /home/noahsi/SharicCLI
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writable = yes
[GEJ Sharic Protected]
path = /home/noahsi/SharicGEJ
force user = smbuser
force group = smbgroup
create mask = 0664
force create mode = 0664
directory mask = 0775
force directory mode = 0775
public = yes
writable = no
Permisions and ownership fixed ----->
drwxrwxr-x 2 smbuser smbgroup 4096 dic 24 19:27 SharicCLI
drwxrwxrwx 2 smbuser smbgroup 4096 dic 24 18:59 SharicGEJ
smbd.service - Samba SMB Daemon
Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: enabled)
Active: active (running) since Tue 2023-12-26 06:09:42 -03; 33min ago
Docs: man:smbd(8)
man:samba(7)
man:smb.conf(5)
Process: 1540 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (code=exited, status=0/SUCCESS)
Main PID: 1544 (smbd)
Status: "smbd: ready to serve connections..."
Tasks: 4 (limit: 4650)
Memory: 18.9M
CPU: 795ms
CGroup: /system.slice/smbd.service
├─1544 /usr/sbin/smbd --foreground --no-process-group
├─1546 /usr/sbin/smbd --foreground --no-process-group
├─1547 /usr/sbin/smbd --foreground --no-process-group
└─1551 /usr/lib/x86_64-linux-gnu/samba/samba-bgqd --ready-signal-fd=46 --parent-watch-fd=12 --debuglevel=0 -F
dic 26 06:09:42 CordobeseNS systemd[1]: Starting Samba SMB Daemon...
dic 26 06:09:42 CordobeseNS smbd[1544]: [2023/12/26 06:09:42.503792, 0] ../../source3/smbd/server.c:1734(main)
dic 26 06:09:42 CordobeseNS smbd[1544]: smbd version 4.15.13-Ubuntu started.
dic 26 06:09:42 CordobeseNS smbd[1544]: Copyright Andrew Tridgell and the Samba Team 1992-2021
dic 26 06:09:42 CordobeseNS systemd[1]: Started Samba SMB Daemon
Win11 sees the shares but they cannot be accessed.
Bodhi does not see any Win computer.