LINUX.ORG.RU
ФорумAdmin

Не монтируется сетевая папка

 


0

1

[root@localhost User]# mount -t cifs //10.100.200.70/Users /home/User/total/ -o user=«Administrator»,domain=«domain.local»,password=«Rjk,fcF01»

mount error(13): Permission denied

Обычно такое выдает, когда неправильные учетные данные или security. Обычно такие проблемы решаю брутфорсом, перебирая sec=, формат записи домена/логина (отдельными опциями или через @) и т.д. В данном случае не поучается.

Однако:

[root@localhost User]# smbclient //10.100.200.70/Users -UAdministrator@domain.local%Rjk,fcF01

Server's Role (logon server) NOT ADVISED with domain-level security

Domain=[DOMAIN] OS=[Windows Server 2008 R2 Standard 7600] Server=[Windows Server 2008 R2 Standard 6.1]

smb: \>

работает...

Ответ на: комментарий от entefeed

А мамка монтрируется?

+1 с мамками всё ок.

ktk ★★★★
()
Ответ на: комментарий от Pinkbyte

Создал пользователя с паролем без запятой, от него примонтировалось. Видимо, дело в запятой. Экранированиеи кавычки не помогают.

qwertyui
() автор топика
Ответ на: комментарий от qwertyui

Видимо

man mount.cifs:

Note that a password which contains the delimiter character (i.e. a comma ',') will fail to be parsed correctly on the command line. However, the same password defined in the PASSWD environment variable or via a credentials file (see below) or entered at the password prompt will be read correctly.

Elyas ★★★★★
()

man mount.cifs:

Note that a password which contains the delimiter character (i.e. a comma ',') will fail to be parsed correctly on the command line. However, the same password defined in the PASSWD environment variable or via a credentials file (see below) or entered at the password prompt will be read correctly.

+

mount -t cifs -o credentials=/root/file //10.100.200.70/Users /home/User/total/ 

lolset
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.