Go to advanced search

by hortimech
Mon Jul 06, 2020 8:57 am
Forum: Networking and servers
Topic: ldap group issue with nagios.
Replies: 1
Views: 76

Re: ldap group issue with nagios.

Okay, I have never used nagios, but surely the user & group should be stored locally in /etc/passwd and /etc/group, not in ldap, will nagios start if you change the group line in /etc/nsswitch.conf to 'group: files ldap' ?
by hortimech
Tue Jun 30, 2020 9:41 am
Forum: General discussion
Topic: Enabling SMB 1.0v
Replies: 2
Views: 184

Re: Enabling SMB 1.0v

First, unless you really must use SMBv1, don't use it, it is very insecure. Second, find another docker, that one goes back to 2017 from my reading of 'run'sh', you should have a smb.conf file and it should look like this: [global] workgroup = WORKGROUP security = user create mask = 0664 directory m...
by hortimech
Sun Jun 28, 2020 1:25 pm
Forum: Beginners
Topic: File permissions issue on RPi 4 NAS
Replies: 8
Views: 248

Re: File permissions issue on RPi 4 NAS

First, a question, where did you get the 'Media' share lines from ? There are default lines and lines that do not exist. Because you have 'public = yes' and 'only guest = yes', only guest access will be allowed via Samba, but you also have 'force user = root' and 'force group = root'. This means tha...
by hortimech
Sun Jun 28, 2020 8:35 am
Forum: Troubleshooting
Topic: [SOLVED] RPiOS, ssh working OK, would like to see RPi in File Manager Browse Networks from another computer
Replies: 12
Views: 410

Re: RPiOS installed, ssh working OK, would like to see RPi in File Manager Browse Networks from another computer

fracmo2000 wrote:
Sat Jun 27, 2020 10:21 pm

EDIT: or is there anything wrong/missing in the '/etc/samba/smb.conf' file?
Possibly, but we cannot even attempt to say one way or another, because you haven't posted your smb.conf file ;)

Please post the output of:

Code: Select all

testparm
by hortimech
Fri Jun 26, 2020 3:40 pm
Forum: Networking and servers
Topic: Samba 4.11 cannot join W2012R2 domain as member-DC
Replies: 9
Views: 280

Re: Samba 4.11 cannot join W2012R2 domain as member-DC

It wasn't ambiguous, it plainly showed that samba-tool was being used and I doubt this will work on a Windows DC. You will have to use the Windows tools to lower the functional level to 2008R2. I did some searching and turned this up: https://jamesnbr.wordpress.com/2016/10/11/samba-4-5-in-centos-6-8...
by hortimech
Fri Jun 26, 2020 12:19 pm
Forum: Networking and servers
Topic: Samba 4.11 cannot join W2012R2 domain as member-DC
Replies: 9
Views: 280

Re: Samba 4.11 cannot join W2012R2 domain as member-DC

No, you will have to LOWER the functional level on the Windows DC. We haven't got to the 2012R2 functional level on a Samba DC yet, the highest level expected on a domain join is 2008R2. The command you ran is supposed to prepare for the installation of the 2012R2 schema extentions on a running Samb...
by hortimech
Thu Jun 25, 2020 11:16 am
Forum: Networking and servers
Topic: Samba 4.11 cannot join W2012R2 domain as member-DC
Replies: 9
Views: 280

Re: Samba 4.11 cannot join W2012R2 domain as member-DC

OK, try reading this: https://wiki.samba.org/index.php/Joining_a_Windows_Server_2012_/_2012_R2_DC_to_a_Samba_AD I know it talks about going the other way , but it should be still valid It refers to a couple of bugs, one of which should be familiar to you: https://bugzilla.samba.org/show_bug.cgi?id=1...
by hortimech
Wed Jun 24, 2020 3:47 pm
Forum: Networking and servers
Topic: Samba 4.11 cannot join W2012R2 domain as member-DC
Replies: 9
Views: 280

Re: Samba 4.11 cannot join W2012R2 domain as member-DC

No '69' is the schema version, the functional level is something else. It means that whilst your DC might be 2012R2 it can act as if it is a 2008R2 DC. Samba can now use schema version '69', but the functional level is still 2008R2 You need to check CN=NTDS Settings,CN=THE_WINDOWS_DC_SHORTHOSTNAME,C...
by hortimech
Wed Jun 24, 2020 10:39 am
Forum: Networking and servers
Topic: Samba 4.11 cannot join W2012R2 domain as member-DC
Replies: 9
Views: 280

Re: Samba 4.11 cannot join W2012R2 domain as member-DC

What is the functional level of the Windows DC ?
If it isn't '2008R2', can you change it to '2008R2' ?
by hortimech
Mon Jun 08, 2020 8:19 am
Forum: Networking and servers
Topic: [SOLVED] Accessing shares on older Windows machine fails, help !
Replies: 7
Views: 341

Re: Accessing shares on older Windows machine fails, help !

Could I introduce you to the concept of reading manpages ? Specifically the Samba manpage for smb.conf: man smb.conf Where you would have found a couple of parameters: client lanman auth and lanman auth The default for both is 'no' and it sounds like you need to set both in smb.conf and also set the...
by hortimech
Mon Jun 08, 2020 8:00 am
Forum: Networking and servers
Topic: simple NAS
Replies: 48
Views: 2940

Re: simple NAS

Have you created Samba users on the pi ?
You do this with:

Code: Select all

smbpasswd -a <username>
This command must be run by root or using sudo
<username> must be a valid Unix user that exists on the pi and is usually a user that exists on Windows, it also helps if you use the same password for all three.
by hortimech
Sat May 30, 2020 6:00 pm
Forum: Networking and servers
Topic: Problem with Samba permissions
Replies: 15
Views: 649

Re: Problem with Samba permissions

1) The problem is that the answer to your question could be found by a simple internet search and your question has been asked many times before, so I hope you can see why people give short answers. 2) Perhaps it could have been worded better. 3) The people who post on here, do it for nothing, nobod...
by hortimech
Fri May 29, 2020 6:13 pm
Forum: Networking and servers
Topic: Problem with Samba permissions
Replies: 15
Views: 649

Re: Problem with Samba permissions

Your effective share is this:

Code: Select all

[Experiments]
path=/home/pi/exper
read only = no
The rest are default settings.

Who did you chmod /home/pi/exper to ?
I hope it was 'pi', otherwise you have just opened up pi's home dir, ever heard of symlinks ?
by hortimech
Tue May 19, 2020 3:22 pm
Forum: General discussion
Topic: Windows 95 Not Booting Properly From Bochs On Raspberry Pi
Replies: 11
Views: 514

Re: Windows 95 Not Booting Properly From Bochs On Raspberry Pi

Not one of you has mentioned that Linux required 'boot' and 'root' floppy's in the very early days :)
by hortimech
Wed May 13, 2020 8:22 pm
Forum: Networking and servers
Topic: Connect from W10 to shared folder on RPi
Replies: 9
Views: 384

Re: Connect from W10 to shared folder on RPi

Not have you, where DID you enable SMBv1 ?
On the pi and if so, how ?
On a windows machine ?
Or somewhere else ?
by hortimech
Wed May 13, 2020 10:38 am
Forum: Networking and servers
Topic: Connect from W10 to shared folder on RPi
Replies: 9
Views: 384

Re: Connect from W10 to shared folder on RPi

This is undoubtedly a SMBv1 problem, but you have a much bigger problem (in my opinion), Raspbian wheezy is EOL and Samba 3.6.x is most definitely EOL.
Having said that, where did you enable SMBv1 ?
by hortimech
Mon May 11, 2020 12:37 pm
Forum: Troubleshooting
Topic: Copy files to SMB share without using sudo?
Replies: 7
Views: 261

Re: Copy files to SMB share without using sudo?

Thanks @hortimech: I don't see why that makes a difference. No the pi user does not have an account on the Synology. However, the mount.cfs command is logging me into the Synology as a specified user (which does have an account on the Synology with full read/write permissions) and asks me to authen...
by hortimech
Mon May 11, 2020 7:58 am
Forum: Troubleshooting
Topic: SMB mounting NAS: mount error 2, no such file or directory
Replies: 7
Views: 338

Re: SMB mounting NAS: mount error 2, no such file or directory

OK , I figured it out: it was the path I specified on the NAS. For some reason the SMB path doesn't include "volume1" (contrast the nfs path which does). Best wishes Chris You posted this '//192.168.x.xx/volume1/xx/xx/pifiles', that isn't what I would expect. When you create a share in smb.conf, it...
by hortimech
Mon May 11, 2020 7:44 am
Forum: Troubleshooting
Topic: SMB mounting NAS: mount error 2, no such file or directory
Replies: 7
Views: 338

Re: SMB mounting NAS: mount error 2, no such file or directory

I should add that I haven't made any configuration file changes e.g. in smb.conf. The guide I was reading suggested that those were only necessary if you are running a smb server on the Pi... OK, the pi is a 'client', your synology is a 'server', you need to set up the smb.conf on the server correc...
by hortimech
Mon May 11, 2020 7:40 am
Forum: Troubleshooting
Topic: SMB mounting NAS: mount error 2, no such file or directory
Replies: 7
Views: 338

Re: SMB mounting NAS: mount error 2, no such file or directory

Lskbear wrote:
Fri May 08, 2020 11:05 am
Many thanks for your response, hortimech. When I run that I receive this response:

Unable to initialize messaging context
session setup failed: NT_STATUS_LOGON_FAILURE
Are you sure Samba is running ?
by hortimech
Mon May 11, 2020 7:38 am
Forum: Troubleshooting
Topic: Copy files to SMB share without using sudo?
Replies: 7
Views: 261

Re: Copy files to SMB share without using sudo?

Does your rpi user exist on the synology ?
If not, is the synology set up to allow guest access ?
by hortimech
Fri May 08, 2020 8:57 am
Forum: Troubleshooting
Topic: SMB mounting NAS: mount error 2, no such file or directory
Replies: 7
Views: 338

Re: SMB mounting NAS: mount error 2, no such file or directory

Hmm, '//192.168.x.xx/volume1/xx/xx/pifiles' doesn't look valid, what it is the output of 'smbclient -L 192.168.x.xx -N' ?
by hortimech
Fri May 08, 2020 8:45 am
Forum: General discussion
Topic: New to Pi Samba or FStab problems?
Replies: 5
Views: 226

Re: New to Pi Samba or FStab problems?

OK, lets take your smb.conf first, here it is rewritten, with defaults removed and a few comments added: [global] server string = The Pi File Center workgroup = WORKGROUP # if the workgroup is 'WORKGROUP', you can remove this [HOMEPI] path = /home/pi comment = No comment # the comment will actually ...

Go to advanced search