Go to advanced search

by hortimech
Sun May 12, 2019 7:46 pm
Forum: Troubleshooting
Topic: Connecting to my Windows 7 network
Replies: 65
Views: 1282

Re: Connecting to my Windows 7 network

Don't bother, if you had to install Samba you weren't using it, and I know exactly what is in your new smb.conf

You might as well remove Samba, you obviously do not need it, but I still think NTLMv1 is at the root of your problem, perhaps your Win7 PC is using it instead of NTLMv2
by hortimech
Sun May 12, 2019 7:31 am
Forum: Troubleshooting
Topic: Connecting to my Windows 7 network
Replies: 65
Views: 1282

Re: Connecting to my Windows 7 network

OK, from what I have read, you are trying to connect via SMB and it doesn't work, try adding 'ntlm auth = yes' to your smb.conf (it will be in /etc/samba). Restart Samba and see if this cures your problem. If it doesn't, please post your smb.conf, but, before posting, remove all lines that start wit...
by hortimech
Fri May 10, 2019 8:57 pm
Forum: Troubleshooting
Topic: Connecting to my Windows 7 network
Replies: 65
Views: 1282

Re: Connecting to my Windows 7 network

What do you mean how? I already said it on my first post. What else do you want to know? Linking the ethernet cable to the modem, checking the IPv4 on my W7, loading that in Kodi under SMB protocol, and getting nothing. That could have meant anything, you could be connecting from the other side of ...
by hortimech
Fri May 10, 2019 11:55 am
Forum: Troubleshooting
Topic: Connecting to my Windows 7 network
Replies: 65
Views: 1282

Re: Connecting to my Windows 7 network

Of course, the obvious question is, how are you trying to connect ?
by hortimech
Fri Apr 19, 2019 12:24 pm
Forum: Troubleshooting
Topic: Samba client keeps asking for password and can't login.
Replies: 11
Views: 5575

Re: Samba client keeps asking for password and can't login.

Why are you forcing everyone to be 'root' ? this is very insecure.

Talking off insecure, this is possibly your problem, the version of Samba that comes with raspbian has NTLMv1 turned off, but your Windows clients may not have, try adding 'ntlm auth = yes' to smb.conf and see if this helps.
by hortimech
Sun Mar 24, 2019 12:19 pm
Forum: Troubleshooting
Topic: Samba Error in RPi3B
Replies: 8
Views: 348

Re: Samba Error in RPi3B

Hmm, 'max server protocol = NT1' should work, is SMBv1 turned off on the client as well ?

You need SMBv1 for network browsing and, as it is very insecure, it is now usually turned off by default. It is being replaced by mapping drives, connecting to a UNC or by 'Network Discovery' on Windows.
by hortimech
Sun Mar 24, 2019 9:55 am
Forum: Troubleshooting
Topic: Samba Error in RPi3B
Replies: 8
Views: 348

Re: Samba Error in RPi3B

There is a good reason why 'max protocol = SMB1' doesn't work, the 'SMB1' part doesn't exist!
Try this instead 'server max protocol = NT1'

You also better get used to no network browsing, it is going away.
by hortimech
Thu Mar 21, 2019 4:43 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2206

Re: Sharing an existing folder using Samba

I'd be happy to accept a pull request on changes to the docs in this area. And I would be quite willing to totally rewrite your Samba page, just not on git-hub , we left there and went to git-lab. I am a member of the Samba team and I have been trying, for some time, to point out to the Rpi team th...
by hortimech
Thu Mar 21, 2019 11:12 am
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2206

Re: Sharing an existing folder using Samba

Hmm, you have this: drwxr-x---+ 5 root root 4096 Mar 21 10:42 pi This means that only root can read, write and enter the 'pi' directory, members of the root group can read and enter the 'pi' directory, 'others' are denied any access, but this isn't the full picture. If you examine the permissions, y...
by hortimech
Wed Mar 20, 2019 9:29 pm
Forum: Beginners
Topic: SMB Samba Share - HELP ME PLEASE! :)
Replies: 10
Views: 345

Re: SMB Samba Share - HELP ME PLEASE! :)

smbstatus shows connections not shares, try 'smbclient -L localhost'
When prompted for a password, just press 'enter'
by hortimech
Wed Mar 20, 2019 4:33 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2206

Re: Sharing an existing folder using Samba

Hi Hortimech, Thanks for your answers. The permission thing, rwx and groups/users, I was ok with. Probably one of the few things I remember from my UNIX days. But what I can't understand is why I get message telling me I don't have access to the server when I try to connect the share, Z1_Disk, to m...
by hortimech
Wed Mar 20, 2019 4:14 pm
Forum: Beginners
Topic: SMB Samba Share - HELP ME PLEASE! :)
Replies: 10
Views: 345

Re: SMB Samba Share - HELP ME PLEASE! :)

mrsharpey wrote:
Wed Mar 20, 2019 3:52 pm
Thanks for the replies so far. From what I can gather the share isn't being created whatsoever.
What do you mean by <isn't being created> ?
Samba doesn't create the share folder, you have to.
by hortimech
Wed Mar 20, 2019 9:12 am
Forum: Beginners
Topic: SMB Samba Share - HELP ME PLEASE! :)
Replies: 10
Views: 345

Re: SMB Samba Share - HELP ME PLEASE! :)

It’s possibly the version of SMB you are running. By default Samba uses SMBv1 and Windows has removed that :roll: And if Debian was using a supported Samba version, Raspbian wouldn't be using SMBv1 either. You could try: 1) Enable SMBv1 on the PC again 2) Configure min protocol as SMB2 - see https:...
by hortimech
Tue Mar 19, 2019 2:02 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2206

Re: Sharing an existing folder using Samba

OK, if we examine one of those permission lines we find this: drwxrwxrwx 3 root root 4096 Mar 15 14:55 /media/pi/Z3_Disk The first block 'drwxrwxrwx' are the permissions The third and fourth are the owner & group The last is the path to the directory Breaking the permissions down, it becomes this: d...
by hortimech
Sun Mar 17, 2019 6:40 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2206

Re: Sharing an existing folder using Samba

What are the permissions on the folders you are sharing ? what do these commands output: ls -lad /home/shares/public ls -lad /home/pi/Desktop/share ls -lad /media/pi/Z1_Disk ls -lad /media/pi/Z2_Disk ls -lad /media/pi/Z3_Disk Does the user you are trying to connect to the share (which share ?) exist...
by hortimech
Sun Mar 17, 2019 9:32 am
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2206

Re: Sharing an existing folder using Samba

This is the smb.conf with all the default settings removed (note it is interspaced with comments) [global] workgroup = WORKGROUP security = user syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 usershare allow guests = yes passwd program = /usr/bin/passwd %u pam password change = yes ...
by hortimech
Sat Mar 16, 2019 8:52 am
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2206

Re: Sharing an existing folder using Samba

OK, lets start by you posting your smb.conf
But before you post it, remove all lines that start with a '#' or ';'
by hortimech
Fri Mar 15, 2019 5:47 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2206

Re: Sharing an existing folder using Samba

Jamesh and Hortimech, I have no idea what you guys are talking about? :? Hi Thoughtfisssion, I am a member of the Samba team and I have been trying, for some time, to point out to the Rpi team that their Samba page isn't correct and all I get is 'use git-hub'. I will not use git-hub, well not after...
by hortimech
Fri Mar 15, 2019 4:13 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2206

Re: Sharing an existing folder using Samba

jamesh wrote:
Thu Mar 14, 2019 9:46 am

I'd be happy to accept a pull request on changes to the docs in this area.
And I would be quite willing to totally rewrite your Samba page, just not on git-hub, we left there and went to git-lab.
by hortimech
Wed Mar 13, 2019 10:27 pm
Forum: Beginners
Topic: Sharing an existing folder using Samba
Replies: 27
Views: 2206

Re: Sharing an existing folder using Samba

Probably not, for the following reasons: It shows this as a share: [share] path = /home/pi/shared available = yes valid users = pi read only = no browsable = yes public = yes writable = yes Lets examine that. 'available = yes' and 'browsable = yes' are default settings, so do not need to be set. 'pu...
by hortimech
Mon Mar 11, 2019 12:47 pm
Forum: Networking and servers
Topic: No subnet declaration for eth0. Setting up DHCP server.
Replies: 23
Views: 1496

Re: No subnet declaration for eth0. Setting up DHCP server.

No, I didn't know what the second 'c' was for, so thanks for telling me, but you still haven't answered the main questions. Why not remove it ? What will happen if you do ? Why do you need something to set a clients IP if the client has a fixed ipaddress ? On an rpi you have limited disk space, so w...
by hortimech
Sun Mar 10, 2019 7:46 pm
Forum: Networking and servers
Topic: No subnet declaration for eth0. Setting up DHCP server.
Replies: 23
Views: 1496

Re: No subnet declaration for eth0. Setting up DHCP server.

I’m not going to discuss this further. For the record, removing dhcpcd from Raspbian without a good reason is not sound advice. The OP has left the room with reason. Perhaps he needed a dhcp server because his project was a Pi 3 wireless router. I don’t think removing the dhcp client would have don...
by hortimech
Sun Mar 10, 2019 4:24 pm
Forum: Networking and servers
Topic: No subnet declaration for eth0. Setting up DHCP server.
Replies: 23
Views: 1496

Re: No subnet declaration for eth0. Setting up DHCP server.

Why? Mhh. Let me see. It is preintalled since Jessie, it is documented, it mostly works. Did I get that right? So, just because it is installed on something that gets its IP via dhcp and is documented, it is a good reason not to remove it when you are replacing it with a dhcp server ? The 'it mostl...
by hortimech
Sun Mar 10, 2019 2:25 pm
Forum: Networking and servers
Topic: No subnet declaration for eth0. Setting up DHCP server.
Replies: 23
Views: 1496

Re: No subnet declaration for eth0. Setting up DHCP server.

Because if you are running a dhcp server it needs to have a fixed IP, so anything that sets the ipaddress isn't needed , so why have it installed and running ? Technically, it doesn’t. But of course you don’t want 2 competing DHCP servers on the same network so a static IP it is often. Something ha...
by hortimech
Sun Mar 10, 2019 9:26 am
Forum: Networking and servers
Topic: No subnet declaration for eth0. Setting up DHCP server.
Replies: 23
Views: 1496

Re: No subnet declaration for eth0. Setting up DHCP server.

If you are running a dhcp server, you probably should remove dhcpcd (its actual name is dhcpcd5). Why?? Because if you are running a dhcp server it needs to have a fixed IP, so anything that sets the ipaddress isn't needed , so why have it installed and running ? I also had a bit of brain fade, yes...

Go to advanced search