Go to advanced search

by doubleudee1
Mon Sep 16, 2019 9:21 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

Thanks, running
smbclient -L localhost -N
Unable to initialize messaging context
Anonymous login successful
tree connect failed: NT_STATUS_ACCESS_DENIED

? still like earlier problem?
by doubleudee1
Mon Sep 16, 2019 9:11 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

I've even re-entered it in windows just to be sure

Image
by doubleudee1
Mon Sep 16, 2019 8:38 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

I'm beginning to wonder whether this is something to do with windows 10 deprecating Workgroups? When did they do that ? I have these lines in smb.conf: client min protocol = SMB2_02 server min protocol = SMB2_02 I run wsdd.py from here: https://github.com/christgau/wsdd Everything works :) if you r...
by doubleudee1
Mon Sep 16, 2019 8:14 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

Now getting:- smbclient -L localhost -N Unable to initialize messaging context Anonymous login successful tree connect failed: NT_STATUS_ACCESS_DENIED ??????????? Strange, on my rpi I get: Unable to initialize messaging context Anonymous login successful Sharename Type Comment --------- ---- ------...
by doubleudee1
Mon Sep 16, 2019 5:11 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

I'm beginning to wonder whether this is something to do with windows 10 deprecating Workgroups?
by doubleudee1
Sun Sep 15, 2019 1:03 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

Do you have to do that straight after loading Samba? If so, that's where I slipped up as I loaded a couple of other things onto my pi before I did that.
by doubleudee1
Sun Sep 15, 2019 1:00 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

yes, did that at an earlier stage, used the same pwd as my pi logon for my initial logon to pi.
by doubleudee1
Sun Sep 15, 2019 12:48 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

and if I try to connect from windows through 'Map Network Drive' I get:-
Image
by doubleudee1
Sun Sep 15, 2019 12:37 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

I have a firewal running, it comes with my BT Router and it's McCafee, my pi is 192.168.1.227, I tried the command you gave me and this came back:-

Code: Select all

sudo ufw allow to any from 192.168.1.0/24
sudo: ufw: command not found
?
by doubleudee1
Sun Sep 15, 2019 10:05 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

Now getting:-

smbclient -L localhost -N

Unable to initialize messaging context
Anonymous login successful
tree connect failed: NT_STATUS_ACCESS_DENIED

???????????
by doubleudee1
Sun Sep 15, 2019 9:20 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

That first parameter I added (perferred master = yes) seemed to be ignored when I queried the system with 'smbclient -L localhost -N' here's my smb.conf now:- testparm rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Load smb config files from /etc/samba/smb.conf rlimit_max:...
by doubleudee1
Sun Sep 15, 2019 9:10 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

OK further progress going through the Samba logs:- ######################################## /var/log/samba $ ls cores log. log.127.0.0.1 log.192.168.1.110 log.192.168.1.195 log.2a00_23c7_3c88_e601_1d0f_993d_a33c_a388 log.2a00_23c7_3c88_e601_742d_412c_a181_d244 log.2a00_23c7_3c88_e601_79b0_f3ca_d34b_...
by doubleudee1
Sat Sep 14, 2019 1:13 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

OK, thanks for that, there are files and I will go through them asap
by doubleudee1
Sat Sep 14, 2019 11:53 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

oops should have been sudo, but all I get is an empty file?
by doubleudee1
Sat Sep 14, 2019 11:49 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

DougieLawson wrote:
Sat Sep 14, 2019 11:40 am
When things fail what do you get in /var/log/samba/log.*?
Sorry for being stupid but where is that file? I tried
sudu nano /var/log/samba/log
-bash: sudu: command not found

?
Thanks
by doubleudee1
Sat Sep 14, 2019 11:46 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

Disk setup looking through gparted =

Partition = /dev/sda1
Name = CCTV_In
File System - ntfs
Mount Poit = /home/pi/CCTV_In
Label = CCTV
Size = 3.64
used = 180.93 MiB
Unused = 3.64 TiB
Flag = msfdata

Mounted on /home/pi/CCTV_In

Cheers
by doubleudee1
Sat Sep 14, 2019 11:29 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

here's the results:- testparm rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Load smb config files from /etc/samba/smb.conf rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Processing section "[printers]" Processing section "[CCTV_In]" Processing s...
by doubleudee1
Sat Sep 14, 2019 10:24 am
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

sorry, by mydir as was referring to my actual dir which is 'CCTV_In'. I've just loaded 'sudo apt-get install smbclient', I thought all the stuff to do with Samba would have been loaded together? Thanks, will start checks again. ran that code and got smbclient -L -N Unable to initialize messaging con...
by doubleudee1
Fri Sep 13, 2019 3:41 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

Tried changing samba password and rebooting pi and PC but still wont let me in, looks like a full re-install for me.
by doubleudee1
Fri Sep 13, 2019 3:15 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again! - Lost Samba settings

This is what I get running that command
pi@raspberrypi:~ $ sudo smbclient -W WORKGROUP -U pi //localhost/pi
sudo: smbclient: command not found

and without sudo first:-
pi@raspberrypi:~ $ smbclient -W WORKGROUP -U pi //localhost/pi
-bash: smbclient: command not found
by doubleudee1
Fri Sep 13, 2019 1:37 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again!

Just ran this:- sudo systemctl status smbd.service ● smbd.service - Samba SMB Daemon Loaded: loaded (/lib/systemd/system/smbd.service; enabled; vendor preset: ena Active: active (running) since Fri 2019-09-13 12:36:37 BST; 9min ago Docs: man:smbd(8) man:samba(7) man:smb.conf(5) Process: 4069 ExecSta...
by doubleudee1
Fri Sep 13, 2019 1:31 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

Re: ARRRRGGGHHHH Its happened again!

Yes
Samba password made using
sudo smbpasswd -a pi

then entered pwd twice
by doubleudee1
Fri Sep 13, 2019 1:00 pm
Forum: Beginners
Topic: ARRRRGGGHHHH Its happened again! - Lost Samba settings
Replies: 46
Views: 1232

ARRRRGGGHHHH Its happened again! - Lost Samba settings

Had to reload everything through a lockup with raspian, now I'm at a point where i can see my directory on the Pi from windows 10, but it says 'windows cannot access 'mydir' please check spelling or network blah blah blah....' If someone can help heres my main files:- my entry in 'sudo nano /etc/sam...

Go to advanced search