2 * Unix SMB/CIFS implementation.
3 * secrets.tdb file format info
4 * Copyright (C) Andrew Tridgell 2000
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16 * You should have received a copy of the GNU General Public License along with
17 * this program; if not, write to the Free Software Foundation, Inc., 675
18 * Mass Ave, Cambridge, MA 02139, USA.
24 /* the first one is for the hashed password (NT4 style) the latter
27 #define SECRETS_MACHINE_ACCT_PASS "SECRETS/$MACHINE.ACC"
28 #define SECRETS_MACHINE_PASSWORD "SECRETS/MACHINE_PASSWORD"
30 /* this one is for storing trusted domain account password */
31 #define SECRETS_DOMTRUST_ACCT_PASS "SECRETS/$DOMTRUST.ACC"
34 #define SECRETS_DOMAIN_SID "SECRETS/SID"
35 #define SECRETS_SAM_SID "SAM/SID"
37 /* structure for storing machine account password
38 (ie. when samba server is member of a domain */
39 struct machine_acct_pass {
44 /* structure for storing trusted domain password */
45 struct trusted_dom_pass {
49 DOM_SID domain_sid; /* remote domain's sid */
53 #endif /* _SECRETS_H */