You are not logged in.

#1 2015-03-06 08:46:30

Raadush
Member
Registered: 2015-03-05
Posts: 96

SMB working in Nautilus, not working anywhere else

Hi, I want to use smb to connect to windows server inside domain. When I use Nautilus, everything works fine. But when I try to use some other application with smb, it does not work. I tried krusader, got into point where password dialog is shown, but when I input password, dialog just reapears never signing me in. I tried Gnome Commander, but when i click Connections -> Go to: Samba Network, i got message Failed to browse network. Is the SMB module installed? I tried Midnignht Commander, but when I click SMB link... and insert username, password and address i got Cannot chdir to: "/smb://username@address". Can somebody help me? I want to use some file manager, because Nautilus is not my cup of tea. Thank you.

Offline

#2 2015-03-09 08:51:42

Raadush
Member
Registered: 2015-03-05
Posts: 96

Re: SMB working in Nautilus, not working anywhere else

Anyone?

Offline

#3 2015-03-09 09:24:24

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 390
Website

Re: SMB working in Nautilus, not working anywhere else

Did you read the wiki ?
Try to mount it manually.
https://wiki.archlinux.org/index.php/Sa … l_mounting

Offline

#4 2015-03-10 08:27:46

Raadush
Member
Registered: 2015-03-05
Posts: 96

Re: SMB working in Nautilus, not working anywhere else

Yes I have. When I try to list public shares, i get this:

[rstasta@archlinux ~]$ smbclient -L 172.28.6.50 -U%
Domain=[DOMAINNAME] OS=[Windows Server 2008 R2 Enterprise 7601 Service Pack 1] Server=[Windows Server 2008 R2 Enterprise 6.1]

	Sharename       Type      Comment
	---------       ----      -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Connection to 172.28.6.50 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available

Offline

#5 2015-03-10 10:37:36

Raadush
Member
Registered: 2015-03-05
Posts: 96

Re: SMB working in Nautilus, not working anywhere else

Ok, so I managed to do some progress. Using:

sudo mount -t cifs //172.28.6.50/Temp /mnt/smb -o user=rstasta

I got that folder mounted in /mnt/smb. But now when I try to copy something inside that folder or create new item, i get Permission denied (13). Wiki says, that I should use option "sec=ntlmv2", but when I try to do that, I get:

Mar 10 11:36:46 archlinux sudo[10472]: pam_unix(sudo:session): session opened for user root by rstasta(uid=0)
Mar 10 11:36:49 archlinux sudo[10472]: pam_unix(sudo:session): session closed for user root
Mar 10 11:36:49 archlinux kernel: Status code returned 0xc000000d NT_STATUS_INVALID_PARAMETER

Offline

#6 2015-03-10 18:07:58

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 390
Website

Re: SMB working in Nautilus, not working anywhere else

can you modify it as root ?

Offline

#7 2015-03-13 10:02:01

Raadush
Member
Registered: 2015-03-05
Posts: 96

Re: SMB working in Nautilus, not working anywhere else

Ok, finally found a solution. The right way to mount it was:

sudo mount -t cifs //172.28.6.50/Temp /mnt/smb -o user=rstasta,nounix,sec=ntlmssp,noperm

Offline

Board footer

Powered by FluxBB