[debian-edu-commits] [Git][debian-edu/debian-edu-config][personal/gber/fix-usershares] 2 commits: etc/dhcp/dhcp-debian-edu.conf: ldap-server. 'ldap' -> 'ldap.intern'. (Closes: #1039966)
Mike Gabriel (@sunweaver)
gitlab at salsa.debian.org
Sat Jul 1 04:38:44 BST 2023
Mike Gabriel pushed to branch personal/gber/fix-usershares at Debian Edu / debian-edu-config
Commits:
c54b6cc4 by Daniel Teichmann at 2023-06-30T10:40:16+00:00
etc/dhcp/dhcp-debian-edu.conf: ldap-server. 'ldap' -> 'ldap.intern'. (Closes: #1039966)
- - - - -
66d00155 by Guido Berhoerster at 2023-07-01T03:38:39+00:00
Fix samba usershares permissions
Setting the group ownership of /var/lib/samba/usershares/ to "students" fails
during the installation because this group is defined in LDAP and the slapd is
not running at the time the samba promise bundle is evaluated. Thus use the
numeric GID instead. The group is defined in
ldap-bootstrap/{samba.ldif,gosa.ldif}. Closes: #1039461.
- - - - -
2 changed files:
- cf3/cf.samba
- etc/dhcp/dhcpd-debian-edu.conf
Changes:
=====================================
cf3/cf.samba
=====================================
@@ -9,9 +9,13 @@ 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","students");
+ perms => mog("1770","root","10004");
"/etc/samba/smb.conf"
link_from => ln_s("/etc/samba/smb-debian-edu.conf"),
=====================================
etc/dhcp/dhcpd-debian-edu.conf
=====================================
@@ -1,5 +1,5 @@
lease-file-name "/var/lib/dhcp/dhcpd.leases";
-ldap-server "ldap";
+ldap-server "ldap.intern";
ldap-port 389;
ldap-base-dn "dc=skole,dc=skolelinux,dc=no";
ldap-dhcp-server-cn "tjener";
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/badd755eb6c68a4e515c632d09df68aab5b3602b...66d001551938fb64dbe569340b66c4eb650023be
--
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/badd755eb6c68a4e515c632d09df68aab5b3602b...66d001551938fb64dbe569340b66c4eb650023be
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20230701/5d61c284/attachment-0001.htm>
More information about the debian-edu-commits
mailing list