The branch, master has been updated
       via  908b1f9 passdb: Fix the O3 developer build
      from  143e7d3 lib/util: Make ECHILD in samba_runcmd_io_handler an error

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


- Log -----------------------------------------------------------------
commit 908b1f9634353e0989c91abc7de11ffc5732552b
Author: Volker Lendecke <[email protected]>
Date:   Mon Mar 16 07:45:28 2015 +0100

    passdb: Fix the O3 developer build
    
    Signed-off-by: Volker Lendecke <[email protected]>
    Reviewed-by: Stefan Metzmacher <[email protected]>
    
    Autobuild-User(master): Stefan Metzmacher <[email protected]>
    Autobuild-Date(master): Tue Mar 17 11:29:38 CET 2015 on sn-devel-104

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

Summary of changes:
 source3/passdb/pdb_interface.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index b8247f2..3a3fe2e 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -1505,8 +1505,8 @@ static bool pdb_default_sid_to_id(struct pdb_methods 
*methods,
        if (sid_peek_check_rid(get_global_sam_sid(), sid, &rid)) {
                const char *name;
                enum lsa_SidType type;
-               uid_t uid;
-               gid_t gid;
+               uid_t uid = (uid_t)-1;
+               gid_t gid = (gid_t)-1;
                /* Here we might have users as well as groups and aliases */
                ret = lookup_global_sam_rid(mem_ctx, rid, &name, &type, &uid, 
&gid);
                if (ret) {


-- 
Samba Shared Repository

Reply via email to