standalone build of ldb didn't support -k switch nor -U

Andrew Bartlett abartlet at samba.org
Sun Feb 12 15:24:26 MST 2012


On Sun, 2012-02-12 at 14:19 -0800, Matthieu Patou wrote:
> Hello,
> 
> I just discovered today that building ldb as a system library means that 
> ldb* tools won't support a lot of the "standard" command line options 
> like -U or -k.
> 
> I guess it's because we don't include 
> source4/lib/cmdline/popt_credentials.c in the build, maybe worth having 
> a couple of options still if build in standalone mode no ?

The idea (perhaps there are bugs) is that the standalone build of ldb
does not make network connections, unless it finds the Samba modules
during startup, which then loads the popt stuff. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org



More information about the samba-technical mailing list