Date: Wed, 25 Oct 2017 07:33:23 -0500 From: Adam Vande More <amvandemore@gmail.com> To: Matthias Apitz <guru@unixarea.de>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: smbclient(1) works, but mount_smbfs(8) does not Message-ID: <CA%2BtpaK1gK_OJPQNKfWMCxs0s0Z8sLCRUp8gU6HZLc17AobsnoQ@mail.gmail.com> In-Reply-To: <20171025085121.GA27022@sh4-5.1blu.de> References: <20171025085121.GA27022@sh4-5.1blu.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 25, 2017 at 3:51 AM, Matthias Apitz <guru@unixarea.de> wrote: > $ cat .smbpw > username = apitzm > password = SantaClXXXXXXXXXXXX > domain = company > $ smbclient //APITZM-LTOH/apitzm -A .smbpw -I 10.49.8.30 > Domain=[company] OS=[Windows 7 Professional 7601 Service Pack 1] > Server=[Windows 7 Professional 6.1] > smb: \> > > es geht nicht mit: > > # mount_smbfs -I 10.49.8.30 -u guru -g wheel //apitzm@APITZM-LTOH/apitzm > /win > Password: > mount_smbfs: unable to open connection: syserr = Authentication error > > I have no access to the servers behind my workstation. > In the truss of mount_smbfs the failing looks like this: > > ... > openat(AT_FDCWD,"/dev/nsmb",O_RDWR,00) = 3 (0x3) > ioctl(3,SMBIOC_LOOKUP,0xffffdc38) ERR#80 'Authentication > error' > write(2,"mount_smbfs: ",13) = 13 (0xd) > write(2,"unable to open connection",25) = 25 (0x19) > > I have no access to the servers behind my workstation. Any idea what > could be the reason. Maybe I could compile a debug version of > mount_smbfs to see what is in the struct of the ioctl(2) call... > Try a tcpdump of each of these. -- Adam
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK1gK_OJPQNKfWMCxs0s0Z8sLCRUp8gU6HZLc17AobsnoQ>