Bug 10251 - Moving a server to another ad site freezes LDAP until Samba restart
Summary: Moving a server to another ad site freezes LDAP until Samba restart
Status: RESOLVED DUPLICATE of bug 10419
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.1.0
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-05 10:34 UTC by Matthew Stapleton
Modified: 2020-12-14 22:00 UTC (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Stapleton 2013-11-05 10:34:08 UTC
I have two Samba 4.1.0 Domain Controllers at two physical locations connected via vpn, with one controller at each site so to help clients use the correct controller, I started setting multiple sites.  If I move one server from the default site into a new site though (via the Microsoft Sites and Services Windows Tool), Samba's LDAP malfunctions until Samba is restarted.  This can be tested with the command: "samba-tool drs options".  I get "Failed to bind - LDAP client internal error: NT_STATUS_UNEXPECTED_NETWORK_ERROR".  I haven't enabled debug logs yet, but I can if needed.
Comment 1 Matthew Stapleton 2013-11-24 04:49:42 UTC
It looks like moving a server to another site with ldbrename also freezes the ldap part of samba4: ldbrename -U Administrator -H ldap://<samba4_servername> "CN=<samba4_servername>,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=<mydomain>,DC=ad" "CN=<samba4_servername>,CN=Servers,CN=<newsite>,CN=Sites,CN=Configuration,DC=<mydomain>,DC=ad"
Comment 2 Achim Gottinger 2014-01-11 18:51:25 UTC
Also had this issue december 2013 with 4.1.3. It was not possible to move an server to another site. Also it did not work to rename an site. If however an site and assigned subnet was created before an join, the new server went into the proper site.
Comment 3 Joeri Feyen 2014-04-18 09:52:47 UTC
Hi,

I have the same issue on Samba version 4.1.5.
We use ZENTyal which has Samba build in.
I tried to attach a subnet and then try to move ... AD Sites & Services hangs. ...

Kr,

Joeri
Comment 4 Joeri Feyen 2014-06-06 09:31:18 UTC
(In reply to comment #3)
> Hi,
> 
> I have the same issue on Samba version 4.1.5.
> We use ZENTyal which has Samba build in.
> I tried to attach a subnet and then try to move ... AD Sites & Services hangs.
> ...
> 
> Kr,
> 
> Joeri

The same issue on Samba version 4.1.6.
Any update on this issue... this bug is already a long time open...
Comment 5 James Andrew 2014-07-22 19:10:31 UTC
I experience same behavior using Samba 4.1.7 on Ubuntu 12.04. Moving domain controller to site using Microsoft Active Directory Sites And Services cause Samba to freeze.
Comment 6 Douglas Bagnall 2020-12-14 22:00:42 UTC

*** This bug has been marked as a duplicate of bug 10419 ***