If you want to add custom samba settings you can use either UMC:
![grafik](https://help.univention.com/uploads/default/original/2X/1/1c732d2ea9e2e0e651b059dba0960fa5a6cdd3d9.png)
but if you want to use udm
you might run into problems figuring out the correct syntax. Here’s how it goes:
udm shares/share modify --dn cn=test-share,cn=shares,$(ucr get ldap/base) --append sambaCustomSettings="recycle:repository RecycleBin"
You can check the result afterwards:
$ udm shares/share list | grep -i custom
sambaCustomSettings: recycle:repository = RecycleBin
Notice the correct syntax of sambaCustomSettings
:
sambaCustomSettings="recycle:repository RecycleBin"