similar to: Can gencache.tdb be deletely at will?

Displaying 20 results from an estimated 6000 matches similar to: "Can gencache.tdb be deletely at will?"

2006 Feb 16
2
edited tdb... restart samba?
I had to remove reference to some printer drivers via tdbtool on ntdrivers.tdb. 1. Do I need to restart smbd and nmbd to make these changes take effect? 2. If I restart smbd and nmbd will connected users get disconnected?
2006 Feb 20
7
3 simple questions
Hi. I am running 3.0.20. 1. I would like to have an include statement pointing to user configurations. For a user, say 'mike', the following works: include = /home/mike/smb.conf But this does not: include = /home/%u/smb.conf I am using a very simple config with 'security = user'. What am I doing wrong? I cannot get any log feedback from this ('testparm' says
2006 Feb 21
1
Effect of disabling LM/NTLMv1 auth on an AD?
Folks, Our campus AD team has decided that they ... >Need to disable LM/NTLMv1 authentication support to provide greater >security and be consistent with the CITES authentication roadmap. Noble thoughts, but there hasn't been much thought of the ramifications for other, interoperable systems like Samba. I can see that modern Samba versions support NTLMv1 and NTLMv2 methods.
2024 Mar 18
0
smbd rejects all and any authentication attempts due to a corrupted "gencache.tdb"
I run smbd 4.18.8 inside a docker container via "smbd --foreground" (see the attached config). Recently my server was abruptly restarted due to a power outage. Upon the restart it was able to successfully start the container, but the shares became inaccessible due to smbd rejecting all authentication attempts. In the logs I found: [2024/03/18 08:22:50.790021, 5]
2019 Apr 01
1
gencache.tdb: device busy
On a fresh installed Illumos/Solaris in a VirtualBox Guest I get the following error after starting up samba 4.10: [2019/04/01 09:51:41.112485, 0] ../../lib/tdb_wrap/tdb_wrap.c:64(tdb_wrap_log) tdb(/var/samba/lock/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /var/samba/lock/gencache.tdb: Device busy [2019/04/01 09:51:41.141396, 0] ../../lib/util/become_daemon.c:136(daemon_ready)
2018 Sep 04
0
gencache.tdb size and cache flush
Hi! Technical description below, but the exec summary is: Yes, we have a performance problem with gencache. On Wed, Aug 29, 2018 at 10:28:05AM +0200, Francesco Malvezzi via samba wrote: > Hi all, > > I have a midsize AD domain with some 50k users but only 100 workstations > joined. > > Sometimes I find server CPU throttling at 100%. In order to let it drop Can you find out
2018 Aug 29
0
gencache.tdb size and cache flush
For what it’s worth you are not alone in seeing similar problems with Samba and gencache. Our site has some 110K users (university with staff & students (including former ones), and currently around 2000 active (SMB) clients connecting to 5 different Samba servers (around 400-500 clients per server). When we previously just let things “run” gencache.tdb would grow forever and authentication
2006 Feb 22
2
Join AD domain using security = domain ?
Hi guys, Is it possible to join an AD domain using NT style authentication ? i.e. security = domain in smb.conf and use 'net join rpc -W [MYADDOMAIN] When I tried this I get the following error: [2006/02/22 11:56:42, 0] rpc_client/cli_pipe.c:cli_rpc_pipe_open_schannel(2641) cli_rpc_pipe_open_schannel: failed to get schannel session key from server msu adserver for domain MYADDOMAIN.
2007 Aug 23
0
gencache.tdb going missing
Hi everyone, I'm having an odd issue with a Samba install - it starts SIGABORTing complaining that gencache.tdb has gone missing.. ie [2007/08/09 12:52:50, 0] lib/util_tdb.c:tdb_log(662) tdb(/var/db/samba/gencache.tdb): tdb_reopen: open failed (No such file or directory) [2007/08/09 12:52:50, 0] smbd/server.c:open_sockets_smbd(572) tdb_reopen_all failed. If I recreate it and restart
2018 Aug 30
0
gencache.tdb size and cache flush
> For what it’s worth you are not alone in seeing similar problems with Samba and gencache. > > Our site has some 110K users (university with staff & students (including former ones), and currently around 2000 active (SMB) clients connecting to 5 different Samba servers (around 400-500 clients per server). When we previously just let things “run” gencache.tdb would grow forever and
2018 Sep 04
0
gencache.tdb size and cache flush
On Tue, Sep 04, 2018 at 11:59:04AM +0200, Francesco Malvezzi wrote: > Il 04/09/18 06:00, Volker Lendecke ha scritto: > > Hi! > > > > Technical description below, but the exec summary is: Yes, we have a > > performance problem with gencache. > > > > On Wed, Aug 29, 2018 at 10:28:05AM +0200, Francesco Malvezzi via samba wrote: > >> Hi all, >
2019 Apr 12
1
gencache.tdb: device busy
Hi Jeremy,   I got some info on that topic from the illumos devs:   > It's a sporadic issue, you're lucky enough to not encounter it on 4.9.5. > > I confirmed in 4.10.2, it happens: > > winbindd.log:  tdb(/tmw-nas-3p/samba/var/lock/gencache.tdb): tdb_open_ex: tdb_mutex_init failed for /tmw-nas-3p/samba/var/lock/gencache.tdb: Device busy > > So either apply OS fix, or
2018 Aug 29
0
gencache.tdb size and cache flush
The config looks ok, thats great. :-) Its not needed to stop samba running : net cache flush If you run: net cache list and have a look, then flush it and look again. You see its empty. If you need to copy the idmap than it is needed to stop samba. Can you show me an output of. dpkg -l | egrep "tevent|tdb|ldb|talloc|cmocka" Im running latest versions of these. Own compile or
2018 Aug 30
0
gencache.tdb size and cache flush
Unfortunately I didn’t seem to have saved one of those big gencache.tdb files (we don’t currently see them). Or at least I can’t seem to find them now… A while ago when we first discovered this I posted a message: https://lists.samba.org/archive/samba/2017-December/212577.html <https://lists.samba.org/archive/samba/2017-December/212577.html> I now notice that I never replied to a
2017 Dec 04
2
gencache.tdb growing and growing and...
Is it normal that the gencache.tdb should grow and grow “forever” and fill up with “RA/<hex>” posts? I’ve been investigating why our Samba 4.7.3 servers (happened with older version 4 servers too) would use such insane amounts of memory on our FreeBSD 11.1 servers (we see smbd processes using hundreds of megabytes of RAM and up to 5GB virtual memory). Anyway, one part that seems to use
2018 Sep 04
0
authentication performance with 4.7.6 -> 4.7.8 upgrade (was: Re: gencache.tdb size and cache flush)
I’m going to try to upgrade from 4.7.6 to 4.7.7 on one of our servers soon and see if things break or not. With 4.7.6 things are stable at least. Our file servers are in a Microsoft Windows domain (consisting of 6 Microsoft Windows 2016 AD servers). The graphs (logarithmic time scale) below are login times from a probe station that times a connect using “smbclient” with a Kerberos ticket and
2006 Feb 21
1
help, we are running out of idmap uids
Dear Samba experts, Initially we set up winbind to the following: idmap uid = 10000-20000 thinking that 10000 uids were sufficient for the number of users we would get. We also have defined our UNIX users from 20001 onwards. However, now I can see that our latest windows(idmap uid) users has uid 19123 and this troubles me. Since I cannot just "extend" the
2019 Apr 02
2
gencache.tdb: device busy
I added LOG statements to mutex.c printing the strerror from the return values.   From   ret = pthread_mutexattr_init(&ma); in line 570   I got errorno 16 --> device busy.   But due the manual of pthread_mutex_attr_init() there should only be ENOMEM and EINVAL...   Doing gdb smbd -> run Doe not reveal anything, but I never used gdb for debugging anything. I just gave it a shot...        
2018 Sep 04
1
authentication performance with 4.7.6 -> 4.7.8 upgrade (was: Re: gencache.tdb size and cache flush)
On Tue, 4 Sep 2018 15:13:10 +0200 Peter Eriksson via samba <samba at lists.samba.org> wrote: > I’m going to try to upgrade from 4.7.6 to 4.7.7 on one of our servers > soon and see if things break or not. With 4.7.6 things are stable at > least. > > Our file servers are in a Microsoft Windows domain (consisting of 6 > Microsoft Windows 2016 AD servers). > > >
2005 Oct 12
1
permissions error: /var/run/samba/gencache.tdb
i've been integrating a Samba server into a mixed windows 2000/2003 authentication environment for use as a NAS device. i finally have things working for the most part, but in the process of debugging authentication i noticed an error when performing the following command: hmason@mpinas1:~$ smbclient -L localhost the error shows up when loglevel = 5 in smb.conf: Netbios name list:-