[SCM] Samba Shared Repository - branch master updated

Stefan Metzmacher metze at samba.org
Tue Sep 6 17:33:03 UTC 2016


The branch, master has been updated
       via  4f654ac idmap_script: add missing "IDTOSID" argument to the script command line.
      from  4519077 tests/dns_forwarder: Fail out with an assertion instead OOB error

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 4f654acad01dbb1b17e933a855bb53ea6a7bb34d
Author: Björn Baumbach <bb at sernet.de>
Date:   Fri Aug 26 17:16:51 2016 +0200

    idmap_script: add missing "IDTOSID" argument to the script command line.
    
    According to the documentation the commands should look like
    "IDTOSID UID xxxx" instead of "UID xxxx".
    
    This fixes changes of commit b4239ca096738f553b0f9d7fa6aaa4219b72ef7f:
        idmap_script: Parallelize script calls
    
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=12194
    
    Signed-off-by: Björn Baumbach <bb at sernet.de>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    Reviewed-by: Michael Adam <obnox at samba.org>
    
    Autobuild-User(master): Stefan Metzmacher <metze at samba.org>
    Autobuild-Date(master): Tue Sep  6 19:32:57 CEST 2016 on sn-devel-144

-----------------------------------------------------------------------

Summary of changes:
 source3/winbindd/idmap_script.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/idmap_script.c b/source3/winbindd/idmap_script.c
index f986021..75eabdf 100644
--- a/source3/winbindd/idmap_script.c
+++ b/source3/winbindd/idmap_script.c
@@ -101,7 +101,7 @@ static struct tevent_req *idmap_script_xid2sid_send(
 		    return tevent_req_post(req, ev);
 	}
 
-	state->syscmd = talloc_asprintf(state, "%s %cID %lu", script, key,
+	state->syscmd = talloc_asprintf(state, "%s IDTOSID %cID %lu", script, key,
 					(unsigned long)xid.id);
 	if (tevent_req_nomem(state->syscmd, req)) {
 		return tevent_req_post(req, ev);


-- 
Samba Shared Repository



More information about the samba-cvs mailing list