Author Topic: Samba crash when I rename default-first-site-name or move the DC to another site  (Read 1827 times)

ohmer

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +2/-0
    • View Profile
Hello,

I'm using a fresh install of Zentyal 3.2

When I try to rename default-first-site-name or move my DC to another site, samba become unresponsive.   RSAT freeze until I force close it.  After I force closed RSAT, theses lines appears in my /var/log/syslog file:

Quote
Oct 10 16:15:06 dcquebec smbd_audit: MYDOMAIN\myuserid|10.3.0.78|open|ok|r|.
Oct 10 16:15:07 dcquebec samba[25064]: [2013/10/10 16:15:07.342930,  0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
Oct 10 16:15:07 dcquebec samba[25064]:   ldb: ldb error (ldb_wait: Operations error (1)) occurred searching for modules, bailing out
Oct 10 16:15:07 dcquebec samba[25064]: [2013/10/10 16:15:07.343165,  0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
Oct 10 16:15:07 dcquebec samba[25064]:   ldb: Unable to load modules for /opt/samba4/private/sam.ldb: ldb_wait: Operations error (1)
Oct 10 16:15:07 dcquebec samba[25064]: [2013/10/10 16:15:07.348486,  0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
Oct 10 16:15:07 dcquebec samba[25064]:   ldb: ldb error (ldb_wait: Operations error (1)) occurred searching for modules, bailing out
Oct 10 16:15:07 dcquebec samba[25064]: [2013/10/10 16:15:07.348613,  0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug)
Oct 10 16:15:07 dcquebec samba[25064]:   ldb: Unable to load modules for /opt/samba4/private/sam.ldb: ldb_wait: Operations error (1)

The domain stop working for anything until I /etc/init.d/samba4 restart.

BrettonWoods

  • Guest
I have to say that the only thing you should use RSAT for currently is group policy editing.

I have been evaluating 3.2 and find that things work if you use the Zentyal tools but not so with RSAT.

I created another post here where its just a list of gotcha's, please add to it.

http://forum.zentyal.org/index.php/topic,18308.msg70875.html#msg70875

Also Samba4 isn't forest ready and I have a question to why would you change the default site name?

I don't mind keeping to the zentyal tools and then use the group policy editor.

I don't know how much interoperability Zentyal plan with RSAT & Zentyal AD tools.
« Last Edit: October 11, 2013, 07:59:45 am by BrettonWoods »

ohmer

  • Zen Apprentice
  • *
  • Posts: 8
  • Karma: +2/-0
    • View Profile
I will have 2 sites for my domain in 2 differents city.  I will need 2 sites with one DC in each sites.  I may use default-first-site for my first site/DC, it just not elegant :D

I was thinking that Samba4 was compatible with RSAT tools and this is what most admins was using (on the Samba wiki, they recommend to use RSAT).

I'm not sure, but I think I had no problem with Zentyal 3.1 beta.  I would need to boot that VM...

BrettonWoods

  • Guest
Zentyal is very hot off the press with samba currently 4.1 RC4 if I remember rightly so you will probably not find another distro pushing samba out so quickly.

I think they mean to have RSAT up and running but at the moment it just seems best to use Zentyal tools.

I have tried creating RSAT group policies and for some reason they dont work.
Create them via Zentyal and they do.

As I say the only RSAT tool I use is the group policy editor.

So to be honest I can't tell you. Guess its a matter of getting in touch with zentyal