diff options
| author | Jonathan Bauer | 2013-10-11 17:42:07 +0200 |
|---|---|---|
| committer | Jonathan Bauer | 2013-10-11 17:42:07 +0200 |
| commit | f7506ca1a37312b87e7e81cf47f568542d8ec667 (patch) | |
| tree | ad7c3bf918a909ac75fe6f0d407481eabf281b80 /remote/modules | |
| parent | [vmchooser] added TODO to enable SCSI support for virtual disks (diff) | |
| download | tm-scripts-f7506ca1a37312b87e7e81cf47f568542d8ec667.tar.gz tm-scripts-f7506ca1a37312b87e7e81cf47f568542d8ec667.tar.xz tm-scripts-f7506ca1a37312b87e7e81cf47f568542d8ec667.zip | |
[samba] started rudimentary and bloated samba module for AD compatibility. WIP
Diffstat (limited to 'remote/modules')
| -rw-r--r-- | remote/modules/samba/samba.build | 17 | ||||
| -rw-r--r-- | remote/modules/samba/samba.conf | 24 | ||||
| -rw-r--r-- | remote/modules/samba/samba.conf.ubuntu | 20 |
3 files changed, 61 insertions, 0 deletions
diff --git a/remote/modules/samba/samba.build b/remote/modules/samba/samba.build new file mode 100644 index 00000000..bd189b66 --- /dev/null +++ b/remote/modules/samba/samba.build @@ -0,0 +1,17 @@ +fetch_source() { + : +} + +build() { + COPYLIST="list_dpkg_output" + [ -e "$COPYLIST" ] && rm "$COPYLIST" + + list_packet_files >> "$COPYLIST" + tarcopy "$(cat "$COPYLIST" | sort -u)" "${MODULE_BUILD_DIR}" + + return 0 +} + +post_copy() { + : +} diff --git a/remote/modules/samba/samba.conf b/remote/modules/samba/samba.conf new file mode 100644 index 00000000..00063187 --- /dev/null +++ b/remote/modules/samba/samba.conf @@ -0,0 +1,24 @@ +REQUIRED_BINARIES=" + smbd + nmbd + smbclient + winbindd + smbnetfs + fusermount + keyctl + request-key + key.dns_resolver +" +REQUIRED_FILES=" + /etc/smbnetfs.conf + /etc/request-key.conf + /etc/request-key.d +" +# TODO dont copy all the binaries, strip the list down. +REQUIRED_DIRECTORIES=" + /usr/bin +" +# TODO check if the /var/lib/samba/*.tdg can be generated by mltk. +REQUIRED_SYSTEM_FILES=" + /var/lib/samba +" diff --git a/remote/modules/samba/samba.conf.ubuntu b/remote/modules/samba/samba.conf.ubuntu new file mode 100644 index 00000000..20bb46ba --- /dev/null +++ b/remote/modules/samba/samba.conf.ubuntu @@ -0,0 +1,20 @@ +REQUIRED_INSTALLED_PACKAGES=" + samba + smbclient + winbind + krb5-user + cifs-utils + smbnetfs + fuse + keyutils +" +REQUIRED_CONTENT_PACKAGES=" + samba + smbclient + winbind + krb5-user + cifs-utils + smbnetfs + fuse + keyutils +" |
