s3:auth: only call secrets_fetch_domain_sid() once in finalize_local_nt_token()
[Samba.git] / source3 / include / ctdb_srvids.h
blobb51a458506059c3de7bd41f515998227200a4aba
1 /*
2 Unix SMB/CIFS implementation.
3 Samba3 ctdb srvid assignments
4 Copyright (C) Volker Lendecke 2012
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 3 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 * ctdb has reserved all srvids starting with 0xFE for Samba. Here we list our
22 * static assignments that are supposed to be globally unique.
26 * ctdb_protocol.h already has the following definition, used in the g_lock
27 * implementation. Waiters for a g_lock register this to receive notifications
28 * when g_lock holders die.
31 #if 0
32 #define CTDB_SRVID_SAMBA_NOTIFY 0xFE00000000000000LL
33 #endif
36 * SRVID for notify_internal.c: On every node, one process registers this
37 * SRVID. It receives filechangenotify notifications and multicasts them
38 * locally according to the non-clustered local notify.tdb
40 #define CTDB_SRVID_SAMBA_NOTIFY_PROXY 0xFE00000000000001LL
43 * SRVID for all processes that come from Samba. Used to be
44 * MSG_SRVID_SAMBA in the past. Now used for message_send_all.
46 #define CTDB_SRVID_SAMBA_PROCESS 0xFE00000000000002LL