summaryrefslogtreecommitdiff
path: root/source4/libnet/libnet_samsync_ldb.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-07-21 13:42:07 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-07-21 13:42:07 +1000
commitd626a26374744849f1bc431e02dd5329594589a1 (patch)
tree4dcb9758a4f640251d38f332a4aad4cb96601dc8 /source4/libnet/libnet_samsync_ldb.c
parente16b2242e5f4702ad2800cd7bed46bcea2c1d4ac (diff)
downloadsamba-d626a26374744849f1bc431e02dd5329594589a1.tar.gz
samba-d626a26374744849f1bc431e02dd5329594589a1.tar.bz2
samba-d626a26374744849f1bc431e02dd5329594589a1.zip
Rename structures to better match the names in the WSPP IDL.
The 'comment' element in a number of domain structures is called oem_information. This was picked up actually because with OpenLDAP doing the schema checking, it noticed that 'comment' was not a valid attribute. The rename tries to keep this consistant in both the LDB mappings and IDL, so we don't make the same mistake in future. This has no real schema impact, as this value isn't actually used for anything, as 'comment' was not used in the provision. Andrew Bartlett (This used to be commit 65dc0d536590d055a5ee775606ac90ee5fcaee9a)
Diffstat (limited to 'source4/libnet/libnet_samsync_ldb.c')
-rw-r--r--source4/libnet/libnet_samsync_ldb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_samsync_ldb.c b/source4/libnet/libnet_samsync_ldb.c
index b223a74a31..c72aef7d70 100644
--- a/source4/libnet/libnet_samsync_ldb.c
+++ b/source4/libnet/libnet_samsync_ldb.c
@@ -198,7 +198,7 @@ static NTSTATUS samsync_ldb_handle_domain(TALLOC_CTX *mem_ctx,
}
samdb_msg_add_string(state->sam_ldb, mem_ctx,
- msg, "oEMInformation", domain->comment.string);
+ msg, "oEMInformation", domain->oem_information.string);
samdb_msg_add_int64(state->sam_ldb, mem_ctx,
msg, "forceLogoff", domain->force_logoff_time);