YunoHost-Apps / samba_ynh

Samba package for YunoHost
GNU Affero General Public License v3.0
1 stars 6 forks source link

Samba app not deleting samba user when delete yunohost user #8

Open Mistermasque opened 1 year ago

Mistermasque commented 1 year ago

The post_delete_user hooks does nothing. This file contain only :

#!/bin/bash

user=$1

I think this script should contain at the end :

smpasswd -x $user

Yunohost Version : 11.0.10.2 (stable) App version : 4.9.5~ynh3

vskoblin commented 1 year ago

@Mistermasque I faced this issue today. When this script is triggered, the unix user is already deleted. After that this command smbpasswd -x does not work.