Bug 9221 - domain join as member fails if lp_privatedir() doesn't exist
Summary: domain join as member fails if lp_privatedir() doesn't exist
Status: NEW
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.0 alpha 18
Hardware: All All
: P5 trivial (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-28 01:00 UTC by Jelmer Vernooij
Modified: 2012-09-28 01:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jelmer Vernooij 2012-09-28 01:00:59 UTC
(found by Rixter)

The domain join tries to open the secrets database but fails if the private directory doesn't exist. It succeeds if the directory exists but the secrets database is missing. 

Arguably the directory should always exist, but it would be nice if we could create it during a join rather than failing.
Comment 1 Volker Lendecke 2012-09-28 01:20:57 UTC
My 2ct: I'd rather see this in make install.
Comment 2 Jelmer Vernooij 2012-09-28 01:38:21 UTC
(In reply to comment #1)
> My 2ct: I'd rather see this in make install.
I agree; make install does create this directory at the moment.

In this particular case, ricky had blown away etc/ and private/. It seems like we could Just Do The Right thing in that case by creating the directory rather than failing. Not particularly important though.