1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/samba_ynh.git synced 2024-09-03 20:16:27 +02:00

Merge pull request #22 from Hemi03/delete-user-hook

Delete user hook
This commit is contained in:
eric_G 2024-05-19 21:44:21 +02:00 committed by GitHub
commit 3da42e0014
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 54 additions and 8 deletions

View file

@ -1,8 +1,6 @@
# All available README files by language
- [Read the README in English](README.md)
- [Lee el README en español](README_es.md)
- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md)
- [阅读中文(简体)的 README](README_zh_Hans.md)
- [Leggi il “README” in italiano](README_it.md)

View file

@ -9,7 +9,7 @@ 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)
*[Read this README in other languages.](./ALL_README.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.*

49
README_it.md Normal file
View file

@ -0,0 +1,49 @@
<!--
N.B.: Questo README è stato automaticamente generato da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
NON DEVE essere modificato manualmente.
-->
# 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 dellapp: <https://www.samba.org/>
- Documentazione ufficiale per gli amministratori: <https://www.samba.org/samba/docs/>
- Repository upstream del codice dellapp: <https://git.samba.org/?p=samba.git;a=summary>
- Store di YunoHost: <https://apps.yunohost.org/app/samba>
- Segnala un problema: <https://github.com/YunoHost-Apps/samba_ynh/issues>
## 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 questapp:** <https://yunohost.org/packaging_apps>

View file

@ -1,6 +1,5 @@
#!/bin/bash
echo "${YNH_USER_PASSWORD}
${YNH_USER_PASSWORD}
" | sudo smbpasswd -a $YNH_USER_USERNAME
" | smbpasswd -a $YNH_USER_USERNAME

View file

@ -1,3 +1,3 @@
#!/bin/bash
user=$1
pdbedit -x -u $1

View file

@ -2,5 +2,5 @@
echo "${YNH_USER_PASSWORD}
${YNH_USER_PASSWORD}
" | sudo smbpasswd -a $YNH_USER_USERNAME
" | smbpasswd -a $YNH_USER_USERNAME