1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/testprogs/win32/prepare_dcpromo/GNUmakefile
Stefan Metzmacher df96f18e8f testprogs/win32: add prepare_dcpromo tool
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
2010-06-22 10:47:39 +02:00

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