Univention Bugzilla – Bug 51580
Share gets lost when moving
Last modified: 2023-10-26 12:23:51 CEST
UCS: 4.4-4 errata624 Installed: cups=2.2.1 dhcp-server=12.0 radius=5.0 samba4=4.10 squid=3.5 ucsschool=4.4 v5 Steps to reproduce: 1. Create a share within school-ou/shares. The share should be located on the edu school server (i.e. /srv/bilder) 2. Run testparm -s to verify the share is activated in Samba (file is located /etc/samba/shares.conf.d/bilder) and is included in shares.conf (include = /etc/samba/shares.conf.d/bilder) 3. Now move the share to an upper level (ie directly in the OU) or in another location. Just make sure it is in the same OU and do not change any settings of the share. 4. Run testparm -s and note the share is gone! The file itself is still there but it is not included at all. 3.
Further more. When moving the share back to it's original location it will still not included. Only solution is to remove the share (and the file) and create the share from scratch.