Jump to content


Photo

Upgrade from 4.0 to 6.1 and samba password KO.


  • Please log in to reply
62 replies to this topic

Re: Upgrade from 4.0 to 6.1 and samba password KO. #21 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 12 April 2018 - 20:06

Remove and install is always better. But you'll probably have to remove /etc/samba manually, as opkg will not remove files that have been changed or added outside it's control.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Upgrade from 4.0 to 6.1 and samba password KO. #22 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 12 April 2018 - 21:03

Remove and reinstall but same issue without line

 

smb passwd file = /etc/samba/private/smbpasswd
 

 

grrrrr

 

There is only the general passwd, the samba password is erased.



Re: Upgrade from 4.0 to 6.1 and samba password KO. #23 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 12 April 2018 - 21:16

What samba password? There is no samba password. The password used is the linux password. I've only told you that twice?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Upgrade from 4.0 to 6.1 and samba password KO. #24 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 12 April 2018 - 21:28

What samba password? There is no samba password. The password used is the linux password. I've only told you that twice?

i understand, i want to say only linux password.



Re: Upgrade from 4.0 to 6.1 and samba password KO. #25 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 12 April 2018 - 22:53

Can't say anything else than that it works fine here, as I showed you.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Upgrade from 4.0 to 6.1 and samba password KO. #26 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 12 April 2018 - 23:09

Can't say anything else than that it works fine here, as I showed you.

You can connect to the shared folder root without password ?



Re: Upgrade from 4.0 to 6.1 and samba password KO. #27 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 12 April 2018 - 23:15

No, all my boxes have a root password.

 

When I try to connect, either using Windows, using a linux mount, or smb:://ip in nautilus, I get prompted for username and password. I type in "root" and root's password, and I am in.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Upgrade from 4.0 to 6.1 and samba password KO. #28 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 13 April 2018 - 07:08

No, all my boxes have a root password.

 

When I try to connect, either using Windows, using a linux mount, or smb:://ip in nautilus, I get prompted for username and password. I type in "root" and root's password, and I am in.

It's crazy, i have now exactly the same configuration but when i type the password , it's asked again and again.

 

It's possible that's a tdb (or other file type in /var/lib/samba) imported from my old OP 4.0 with autobackup, the problem ?



Re: Upgrade from 4.0 to 6.1 and samba password KO. #29 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 13 April 2018 - 07:15

I'm not alone, It's seems to be the same problem.

 

https://forums.openp...in-10/?hl=samba



Re: Upgrade from 4.0 to 6.1 and samba password KO. #30 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 13 April 2018 - 08:07

To test: I flash a fresh 6.1 OP

 

No import from autobackup

 

Telnet and passwd, to define the root password

 

modify just one line (guest ok = yes change in guest ok = no) in the root shared path in /etc/samba/smb.conf

 

Same issue, this is not an import from old parameter the problem.



Re: Upgrade from 4.0 to 6.1 and samba password KO. #31 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 13 April 2018 - 12:08

This is my smb.conf:

root@formuler1:~# cat /etc/samba/smb.conf 
[global]
workgroup = GOTHAM
deadtime = 15
max smbd processes = 6
max log size = 5
guest account = root
load printers = no
show add printer wizard = no
printcap name = /dev/null
disable spoolss = yes
map to guest = Bad Password
security = user
server role = standalone server
unix password sync = yes
local master = yes
preferred master = yes
oplocks = yes
kernel oplocks = yes

[root]
path = /
read only = no
guest ok = no
browseable = yes
create mask = 0777
directory mask = 0777

[Media]
path = /media
read only = no
guest ok = no
browseable = yes
public = yes
writable = yes
available = yes
create mask = 0777
directory mask = 0777

[Harddisk]
path = /media/hdd
read only = no
guest ok = no
browseable = yes
public = yes
writable = yes
available = yes
create mask = 0777
directory mask = 0777

and the mount on my laptop:

=> ~
[wanwizard@catwoman] $ mount -t cifs //172.16.1.49/Harddisk /mnt -o username=root
Password for root@//172.16.1.49/Harddisk:  ********
=> ~ 
[wanwizard@catwoman] $ ls -l /mnt
total 0
drwxr-xr-x 2 root root 0 Dec 14  2015 lost+found
drwxr-xr-x 2 root root 0 Mar 31 14:13 movie
=> ~ 
[wanwizard@catwoman] $ mount | grep "Harddisk"
//172.16.1.49/Harddisk on /mnt type cifs (rw,relatime,vers=default,cache=strict,username=root,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=172.16.1.49,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1)

No problem whatsoever. Wish I could be of more help...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Upgrade from 4.0 to 6.1 and samba password KO. #32 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 13 April 2018 - 12:39

I try this, thanks



Re: Upgrade from 4.0 to 6.1 and samba password KO. #33 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 13 April 2018 - 13:09

From other device.

mack@tripod7896 ~ $ mount -t cifs //192.168.1.13/root /mnt -o username=root 
Password for root@//192.168.1.13/root:  *******************
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


grrrrrr

 

And directly from the box

root@setopbox:/etc/samba# mount -t cifs //127.0.0.1/root /mnt -o username=root
mount: mounting //127.0.0.1/root on /mnt failed: Permission denied

Same issue

 

I don't understand why it's ok for you and it didn't work here.

 



Re: Upgrade from 4.0 to 6.1 and samba password KO. #34 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 13 April 2018 - 13:16

Some weird password?

 

Are your client and server in the same workgroup? If not, try

mack@tripod7896 ~ $ mount -t cifs //192.168.1.13/root /mnt -o username=WORKGROUPNAME/root 

No service issues on the box? If you do

/etc/init.d/samba.sh restart

does it stop nmbd and smbd, and start them again, without error messages?

 

You can also add

log level = 3

to the global setting in your smb.conf, and then restart samba. This will add debugging information to the log files in /var/log. Do you see any error messages in there (smbd.log and nmbd.log)?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Upgrade from 4.0 to 6.1 and samba password KO. #35 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 13 April 2018 - 13:21

Have you the same error of you mount. Harddisk and not root? WanWizard hast made a mount to harddisk and you made a mount to root

Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: Upgrade from 4.0 to 6.1 and samba password KO. #36 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 13 April 2018 - 13:23

you mount the shared folder hardisk not root ...

 

when I mount hardisk all work fine, can you mount root, please.



Re: Upgrade from 4.0 to 6.1 and samba password KO. #37 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 13 April 2018 - 13:25

Have you the same error of you mount. Harddisk and not root? WanWizard hast made a mount to harddisk and you made a mount to root

 

Thanks



Re: Upgrade from 4.0 to 6.1 and samba password KO. #38 ccs

  • Senior Member
  • 229 posts

+7
Neutral

Posted 13 April 2018 - 14:15

The "&" character in the password gave me problems with mounts, there are probably others.


test


Re: Upgrade from 4.0 to 6.1 and samba password KO. #39 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 13 April 2018 - 14:18

The "&" character in the password gave me problems with mounts, there are probably others.

I have try with a 123456789 password to test, no change.



Re: Upgrade from 4.0 to 6.1 and samba password KO. #40 mackguil

  • Senior Member
  • 158 posts

0
Neutral

Posted 13 April 2018 - 15:05

It's seems to be impossible to connect a samba share protected by password on open pli 6.1.




4 user(s) are reading this topic

0 members, 4 guests, 0 anonymous users