Rowland Penny
2016-Sep-14 14:43 UTC
[Samba] 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, workaround to > another problem I ran into, more difficult to overcome. But > that is not the issue to which I seek help here. > All directory directives are set and point to the same > location, directories are created, permissions, SELinux, > etc, are not a problem. > Shame on developers to assume users/admin are dumb bums, > especially that the scenario is so easy to reproduce. A bit > more faith in users I'd prescribe. > Take these directives out - and everything is working, > including LDAP authentication which seems to fail when > dbwrap_watchers.tdb is absent(or has directly to do with > aforementioned directives) >I will say this again but first this time, as you seemed to miss it last time: Why are you trying to run two instances of Samba on the same machine ???? Having got that out of the way, how are you trying to run Samba ? as a DC ? or as something else ? You posted: it has something to do with: ;root directory ;lock directory ;state directory ;cache directory The ';' turns off the lines and the defaults will be used, but if you remove the ';', then all those directory will be set to NONE, i.e. they will not be used. Rowland
Reindl Harald
2016-Sep-14 14:58 UTC
[Samba] Failed to issue the StartTLS instruction - yet ldap ssl = no is set
Am 14.09.2016 um 16:43 schrieb Rowland Penny via samba:> You posted: > > it has something to do with: > ;root directory > ;lock directory > ;state directory > ;cache directory > > The ';' turns off the lines and the defaults will be used, but if you > remove the ';', then all those directory will be set to NONE, i.e. they > will not be usedno he posted originally that below an statet with comment it out things are working 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
Rowland Penny
2016-Sep-14 15:15 UTC
[Samba] Failed to issue the StartTLS instruction - yet ldap ssl = no is set
On Wed, 14 Sep 2016 16:58:00 +0200 Reindl Harald via samba <samba at lists.samba.org> wrote:> > > Am 14.09.2016 um 16:43 schrieb Rowland Penny via samba: > > You posted: > > > > it has something to do with: > > ;root directory > > ;lock directory > > ;state directory > > ;cache directory > > > > The ';' turns off the lines and the defaults will be used, but if > > you remove the ';', then all those directory will be set to NONE, > > i.e. they will not be used > > no he posted originally that below an statet with comment it out > things are working > > 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 >Good point, but why not post it as your second version, but with ';' in front of the lines ? It may be that it isn't a Samba problem, I have seen similar problems with selinux or apparmor denying access. He still hasn't said why he wants to run Samba twice on the same machine, or how he is trying to do this. Rowland