diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-09 04:07:32 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-09 04:07:32 +0000 |
commit | c17a7dc9a190156a069da3e861c18fd3f81224ad (patch) | |
tree | 1b5772601e17f946b6b94e32b970f4d0f5a1decb /source/include/secrets.h | |
parent | c74c2903fb8bd38f8469b3c3b549ac8a431f36dd (diff) | |
download | samba-c17a7dc9a190156a069da3e861c18fd3f81224ad.tar.gz samba-c17a7dc9a190156a069da3e861c18fd3f81224ad.tar.xz samba-c17a7dc9a190156a069da3e861c18fd3f81224ad.zip |
sync 3.0 into HEAD for the last time
Diffstat (limited to 'source/include/secrets.h')
-rw-r--r-- | source/include/secrets.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/source/include/secrets.h b/source/include/secrets.h index dacfef26ead..cb4fbd043a7 100644 --- a/source/include/secrets.h +++ b/source/include/secrets.h @@ -77,5 +77,22 @@ typedef struct trustdom { DOM_SID sid; } TRUSTDOM; +/* + * Format of an OpenAFS keyfile + */ + +#define SECRETS_AFS_MAXKEYS 8 + +struct afs_key { + uint32 kvno; + char key[8]; +}; + +struct afs_keyfile { + uint32 nkeys; + struct afs_key entry[SECRETS_AFS_MAXKEYS]; +}; + +#define SECRETS_AFS_KEYFILE "SECRETS/AFS_KEYFILE" #endif /* _SECRETS_H */ |