From b290cec2a6e02334437ce4e3d6575fc60168dcec Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 29 Mar 2024 07:21:45 +0100 Subject: [PATCH 1/3] Auto-update README --- ALL_README.md | 6 ++++++ README.md | 24 ++++++++++++------------ README_fr.md | 30 +++++++++++++++--------------- README_gl.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ README_it.md | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 131 insertions(+), 27 deletions(-) create mode 100644 ALL_README.md create mode 100644 README_gl.md create mode 100644 README_it.md diff --git a/ALL_README.md b/ALL_README.md new file mode 100644 index 0000000..3d6c579 --- /dev/null +++ b/ALL_README.md @@ -0,0 +1,6 @@ +# All available README files by language + +- [Read the README in English](README.md) +- [Lire le README en français](README_fr.md) +- [Le o README en galego](README_gl.md) +- [Leggi il “README” in italiano](README_it.md) diff --git a/README.md b/README.md index dfa0d4d..7958b48 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Install Samba with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=samba) -*[Lire ce readme en français.](./README_fr.md)* +*[Read this README is other languages.](./ALL_README.md)* -> *This package allows you to install Samba quickly and simply on a YunoHost server. -If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* +> *This package allows you to install Samba quickly and simply on a YunoHost server.* +> *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* ## Overview @@ -28,19 +28,19 @@ This package allows you to create directories reachable on a private network. **Shipped version:** 4.13.13~ynh2 ## Documentation and resources -* Official app website: -* Official admin documentation: -* Upstream app code repository: -* YunoHost Store: -* Report a bug: +- Official app website: +- Official admin documentation: +- Upstream app code repository: +- YunoHost Store: +- Report a bug: ## Developer info -Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/samba_ynh/tree/testing). +Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/samba_ynh/tree/testing). -To try the testing branch, please proceed like that. +To try the `testing` branch, please proceed like that: -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/samba_ynh/tree/testing --debug or sudo yunohost app upgrade samba -u https://github.com/YunoHost-Apps/samba_ynh/tree/testing --debug diff --git a/README_fr.md b/README_fr.md index abf8dc9..087f8ef 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,6 +1,6 @@ # Samba pour YunoHost @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Installer Samba avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=samba) -*[Read this readme in english.](./README.md)* +*[Lire le README dans d'autres langues.](./ALL_README.md)* -> *Ce package vous permet d’installer Samba rapidement et simplement sur un serveur YunoHost. -Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* +> *Ce package vous permet d’installer Samba rapidement et simplement sur un serveur YunoHost.* +> *Si vous n’avez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment l’installer et en profiter.* ## Vue d’ensemble @@ -25,25 +25,25 @@ This package allows you to create directories reachable on a private network. - Define readonly directories -**Version incluse :** 4.13.13~ynh2 +**Version incluse :** 4.13.13~ynh2 ## Documentations et ressources -* Site officiel de l’app : -* Documentation officielle de l’admin : -* Dépôt de code officiel de l’app : -* YunoHost Store: -* Signaler un bug : +- Site officiel de l’app : +- Documentation officielle de l’admin : +- Dépôt de code officiel de l’app : +- YunoHost Store : +- Signaler un bug : ## Informations pour les développeurs -Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/samba_ynh/tree/testing). +Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/samba_ynh/tree/testing). -Pour essayer la branche testing, procédez comme suit. +Pour essayer la branche `testing`, procédez comme suit : -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/samba_ynh/tree/testing --debug ou sudo yunohost app upgrade samba -u https://github.com/YunoHost-Apps/samba_ynh/tree/testing --debug ``` -**Plus d’infos sur le packaging d’applications :** \ No newline at end of file +**Plus d’infos sur le packaging d’applications :** diff --git a/README_gl.md b/README_gl.md new file mode 100644 index 0000000..8666a5c --- /dev/null +++ b/README_gl.md @@ -0,0 +1,49 @@ + + +# Samba para YunoHost + +[![Nivel de integración](https://dash.yunohost.org/integration/samba.svg)](https://dash.yunohost.org/appci/app/samba) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/samba.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/samba.maintain.svg) + +[![Instalar Samba con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=samba) + +*[Le este README en outros idiomas.](./ALL_README.md)* + +> *Este paquete permíteche instalar Samba de xeito rápido e doado nun servidor YunoHost.* +> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.* + +## Vista xeral + +This package allows you to create directories reachable on a private network. + +### Features + +- Create and name your directories; +- Configure permissions for your directories thanks to the yunohost permission view; +- Define readonly directories + + +**Versión proporcionada:** 4.13.13~ynh2 +## Documentación e recursos + +- Web oficial da app: +- Documentación oficial para admin: +- Repositorio de orixe do código: +- Tenda YunoHost: +- Informar dun problema: + +## Info de desenvolvemento + +Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/samba_ynh/tree/testing). + +Para probar a rama `testing`, procede deste xeito: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/samba_ynh/tree/testing --debug +ou +sudo yunohost app upgrade samba -u https://github.com/YunoHost-Apps/samba_ynh/tree/testing --debug +``` + +**Máis info sobre o empaquetado da app:** diff --git a/README_it.md b/README_it.md new file mode 100644 index 0000000..b60f470 --- /dev/null +++ b/README_it.md @@ -0,0 +1,49 @@ + + +# Samba per YunoHost + +[![Livello di integrazione](https://dash.yunohost.org/integration/samba.svg)](https://dash.yunohost.org/appci/app/samba) ![Stato di funzionamento](https://ci-apps.yunohost.org/ci/badges/samba.status.svg) ![Stato di manutenzione](https://ci-apps.yunohost.org/ci/badges/samba.maintain.svg) + +[![Installa Samba con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=samba) + +*[Leggi questo README in altre lingue.](./ALL_README.md)* + +> *Questo pacchetto ti permette di installare Samba su un server YunoHost in modo semplice e veloce.* +> *Se non hai YunoHost, consulta [la guida](https://yunohost.org/install) per imparare a installarlo.* + +## Panoramica + +This package allows you to create directories reachable on a private network. + +### Features + +- Create and name your directories; +- Configure permissions for your directories thanks to the yunohost permission view; +- Define readonly directories + + +**Versione pubblicata:** 4.13.13~ynh2 +## Documentazione e risorse + +- Sito web ufficiale dell’app: +- Documentazione ufficiale per gli amministratori: +- Repository upstream del codice dell’app: +- Store di YunoHost: +- Segnala un problema: + +## Informazioni per sviluppatori + +Si prega di inviare la tua pull request alla [branch di `testing`](https://github.com/YunoHost-Apps/samba_ynh/tree/testing). + +Per provare la branch di `testing`, si prega di procedere in questo modo: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/samba_ynh/tree/testing --debug +o +sudo yunohost app upgrade samba -u https://github.com/YunoHost-Apps/samba_ynh/tree/testing --debug +``` + +**Maggiori informazioni riguardo il pacchetto di quest’app:** From 5ecc23cd0eb1bceaa4de0679115c3a580e988978 Mon Sep 17 00:00:00 2001 From: Hemi03 <55916049+Hemi03@users.noreply.github.com> Date: Tue, 2 Apr 2024 02:08:03 +0200 Subject: [PATCH 2/3] remove unessary sudo --- hooks/post_user_create | 3 +-- hooks/post_user_update | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hooks/post_user_create b/hooks/post_user_create index 51f04ad..29f9c6b 100644 --- a/hooks/post_user_create +++ b/hooks/post_user_create @@ -1,6 +1,5 @@ #!/bin/bash - echo "${YNH_USER_PASSWORD} ${YNH_USER_PASSWORD} -" | sudo smbpasswd -a $YNH_USER_USERNAME +" | smbpasswd -a $YNH_USER_USERNAME diff --git a/hooks/post_user_update b/hooks/post_user_update index 0cad18f..be4363b 100644 --- a/hooks/post_user_update +++ b/hooks/post_user_update @@ -2,5 +2,5 @@ echo "${YNH_USER_PASSWORD} ${YNH_USER_PASSWORD} -" | sudo smbpasswd -a $YNH_USER_USERNAME +" | smbpasswd -a $YNH_USER_USERNAME From 1dc311dc17cc6f4ff2303663514152a7f7ce2744 Mon Sep 17 00:00:00 2001 From: Hemi03 <55916049+Hemi03@users.noreply.github.com> Date: Tue, 2 Apr 2024 02:12:27 +0200 Subject: [PATCH 3/3] add removal of user with pdbedit --- hooks/post_user_delete | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/post_user_delete b/hooks/post_user_delete index 659412d..56dd2c5 100644 --- a/hooks/post_user_delete +++ b/hooks/post_user_delete @@ -1,3 +1,3 @@ #!/bin/bash -user=$1 +pdbedit -x -u $1