|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
Mounting smb share
Good day to everyone.
So I've tried mounting using: 1. shlight (it always reports wrong password, even though it's not -D0xFF) 2. usmb (this one randomly disconnects from mount, very unstable, not sure why). 3. gvfs-mount As far as #3 is going, I'm not sure I'm using it the right way. I tried Code:
#export $(dbus-launch) #gvfs-mount smb://1.2.3.4/share I tried adding following to .xinitrc to be persistant across logins, but then again, I'm not sure this is the right way to use gvfs-mount. Code:
#exec dbus-launch --exit-with-session --sh-syntax ssh-agent spectrwm Thanks a lot. |
|
|||
Hi Dragan,
I'm executing this script: Code:
if ! [ -e <targetdir>/.volume_id ]; then shlight //<remotemachine>/<share> <targetdir> -f 440 -d 550 -U <username> -P <password> -W <workgroup> else echo "Volumen war schon eingehängt." fi HTH Matthias |
|
|||
Thanks for helping.
It doesn't work. I haven't mentioned I'm tunnelling smb over ssh, but that is not the issue. Code:
> doas shlight //127.0.0.1/dst /dst -f 440 -d 550 -U ABC -P 123 -W WORKGROUP -C -D0xFF psitable_insert(): inserting inode 449722290: -><- Kernel: smb_proc_connect: Passed SESSION REQUEST. Kernel: len: 113, wct: 17, bcc: 44 Kernel: smb_proc_connect: Request SMBnegprot..Kernel: Verified! Kernel: smb_proc_connect: Server wants NT LANMAN 1.0 protocol. Kernel: smb_proc_connect: password = 123 Kernel: smb_proc_connect: usernam = ABC Kernel: smb_proc_connect: blkmode = 0 Kernel: smb_proc_connect: workgroup = WORKGROUP Kernel: len: 35, wct: 0, bcc: 0 Kernel: smb_errno: Kernel: ERRDOS - ERRnoaccess (Access denied.)Kernel: Kernel: smb_proc_connect: SMBsessetupX failed error connecting to server: [13] Permission denied :/ |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Seven Most .. please share with us .. | daemonfowl | Off-Topic | 19 | 29th July 2013 11:34 PM |
Mounting samba share as normal user | rex | FreeBSD General | 4 | 27th October 2008 05:17 PM |
pf Share problem! | jleal | OpenBSD Security | 6 | 25th August 2008 04:08 AM |
Funny things in /usr/share/misc | ivanatora | FreeBSD General | 4 | 10th August 2008 02:13 PM |
Samba global share | Weaseal | General software and network | 1 | 17th July 2008 10:48 AM |