Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#323 closed enhancem. (completed)

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

Description

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 (4)

comment:1 Changed 5 years 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 5 years ago by dryeo

Cc: dryeo added

comment:3 Changed 5 years 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.

comment:4 Changed 4 years ago by Lewis Rosenthal

Resolution: completed
Status: newclosed

ArcaMapper currently looks in %PATH% first for Samba client binaries, then looks in other specific places for them.

Last edited 4 years ago by Lewis Rosenthal (previous) (diff)
Note: See TracTickets for help on using tickets.