LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   CIFS vs Shared Folder in Windows Server 2012 R2 (https://www.linuxquestions.org/questions/linux-networking-3/cifs-vs-shared-folder-in-windows-server-2012-r2-4175627976/)

Dragonf0rce 04-19-2018 05:46 AM

CIFS vs Shared Folder in Windows Server 2012 R2
 
Hello,

I tried to mount manually on my Linux shared folders from windows server 2012.

The syntaxe is right but Im stuck on the same issue error 13:

Code:

#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk,password=myscretpass,vers=2.1
Code:

Status code returned 0xc000006d STATUS_LOGON_FAILURE
CIFS VFS: Send error in SessSetup = -13
CIFS VFS: cifs_mount failed w/return code = -13

If I remove the option vers= then syslog claim :

No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.

If I use option sec= then I specify this option then I got error 126
Code:

#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk,password=myscretpass,vers=2.1,sec=krb5
mount error(126): Required key not available

Package Keyutils is installed.

if I tried to prompt the password:
Code:

#mount.cifs //ip/division /mnt/division -o username=bob@dude-uk
Password for bob@dude-uk@//ip/division: 
mount error(13): Permission denied

Do you have any idea ?

Dragonf0rce 04-19-2018 06:28 AM

The file explorer Nemo can mount shared folders. I dont know which command it use because it show only a wizard to complete fields.

Dragonf0rce 04-20-2018 03:46 AM

After read Bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1474539
Kernel 4.13 got an issue to use mount.cifs command properly.
I must boot on 4.12 kernel - I will update my post after that

Dragonf0rce 04-20-2018 09:34 AM

I have created another user with admin rights instead of use Administrator account - now it works !


All times are GMT -5. The time now is 02:52 PM.