• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
Configuring & Adding SMB/Samba Network shares
#61
while all this "me too" stuff is just so informative i would like to know if anyone has even bothered checking the access logs on the system where the smb server is to get a real reason of the failure
windows - https://www.netsurion.com/articles/audit...curity-log
linux - https://wiki.samba.org/index.php/Configu...mba_Server
Reply
#62
@jepsizofye No debug log, no issue...... Laugh
Learning Linux the hard way !!
Reply
#63
(2023-01-29, 19:27)black_eagle Wrote: @jepsizofye No debug log, no issue...... Laugh
ha! yea, without log: "well everything looks fine from here gl"
Reply
#64
same problem:

2023-02-09 17:17:36.539 T:18328 debug <general>: ------ Window Deinit (DialogConfirm.xml) ------
2023-02-09 17:17:36.543 T:18328 error <general>: GetDirectory - Error getting smb://PC/
2023-02-09 17:17:36.543 T:18328 error <general>: CGUIDialogFileBrowser::GetDirectory(smb://PC/) failed
2023-02-09 17:17:36.969 T:18328 debug <general>: CheckIdle - Closing session to http://mirrors.kodi.tv (easy=0xc472a000, multi=0xc47d6800)
2023-02-09 17:17:37.020 T:18328 debug <general>: Keyboard: scancode: 0x17, sym: 0x0d, unicode: 0x00, modifier: 0x0
2023-02-09 17:17:37.121 T:18328 info <general>: Skipped 1 duplicate messages..
2023-02-09 17:17:37.121 T:18328 debug <general>: HandleKey: return (0xf00d) pressed, window 10126, action is Select
2023-02-09 17:17:37.122 T:18328 debug <general>: OpenDir: Using authentication url smb://192.168.1.2/
2023-02-09 17:17:37.157 T:18328 error <general>: SMBDirectory->GetDirectory: Unable to open directory : 'smb://192.168.1.2/'
unix_err:'1' error : 'Operation not permitted'
Reply
#65
I am having a similar problem.  I am using v.20 on my Android TV and I can't add SMB shares for my Win 11 PC.  I can, however, add them for my Win 10 laptop.  I have tried all of the ideas listed.  I enabled SMP in Win 11, since it is disabled by default.  Does anyone know any other reason Win 11 may be causing this problem?
Reply
#66
(2023-02-13, 04:02)Ace_Batman Wrote: I am having a similar problem.  I am using v.20 on my Android TV and I can't add SMB shares for my Win 11 PC.  I can, however, add them for my Win 10 laptop.  I have tried all of the ideas listed.  I enabled SMP in Win 11, since it is disabled by default.  Does anyone know any other reason Win 11 may be causing this problem?
can you show a windows log as asked for in post #61 here? https://forum.kodi.tv/showthread.php?tid...pid3136840
Reply
#67
well anyway im at the point where theres one of two things going on

1. blocked requests due to
1a. security settings
1b. firewall settings
1c. network settings
1d. file permissions

2. theres a protocol change of some sort

if its the first it needs to be dealt with on the server side via windows logs or linux logs, where only a denied access can be fixed

if its the second it needs to be dealt with on github and still going to require logs from the respective server
kodi uses samba libraries so really doesnt have anything to do with the code itself just the integration of it but the developers can handle issues
some information can possibly be had by browsing the samba issues pages but will likely be done by kodi developers when dealing with an issue on github on the kodi project page

"Operation not permitted" is a denied access issue
"Unable to connect" is a network issue
Reply
#68
I wrote instructions here https://forum.kodi.tv/showthread.php?tid=362113 however they were written for Kodi v19, but for v20 there's been a number of changes such as Samba library version updated and new WS Discovery process for smb network share browsing so I'll not 100% of the impact. I don't currently have full time access to a suitable android device to test, but I will take a look when I have the chance to set something up.
Reply
#69
With respect to tweaks for a Windows 10 SMB server, does anyone have any tips or recommendations on how to maximize server performance -- disabling any unnecessary services, registry changes, ethernet settings, etc? I just want to be sure I'm getting the best performance possible, especially for Kodi I've installed on a couple of Firestick 4K devices that are wifi only. What has worked for you?
My Theater: JVC X790R + Peerless PRG-UNV | 120" CineWhite UHD-B Screen | KODI Nexus + PreShow Experience | mpv | madVR 204 RTX 2070S | Panasonic UB420 | Denon X3600H @ 5.2.4 | 4 x ADX Maximus w/ Dayton Audio SA230 | 3 x Totem Tribe LCR + Mission M30 Surrounds + SVS PC2000 + Monolith 15 | 40" HDTV w/ Z83 + MoviePosterApp | 40TB Win10 SMB Server over Gigabit Ethernet
Reply
#70
since you asked if anyone has tips to maximize server performance... use linux as a server instead of windows
Reply
#71
That hasn't been true for years and wasn't what was asked either. In any case, this is the Android subforum, not Windows but here goes:
  • If you want the best Windows performance as a server you'll need to use a Windows server OS. Desktop versions are crippled when it comes to advanced network performance like teaming two or more network cards.
  • Playing around with the registry or disabling services will not help much either unless you're using old hardware or your system is starving of memory (less than 4 GB).
  • Set the CPU scheduler to "Progams", never to "Background"
  • If you DO want to optimize Windows and network card settings, you can try this Powershell script for Windows 10 and 11
Reply
#72
a recommendation to make windows 10 better was asked for, i added my recommendation - whether or not my recommendation is popular is irrelevant

what the user really wants is a magic bullet which there isnt one, running windows 10 as a server isnt recommendable in any case when what should be used is an actual "Windows Server" OS as it's already optimized for the task
instead of making a Desktop OS work as a server

no i dont want to hear the rebuttals how windows server costs too much, you chose windows

if you really, truly, want to make windows more usable in a particular instance you need to strip out all the BS packed into it

that actually takes more effort than running a script because you need to know what to keep and what to disable and what to obliterate

start here https://www.ntlite.com
Reply
#73
and yes i am speaking from experience...

heres (one of*) my servers

Image

-----

heres one of my legacy servers

Image
Reply
#74
Chill pills, anyone?
Reply
#75
(2023-03-13, 20:39)Klojum Wrote: Chill pills, anyone?

sure, i'll have one. thanks. Smile
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7

Logout Mark Read Team Forum Stats Members Help
Configuring & Adding SMB/Samba Network shares0