[Samba] unexpected NT_STATUS_OBJECT_NAME_INV
flot sky
flott.sky at gmail.com
Mon Jul 3 09:14:20 UTC 2023
Greetings.
After creating a new installation with version '4.18.2-2' and copy
configuration from the previous server '4.17.5-1'
I am getting NT_STATUS_OBJECT_NAME_INVALID when trying to make files with
':' within their name.
Also existing files with ':' in names start to mangle, until i set 'mangled
names = no'.
I do not have any windows clients.
Are there any parameters that I am missing to restore version '4.17.5-1'
behavior?
Problem:
$ smbclient \\\\192.168.148.192\\nanopct4
Password for [WORKGROUP\flotsky]:
Try "help" to get a list of possible commands.
smb: \> cd tst
smb: \tst\> mkdir 123:
NT_STATUS_OBJECT_NAME_INVALID making remote directory \tst\123:
Environment:
[root at nanopct4 ~]# uname -a
Linux nanopct4 6.3.8-1-MANJARO-ARM #1 SMP PREEMPT Fri Jun 16 16:17:17 UTC
2023 aarch64 GNU/Linux
[root at nanopct4 ~]# pacman -Qs samba
local/samba 4.18.2-2
SMB Fileserver and AD Domain server
Filesystem under samba shares is on ext4 and don't have problems creating
files with ':'
Current server configuration:
[global]
workgroup = WORKGROUP
dns proxy = no
log file = /var/log/samba/%m.log
max log size = 1000
client min protocol = SMB2
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
map to guest = Bad Password
usershare allow guests = yes
name resolve order = lmhosts bcast host wins
security = user
guest account = nobody
load printers = no
disable spoolss = yes
show add printer wizard = no
[nanopct4]
comment = nanopct4
browseable = no
path = /mnt
guest ok = no
valid users = flotsky
force user = flotsky
writable = yes
create mask = 0755
directory mask = 0755
mangled names = no
More information about the samba
mailing list