1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/nbt_server
Andrew Bartlett d471e52d23 r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct
way to setup a Samba4 DC is to set 'server role = domain controller'.

We use the fSMORoleOwner attribute in the base DN to determine the PDC.

This patch is quite large, as I have corrected a number of places that
assumed taht we are always the PDC, or that used the smb.conf
lp_server_role() to determine that.

Also included is a warning fix in the SAMR code, where the IDL has
seperated a couple of types for group display enumeration.

We also now use the ldb database to determine if we should run the
global catalog service.

In the near future, I will complete the DRSUAPI
DsGetDomainControllerInfo server-side on the same basis.

Andrew Bartlett
(This used to be commit 67d8365e83)
2007-10-10 14:29:15 -05:00
..
dgram r19832: better prototypes for the linearization functions: 2007-10-10 14:28:22 -05:00
wins r19832: better prototypes for the linearization functions: 2007-10-10 14:28:22 -05:00
config.mk r15371: Revert some of my previous patch as it was breaking the plain build 2007-10-10 14:05:28 -05:00
defense.c r17930: Merge noinclude branch: 2007-10-10 14:16:54 -05:00
interfaces.c r17930: Merge noinclude branch: 2007-10-10 14:16:54 -05:00
irpc.c r14709: allways use the unicast socket of the interface, when reply to DGRAM 2007-10-10 13:59:11 -05:00
nbt_server.c r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct 2007-10-10 14:29:15 -05:00
nbt_server.h r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct 2007-10-10 14:29:15 -05:00
nodestatus.c r17930: Merge noinclude branch: 2007-10-10 14:16:54 -05:00
packet.c r14464: Don't include ndr_BASENAME.h files unless strictly required, instead 2007-10-10 13:57:27 -05:00
query.c r17930: Merge noinclude branch: 2007-10-10 14:16:54 -05:00
register.c r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct 2007-10-10 14:29:15 -05:00