killed all access to remote share after CIFS atempt

cross-posted from: https://programming.dev/post/24130558

My Win10 work laptop has a network share of a remote windows server. I access it everyday. If i change passwords, i have to remap the share.

I have a linux vm that does the builds for my project. It too has a mounted directory mapped to that remote windows share, using my credentials.

I tried mapping the share in another linux vm but got errors so ended up quitting as it wasn't that important.

However, now i can't access said share in any device, by name or IP address. WTF happened?

The mount command i use in linux is mount -t cifs -o rw,relatime,vers=default,cache=strict,username=my.username,domain=,uid=118,noforceuid,gid=130,noforcegid,addr=10.10.10.10,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1 //10.10.10.10/dir1/dir2 /media/remoteshare, the UID/GID are of the user that runs the builds.

I'd get having errors on mounting the remote share, but i'd expect that to be limited to the local computer i was trying to mount on, not that it would propagate to any device that has this share mapped!

11 points · 4 comments · view on lemmy.world

4 Comments

MNByChoice@midwest.social · 6 pts · 1y (3 replies)

Without the error messages, it sounds like a security mechanism on the server side.
Any chance the errors are due to too many login attempts, or bad password?

0x0@programming.dev · 3 pts · 1y (2 replies)

At the moment i'm getting mount error(13): Permission denied at the new vm (where i was attempting to mount).
dmesg has

[ 9254.003440] CIFS: Attempting to mount \\10.10.10.10\dir\\dir2
[ 9254.181314] CIFS: Status code returned 0xc000006d STATUS_LOGON_FAILURE
[ 9254.181333] CIFS: VFS: \\10.10.10.10 Send error in SessSetup = -13
[ 9254.181367] CIFS: VFS: cifs_mount failed w/return code = -13

Attempting to ls the share in the other vm where it was previously working yields Host is down.
(Everyone else can access the share just fine.)

NeoNachtwaechter@lemmy.world · 2 pts · 1y (1 reply)

MNByChoice is right.

Read the server's logfile for better info.

0x0@programming.dev · 2 pts · 1y

I have no access and, it seems, neither does local IT. Yay.