Opened 17 months ago

Last modified 17 months ago

#323 new enhancem.

Enhance client GUI to locate Samba utilities in multiple locations (path list)

Reported by: Lewis Rosenthal Owned by:
Priority: major Milestone:
Component: Samba Client GUI Version: Samba Client GUI 2.x
Keywords: Cc: dryeo


Currently, the logic in the GUI is to look in a single location for all Samba utilities (net.exe, etc.). Considering how many "net.exe" files we have on OS/2, it is non-optimal to have another one in %PATH% and similarly non-optimal for the Samba 4 utilities (now available as RPM) to be located outside of %PATH%.

samba-client-4.9.4-1 now installs all executables to %UNIXROOT%\usr\bin except for net.exe, which is installed to %UNIXROOT%\usr\libexec\bin specifically to keep it out of %PATH%. The client GUI needs to be able to find this file.

The current suggestion is to enhance the code to allow for entering a multi-path string as a value, and having the GUI search down the path for the various Samba utilities.

Change History (3)

comment:1 Changed 17 months ago by dryeo

Unluckily @UNIXROOT\usr\libexec\bin is where the utilities that conflict with OS/2 binaries of the same name live and with the installation of the os2-base-unixtools-path package, is put at the front of %PATH%. Perhaps @UNIXROOT\usr\libexec\samba or @UNIXROOT\usr\lib\samba would be better choices to put net.exe etc

comment:2 Changed 17 months ago by dryeo

Cc: dryeo added

comment:3 Changed 17 months ago by Lewis Rosenthal

Ugh. I was trying to avoid creating yet another libexec subdirectory, but that pretty much ensures it. I completely forgot about the os2-base-unixtools-path package. Thanks for reminding me. Look for release 2 of the new Samba package tomorrow.

Note: See TracTickets for help on using tickets.