summaryrefslogtreecommitdiff
path: root/source4/smbd
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/smbd
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/smbd')
-rw-r--r--source4/smbd/process.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/source4/smbd/process.c b/source4/smbd/process.c
index d06fbf9a44..0e486d7849 100644
--- a/source4/smbd/process.c
+++ b/source4/smbd/process.c
@@ -27,6 +27,8 @@
void smbd_process_init(void)
{
TALLOC_CTX *mem_ctx;
+
+ generate_wellknown_sids();
mem_ctx = talloc_init("smbd_process_init talloc");
if (!mem_ctx) {
@@ -47,11 +49,6 @@ void smbd_process_init(void)
/* possibly reload the services file. */
reload_services(NULL, True);
- if(!get_global_sam_sid()) {
- DEBUG(0,("ERROR: Samba cannot create a SAM SID.\n"));
- exit(1);
- }
-
if (!init_account_policy()) {
DEBUG(0,("Could not open account policy tdb.\n"));
exit(1);
@@ -70,10 +67,6 @@ void smbd_process_init(void)
if (!init_change_notify())
exit(1);
- /* Setup the PASSDB subsystem */
- if(!initialize_password_db(False))
- exit(1);
-
talloc_destroy(mem_ctx);
}
@@ -87,10 +80,6 @@ void init_subsystems(void)
if (!auth_init())
exit(1);
- /* Setup the PASSDB subsystem */
- if (!passdb_init())
- exit(1);
-
/* Setup the NTVFS subsystem */
if (!ntvfs_init())
exit(1);