Displaying 20 results from an estimated 6000 matches similar to: "Right way to restore deleted objects (in samba 4.1 or newer with or without "ad recycle bin")"
2016 Nov 01
0
Right way to restore deleted objects (in samba 4.1 or newer with or without "ad recycle bin")
On Tue, 2016-11-01 at 20:07 +0400, Mike Lykov via samba wrote:
> Hello all!
>
> I operate two-dc domain, based on samba 2:4.1.9+dfsg-1~bpo70+1
First, please upgrade to Samba 4.5. This is particularly important if
you wish to try and restore a deleted object.
> Forest function level: (Windows) 2003
> Domain function level: (Windows) 2003
> Lowest function level of a DC:
2016 Nov 01
1
Right way to restore deleted objects (in samba 4.1 or newer with or without "ad recycle bin")
01.11.2016 21:33, Andrew Bartlett пишет:
>> I operate two-dc domain, based on samba 2:4.1.9+dfsg-1~bpo70+1
>
> First, please upgrade to Samba 4.5. This is particularly important if
> you wish to try and restore a deleted object.
by the way, what way to upgrade are better:
- stop samba, install new deb package, do some actions recommended in
changelogs and start samba again (on
2015 May 07
4
4.2.1 Indexing attributes
Hi all,
System is Centos 7 and Samba is 4.2.1 sernet version.
The database contains 120k users and 150k computers. It's size is 3.3GB on
DC01 where the imports were performed and 2.8GB on the second DC.
I was trying to index uid attribute and I have a strange behaviour.
According to
https://msdn.microsoft.com/en-us/library/ms679765%28v=vs.85%29.aspx it is
the "searchFlags"
2017 Aug 29
1
recommanded way to restore objects from Deleted Objects
Hi everyone,
in samba 4.5 changelog, it says that samba AD now supports tombstone
reanimation. I've been used to ldbrename and ldbmodify to reanimate
objects to keep objectSID, but if it is now officially supported, it
would be better to use the proper way.
Sysinternals tool adrestore [1] seems to be working properly (it does
not restore most attributes, but this is expected since
2023 May 22
1
ldbrename does not rename container users CN=Deleted Objects
Sadly the AD recycle bin isn't known to be reliably working in Samba.
The main effect that was noticed is that for some reason when enabled,
from memory, it caused the object to vanish almost instantly, rather
than remain as a tombstone for a time (eg, it did the opposite).
I've had investigating this properly on my wish-list for some time, but
it is one of those annoying tasks that I
2018 Jul 08
0
Restore a user?
[As a separate thread, I am going to do post mortem of how I got here - and what not to do. I have a locked computer logged in as this user - need to unlock and access unsaved content.]
I either need to resore the user or create a new user of the same name and sid.
I am using Version 4.8.2 - commit e64d0d03351ce8fbc1f929fa86dcfd8d56183f35 .
Names have been changed to protect the guilty.
#
2015 May 07
1
4.2.1 Indexing attributes
Thank you a lot Luca!
I was able to change searchFlags using ldbedit command and I can't test
right now the ldbmodify tool as samba seems to be indexing it's database
(one thread eating 100% CPU for several minute, since I launched a
ldbsearch on "uid" field).
I'll try without my typo error (thank you again :) the ldbmodify command
(to stop telling it doesn't work when
2023 May 03
2
ldbrename does not rename container users CN=Deleted Objects
It had been working up to Samba 4.8 and with the recyclebin active you
could restore every attributre, but since 4.9 it's not working anymore
Am 02.05.23 um 23:57 schrieb Anderson Sampaio Mello via samba:
> Hello everybody.
>
> When a user or group account is deleted, the user or group account is moved
> to CN=Deleted Objects,DC=domain,DC=com
>
> I can find them with the
2014 Mar 17
1
Additional indexes in Samba4
Hi,
I've found in the list how to add new indexes to Samba4. I read the
you have to modify the searchFlags attr in the schema. I've tried but
fails.
# ldapmodify -f uid.ldif
SASL/GSSAPI authentication started
SASL username: administrator at mydomain.local
SASL SSF: 56
SASL data security layer installed.
modifying entry "CN=uid,CN=Schema,CN=Configuration,DC=mydomain,DC=local"
2017 Oct 27
3
Adding indexing to samba AD question.
Hai,
I need to add some extra indexing on my AD DB, and im not sure if what the correct/best methode is.
And is there any reason i should not do this, i did search on the wiki, but could not find the info i searched for.
I know the following. Checked the current index. ( source info : https://wiki.samba.org/index.php/LDB )
ldbsearch -H /var/lib/samba/private/sam.ldb -s base -b @INDEXLIST
2018 Oct 15
0
restore deleted user (ldbrename) on samba 4.9.1 fails
sorry it's not working any more. At least if you have more then one DC.
I didn't get an answer to this problem so that's the reason why it will
not be part of the new samba4 book :-(
Am 15.10.2018 um 15:47 schrieb Oliver Heinz via samba:
> Dear list,
>
> I am trying to restore an deleted user object with samba 4.9.1 (sernet
> packages). I am aware that the object will
2018 Oct 15
2
restore deleted user (ldbrename) on samba 4.9.1 fails
Dear list,
I am trying to restore an deleted user object with samba 4.9.1 (sernet
packages). I am aware that the object will lose some attributes without
recycle bin enabled (enabling it is still not recommended, right?)
I tried to rename the object in order to make the necessary
modifications afterward (as documented in Stefan Kania's Samba 4 book).
But ldbrename already fails.
root
2015 Mar 17
1
Recycle Bin On Share
Rowland,
How exactly does this command work?
recycle:repository = .recycle/%U
Does the command create user folders with '.recycle' sub folders?
On 3/17/2015 10:23 AM, Rowland Penny wrote:
> On 17/03/15 14:05, James wrote:
>> Hello,
>>
>> Is this the preferred method for adding a recycle bin to a share?
>> Share is located on a Samba 4.1.17 member
2008 Aug 13
3
config-file for recycle bin
I make a recycle bin as follow:
config-file = /etc/samba/recycle.conf
vfs object = recycle
recycle:subdir_mode = 0770
recycle:keeptree = Yes
recycle:repository = Recycle Bin
recycle:versions = Yes
recycle:directory_mode = 0770
But testparm shows:
Unknown parameter encounter: "config-file"
Ignoring unknown parameter "config-file"
What could be the problem and the solution?
2023 Aug 24
0
Samba recycle bin excludedir doesn't work for me
Hello,
I'm testing the "recycle: excludedir" option of Samba recycle bin but
for some reason every deleted file is sent to the recycle bin, even
those in excluded paths. Using samba/focal-updates,now
2:4.15.13+dfsg-0ubuntu0.20.04.4.
This is the config for that share:
---
[SHARE1]
??? path = /isp/SHARE1
??? browseable = no
??? force create mode = 0660
??? force directory
2007 Jun 21
1
Recycle bin and ACL
Hello,
we are using the vfs module recycle with the following config:
vfs objects = recycle
recycle: repository = .Papierkorb
recycle:directory_mode = 0777
recycle:subdir_mode = 0777
recycle: keeptree = Yes
recycle: exclude = *.tmp, *.temp, *.log, *.ldb
recycle: exclude_dir = tmp
recycle:versions = Yes
Problem is that everybody can see deleted documents in the
recycle bin.
But if I set
2002 Jun 27
2
Samba 2.2.5 Recycle Bin file permissions
Using Samba 2.2.5 on FreeBSD 4.5.
We have a file share used by several people working on common projects.
The share is set up with
force group = cad
create mask = 0774
force create mode = 0774
directory mask = 0775
force directory mode = 0775
so that everyone can create/modify any file in the share.
The new VFS recycle bin, however, sets the file
2015 Mar 17
2
Recycle Bin On Share
Hello,
Is this the preferred method for adding a recycle bin to a share?
Share is located on a Samba 4.1.17 member server. Thanks.
/|[share]|/
path = /data/share <https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#PATH>
vfs objects = recycle <https://www.samba.org/samba/docs/man/manpages/smb.conf.5.html#VFSOBJECTS>
recycle:repository = .recycle
2002 Jun 30
2
Samba 2.2.5 - RECYCLE BIN (VFS) problem
Hello Folks,
can somebody give me detailed instructions for compiling the
VFS-recycle bin-extension for samba 2.2.5? I tried it, already RTFM,
but it didn't work. I don't know in which path I have to put the files from
the /example directory to compile it correctly (newbie prob?!).
Are there any further ./configure options I have to use?
I'm running FreeBSD 4.5. You could even send me
2018 Aug 05
3
Samba recycle bin configuration
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 =