P
P
partisan422019-08-05 11:30:42
linux
partisan42, 2019-08-05 11:30:42

How to mount a screw ball?

Good day. Please tell me what am I doing wrong?
There is a Windows machine 10.20.3.89
There is an OrionBase ball available to everyone, even without a password.
I'm trying to mount this folder.

[[email protected] mnt]# mount -t cifs //10.20.3.89/OrionBase /mnt/win/ -o username=root,password=\I\n\t\e\g\r\@\t\0\r,vers=1.0
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[[email protected] mnt]# mount -t cifs //10.20.3.89/OrionBase /mnt/win/ -o username=root,password=Integ\@t0r,vers=1.0
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[[email protected] mnt]# mount -t cifs //10.20.3.89/OrionBase /mnt/win/ -o username=root,[email protected],vers=1.0
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[[email protected] mnt]# mount -t cifs //10.20.3.89/OrionBase /mnt/win/ -o guest
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[[email protected] mnt]# cd /
[[email protected] /]# mount -t cifs //10.20.3.89/OrionBase /mnt/win/ -o username=root,password=Integ\@t0r,vers=1.0
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[[email protected] /]# ping 10.20.3.89
PING 10.20.3.89 (10.20.3.89) 56(84) bytes of data.
64 bytes from 10.20.3.89: icmp_seq=1 ttl=255 time=0.301 ms
64 bytes from 10.20.3.89: icmp_seq=2 ttl=255 time=0.335 ms
64 bytes from 10.20.3.89: icmp_seq=3 ttl=255 time=0.324 ms
64 bytes from 10.20.3.89: icmp_seq=4 ttl=255 time=0.327 ms
^C
--- 10.20.3.89 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.301/0.321/0.335/0.025 ms

As you can see, I tried to isolate the characters in the password, and isolate all the characters, and connect under the guest.
I also tried to change the argument vers=1.0
[[email protected] /]# mount -t cifs //10.20.3.89/OrionBase /mnt/win/ -o username=root,password=\I\n\t\e\g\r\@\t\0\r,vers=3.0
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I read the manual, but maybe I missed something?
Point your finger, what am I doing wrong?
Thank you very much in advance.

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
D
Dmitry, 2019-08-05
@q2digger

Save your login password in a file, for example /root/smb-password.txt

username=your-user
password=your-pass

mount with the command
mount -t cifs //10.20.3.89/OrionBase /mnt/win/ -o _netdev,credentials=/root/smb-password.txt

Z
Zzzz9, 2019-08-05
@Zzzz9

Hey! I connect to win10 share like this:
sudo mount.cifs -o vers=3.0,username=user,password=pa$$word //192.168.1.37/sh /mnt/

K
Karpion, 2019-08-16
@Karpion

When you change the version of Windows, the data exchange protocol changes. For example, the password encryption scheme changes. So specify the version of Windows and the version of the Samba client.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question