summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorRafal Szczesniak <mimir@samba.org>2004-01-14 21:46:29 +0000
committerRafal Szczesniak <mimir@samba.org>2004-01-14 21:46:29 +0000
commit24a3c24383303b6b51890ee8ab990a25a4500a23 (patch)
tree8040e1959c823d9ee4446ed34619dba8e6e426ee /source3/include
parent77201a85d811d55812018a5752272e6d042a6b0b (diff)
downloadsamba-24a3c24383303b6b51890ee8ab990a25a4500a23.tar.gz
samba-24a3c24383303b6b51890ee8ab990a25a4500a23.tar.bz2
samba-24a3c24383303b6b51890ee8ab990a25a4500a23.zip
Trust passwords types for use with SAM_TRUST_PASSWD structure.
rafal (This used to be commit ea15c148fd6393512f2fd95d88db6546d40cf14c)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/secrets.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/secrets.h b/source3/include/secrets.h
index cb4fbd043a..8c39394058 100644
--- a/source3/include/secrets.h
+++ b/source3/include/secrets.h
@@ -49,6 +49,13 @@
#define SECRETS_AUTH_DOMAIN "SECRETS/AUTH_DOMAIN"
#define SECRETS_AUTH_PASSWORD "SECRETS/AUTH_PASSWORD"
+/* Trust password type flags */
+#define PASS_MACHINE_TRUST_NT 0x0001
+#define PASS_SERVER_TRUST_NT 0x0002
+#define PASS_DOMAIN_TRUST_NT 0x0004
+#define PASS_MACHINE_TRUST_ADS 0x0008
+#define PASS_DOMAIN_TRUST_ADS 0x0010
+
/* structure for storing machine account password
(ie. when samba server is member of a domain */
struct machine_acct_pass {