Discussion:
Trying to set up samba SERVER
Robert McBroom via users
2021-05-18 16:44:53 UTC
Permalink
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?
Tom Horsley
2021-05-18 16:56:59 UTC
Permalink
On Tue, 18 May 2021 12:44:53 -0400
Post by Robert McBroom via users
What creates /usr/lib/systemd/system/smb.service?
On my system:

zooty> rpm -q -f /usr/lib/systemd/system/smb.service
samba-4.13.9-0.fc33.x86_64
_______________________________________________
users mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to users-***@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/***@lists.fedoraproject.org
Do not reply to spam on the list, report i
Robert McBroom via users
2021-05-19 04:17:22 UTC
Permalink
Post by Tom Horsley
On Tue, 18 May 2021 12:44:53 -0400
Post by Robert McBroom via users
What creates /usr/lib/systemd/system/smb.service?
zooty> rpm -q -f /usr/lib/systemd/system/smb.service
samba-4.13.9-0.fc33.x86_64
_______________________________________________
Didn't notice that samba itself was not installed. Still get the dreaded

@RobertPC ~]$ smbclient -L 192.168.1.195
do_connect: Connection to 192.168.1.195 failed (Error
NT_STATUS_HOST_UNREACHABLE)

@RobertPC ~]$ smbclient -m smb3 -L 192.168.1.195
do_connect: Connection to 192.168.1.195 failed (Error
NT_STATUS_HOST_UNREACHABLE)

@RobertPC ~]$ ping 192.168.1.195
PING 192.168.1.195 (192.168.1.195) 56(84) bytes of data.
64 bytes from 192.168.1.195: icmp_seq=1 ttl=64 time=0.298 ms
64 bytes from 192.168.1.195: icmp_seq=2 ttl=64 time=0.269 ms

Want to connect multiple fedora 33 systems to each other and to windows
10 systems

The directions samba has gone are split into many threads without a
definite fedora map.

This one looked fantastic

https://www.server-world.info/en/note?os=Fedora_33&p=samba&f=1

but wasn't
_______________________________________________
users mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to users-***@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagu
Samuel Sieb
2021-05-19 05:05:03 UTC
Permalink
Post by Robert McBroom via users
Post by Tom Horsley
On Tue, 18 May 2021 12:44:53 -0400
Post by Robert McBroom via users
What creates /usr/lib/systemd/system/smb.service?
zooty> rpm -q -f /usr/lib/systemd/system/smb.service
samba-4.13.9-0.fc33.x86_64
_______________________________________________
Didn't notice that samba itself was not installed. Still get the dreaded
@RobertPC ~]$ smbclient -L 192.168.1.195
do_connect: Connection to 192.168.1.195 failed (Error
NT_STATUS_HOST_UNREACHABLE)
I assume you installed the samba server and started it. Did you check
the firewall?
_______________________________________________
users mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to users-***@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrast
Tim Evans
2021-05-18 17:00:53 UTC
Permalink
Post by Robert McBroom via users
@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
systemctl enable...


--
Tim Evans |5 Chestnut Court
443-394-3864 |Owings Mills, MD 21117
_______________________________________________
users mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to users-***@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https:
Samuel Sieb
2021-05-18 22:51:01 UTC
Permalink
Post by Robert McBroom via users
Indeed smb.service is not in /usr/lib/systemd/system
(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?
As Tom noted, you've installed everything except the Samba *server*.
The package is called "samba".
_______________________________________________
users mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to users-***@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/***@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-in
Loading...