If you want to add custom samba settings you can use either UMC:

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"
system
Closed
2
This topic was automatically closed after 24 hours. New replies are no longer allowed.