bundle agent samba { vars: "usershares_file" string => "/var/lib/samba/usershares/."; files: debian.server.installation:: # GID 10004 is the "students" group, the group name cannot be used here # since slapd is not running when this bundle is evaluated during # installation, the GID must be to be kept in sync with # ldap-bootstrap/{samba.ldif,gosa.ldif} "$(usershares_file)" create => "true", perms => mog("1770","root","10004"); "/etc/samba/smb.conf" link_from => ln_s("/etc/samba/smb-debian-edu.conf"), move_obstructions => "true"; "/etc/avahi/services/smb.service" copy_from => local_cp("/usr/share/debian-edu-config/avahi.smb.service"), perms => mog("644","root","root"); }