diff options
author | Gerald Carter <jerry@samba.org> | 2004-04-20 02:37:49 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:51:17 -0500 |
commit | 157d53782d6a7d0b7e30676a674ff2a25a15369c (patch) | |
tree | 1405bf8761210503afc8c6b323703f57bc646e68 /source/nsswitch/winbindd.h | |
parent | 870313956652a0f809cf43f13bd8905467e878e5 (diff) | |
download | samba-157d53782d6a7d0b7e30676a674ff2a25a15369c.tar.gz samba-157d53782d6a7d0b7e30676a674ff2a25a15369c.tar.xz samba-157d53782d6a7d0b7e30676a674ff2a25a15369c.zip |
r294: checking in volker's winbindd patches; tested on domain members (Samba and AD) as well as on a Samba DC
Diffstat (limited to 'source/nsswitch/winbindd.h')
-rw-r--r-- | source/nsswitch/winbindd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd.h b/source/nsswitch/winbindd.h index 5c05a1b0457..e884ea83800 100644 --- a/source/nsswitch/winbindd.h +++ b/source/nsswitch/winbindd.h @@ -94,6 +94,7 @@ struct winbindd_domain { fstring name; /* Domain name */ fstring alt_name; /* alt Domain name (if any) */ DOM_SID sid; /* SID for this domain */ + BOOL initialized; /* Did we already ask for the domain mode? */ BOOL native_mode; /* is this a win2k domain in native mode ? */ BOOL active_directory; /* is this a win2k active directory ? */ BOOL primary; /* is this our primary domain ? */ @@ -149,6 +150,7 @@ struct winbindd_methods { /* convert one user or group name to a sid */ NTSTATUS (*name_to_sid)(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, + const char *domain_name, const char *name, DOM_SID *sid, enum SID_NAME_USE *type); @@ -157,6 +159,7 @@ struct winbindd_methods { NTSTATUS (*sid_to_name)(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, const DOM_SID *sid, + char **domain_name, char **name, enum SID_NAME_USE *type); |