s3: Add "net serverid" command
authorVolker Lendecke <vl@samba.org>
Tue, 2 Mar 2010 16:02:01 +0000 (17:02 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 22 Mar 2010 16:51:26 +0000 (17:51 +0100)
commit478adcf4d22a6adc3e68bed870455eeeb1511de1
tree05d162bc1001073c7b5843becbf8e505cb8e3a16
parentc3b98b20f0d87c5d47656caae1d87d962d849f34
s3: Add "net serverid" command

CLEAR_IF_FIRST does not work in a cluster, so the automatic cleanup does not
work when all smbds are restarted. For this, "net serverid wipe" has to be run
before smbd starts up. As a convenience, "net serverid wipedbs" also cleans up
sessionid.tdb and connections.tdb.

Volker
source3/Makefile.in
source3/utils/net.c
source3/utils/net_proto.h
source3/utils/net_serverid.c [new file with mode: 0644]