1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/testprogs/win32/prepare_dcpromo/NMakefile
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

17 lines
324 B
Plaintext
Executable File

#
# use nmake /f NMakefile [<target>]
#
INCLUDES=-I
CFLAGS=$(INCLUDES) -Zi -nologo -Dsnprintf=sprintf_s
LIBS=advapi32.lib
PREPARE_DCPROMO = prepare_dcpromo.exe
all: $(PREPARE_DCPROMO)
clean:
del *~ *.obj *.exe
prepare_dcpromo.exe: prepare_dcpromo.obj
$(CC) $(CFLAGS) -o prepare_dcpromo.exe prepare_dcpromo.obj $(LIBS)