diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-01-15 03:48:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:49 -0500 |
commit | 737a000d2ca9d1cdf00a84d9fa3d4ab4274409b3 (patch) | |
tree | 399156a7dedc48c80448dd0fb7edb900f0a9d1c7 /source4/rpc_server | |
parent | 9f676afe3ab19bb0502e6dca45fe0039a2ec285b (diff) | |
download | samba-737a000d2ca9d1cdf00a84d9fa3d4ab4274409b3.tar.gz samba-737a000d2ca9d1cdf00a84d9fa3d4ab4274409b3.tar.bz2 samba-737a000d2ca9d1cdf00a84d9fa3d4ab4274409b3.zip |
r4745: remove the distinguishedName attribute adds from samr. See the
discussion on samba-technical about this.
(This used to be commit e9dff03f79db00636e2b6d93a22e40a3cefed876)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/samr/dcesrv_samr.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source4/rpc_server/samr/dcesrv_samr.c b/source4/rpc_server/samr/dcesrv_samr.c index fce4dd43be..c3ec8bf80f 100644 --- a/source4/rpc_server/samr/dcesrv_samr.c +++ b/source4/rpc_server/samr/dcesrv_samr.c @@ -528,7 +528,6 @@ static NTSTATUS samr_CreateDomainGroup(struct dcesrv_call_state *dce_call, TALLO if (!msg->dn) { return NT_STATUS_NO_MEMORY; } - samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "distinguishedName", msg->dn); samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "name", groupname); samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "cn", groupname); samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "sAMAccountName", groupname); @@ -796,7 +795,6 @@ static NTSTATUS samr_CreateUser2(struct dcesrv_call_state *dce_call, TALLOC_CTX if (!msg->dn) { return NT_STATUS_NO_MEMORY; } - samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "distinguishedName", msg->dn); samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "name", account_name); samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "cn", account_name); samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "sAMAccountName", account_name); @@ -1016,7 +1014,6 @@ static NTSTATUS samr_CreateDomAlias(struct dcesrv_call_state *dce_call, TALLOC_C return NT_STATUS_NO_MEMORY; } - samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "distinguishedName", msg->dn); samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "name", aliasname); samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "cn", aliasname); samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "sAMAccountName", aliasname); @@ -2162,8 +2159,6 @@ static NTSTATUS samr_AddAliasMember(struct dcesrv_call_state *dce_call, TALLOC_C memberdn = msg->dn; samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, - "distinguishedName", msg->dn); - samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "name", sidstr); samdb_msg_add_string(d_state->sam_ctx, mem_ctx, msg, "objectClass", |