mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r19313: Don't mess with hierarchies!!
There is a reason why we use them :-)
(This used to be commit e3b7e91299
)
This commit is contained in:
parent
508a04fe57
commit
b0fadb51b2
@ -67,7 +67,7 @@ static struct ldb_message_element *generate_primaryGroupID(struct ldb_module *mo
|
||||
el->name = talloc_strdup(ctx, "primaryGroupID");
|
||||
el->num_values = 1;
|
||||
el->values = talloc_array(ctx, struct ldb_val, 1);
|
||||
el->values[0].data = (uint8_t *)talloc_strdup(ctx, strchr(sid, '-')+1);
|
||||
el->values[0].data = (uint8_t *)talloc_strdup(el->values, strchr(sid, '-')+1);
|
||||
el->values[0].length = strlen((char *)el->values[0].data);
|
||||
|
||||
return el;
|
||||
|
Loading…
Reference in New Issue
Block a user