Go to advanced search

by hortimech
Thu Aug 15, 2019 8:14 am
Forum: Networking and servers
Topic: Windows 10 permssions to Pi shared folder?
Replies: 9
Views: 214

Re: Windows 10 permssions to Pi shared folder?

These are your effective shares: [homes] comment = Home Directories browseable = no create mask = 0700 directory mask = 0700 valid users = %S [printers] comment = All Printers browseable = no path = /var/spool/samba printable = yes create mask = 0700 [print$] comment = Printer Drivers path = /var/li...
by hortimech
Thu Aug 15, 2019 7:45 am
Forum: Troubleshooting
Topic: Stuck installing Samba on Pi-4 running Buster
Replies: 7
Views: 176

Re: Stuck installing Samba on Pi-4 running Buster

andrum99 wrote:
Thu Aug 15, 2019 6:37 am
Feel free to submit a PR to update the docs - there's even a direct link at the bottom of the page to the github repo ;)
Quite prepared to do this, but not on git-hub, we left there and went to git-lab, so I deleted my membership and I will not rejoin :)
by hortimech
Wed Aug 14, 2019 6:43 pm
Forum: Networking and servers
Topic: Windows 10 permssions to Pi shared folder?
Replies: 9
Views: 214

Re: Windows 10 permssions to Pi shared folder?

Sorry but even the Samba site has such statements as: or set it to Never (default) :lol: Advantage is that you then can see what values are set to for that share. Thanks for pointing out that error on the Samba wiki, I have fixed it :D As I said, what you do, is up to you, but you shouldn't pass yo...
by hortimech
Wed Aug 14, 2019 5:06 pm
Forum: Networking and servers
Topic: Windows 10 permssions to Pi shared folder?
Replies: 9
Views: 214

Re: Windows 10 permssions to Pi shared folder?

We have had this discussion before - I put defaults in just in case they change from version to version and the home folder is shared to simplify my development work! Do you have any other values that could solve the OPs issues? What you do is up to you, but you should stick to best practise when g...
by hortimech
Wed Aug 14, 2019 11:03 am
Forum: Networking and servers
Topic: Windows 10 permssions to Pi shared folder?
Replies: 9
Views: 214

Re: Windows 10 permssions to Pi shared folder?

In the share sections I have: available = yes browsable = yes writeable = yes create mask = 0644 directory mask = 0755 public = no You might just as well have these lines: read only = no create mask = 0644 All the rest are default settings :) Also, it isn't best practise to share a users home direc...
by hortimech
Wed Aug 14, 2019 7:48 am
Forum: Troubleshooting
Topic: Stuck installing Samba on Pi-4 running Buster
Replies: 7
Views: 176

Re: Stuck installing Samba on Pi-4 running Buster

First who writes the documentation for Raspberrypi ? That documentation referred to, is a mess, why reference wikipedia when Samba has its own wiki / For a page that is about setting up Samba on a Raspberrypi, it seems to have a lot to say about Windows (and no, you don't need to turn Network Discov...
by hortimech
Tue Aug 13, 2019 8:09 am
Forum: Troubleshooting
Topic: Buster can't see other computers on network
Replies: 9
Views: 287

Re: Buster can't see other computers on network

No, I am not saying that you cannot browse the network with Buster, you just do it another way. Buster will use Avahi for browsing instead of netbios, but Windows doesn't have Avahi.

Yes, network browsing is a feature, but it is an insecure feature.
by hortimech
Mon Aug 12, 2019 4:04 pm
Forum: Troubleshooting
Topic: Buster can't see other computers on network
Replies: 9
Views: 287

Re: Buster can't see other computers on network

Yes, you are quite right, you shouldn't use SMBv1 because it is insecure, Windows is turning it off and it will be turn off in the next version of Samba (4.11.0). Unfortunately, turning off SMBv1 also turns off network browsing, Windows now has 'network discovery', but this only works with Windows m...
by hortimech
Mon Aug 12, 2019 9:53 am
Forum: Troubleshooting
Topic: Buster can't see other computers on network
Replies: 9
Views: 287

Re: Buster can't see other computers on network

# interface names are normally preferred ; interfaces = 127.0.0.0/8 eth0 # Only bind to the named interfaces and/or networks; you must use the # 'interfaces' option above to use this. # It is recommended that you enable this feature if your Samba machine is # not protected by a firewall or is a fir...
by hortimech
Mon Aug 12, 2019 8:11 am
Forum: Troubleshooting
Topic: Buster can't see other computers on network
Replies: 9
Views: 287

Re: Buster can't see other computers on network

Your effective smb.conf is this: [global] workgroup = KPJLXP log file = /var/log/samba/log.%m max log size = 1000 logging = file panic action = /usr/share/samba/panic-action %d server role = standalone server obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u pa...
by hortimech
Sun Aug 11, 2019 4:32 pm
Forum: Troubleshooting
Topic: Buster can't see other computers on network
Replies: 9
Views: 287

Re: Buster can't see other computers on network

Can you post your entire smb.conf, mainly because if you remove the commented lines, what you posted becomes this:

Code: Select all

[global]
workgroup = KPJLXP
wins server = 192.168.0.210
and this is nowhere near enough
by hortimech
Wed Aug 07, 2019 7:14 am
Forum: Beginners
Topic: How to move to the next line when entering a multi-line script
Replies: 5
Views: 149

Re: How to move to the next line when entering a multi-line script

And a quick google search found that the OP is using the WRONG script.

See here: https://github.com/e1ioan/rokuphp and use the 'install.sh' script instead.
by hortimech
Wed Aug 07, 2019 7:05 am
Forum: Beginners
Topic: How to move to the next line when entering a multi-line script
Replies: 5
Views: 149

Re: How to move to the next line when entering a multi-line script

I'm not even going to ask why you want to install the outdated PHP5 instead of using the current PHP7. It isn't that the OP wants to install php5, it is the script that does. It does this without telling the user that probably nothing else that needs php will work. I would be going back to Roku and...
by hortimech
Tue Aug 06, 2019 7:19 am
Forum: Networking and servers
Topic: ip camera recordings to samba server
Replies: 11
Views: 397

Re: ip camera recordings to samba server

[2019/08/05 10:19:45.783884, 0] ../source4/smbd/server.c:587(binary_smbd_main) samba version 4.9.5-Debian started. Copyright Andrew Tridgell and the Samba Team 1992-2018 [2019/08/05 10:19:45.974752, 0] ../source4/smbd/server.c:743(binary_smbd_main) At this time the 'samba' binary should only be use...
by hortimech
Sun Aug 04, 2019 12:41 pm
Forum: Networking and servers
Topic: ip camera recordings to samba server
Replies: 11
Views: 397

Re: ip camera recordings to samba server

Either your smb.conf is misconfigured, or 'samba-ad-dc' is attempting to start. To put this in layman's terms, your smb.conf is set up as a standalone server and something is trying to start Samba as an Active Directory Domain Controller, or so it seems. Try running these commands: sudo systemctl di...
by hortimech
Sat Aug 03, 2019 7:45 am
Forum: Troubleshooting
Topic: How do I enable Samba on Buster
Replies: 7
Views: 300

Re: How do I enable Samba on Buster

Thanks, it is a pity the Foundation tutorial doesn't mention this. It might not (and yes it should), but our wikipage does: https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Standalone_Server I also wish that when people posted examples, they stuck to best practices, 'Andyroo' posted this: [xx...
by hortimech
Tue Jul 30, 2019 3:33 pm
Forum: General discussion
Topic: Alternative to Open Media Vault?
Replies: 7
Views: 265

Re: Alternative to Open Media Vault?

I tried OMV and had problems with it, which I traced down to OMV itself, so I asked for help on their forum. They were absolutely sure it was a Samba problem, which I assured them it wasn't, they responded that it was and to ask for help on the Samba mailing. My response to this was, sorry, but I am...
by hortimech
Sun Jul 28, 2019 1:37 pm
Forum: Networking and servers
Topic: ip camera recordings to samba server
Replies: 11
Views: 397

Re: ip camera recordings to samba server

Do the users 'cam', 'cam1', 'cam2' and 'cam3' exist on the Samba server as Unix & Samba users ?

You are getting the error message because you seem to be trying to start a Samba AD DC, try running 'systemctl start smbd' & 'systemctl start nmbd' instead.
by hortimech
Sun Jul 28, 2019 8:48 am
Forum: General discussion
Topic: mount networkdrive does not work
Replies: 29
Views: 527

Re: mount networkdrive does not work

This is getting a bit silly now :) Firstly, you need to install 'cifs-utils', not 'smbfs' Using 'guest' on the mount line is not sufficient, your share needs to allow guest access and by default it doesn't. You can log into a Windows Computer as 'Guest' (You cannot on a Domain joined computer becaus...
by hortimech
Sat Jul 27, 2019 3:31 pm
Forum: General discussion
Topic: mount networkdrive does not work
Replies: 29
Views: 527

Re: mount networkdrive does not work

Okay you posted this as your line in fstab: //192.168.0.0/home/pi/mynetworkdrive cifs guest_netdev 0 0 That is so wrong, I do not really know where to start ;) But, lets try. the first part should be the sharename and where it is: //IPADDRESS/sharename There should then be a space and then where you...
by hortimech
Sun Jul 21, 2019 5:41 pm
Forum: Troubleshooting
Topic: Not working - sudo apt-get install samba samba-common
Replies: 12
Views: 1104

Re: Not working - sudo apt-get install samba samba-common

It could just be me, but you seem to have 'wheezy' and 'buster' in your sources list
by hortimech
Sun Jul 21, 2019 11:28 am
Forum: General discussion
Topic: Pi4 Samba USB Share
Replies: 5
Views: 220

Re: Pi4 Samba USB Share

[public] comment = public storage path = /media/pi/Data/Backup valid users = pi force group = pi create mask = 0775 directory mask = 0775 read only = no writeable = yes Interesting name for a share that isn't public :) Only the user 'pi' or members of the group 'pi' (usually just 'pi') will be able...
by hortimech
Sun Jul 14, 2019 5:52 pm
Forum: Troubleshooting
Topic: What am i doing wrong with my IP config
Replies: 9
Views: 314

Re: What am i doing wrong with my IP config

Your new machine appears to be using an APIPA address, it is something that sets the IP when it cannot contact a DHCP server. This means you have two options, run a DHCP server on your network or go back to your machine supplier and ask them how you set a static ipaddress.
by hortimech
Sat Jul 06, 2019 11:25 am
Forum: Troubleshooting
Topic: rpi4 Cannot see network shares in File Manager
Replies: 6
Views: 201

Re: rpi4 Cannot see network shares in File Manager

This post descibes several issues with samba. Version 4.10.2 is reported to fix these. https://unix.stackexchange.com/questions/453944/samba-network-discovery-fails-through-file-managers-but-works-with-smbtree There is also a problem with the default smb.conf with the [homes] section. I found I had...
by hortimech
Fri Jul 05, 2019 8:39 pm
Forum: Troubleshooting
Topic: RPi File Sharing for both Windows and macOS
Replies: 29
Views: 1915

Re: RPi File Sharing for both Windows and macOS

Don't know, never used a MAC :)
But I know a man who has.
Go here: https://lists.samba.org/mailman/listinfo/samba
Subscribe to the Samba mailing list and post your question there, Ralph should be able to help with this, if we can attract his attention.

Go to advanced search