Small patch to stop net rpc samsync from copying an empty comment when syncing group data.
Cheers, Waider. Index: source/utils/net_rpc_samsync.c =================================================================== RCS file: /cvsroot/samba/source/utils/net_rpc_samsync.c,v retrieving revision 1.20 diff -u -r1.20 net_rpc_samsync.c --- source/utils/net_rpc_samsync.c 30 Mar 2003 16:46:28 -0000 1.20 +++ source/utils/net_rpc_samsync.c 31 Mar 2003 09:09:46 -0000 @@ -521,7 +521,10 @@ map.sid = group_sid; map.sid_name_use = SID_NAME_DOM_GRP; fstrcpy(map.nt_name, name); - fstrcpy(map.comment, comment); + + if (delta->hdr_grp_desc.buffer) { + fstrcpy(map.comment, comment); + } map.priv_set.count = 0; map.priv_set.set = NULL; -- [EMAIL PROTECTED] / Yes, it /is/ very personal of me. "it's this new keyboard. damn thing types faster than i do. i wish i knew where my old one went. it was connected to the computer when i went to bed last night." - Nikolai Kingsley