diff options
author | Luke Leighton <lkcl@samba.org> | 1999-07-14 19:21:44 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-07-14 19:21:44 +0000 |
commit | 1f33d5a8aaa6b9a94dde21529fe2aa407fb5ffa1 (patch) | |
tree | 9dabf92f0bc5923d3d4f48c7a2eb4fcd1322f4a5 /source3/include | |
parent | c553c01c86bca04583277f65d45d0e097fa38603 (diff) | |
download | samba-1f33d5a8aaa6b9a94dde21529fe2aa407fb5ffa1.tar.gz samba-1f33d5a8aaa6b9a94dde21529fe2aa407fb5ffa1.tar.bz2 samba-1f33d5a8aaa6b9a94dde21529fe2aa407fb5ffa1.zip |
code from bertl to allow remap of default built-in names to anything.
parameter is "builtin rid file".
Copyright 1999 Bertl <bp@vpnet.at>
(This used to be commit 80d36778432d42eb265ed9428f27a27250ba5e08)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ntdomain.h | 7 | ||||
-rw-r--r-- | source3/include/proto.h | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index ce4d1ed148..9ba096bb13 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -138,13 +138,6 @@ struct mem_buf struct mem_buf *next; }; -typedef struct -{ - uint32 rid; - char *name; - -} rid_name; - struct acct_info { fstring acct_name; /* account name */ diff --git a/source3/include/proto.h b/source3/include/proto.h index 97398c553c..c17cbb657b 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -497,6 +497,8 @@ SMB_BIG_UINT getfilepwpos(void *vp); BOOL setfilepwpos(void *vp, SMB_BIG_UINT tok); int getfileline(void *vp, char *linebuf, int linebuf_size); char *fgets_slash(char *s2,int maxlen,FILE *f); +BOOL file_modified(const char *filename, time_t *lastmodified); +void *open_file_if_modified(const char *filename, char *mode, time_t *lastmodified); /*The following definitions come from lib/util_pwdb.c */ @@ -518,6 +520,9 @@ void pwdb_set_last_set_time(char *p, int max_len, time_t t); void pwdb_sethexpwd(char *p, const char *pwd, uint16 acct_ctrl); BOOL pwdb_gethexpwd(const char *p, char *pwd, uint32 *acct_ctrl); BOOL pwdb_initialise(BOOL is_server); +char *lookup_wk_alias_rid(uint32 rid); +char *lookup_wk_user_rid(uint32 rid); +char *lookup_wk_group_rid(uint32 rid); /*The following definitions come from lib/util_sid.c */ @@ -1239,6 +1244,7 @@ char *lp_username_map(void); char *lp_aliasname_map(void); char *lp_groupname_map(void); char *lp_builtinname_map(void); +char *lp_builtinrid_file(void); char *lp_ntusrname_map(void); char *lp_logon_script(void); char *lp_logon_path(void); |