Displaying 20 results from an estimated 1400 matches similar to: "Understanding the difference of lock/state/cache directory"
2016 Oct 20
0
CTDB and locking issues in 4.4.6 (Classic domain)
On 20/10/16 14:10, Amitay Isaacs wrote:
> On Thu, Oct 20, 2016 at 8:09 PM, Alex Crow via samba
> <samba at lists.samba.org <mailto:samba at lists.samba.org>> wrote:
>
> Hi list
>
> We recently upgraded our fileservers from Centos supplied 4.2.10
> to Sernet 4.4.6, and then our DCs from 3.6.x to 4.4.6.
>
> It seems that since then we've
2015 Aug 28
0
Samba Internal DNS vs. BIND_DLZ
.....
>
>I just rsynced ALL the files in /etc/samba and /var/lib/samba/*.tdb to
>my new system and am ready to run the classicupgrade.
>
>Figured 'this is only a test'. Go for it.
>
>
All in /var/lib/samba ??
thats not entirly correct. below wil get you more going.
before your upgrade, and with the sernet package installed run
samba -b
results in something
2015 Dec 28
1
Wrong interface on AD Provisioning
Hello Rowland,
Am 28.12.2015 um 10:57 schrieb Rowland penny:
> Hi Marc, if, as you say, you need to remove everything before
> reprovisioning, why are there these lines in the provisioning code
> (/samba/provision/__init__.py):
>
> def provision(logger, session_info, smbconf=None,
>
> """Provision samba4
>
> :note: caution, this wipes all
2019 Dec 05
3
Backing up tdb files
I am trying to determine which tdb files must be backed up in order to
perform a proper system restore. I am running Centos's
samba-4.9.1-6.el7.x86_64 as a PDC. There is a basic backup routine which
backs up all files under /var/lib/samba but this appears to be wasteful,
especially as gencache.tdb keeps growing until I delete.
I can find a Samba3 reference at
2019 Nov 14
1
get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
Samba 4.10.8 - > 4.11.2 (latest update)
FreeBSD 11.3-RELEASE-p3
Dell PowerEdge R730xd with 256GB RAM and some 140TB disk
ZFS filesystems
smb.conf:
[global]
private directory = /liu/etc/samba/private
lock directory = /liu/var/samba/locks
cache directory = /liu/var/samba/cache
state directory = /liu/var/samba/state
ncalrpc dir = /liu/var/samba/ncalrpc
;; Network interfaces
bind
2015 Aug 27
3
Samba Internal DNS vs. BIND_DLZ
On 27/08/15 22:20, Robert Moskowitz wrote:
>
>
> On 08/27/2015 05:10 PM, Rowland Penny wrote:
>> On 27/08/15 22:00, Robert Moskowitz wrote:
>>> Ah, LDAP is included within Samba, I find. Don't install provided
>>> one...
>>>
>>> I suppose I will have to find what schemas, particularly if the bind
>>> dlz schema is included?
2016 Sep 14
2
Failed to issue the StartTLS instruction - yet ldap ssl = no is set
On Wed, 14 Sep 2016 13:27:32 +0100
lejeczek via samba <samba at lists.samba.org> wrote:
>
>
> On 14/09/16 13:11, Reindl Harald via samba wrote:
> > obviously the folder "/var/lib/samba-second" don't exist
> really? I could guess but will ask instead of - intended
> insult or just feeling happy go lucky?
>
> it has something to do with:
>
2019 Apr 19
0
winbind offline login - NT_STATUS_NO_SUCH_USER (0xc0000064)
Hi All,
I tried multiple topics and did some further analyzing regarding this.
I found that described error below only appears if I restart the device
when connecting from "online" to "offline".
If I keep my device running winbind caches the users correctly.
Based this I found the following bug report:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1165461
There the
2020 Mar 31
1
Ways to make "smbd" use less memory?
I?m looking for ways to make a ?smbd? daemon use less memory. Typically on our system each process uses 160-200MB virtual memory with ~120-140MB as RSS. Now with ~1400 such processes (and clients connected) this uses a lot of memory? Even though some may be shared. It doesn?t look like a memory leak though since it?s pretty stable at those levels. But it still feels pretty bloated...
This
2016 Oct 20
3
CTDB and locking issues in 4.4.6 (Classic domain)
Hi list
We recently upgraded our fileservers from Centos supplied 4.2.10 to
Sernet 4.4.6, and then our DCs from 3.6.x to 4.4.6.
It seems that since then we've had problems with locks not being obeyed
on all nodes - they only seem to work when a second client opens a file
on the same node as the first client.
For example, when a user opens an Excel file I will see something like
this
2016 Sep 14
0
Failed to issue the StartTLS instruction - yet ldap ssl = no is set
On 14/09/16 13:11, Reindl Harald via samba wrote:
> obviously the folder "/var/lib/samba-second" don't exist
really? I could guess but will ask instead of - intended
insult or just feeling happy go lucky?
it has something to do with:
;root directory =
;lock directory =
;state directory =
;cache directory =
maybe it's for devel team - if I revert to defaults
2014 Sep 23
4
smbd doesn't start anymore
Hi,
I've a really big problem with my SAMBA 4.1.11 production
server.... it doesn't want to start smbd anymore.... nmbd starts fine
but not smbd.
I've tried to start smbd in interactive mode to see what's happened :
# /srv/progs/samba4/sbin/smbd -i -d9
produce a lot of lines about configuration (all fine), some last
lines are :
added interface lo ip=::1
2016 Sep 14
2
Failed to issue the StartTLS instruction - yet ldap ssl = no is set
On Wed, 14 Sep 2016 15:17:24 +0100
lejeczek via samba <samba at lists.samba.org> wrote:
> I think I luck of words, all I have is another - really?
>
> On 14/09/16 14:04, Rowland Penny via samba wrote:
> > And using them, sets them to NULL!
> > Which probably explains why dbwrap_watchers.tdb does get created.
>
> Well, two instances would be a solution,
2016 Sep 14
3
Failed to issue the StartTLS instruction - yet ldap ssl = no is set
Am 14.09.2016 um 14:06 schrieb lejeczek via samba:
> I also see:
>
> Unable to create directory /var/lib/samba-second for file
> dbwrap_watchers.tdb. Error was No such file or directory.
>
> I'm trying:
>
> root directory = /var/lib/samba-second
> lock directory = /var/lib/samba-second
> state directory = /var/lib/samba-second
> cache directory =
2018 Feb 21
1
vfs_shadow_copy2 woes / WITH logs
Hi,
finally everything is working fine on my Samba 4.6 AD Domain member
server after _exactly_ following
https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs
(no more fiddling with acl_xattr:ignore system acls = yes, thanks
Rowland Penny).
Next thing i wanted to try is vfs_shadow_copy2 (with LVM snapshots:
2016 Sep 14
0
Failed to issue the StartTLS instruction - yet ldap ssl = no is set
I also see:
Unable to create directory /var/lib/samba-second for file
dbwrap_watchers.tdb. Error was No such file or directory.
I'm trying:
root directory = /var/lib/samba-second
lock directory = /var/lib/samba-second
state directory = /var/lib/samba-second
cache directory = /var/lib/samba-second
hoping to put samba into different dir, as you can guess, in
order to have
2016 Sep 14
0
Failed to issue the StartTLS instruction - yet ldap ssl = no is set
Rowland,
nothing here is meant to be personal, but.. why so hasty?
Why such a rush?
On 14/09/16 16:15, Rowland Penny via samba wrote:
> Good point, but why not post it as your second version, but with ';' in
> front of the lines ?
just take a moment to read ... thoroughly
> It may be that it isn't a Samba problem, I have seen similar problems
> with selinux or apparmor
2016 Sep 29
0
implement of persistent handle in SMB2.1
On 2016-09-28 at 12:50 +0000, Weidong wrote:
> hi Michael:
Hi Weidong,
Thank you for your message!
> We want to implement the ‘persistent handle’ function under
> Windows 7(SMB 2.1), which has only local ‘durable handle’.
Hmm. As you say: Windows 7 / SMB 2.1 does _not_ support
presistent handles. This requires SMB 3.0 or newer.
Windows 7 supports durable handles, which is already
2013 Jul 01
1
What is the difference between lock dir , state dir and cache dir in samba 4
Hi all?
The question is in the subject.
I need to know what is the difference betwen theses three directory ?
What directory contain persistand tdb, what direcorty will contain sysvol
data and what directory for tempoary file and tdb.
regards
St?phane Purnellle
-----------------------------------
St?phane PURNELLE Admin. Syst?mes et R?seaux
Service
2016 Oct 11
1
答复: implement of persistent handle in SMB2.1
hi Michael,
Sorry for taking so long to reply, I just get back on vacation. Your advice is very helpful.
Our purpose is no IO interrupted with Window 7 cifs client accessing the shared folder
when virtual IP taken over by another node. SMB3.0 or newer protocol do meet that demand,
but Window 7 cifs client only supports SMB2.1 protocol and previous versions. So we
need implement a