Robert McBroom via users
2021-05-18 16:44:53 UTC
Configured smb.conf
@Dell-Studio ~]$ testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
       printcap name = cups
       security = USER
       idmap config * : backend = tdb
       cups options = raw
[homes]
       browseable = No
       comment = Home Directories
       inherit acls = Yes
       read only = No
       valid users = %S %D%w%S
[printers]
       browseable = No
       comment = All Printers
       create mask = 0600
       path = /var/tmp
       printable = Yes
[print$]
       comment = Printer Drivers
       create mask = 0664
       directory mask = 0775
       force group = @printadmin
       path = /var/lib/samba/drivers
       write list = @printadmin root
@Dell-Studio ~]# systemctl start smb
Failed to start smb.service: Unit smb.service not found.
@Dell-Studio ~]# systemctl start smb.service
Failed to start smb.service: Unit smb.service not found.
Indeed smb.service is not in /usr/lib/systemd/system
Reinstalling:
(1/6): samba-common-4.13.9-0.fc33.noarch.rpm 372 kB/s | 145 kBÂ Â Â Â 00:00
(2/6): samba-common-libs-4.13.9-0.fc33.x86_64.rpm 708 kB/s | 101 kBÂ Â Â Â
00:00
(3/6): samba-common-tools-4.13.9-0.fc33.x86_64.rpm 835 kB/s | 438 kBÂ Â Â Â
00:00
(4/6): samba-libs-4.13.9-0.fc33.x86_64.rpm 504 kB/s | 124 kBÂ Â Â Â 00:00
(5/6): samba-client-4.13.9-0.fc33.x86_64.rpm 456 kB/s | 654 kBÂ Â Â Â 00:01
(6/6): samba-client-libs-4.13.9-0.fc33.x86_64.rpm 1.1 MB/s | 5.4 MBÂ Â Â Â
00:04
-
Still no smb.service file
What creates /usr/lib/systemd/system/smb.service?
@Dell-Studio ~]$ testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Loaded services file OK.
Weak crypto is allowed
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
# Global parameters
[global]
       printcap name = cups
       security = USER
       idmap config * : backend = tdb
       cups options = raw
[homes]
       browseable = No
       comment = Home Directories
       inherit acls = Yes
       read only = No
       valid users = %S %D%w%S
[printers]
       browseable = No
       comment = All Printers
       create mask = 0600
       path = /var/tmp
       printable = Yes
[print$]
       comment = Printer Drivers
       create mask = 0664
       directory mask = 0775
       force group = @printadmin
       path = /var/lib/samba/drivers
       write list = @printadmin root
@Dell-Studio ~]# systemctl start smb
Failed to start smb.service: Unit smb.service not found.
@Dell-Studio ~]# systemctl start smb.service
Failed to start smb.service: Unit smb.service not found.
Indeed smb.service is not in /usr/lib/systemd/system
Reinstalling:
(1/6): samba-common-4.13.9-0.fc33.noarch.rpm 372 kB/s | 145 kBÂ Â Â Â 00:00
(2/6): samba-common-libs-4.13.9-0.fc33.x86_64.rpm 708 kB/s | 101 kBÂ Â Â Â
00:00
(3/6): samba-common-tools-4.13.9-0.fc33.x86_64.rpm 835 kB/s | 438 kBÂ Â Â Â
00:00
(4/6): samba-libs-4.13.9-0.fc33.x86_64.rpm 504 kB/s | 124 kBÂ Â Â Â 00:00
(5/6): samba-client-4.13.9-0.fc33.x86_64.rpm 456 kB/s | 654 kBÂ Â Â Â 00:01
(6/6): samba-client-libs-4.13.9-0.fc33.x86_64.rpm 1.1 MB/s | 5.4 MBÂ Â Â Â
00:04
-
Still no smb.service file
What creates /usr/lib/systemd/system/smb.service?