ksarnelli

Members
  • Posts

    78
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

1703 profile views

ksarnelli's Achievements

Rookie

Rookie (2/14)

7

Reputation

  1. Thanks @ZappyZap - everything checks out!
  2. Thanks for packaging this up - I currently have my postfix relay running on a raspberry pi but now I'm setting up this container as a backup. One small ask - can you make the 'mynetworks' setting (in /etc/postfix/main.cnf) configurable as an environment variable? Right now it defaults to 0.0.0.0/0 but I'd like to lock it down to particular hosts.
  3. Anyone ever get to the bottom of this? I was hoping some update in 6.10 would fix the issue, but it still persists. In my case it's like a 30+ seconds delay when resizing the docker page.
  4. Did you ever figure this out? I have the same issue - it happens whenever the window is resized while the docker page is opened. Ctrl-F adds a search bar to the top, which in turn resizes the page, causing the issue - but you can simply resize the browser window normally to force the issue. Mine hangs for around 30 seconds when this happens.
  5. I have this issue too - did anyone ever figure this out?
  6. Thanks for this, it's really nice. Would you mind adding an environment variable to set the permissions for the newly created files/folders (umask)?
  7. How did you create a hidden share on Windows without a $ sign? I'm not doing any drive level sharing, just regular user shares.
  8. Just for my own sanity, I made the changes I described above, recreated the package archive and deployed it. Everything works fine. I'm able to add $ shares, access them, delete them. The online status remained connected and I was able to delete the $ share without affecting any of my other SMB mounts. If you want me to send lib.php I will happily send it over (and obviously UnassignedDevices.php needed to be modified to remove the $ check as well). Otherwise I guess my course of action will be to just script these changes every time a new version of unassigned devices is released, but that isn't ideal. EDIT - I just realized this plugin is on github...I'll just submit a PR.😂 EDIT 2 - PR submitted 😀
  9. Who said the shares aren't secure? It's about keeping the share list tidy. No need to show users shares that aren't for users.
  10. It's obviously your decision since you put in all of the work for the plugin, but I don't really think it's an edge case. Using a trailing $ is the only way to hide shares on a Windows server, and I've seen hundreds (if not thousands) of uses in the wild. Usually to reduce the number of visible shares when a server has shares intended for users and others intended for automated processes. When I tested the code change above I was only testing that one particular function (get_samba_mounts), but after looking at more code I'm pretty sure the other issues you encountered were from other uses of the parse_ini_file() function without the INI_SCANNER_RAW parameter. The default INI_SCANNER_NORMAL tries to parse values and I don't think you want that. From my tests, parse_ini_file() will return an empty array if a section ends in $ unless you include the INI_SCANNER_RAW - which would probably explain the issues you mentioned. In any case, whatever you decide, thanks for building this plugin. At some point, if you have a little bit of time can you see if using INI_SCANNER_RAW in every parse_ini_file() call resolves the issues?
  11. How do you mount an SMB share that contains a $ character (a hidden share running on Windows)? When I try to add the share using unassigned devices it fails with the following error in the log: unassigned.devices: Share '//blah/blah$' contains a '$' character.#011It cannot be added. I tried manually adding it to samba_mount.cfg, but it still doesn't work there either. Adding some keywords because this issue is hard to search for: dollar sign EDIT: I found an old chain about this issue from 2016 where @dlandon incorrectly believed that 'mount -t cifs' does not support hidden windows shares (shares ending with $). I can fill in some missing details - the issue you were experiencing is that you were trying to connect to the default admin shares on Windows (C$, D$, admin$, etc) - in order to mount those you either need to disable UAC on the Windows side or change a registry value (add DWORD LocalAccountTokenFilterPolicy=1 to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System). My point is that hidden shares are certainly supported by the cifs mount command, and in my case I'm not trying to mount one of these 'admin' shares - I'm just trying to mount a regular hidden share which are not affected by that policy. It would be great if you can add support for this. EDIT2: @dlandon - I did some testing with the unassigned devices plugin code and I think the fix is as simple as removing the '$' check and changing line 1195 in include/lib.php from $samba_mounts = @parse_ini_file($config_file, true); to $samba_mounts = @parse_ini_file($config_file, true, INI_SCANNER_RAW); It would be great if you can test/implement this minor change. Thanks!
  12. Bring up the edit page for the container and change the repository from "binhex/arch-qbittorrentvpn" to "binhex/arch-qbittorrentvpn:4.2.1-1-05". By default the "latest" tag is pulled unless you specify a tag in the repository field.
  13. Same issue here. I reverted to the 4.2.1-1-05 tag for now.