Searched refs:newdn (Results 1 - 25 of 105) sorted by relevance

12345

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/lib/ldb/common/
H A Dldb_dn.c757 struct ldb_dn *newdn; local
763 newdn = talloc_zero(mem_ctx, struct ldb_dn);
764 LDB_DN_NULL_FAILED(newdn);
766 newdn->comp_num = num_el;
767 n = newdn->comp_num - 1;
768 newdn->components = talloc_array(newdn, struct ldb_dn_component, newdn->comp_num);
769 if (newdn->components == NULL) goto failed;
771 if (dn->comp_num == 0) return newdn;
832 struct ldb_dn *newdn; local
866 struct ldb_dn *newdn; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/lib/ldb/common/
H A Dldb_dn.c757 struct ldb_dn *newdn; local
763 newdn = talloc_zero(mem_ctx, struct ldb_dn);
764 LDB_DN_NULL_FAILED(newdn);
766 newdn->comp_num = num_el;
767 n = newdn->comp_num - 1;
768 newdn->components = talloc_array(newdn, struct ldb_dn_component, newdn->comp_num);
769 if (newdn->components == NULL) goto failed;
771 if (dn->comp_num == 0) return newdn;
832 struct ldb_dn *newdn; local
866 struct ldb_dn *newdn; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/lib/ldb/common/
H A Dldb_dn.c757 struct ldb_dn *newdn; local
763 newdn = talloc_zero(mem_ctx, struct ldb_dn);
764 LDB_DN_NULL_FAILED(newdn);
766 newdn->comp_num = num_el;
767 n = newdn->comp_num - 1;
768 newdn->components = talloc_array(newdn, struct ldb_dn_component, newdn->comp_num);
769 if (newdn->components == NULL) goto failed;
771 if (dn->comp_num == 0) return newdn;
832 struct ldb_dn *newdn; local
866 struct ldb_dn *newdn; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/dsdb/samdb/ldb_modules/
H A Dsubtree_rename.c36 struct ldb_dn *newdn; member in struct:subren_msg_store
124 ac->current->newdn,
175 store->newdn = ldb_dn_copy(store, store->olddn);
177 if ( ! ldb_dn_remove_base_components(store->newdn,
183 if ( ! ldb_dn_add_base(store->newdn, ac->list->newdn)) {
246 ac->current->newdn = req->op.rename.newdn;
H A Dproxy.c26 newdn = basedn in local server
42 struct ldb_dn *newdn; member in struct:proxy_data
66 const char *olddn, *newdn, *url, *username, *password, *oldstr, *newstr; local
87 newdn = ldb_msg_find_attr_as_string(res->msgs[0], "newdn", NULL);
93 if (url == NULL || olddn == NULL || newdn == NULL || username == NULL || password == NULL) {
94 ldb_debug(ldb, LDB_DEBUG_FATAL, "Need url, olddn, newdn, oldstr, newstr, username and password in @PROXYINFO\n");
104 proxy->newdn = ldb_dn_new(proxy, ldb, newdn);
105 if (proxy->newdn
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/dsdb/samdb/ldb_modules/
H A Dsubtree_rename.c36 struct ldb_dn *newdn; member in struct:subren_msg_store
124 ac->current->newdn,
175 store->newdn = ldb_dn_copy(store, store->olddn);
177 if ( ! ldb_dn_remove_base_components(store->newdn,
183 if ( ! ldb_dn_add_base(store->newdn, ac->list->newdn)) {
246 ac->current->newdn = req->op.rename.newdn;
H A Dproxy.c26 newdn = basedn in local server
42 struct ldb_dn *newdn; member in struct:proxy_data
66 const char *olddn, *newdn, *url, *username, *password, *oldstr, *newstr; local
87 newdn = ldb_msg_find_attr_as_string(res->msgs[0], "newdn", NULL);
93 if (url == NULL || olddn == NULL || newdn == NULL || username == NULL || password == NULL) {
94 ldb_debug(ldb, LDB_DEBUG_FATAL, "Need url, olddn, newdn, oldstr, newstr, username and password in @PROXYINFO\n");
104 proxy->newdn = ldb_dn_new(proxy, ldb, newdn);
105 if (proxy->newdn
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/dsdb/samdb/ldb_modules/
H A Dsubtree_rename.c36 struct ldb_dn *newdn; member in struct:subren_msg_store
124 ac->current->newdn,
175 store->newdn = ldb_dn_copy(store, store->olddn);
177 if ( ! ldb_dn_remove_base_components(store->newdn,
183 if ( ! ldb_dn_add_base(store->newdn, ac->list->newdn)) {
246 ac->current->newdn = req->op.rename.newdn;
H A Dproxy.c26 newdn = basedn in local server
42 struct ldb_dn *newdn; member in struct:proxy_data
66 const char *olddn, *newdn, *url, *username, *password, *oldstr, *newstr; local
87 newdn = ldb_msg_find_attr_as_string(res->msgs[0], "newdn", NULL);
93 if (url == NULL || olddn == NULL || newdn == NULL || username == NULL || password == NULL) {
94 ldb_debug(ldb, LDB_DEBUG_FATAL, "Need url, olddn, newdn, oldstr, newstr, username and password in @PROXYINFO\n");
104 proxy->newdn = ldb_dn_new(proxy, ldb, newdn);
105 if (proxy->newdn
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/lib/ldb/modules/
H A Dldb_map.c230 request->op.rename.newdn = ldb_dn_rebase_remote(request, data, request->op.rename.newdn);
460 struct ldb_dn *newdn; local
471 newdn = ldb_dn_copy(mem_ctx, dn);
472 if (newdn == NULL) {
478 for (i = 0; i < ldb_dn_get_comp_num(newdn); i++) {
506 name = map_attr_map_local(newdn, map, ldb_dn_get_component_name(dn, i));
509 value = ldb_val_map_local(module, newdn, map, ldb_dn_get_component_val(dn, i));
512 ret = ldb_dn_set_component(newdn, i, name, value);
521 return newdn;
532 struct ldb_dn *newdn; local
621 struct ldb_dn *dn, *newdn; local
641 struct ldb_dn *dn, *newdn; local
915 map_build_fixup_req(struct map_context *ac, const struct ldb_dn *olddn, const struct ldb_dn *newdn) argument
[all...]
H A Drdn_name.c155 if (ldb_dn_is_special(req->op.rename.newdn)) {
209 msg->dn = ldb_dn_copy(msg, ac->orig_req->op.rename.newdn);
214 rdn_name = ldb_dn_get_rdn_name(ac->orig_req->op.rename.newdn);
219 rdn_val = ldb_val_dup(msg, ldb_dn_get_rdn_val(ac->orig_req->op.rename.newdn));
H A Dldb_map_inbound.c650 (!ldb_dn_check_local(module, req->op.rename.newdn))) {
656 !ldb_dn_check_local(module, req->op.rename.newdn)) {
675 ac->local_req->op.rename.newdn = req->op.rename.newdn;
688 ac->remote_req->op.rename.newdn = ldb_dn_map_local(module, ac->remote_req, req->op.rename.newdn);
701 ac->down_req = map_build_fixup_req(ac, req->op.rename.newdn, ac->remote_req->op.rename.newdn);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/lib/ldb/ldb_map/
H A Dldb_map.c240 request->op.rename.newdn = ldb_dn_rebase_remote(request, data, request->op.rename.newdn);
471 struct ldb_dn *newdn; local
484 newdn = ldb_dn_copy(mem_ctx, dn);
485 if (newdn == NULL) {
491 for (i = 0; i < ldb_dn_get_comp_num(newdn); i++) {
519 name = map_attr_map_local(newdn, map, ldb_dn_get_component_name(dn, i));
522 value = ldb_val_map_local(module, newdn, map, ldb_dn_get_component_val(dn, i));
525 ret = ldb_dn_set_component(newdn, i, name, value);
534 return newdn;
546 struct ldb_dn *newdn; local
638 struct ldb_dn *dn, *newdn; local
667 struct ldb_dn *dn, *newdn; local
902 map_build_fixup_req(struct map_context *ac, struct ldb_dn *olddn, struct ldb_dn *newdn, void *context, ldb_map_callback_t callback) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/lib/ldb/modules/
H A Dldb_map.c230 request->op.rename.newdn = ldb_dn_rebase_remote(request, data, request->op.rename.newdn);
460 struct ldb_dn *newdn; local
471 newdn = ldb_dn_copy(mem_ctx, dn);
472 if (newdn == NULL) {
478 for (i = 0; i < ldb_dn_get_comp_num(newdn); i++) {
506 name = map_attr_map_local(newdn, map, ldb_dn_get_component_name(dn, i));
509 value = ldb_val_map_local(module, newdn, map, ldb_dn_get_component_val(dn, i));
512 ret = ldb_dn_set_component(newdn, i, name, value);
521 return newdn;
532 struct ldb_dn *newdn; local
621 struct ldb_dn *dn, *newdn; local
641 struct ldb_dn *dn, *newdn; local
915 map_build_fixup_req(struct map_context *ac, const struct ldb_dn *olddn, const struct ldb_dn *newdn) argument
[all...]
H A Drdn_name.c155 if (ldb_dn_is_special(req->op.rename.newdn)) {
209 msg->dn = ldb_dn_copy(msg, ac->orig_req->op.rename.newdn);
214 rdn_name = ldb_dn_get_rdn_name(ac->orig_req->op.rename.newdn);
219 rdn_val = ldb_val_dup(msg, ldb_dn_get_rdn_val(ac->orig_req->op.rename.newdn));
H A Dldb_map_inbound.c650 (!ldb_dn_check_local(module, req->op.rename.newdn))) {
656 !ldb_dn_check_local(module, req->op.rename.newdn)) {
675 ac->local_req->op.rename.newdn = req->op.rename.newdn;
688 ac->remote_req->op.rename.newdn = ldb_dn_map_local(module, ac->remote_req, req->op.rename.newdn);
701 ac->down_req = map_build_fixup_req(ac, req->op.rename.newdn, ac->remote_req->op.rename.newdn);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/lib/ldb/ldb_map/
H A Dldb_map.c240 request->op.rename.newdn = ldb_dn_rebase_remote(request, data, request->op.rename.newdn);
471 struct ldb_dn *newdn; local
484 newdn = ldb_dn_copy(mem_ctx, dn);
485 if (newdn == NULL) {
491 for (i = 0; i < ldb_dn_get_comp_num(newdn); i++) {
519 name = map_attr_map_local(newdn, map, ldb_dn_get_component_name(dn, i));
522 value = ldb_val_map_local(module, newdn, map, ldb_dn_get_component_val(dn, i));
525 ret = ldb_dn_set_component(newdn, i, name, value);
534 return newdn;
546 struct ldb_dn *newdn; local
638 struct ldb_dn *dn, *newdn; local
667 struct ldb_dn *dn, *newdn; local
902 map_build_fixup_req(struct map_context *ac, struct ldb_dn *olddn, struct ldb_dn *newdn, void *context, ldb_map_callback_t callback) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/lib/ldb/modules/
H A Dldb_map.c230 request->op.rename.newdn = ldb_dn_rebase_remote(request, data, request->op.rename.newdn);
460 struct ldb_dn *newdn; local
471 newdn = ldb_dn_copy(mem_ctx, dn);
472 if (newdn == NULL) {
478 for (i = 0; i < ldb_dn_get_comp_num(newdn); i++) {
506 name = map_attr_map_local(newdn, map, ldb_dn_get_component_name(dn, i));
509 value = ldb_val_map_local(module, newdn, map, ldb_dn_get_component_val(dn, i));
512 ret = ldb_dn_set_component(newdn, i, name, value);
521 return newdn;
532 struct ldb_dn *newdn; local
621 struct ldb_dn *dn, *newdn; local
641 struct ldb_dn *dn, *newdn; local
915 map_build_fixup_req(struct map_context *ac, const struct ldb_dn *olddn, const struct ldb_dn *newdn) argument
[all...]
H A Drdn_name.c155 if (ldb_dn_is_special(req->op.rename.newdn)) {
209 msg->dn = ldb_dn_copy(msg, ac->orig_req->op.rename.newdn);
214 rdn_name = ldb_dn_get_rdn_name(ac->orig_req->op.rename.newdn);
219 rdn_val = ldb_val_dup(msg, ldb_dn_get_rdn_val(ac->orig_req->op.rename.newdn));
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/lib/ldb/ldb_map/
H A Dldb_map.c240 request->op.rename.newdn = ldb_dn_rebase_remote(request, data, request->op.rename.newdn);
471 struct ldb_dn *newdn; local
484 newdn = ldb_dn_copy(mem_ctx, dn);
485 if (newdn == NULL) {
491 for (i = 0; i < ldb_dn_get_comp_num(newdn); i++) {
519 name = map_attr_map_local(newdn, map, ldb_dn_get_component_name(dn, i));
522 value = ldb_val_map_local(module, newdn, map, ldb_dn_get_component_val(dn, i));
525 ret = ldb_dn_set_component(newdn, i, name, value);
534 return newdn;
546 struct ldb_dn *newdn; local
638 struct ldb_dn *dn, *newdn; local
667 struct ldb_dn *dn, *newdn; local
902 map_build_fixup_req(struct map_context *ac, struct ldb_dn *olddn, struct ldb_dn *newdn, void *context, ldb_map_callback_t callback) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source4/lib/ldb/modules/
H A Drdn_name.c248 msg->dn = ldb_dn_copy(msg, ac->req->op.rename.newdn);
252 rdn_name = ldb_dn_get_rdn_name(ac->req->op.rename.newdn);
257 rdn_val = ldb_val_dup(msg, ldb_dn_get_rdn_val(ac->req->op.rename.newdn));
300 if (ldb_dn_is_special(req->op.rename.newdn)) {
316 req->op.rename.newdn,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source4/lib/ldb/modules/
H A Drdn_name.c248 msg->dn = ldb_dn_copy(msg, ac->req->op.rename.newdn);
252 rdn_name = ldb_dn_get_rdn_name(ac->req->op.rename.newdn);
257 rdn_val = ldb_val_dup(msg, ldb_dn_get_rdn_val(ac->req->op.rename.newdn));
300 if (ldb_dn_is_special(req->op.rename.newdn)) {
316 req->op.rename.newdn,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source4/lib/ldb/modules/
H A Drdn_name.c248 msg->dn = ldb_dn_copy(msg, ac->req->op.rename.newdn);
252 rdn_name = ldb_dn_get_rdn_name(ac->req->op.rename.newdn);
257 rdn_val = ldb_val_dup(msg, ldb_dn_get_rdn_val(ac->req->op.rename.newdn));
300 if (ldb_dn_is_special(req->op.rename.newdn)) {
316 req->op.rename.newdn,
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/lib/ldb/swig/
H A DLdb.py169 def rename(self, olddn, newdn):
173 _newdn = ldb_dn_explode(self.ldb_ctx, newdn)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/lib/ldb/swig/
H A DLdb.py169 def rename(self, olddn, newdn):
173 _newdn = ldb_dn_explode(self.ldb_ctx, newdn)

Completed in 291 milliseconds

12345