s3: Make connections_forall open connections.tdb r/w
authorVolker Lendecke <vl@samba.org>
Mon, 1 Mar 2010 12:57:36 +0000 (13:57 +0100)
committerVolker Lendecke <vl@samba.org>
Mon, 1 Mar 2010 13:02:35 +0000 (14:02 +0100)
commitc571ecdfc4eae8aa4bfffefacb9eb9306cbc6389
tree933fae18aa934cf748097c499201276881c8c78f
parentf79ff9582f3c5e1c1d756ef3b3dc0379fdb9912d
s3: Make connections_forall open connections.tdb r/w

connections_forall is called from count_current_connections() which potentially
deletes dead records. This needs r/w access to connections.tdb.
connections_traverse says it does not provide this. Does not really matter in
the smbd case, because we have opened it before r/w, so this is "just" cleanup.
source3/lib/conn_tdb.c