Can not the configuration of the recycle bin be done with the active directory? I did tests, deleting but it only gives me the information of a user that had deleted a folder, what other parameters are necessary so that they are shown of all the users who deleted some file or folder? ---------------- [TI] path = /opt/sistemas read only = no # Recycle Bin vfs objects = recycle full_audit recycle:repository = /opt/recycle/recycle_TI/%u/%m recycle:versions = Yes recycle:keeptree = Yes recycle:touch = yes
hello Ivan, The recommendation that you configure a separate server for the fileserver and place it as an ADS member. https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller#Using_the_Domain_Controller_as_a_File_Server On Sun, Aug 5, 2018 at 6:33 PM Ivan Rojas via samba <samba at lists.samba.org> wrote:> Can not the configuration of the recycle bin be done with the active > directory? I did tests, deleting but it only gives me the information of a > user that had deleted a folder, what other parameters are necessary so that > they are shown of all the users who deleted some file or folder? > > ---------------- > [TI] > path = /opt/sistemas > read only = no > # Recycle Bin > vfs objects = recycle full_audit > recycle:repository = /opt/recycle/recycle_TI/%u/%m > recycle:versions = Yes > recycle:keeptree = Yes > recycle:touch = yes > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >-- Elias Pereira
There was substantial discussion about this on-list recently. While not sharing DC and file sharing duties on the same machine is probably, in general, a better practice [especially for larger sites] doing so is absolutely fine, and *is* supported. While I can't help with the recycle problem in the OP's query, I don't believe it's related to the machine being a DC and also handling file shares. EPvs> hello Ivan, EPvs> The recommendation that you configure a separate server for the fileserver EPvs> and place it as an ADS member. EPvs> https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller#Using_the_Domain_Controller_as_a_File_Server EPvs> On Sun, Aug 5, 2018 at 6:33 PM Ivan Rojas via samba <samba at lists.samba.org> EPvs> wrote:>> Can not the configuration of the recycle bin be done with the active >> directory? I did tests, deleting but it only gives me the information of a >> user that had deleted a folder, what other parameters are necessary so that >> they are shown of all the users who deleted some file or folder?>> ---------------- >> [TI] >> path = /opt/sistemas >> read only = no >> # Recycle Bin >> vfs objects = recycle full_audit >> recycle:repository = /opt/recycle/recycle_TI/%u/%m >> recycle:versions = Yes >> recycle:keeptree = Yes >> recycle:touch = yes >> -- >> To unsubscribe from this list go to the following URL and read the >> instructions: https://lists.samba.org/mailman/options/samba
On Sun, 5 Aug 2018 16:32:57 -0500 Ivan Rojas via samba <samba at lists.samba.org> wrote:> Can not the configuration of the recycle bin be done with the active > directory? I did tests, deleting but it only gives me the information > of a user that had deleted a folder, what other parameters are > necessary so that they are shown of all the users who deleted some > file or folder? > > ---------------- > [TI] > path = /opt/sistemas > read only = no > # Recycle Bin > vfs objects = recycle full_audit > recycle:repository = /opt/recycle/recycle_TI/%u/%m > recycle:versions = Yes > recycle:keeptree = Yes > recycle:touch = yesYour users are connecting to the share 'TI' and are then deleting folders & files. You are telling the recycler to put the deleted item in: /opt/recycle/recycle_TI/%u/%m This means that anything the user deletes will go into that path, '%u' is the users name and '%m' is the clients Netbios name So if user 'rowland' on the PC 'win7-pc', in the domain 'DOMAIN', deletes the file 'test1.txt', it will end up here: ls -la /opt/recycle/recycle_sistemas/DOMAIN\rowland/win7-pc/ -rw-r--r-- 1 DOMAIN\rowland DOMAIN\domain users 14 Aug 6 10:06 test1.txt NOTE: if you only want the username instead of 'DOMAIN\username', use '%U' instead of '%u' Rowland