Smb authentication required vlc какой пароль
Updated: December 28, 2016
The problem you are facing is as follows. You are most likely running some kind of a Linux distribution, and you want to play files stored on a remote computer. Most often, this will be a Windows machine, so you need some Samba sharing. The thing is, on its own, the sharing works, but VLC just can't play remote files.
You get an error that reads: Your input can't be opened: VLC is unable to open the MRL 'specific protocol and file location'. Check the log for details. In my case, this was with Samba, hence the protocol is smb:// and then the full path to the desired media object. Now, I have seen the issue a few times before, but recently, I spotted it in GeckoLinux, a distro based on openSUSE, and then again in the latter, and a few other KDE/Plasma systems. So I decided to write a little tutorial that shows how to fix this problem. Follow me.
More around the problem
Now, often with this kind of issues is, the problem can be tricky and masked. Do you have the right codecs? Do you have any software conflicts? If you read my openSUSE pimping guide, you will notice that using multiple repos can lead to trouble.
At this point, you may decide to actually try to install few missing dependencies, as you might be under the impression that your system is just missing the needed codecs to open the files. But you should consult the log first. Ideally, this will give you more details into what you are facing. We talked about this before in my article on VLC secrets and logging.
Speaking of codecs, there are several options you might want to check. In the SUSE family, for instance, codecs are packaged separately (vlc-codecs). Regardless of the distro, specifically for Samba, you might want to try the vlc-plugin-samba if available.
But now, let's focus on the logs. Check Tools > Messages, increase the verbosity level to debug, and then try to open a file from a Samba share. Search for errors in the output. You will most likely see something like:
.
smb error: open failed for 'roger@mediabox/Data/File.mp4' (Permission denied)
.
This means we just can't access the file for some reason - from inside VLC. Please verify that you can actually do that using your distro file manager. If you can, then we know this is an issue with how VLC authenticates against the server that holds the files. We will now fix the access to Samba shares. The same methodology applies to other protocols.
Conclusion
There you go, another quick and nimble VLC tutorial. This little player has it all, including the complexity, beauty and flexibility of the Linux world. You know issues will come up, but then you will also be able to resolve them, somehow, somewhere, black magic.
If you cannot play remote media files using VLC in Linux, you need to check several things. One, always consult the media player logs first, so you can narrow down your troubleshooting. Based on the information, see if you've not come up against a permission issue. This can happen in various distributions and desktop environments, especially with Samba. If this does not help, see about any missing codecs and make sure you're not facing package conflicts or some such. But it this case, it will probably be the question of Samba credentials, and the player allows you to fix this easily using its preferences, but there will be some limitations to that. Anyhow, not perfect, but given what we can do, I hope you find this guide useful. And we represent.
- browsable (Linux) / turn on file and printer sharing (Windows)
- guest ok (Linux) / turn off password protected sharing (Windows)
- Appropriate file system level permissions on both servers (not really matters here)
Most of the time, using a Windows 10 client to connect to the shared folder is straight forward, just \\my-server and it is fine. But sometimes, it keep asking for credentials for unknown reason.
It won't connect if I leave all fields blank. Sometimes I need to type a random user account with a blank password, and sometimes both a random account plus a random password to pass that stupid prompt. Linux clients do not suffer from that issue, at least by using smb://my-server on Ubuntu's Nautilus and select Connect anonymously.
To make the problem worse, let's say I have a shared printer on the server. After a client provides a random user + password, he can connect to the server and use the shared printer. After a few days, he suddenly cannot print using the previously added printer, until he tries to connect and provides a random user + password again (the printer does not need to be re-added). Looks like the junk user + password time out after a few days (even if you do check Remember my credentials).
The issue occurs randomly. What could be the cause of the problem?
This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread.
Report abuse
Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Any content of an adult theme or inappropriate to a community web site. Any image, link, or discussion of nudity. Any behavior that is insulting, rude, vulgar, desecrating, or showing disrespect. Any behavior that appears to violate End user license agreements, including providing product keys or links to pirated software. Unsolicited bulk mail or bulk advertising. Any link to or advocacy of virus, spyware, malware, or phishing sites. Any other inappropriate content or behavior as defined by the Terms of Use or Code of Conduct. Any image, link, or discussion related to child pornography, child nudity, or other child abuse or exploitation.
Допустим, у меня есть этот H:\Films каталог, к которому я хотел бы получить доступ с моего мобильного (android) VLC плеера.
На Win 10 я создал локального пользователя stream и создал для него пароль.
Затем я вошел в Network & Sharing Center и убедился, что Turn on file and printer sharing был выбран в обоих, private и guest or public (current profile) и что turn on password protected sharing было включено all networks (с 128bit encryption ).
Затем я перехожу к H:\Films свойствам каталога и в разделе « advanced sharing Выбор» share this folder затем в разрешениях удаляю «Все» и вместо этого добавляю права на чтение только для stream пользователя.
Хорошо, в соответствии с Windows, эта папка теперь должна быть доступна на \\MY_COMPUTER\Films .
Я открываю VLC на Android и выбираю Local Network вкладку.
MY_COMPUTER появляется в виде smb папки.
Я нажимаю на него, ожидая, что меня попросят ввести учетные данные, как в случае с другими серверами smb . за исключением того, что меня не спрашивают. Это просто круговая иконка загрузки, вращающаяся до бесконечности.
Пробовал с выключенным брандмауэром windows, ничего не изменилось.
Пробовал с полным доступом к папке everyone , ничего не изменилось.
Как мне разрешить VLC подключаться к этой папке?
В «Панели управления \ Все элементы панели управления \ Центр управления сетями и общим доступом \ Расширенные настройки общего доступа» в соединениях HomeGroup переключитесь на «Использовать учетные записи пользователей» вместо «Разрешить окнам управлять . ». В зависимости от версии вашего VLC вы можете выбрать «Включить общий доступ к файлам для устройств, использующих 40-56-битное шифрование». Ваш VLC также может не поддерживать последний протокол SMB3 в Win10, вам может потребоваться затем включить в «Программы и функции-> Повернуть функцию Windows . » старый протокол CIFS, если вы уверены, что никто не попытается использовать его уязвимость. Alex 3 года назад 0
@Alex нет никаких параметров `` Соединения HomeGroup`` в `` расширенных настройках общего доступа`` `` Network and Sharing Center``. Переход на 40-56-битное шифрование ничего не сделал. User1291 3 года назад 0
@ Алекс старый CIFS, кажется, сделал свое дело, предоставив мне доступ, спасибо. Хотите сделать ответ из этого? User1291 3 года назад 0
I'm using VLC on my mobile for watching videos. and SAMBA for sharing folders from my Linux Laptop.
When I try to access to my Local Network from VLC. It keeps asking me for username and password every time I try to open a folder.
But when I share the same folder with Windows 10 this issue doesn't happen.
With Windows 10 VLC asks for username and password once only then It never ask again & again like KDE Neon.
How to solve this problem? Here's the screenshot:
I AM USING:
Operating System: KDE neon 5.19
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.14.2
Kernel Version: 5.3.0-62-generic
OS Type: 64-bit
You need to enter your Samba password. You can find more info on articles on installing Samba in Google.
PS : You can allow " Guest Access"
Solution:
Goto: /etc/samba
edit smb.conf
add this two lines under [global] section:
Code: Select all client min protocol = SMB3_11
usershare owner only = false
Save the file and restart samba:
Code: Select all sudo systemctl restart smbd nmbd
Open VLC on your mobile (android) and goto local network.
Try to access on Samba share. It will ask for the password.
The message title will be
SMBv1 authentication required.
DO NOT ENTER THE USERNAME AND PASSWORD.
it is asking for SMBv1 authentication required
Press BACK button. After pressing back button it will ask for SMB authentication required.
So now its not asking for SMBv1 . It's asking for SMB username and password.
Now enter username and password.
You're done.
VLC will remeber that password and you don't need to enter again and again.
Всем огромный привет! У меня CentOS 8 поставил sambу… конфиг:
что не так не пойму, до этого ставил и на ура … может мой конфиг не айс?
Например, нужные пользователи (в т.ч. nobody), не заведены на бэкенде утилитой smbpasswd.
Также у опубликованных директорий могут быть неверные «локальные» права.
Проблемы с форматированием кода.
нужные пользователи (в т.ч. nobody), не заведены на бэкенде >утилитой smbpasswd
smbpasswd -a nobody smbpasswd -e nobody
Если нужен гостевой доступ попробуй так
julixs ★★ ( 21.11.20 23:56:44 )
Последнее исправление: julixs 21.11.20 23:59:11 (всего исправлений: 1)
и всеравно не пускает
А подключение производится с чего?
с Windows 7 по сети
В настройках общего доступа случаем не включен доступ с парольной защитой?
На компе с самбой выполни
запросит пароль самба/рут ни чего не вводя нажми ентр если все правильно настроено покажет список шар, тогда крути офтоп. Я тут на днях с ц8 и вин10 трахался, оказалось отключили гостевой доступ на уровне гпо.
julixs ★★ ( 22.11.20 00:35:44 )
Последнее исправление: julixs 22.11.20 00:36:59 (всего исправлений: 1)
а правильный синтаксис, уважаемый?
Сори ключ -L забыл
после ребута, вообще перестало пускать ((( а, вообще, это нормально:
нет, сори, по имени компьютера, а по IP все норм - также не пускает без пароля какого-то))))
Пальцем в небо, закоменьть server min protocol = NT1
не изменилось, зато по netbios name стало пускать с запросом опять логина и пароля ( до этого вообще не пускало)
Смотрю исходный конфиг, и выработанный в ходе беседы, и многое вызывает сомнения. Самое главное - закомментированное имя раздела будет трактоваться интерпретатором не как выключенный блок (подозреваю, цель была такова), а как просто как отсутствующая строка.
А это значит, что весь массив параметров просуммировался с [global] (см. вывод своего testparm), что может приводить к неожиданному поведению.
У меня есть небольшая памятка по настройке (на основе мурзилки от Sander Van Vugt, для подготовки к сертификации по 7-й части), плюс личные модификации.
Наверное, многое можно сделать лучше, но работает штатно. Интеграция с Windows была не очень интересна, но должна частично поддерживаться (подключение к бездоменному stand-alone).
Solution
What we need to do is tell VLC to play SMB content - and potentially provide it with credentials needed to access these Samba shares. The problem here is many fold. Recently, after a number of security vulnerabilities discovered in the SMB protocol, there has been a fairly kneejerk reaction and subsequent tightening of security in this domain, which leads distros to prompt for username and password for Samba shares even if you allow anonymous guest access.
Furthermore, VLC may not fully be integrated into your distro of choice, and there might not be enough cross-app sharing of credentials. Which means that if you have allowed, say, Dolphin to access a Samba shares, this information will not be stored in a global database that the media player can also use. We will need to configure that separately.
To do this, open VLC > Preferences > Show settings (All) > Input / Codecs > Access Modules > SMB . Here, you will be able to provide your SMB username, password and maybe domain. This only works for one server at a time.
Once you have provided the necessary details, save the settings, and close the Preferences video. Now, try playing the remote content. You will most likely succeed. At this point, you should be able to stream your video from Windows machines. Again, this may not affect all distributions - or desktop environments, so do take this into account when you setup your systems.
Читайте также: