>On 2021-02-03, tilikoom <[email protected]> wrote:
>>
>> Hello - sorry if this is the wrong support channel for this - I am
>> quite new to \ this stuff. I cannot mount a samba share in a LAN with
>> usmb. The binary \ successfully parses my .usmb.conf but then drops
>> me into some sort of assembly \ prompt that shows: Opcode: init
>>
>> Command: '$ usmb -c /home/myuser/.usmb.conf -d local_mount'
>> Permissions: 'chmod 600 /home/myuser/.usmb.conf' Owner: 'chown
>> root:wheel /home/myuser/.usmb.conf'
I have it working on my machine (fairly recent snapshot).
Here is my usmb.conf, in case it's useful:
=========================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<usmbconfig>
<credentials id="rommie">
<domain>rommie</domain>
<username>anindya</username>
</credentials>
<mount id="rommie" credentials="rommie">
<server>rommie</server>
<share>rommie</share>
<mountpoint>/home/anindya/Downloads/mnt</mountpoint>
<options>allow_other</options>
</mount>
</usmbconfig>
=========================================================
Mounts with:
doas usmb -c ~/Downloads/usmb.conf -u rommie
Luckily the "allow_other" option works so I can set permissions as root
and have read/write access as my normal user.
>
>FUSE on OpenBSD doesn't currently work as a normal user, only as root.
Yes, unfortunately one has to be root.
>
>There may be other problems too, but that's the first..
Some of the options (like umask) don't work. Also the performance is not
great but for quick transfers it's usable. FUSE won't have good
performance anyway.
Anindya