s4:"samdb_set_password_sid" - clean up created objects correctly
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sun, 13 Dec 2009 15:13:34 +0000 (16:13 +0100)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Sun, 13 Dec 2009 15:13:34 +0000 (16:13 +0100)
commitf8c34c4df14cfb8509fe397d7d016f2468cfc026
treea4446eeceea35de1c52604ede75c056fda961083
parent1788abba14f6f54bf0bd1ef7a71ed354c3930d00
s4:"samdb_set_password_sid" - clean up created objects correctly

- We should clean up such "helper" objects created in this function to don't
  have them around until "mem_ctx" is destroyed
- Remove a from my view pointless comment "This is a password set, not change"
  since an external argument "user_change" decides this ("modify" or "(re)set")
source4/dsdb/common/util.c