What's new

Unable to login to Samba from Oppo 103 bluray player

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

I can't find any clue on the internet as to why you're seeing the RPC error. :( Also, I can't recreate the error as I don't have an Oppo.

I can only think of two things to try...

1. Can you change the user ID the Oppo is connecting with from admin to buontinh

2. You could try this version of the script but it's a shot in the dark.
Code:
#!/bin/sh

CONFIG=$1
source /usr/sbin/helper.sh

pc_replace "log level = 0" "log level = 3" $CONFIG
pc_insert "[global]" "client ntlmv2 auth = no" $CONFIG
 
:Speculation on

The log show an error attempting to load LSARPC

Definition....
LSARPC is really a set of calls, transmitted with RPC, to a system called the "Local Security Authority". This used in the Microsoft/Windows world to perform management tasks on domain security policies from a remote machine.

Since the router uses it's own user/password system, I don't think it would support LSARPC.

But another question would be why the Oppo apparently feels the need to change the router security policy.

:Speculation off :)
 
ColinTaylor:
Tried adding the new code, but same problem with both accounts. Guest login does not work either. Thanks for trying though.

john9527:
Merlin's firmware must be handling samba differently than Asus original firmware and as I mentioned earlier, I flashed Asus RT-N66R with Asus latest firmware and Samba works fine with the Oppo. Also, according to the thread I linked on the first page, others also experienced the same issue with Merlin firmware even though they had no problem with Asus original firmware.
 
@Buontinh Here's a real way out idea....

Turn off the oppo so it's not on the network
ssh to the router and run
killall wsdd2
bring up the oppo and try it then
 
If you get a chance can you SSH into your router and issue the following command:

smbd -V
 
I believe the Oppo supports NFS, so you could use that instead of SMB and ignore the problem altogether. :D
 
I thought only the 203 support it, but maybe the 103 does too.

Anyway, I have never setup NFS before... I just tried setting it up under NFS Exports, but can't get it the Oppo to see it. Maybe I'm not doing it correctly. I toggled enable NFTSD to ON. After that browsed to the USB drive I want to export for "Path" and gave it a name. For "Access list" I entered 192.168.1.0/24 then clicked the + sign to add it then apply the settings. I didn't enter anything under Options as I don't know what it's for.

Am I doing something wrong here?

Thanks for all the help.
 
I thought only the 203 support it, but maybe the 103 does too.
Ah, sorry. My mistake. I was looking at post #1 and saw "Oppo 203" and just assumed that was what you had. I should have read it more closely (or looked at the thread title :rolleyes:).
 
@Buontinh

If you get a chance, can you post the contents of /etc/smb.conf and output of smbd -V from the stock ASUS firmware that is working.
 
john9527:
Version 3.0.33. This is Asus firmware 382_52272-g73d3ea2 for RT-N66R

Thanks
 

Attachments

  • smb.conf.txt
    1.4 KB · Views: 101
john9527:
Version 3.0.33. This is Asus firmware 382_52272-g73d3ea2 for RT-N66R

Thanks
Some of the old insecure SMBv1 stuff was depreciated in version 3.6 so I suspect that is where the difference is.

Try the following which uses the same settings as the N66R:
Code:
#!/bin/sh

CONFIG=$1
source /usr/sbin/helper.sh

pc_replace "log level = 0" "log level = 3" $CONFIG
pc_replace "use spnego = yes" "use spnego = no" $CONFIG
pc_replace "use sendfile = yes" "use sendfile = no" $CONFIG
pc_replace "store dos attributes = no" "store dos attributes = yes" $CONFIG
 
Just wanted to confirm that ASUS still hadn't updated samba.... Samba 3.0 doesn't support SMB2, so the Oppo must be using SMB1 regardless of what you were told.

Try adding these two lines to @ColinTaylors suggested smb.postconf (with the router option set to SMB1 + SMB2)



Code:
pc_replace "max protocol = SMB2" "protocol = SMB2" $CONFIG
pc_insert "protocol = SMB2" "client max protocol = NT1" $CONFIG

PS: I'm also assuming that your share names are different between the builds since they aren't consistent between the two smb.conf files you posted for each release? Are you sure they are right on the oppo when you switch?
 
Thank you all for the help. I'll try and report back.

john9527:
Yes the share names are different. One has a thumb drive attached and the other's, hard drive.
 
Still does not work. Of course I tried from Windows 7 and it worked fine with the same login. Also tried allow guest login and switched samba protocol from 1 to 2 and both, but still get login error. The Oppo must be expecting something unconventional.

Get the following error in syslog so it must not be understanding the last command.

Aug 26 14:19:08 smbd[8714]: [2020/08/26 14:19:08.830062, 0] param/loadparm.c:8021(lp_do_parameter)
Aug 26 14:19:08 smbd[8714]: Ignoring unknown parameter "client max protocol"

Thank you for trying though.
 
The ongoing saga of changing samba options....sorry

try changing that line to
Code:
pc_insert "protocol = SMB2" "min protocol = NT1" $CONFIG
 
Just wanted to confirm that ASUS still hadn't updated samba....

It depends on models. Various models moved to Samba 3.6.25 over the last year. You`ll have to check target.mak to see which models got updated.
.
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top