git.samba.org
/
kamenim
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b85c276
)
r16681: Fix bug #3899 reported by jason@ncac.gwu.edu.
author
Jeremy Allison
<jra@samba.org>
Thu, 29 Jun 2006 17:05:18 +0000
(17:05 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:19:07 +0000
(11:19 -0500)
Jeremy.
(This used to be commit
1cd9a0ef834f8062500d1aea6183e147fc5e42f4
)
source3/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_ldap.c
b/source3/passdb/pdb_ldap.c
index 2b1893e4c0cc4f72532cac12841b208b3fdc3e76..839822843b7887d750b0cf535e228fd6e88a6435 100644
(file)
--- a/
source3/passdb/pdb_ldap.c
+++ b/
source3/passdb/pdb_ldap.c
@@
-3448,8
+3448,6
@@
static NTSTATUS ldapsam_set_account_policy_in_ldap(struct pdb_methods *methods,
struct ldapsam_privates *ldap_state =
(struct ldapsam_privates *)methods->private_data;
- const char *attrs[2];
-
DEBUG(10,("ldapsam_set_account_policy_in_ldap\n"));
if (!ldap_state->domain_dn) {
@@
-3463,9
+3461,6
@@
static NTSTATUS ldapsam_set_account_policy_in_ldap(struct pdb_methods *methods,
return ntstatus;
}
- attrs[0] = policy_attr;
- attrs[1] = NULL;
-
slprintf(value_string, sizeof(value_string) - 1, "%i", value);
smbldap_set_mod(&mods, LDAP_MOD_REPLACE, policy_attr, value_string);