summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-01-09 14:35:37 -0800
committerJeremy Allison <jra@samba.org>2008-01-09 14:35:37 -0800
commit6a1022288217304ebf4f3a3e59a1efa472ff2c5b (patch)
tree8ff6842d38243491dfa488cd0bc1ee6077b1b0fd /source3/passdb
parent381c38688d14ad12f5690bca5b3da2d08faf759d (diff)
parent66d6eb27a4e14b41b5a6cbaa828b7ccc4b4244b8 (diff)
downloadsamba-6a1022288217304ebf4f3a3e59a1efa472ff2c5b.tar.gz
samba-6a1022288217304ebf4f3a3e59a1efa472ff2c5b.tar.bz2
samba-6a1022288217304ebf4f3a3e59a1efa472ff2c5b.zip
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 92fcf22b79809393c734e4005c34a5e7e4aaa912)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 28df56bdb1..90a6ff011b 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -1973,7 +1973,7 @@ static NTSTATUS ldapsam_rename_sam_account(struct pdb_methods *my_methods,
/* rename the posix user */
rename_script = SMB_STRDUP(lp_renameuser_script());
- if (rename_script) {
+ if (rename_script == NULL) {
return NT_STATUS_NO_MEMORY;
}