summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-05-13 15:34:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:42 -0500
commitd12e825042d1f108051eb6e205340dee444d5591 (patch)
tree5adf81912ab36d1a9c1e3eb28f6aa6d83c655a05 /source4/include
parent060f94b9fcf9ceddff6700738e35b537cef605ca (diff)
downloadsamba-d12e825042d1f108051eb6e205340dee444d5591.tar.gz
samba-d12e825042d1f108051eb6e205340dee444d5591.tar.bz2
samba-d12e825042d1f108051eb6e205340dee444d5591.zip
r685: The SAM is dead! Long live the new SAM! ;-)
This commit kills passdb, which was only hosting the auth subsystem. With the work tridge has done on Samba4's SAM backend, this can (and now is) all hosted on ldb. The auth_sam.c file now references this backend. You will need to assign your users passwords in ldb - adding a new line: unicodePwd: myPass to a record, using ldbedit, should be sufficient. Naturally, this assumes you have had your personal SAMR provisioning tutorial from tridge. Everybody else can still use the anonymous logins. Andrew Bartlett (This used to be commit 2aa0b55fb86648731d5f2201fa5a6aa993b7ca48)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/includes.h1
-rw-r--r--source4/include/smb.h6
2 files changed, 1 insertions, 6 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h
index 42d4c2552e..89509255e8 100644
--- a/source4/include/includes.h
+++ b/source4/include/includes.h
@@ -714,7 +714,6 @@ extern int errno;
#include "libcli/auth/schannel.h"
#include "auth/auth.h"
-#include "passdb/passdb.h"
#include "module.h"
diff --git a/source4/include/smb.h b/source4/include/smb.h
index 7988a500fa..1de1680783 100644
--- a/source4/include/smb.h
+++ b/source4/include/smb.h
@@ -280,7 +280,7 @@ typedef struct sid_info
typedef struct nt_user_token {
size_t num_sids;
- DOM_SID *user_sids;
+ struct dom_sid **user_sids;
} NT_USER_TOKEN;
/* 32 bit time (sec) since 01jan1970 - cifs6.txt, section 3.5, page 30 */
@@ -1080,10 +1080,6 @@ typedef struct user_struct
struct user_struct *next, *prev;
uint16 vuid; /* Tag for this entry. */
- BOOL guest;
-
- NT_USER_TOKEN *nt_user_token;
-
DATA_BLOB session_key;
char *session_keystr; /* used by utmp and pam session code.