diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-27 14:48:58 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-11-27 14:51:14 +0100 |
commit | a5d854afbc7ecc0de934040f2b6a22be55b078fe (patch) | |
tree | 230d58ca31a672e6eefc0308c47f7e11f7a3dafe /source4/winbind | |
parent | a7fa3a9703bf9f0c72031c84998f4fb21ba95429 (diff) | |
download | samba-a5d854afbc7ecc0de934040f2b6a22be55b078fe.tar.gz samba-a5d854afbc7ecc0de934040f2b6a22be55b078fe.tar.bz2 samba-a5d854afbc7ecc0de934040f2b6a22be55b078fe.zip |
s4:provision - Fix up the provision of "standalone" and "member" mode
Both modes weren't possible anymore since 1.) the secrets entry wasn't created,
2.) a lookup in winbindd was done using "lp_workgroup()" rather than
"lp_sam_name()" (since on the mentioned two configurations we use the netbios
name as domainname - and not the workgroup).
Diffstat (limited to 'source4/winbind')
-rw-r--r-- | source4/winbind/wb_setup_domains.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/winbind/wb_setup_domains.c b/source4/winbind/wb_setup_domains.c index 4791495e7f..6b4fd891c5 100644 --- a/source4/winbind/wb_setup_domains.c +++ b/source4/winbind/wb_setup_domains.c @@ -30,7 +30,7 @@ NTSTATUS wbsrv_setup_domains(struct wbsrv_service *service) primary_sid = secrets_get_domain_sid(service, service->task->event_ctx, service->task->lp_ctx, - lp_workgroup(service->task->lp_ctx)); + lp_sam_name(service->task->lp_ctx)); if (!primary_sid) { return NT_STATUS_CANT_ACCESS_DOMAIN_INFO; } |