[CTDB and GFS] some troubles joining domain
tridge at samba.org
tridge at samba.org
Sun Jul 1 09:32:31 GMT 2007
Ignacio,
> then I think that tdb is not initialized and tdb-> points nothing:
yep, it looks like there is no secrets_init() in the "net rpc join"
code paths in this branch.
The obvious fix is this:
--- source/passdb/secrets.c 2007-05-31 05:57:51 +0000
+++ source/passdb/secrets.c 2007-07-01 09:31:32 +0000
@@ -615,6 +615,10 @@
uint32 last_change_time;
uint32 sec_channel_type;
+ if (!secrets_init()) {
+ return False;
+ }
+
if (tdb_transaction_start(tdb) == -1) {
DEBUG(5, ("tdb_transaction_start failed: %s\n",
tdb_errorstr(tdb)));
but I'd like to understand why this isn't needed in the SAMBA_3_0
branch - Volker, any ideas what has diverged here?
Cheers, Tridge
More information about the samba-technical
mailing list