diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-08-18 18:36:12 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-08-20 20:34:11 +1000 |
commit | 6eb34e69078630f1795a75d186eccf50e1f3c683 (patch) | |
tree | b609c0eceae46ff5667d211f3a7f7bf44cd1b7b2 | |
parent | ba079f9d674417eed26c21d21f0e0ff03a3c5e33 (diff) | |
download | samba-6eb34e69078630f1795a75d186eccf50e1f3c683.tar.gz samba-6eb34e69078630f1795a75d186eccf50e1f3c683.tar.bz2 samba-6eb34e69078630f1795a75d186eccf50e1f3c683.zip |
s4-dsdb: fixed dsdb_get_extended_dn_sid()
it should honor the component_name
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/dsdb/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index 7c2414a23f..fc117b9fa3 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -3112,7 +3112,7 @@ NTSTATUS dsdb_get_extended_dn_sid(struct ldb_dn *dn, struct dom_sid *sid, const struct TALLOC_CTX *tmp_ctx; enum ndr_err_code ndr_err; - sid_blob = ldb_dn_get_extended_component(dn, "SID"); + sid_blob = ldb_dn_get_extended_component(dn, component_name); if (!sid_blob) { return NT_STATUS_OBJECT_NAME_NOT_FOUND; } |