1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

r12227: I realised that I wasn't yet seeing authenticated LDAP for the ldb

backend.

The idea is that every time we open an LDB, we can provide a
session_info and/or credentials.  This would allow any ldb to be remote
to LDAP.  We should also support provisioning to a authenticated ldap
server.

(They are separate so we can say authenticate as foo for remote, but
here we just want a token of SYSTEM).

Andrew Bartlett
(This used to be commit ae2f3a64ee)
This commit is contained in:
Andrew Bartlett
2005-12-14 07:22:25 +00:00
committed by Gerald (Jerry) Carter
parent 470ba9434a
commit a1827a1deb
16 changed files with 113 additions and 43 deletions

View File

@ -280,6 +280,15 @@ function provision(subobj, message, blank, paths)
setup_file("provision.smb.conf", paths.smbconf, subobj);
lp.reload();
}
message("Setting up secrets.ldb\n");
setup_ldb("secrets.ldif", paths.secrets, subobj);
message("Setting up DNS zone file\n");
setup_file("provision.zone",
paths.dns,
subobj);
message("Setting up keytabs\n");
var keytab_ok = credentials_update_all_keytabs();
assert(keytab_ok);
message("Setting up hklm.ldb\n");
setup_ldb("hklm.ldif", paths.hklm, subobj);
message("Setting up sam.ldb attributes\n");
@ -296,15 +305,6 @@ function provision(subobj, message, blank, paths)
message("Setting up sam.ldb users and groups\n");
setup_ldb("provision_users.ldif", paths.samdb, subobj, data, false);
}
message("Setting up secrets.ldb\n");
setup_ldb("secrets.ldif", paths.secrets, subobj);
message("Setting up DNS zone file\n");
setup_file("provision.zone",
paths.dns,
subobj);
message("Setting up keytabs\n");
var keytab_ok = credentials_update_all_keytabs();
assert(keytab_ok);
}
/*