mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
df96f18e8f
This tool can set the DOMAIN-SID and nextRid counter in the local SAM on windows servers (tested with w2k8r2) dcpromo will use this values for the ad domain it creates. This might be useful for upgrades from a Samba3 domain. metze
22 lines
299 B
Makefile
Executable File
22 lines
299 B
Makefile
Executable File
INCLUDES=-I.
|
|
CFLAGS=$(INCLUDES)
|
|
LIBS=-ladvapi32
|
|
|
|
PREPARE_DCPROMO = prepare_dcpromo.exe
|
|
|
|
all: $(PREPARE_DCPROMO)
|
|
|
|
MINGW_CC = i586-mingw32msvc-cc
|
|
CC = $(MINGW_CC)
|
|
|
|
.SUFFIXES: .c .obj .exe
|
|
|
|
.c.obj:
|
|
$(CC) $(CFLAGS) -c $< -o $@
|
|
|
|
.obj.exe:
|
|
$(CC) $(CFLAGS) -o $@ $< $(LIBS)
|
|
|
|
clean:
|
|
rm -f *~ *.obj *.exe
|