Pour savoir sur un serveur samba quel utilisateur Windows utilise un fichier, utilisez cette petite commande :
#!/bin/sh
echo Looking for the one using doc $1
smbstatuts -p | grep `smbstatuts -L | grep $1 | awk -F" " {'print $1}'` | awk -F" " '{print $4" "$5}'
Forum Astuces.divers [Admin] Serveur samba : qui utilise le fichier
10
nov.
2007