Hello
Let me explain what I’ll try to do.
I want to share the client file backup directory using samba for each user/client using this section in the smb.conf file.
[urBackup_%u]
comment = urBackup directory %u
browseable = no
read only = yes
guest ok = no
path = /mnt/urbackup/%m
valid users = %u
With %u = username and %m = netbios name. ([Samba documentation][1])
Unfortunately samba seems to converts the netbios name to lowercase. urbackup stores the backup using the (original) netbios name. In my case (company) uppercase.
Could urbackup create a directory called “netbios_name” with the simlinks to the computer names in lowercase?
Or maybe some script guru could help me writing a simple cron job to create this directory with these lowercase simlinks?
With kind regards
MartijnS