Ubuntu CIFS mount issues with cases sensitive


i have a strange effect with my CIFS mounts of the UCS shares

If I mistyped the uppercase and lowercase letters e.g. I created a folder named TEst and want to rename it to Test I get an error:
mv: das Verschieben von 'Test' nach 'TEst/Test' ist nicht möglich: Das Gerät oder die Ressource ist belegt
It works from the Windows client. So I think it is not the UCS share but the CIFS mount on the client.

I added the client to the domain with the ADS join script.


I integrated the shares using PAM_MOUNT.

<volume fstype="cifs" pgrp="domain users" path="//srv01.gehr.local/scan" mountpoint="/data01/scan/" sec="krb5i" cruid="%(USERUID)" options="file_mode=0660,dir_mode=0770,nodev" />

Does anyone have an idea what I did wrong?

with best

I have removed the file_mode and dir_mode and restarted them. When I look at the mount afterwards it looks like this:
//srv01.gehr.local/scan on /data01/scan type cifs (rw,relatime,vers=3.1.1,cache=strict,username=s.gehr,uid=1049601120,forceuid,gid=1049600513,forcegid,addr=,file_mode=0755,dir_mode=0755,soft,nounix,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1)