The branch, v4-21-test has been updated
       via  81e5b025498 s3:net: fix "net ads group"
      from  1f8a549ec8e winbindd: use find_domain_from_name_noinit() in 
find_dns_domain_name()

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-21-test


- Log -----------------------------------------------------------------
commit 81e5b025498c7bded55399aa848d521ff9f7e02a
Author: MikeLiu <[email protected]>
Date:   Fri Aug 29 17:31:36 2025 +0800

    s3:net: fix "net ads group"
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=15900
    
    Signed-off-by: MikeLiu <[email protected]>
    Reviewed-by: Volker Lendecke <[email protected]>
    Reviewed-by: Noel Power <[email protected]>
    
    Autobuild-User(master): Volker Lendecke <[email protected]>
    Autobuild-Date(master): Thu Sep  4 09:33:27 UTC 2025 on atb-devel-224
    
    (cherry picked from commit 8738fa1cc42d913e3ab2b54fe1e75ca4da37073f)
    
    Autobuild-User(v4-21-test): Jule Anger <[email protected]>
    Autobuild-Date(v4-21-test): Mon Sep  8 22:04:45 UTC 2025 on atb-devel-224

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

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


Changeset truncated at 500 lines:

diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 9ba7afe1e04..4778c6d9cf4 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -1353,7 +1353,7 @@ int net_ads_group(struct net_context *c, int argc, const 
char **argv)
        char *disp_fields[2] = {NULL, NULL};
        int ret = -1;
 
-       if (argc >= 0) {
+       if (argc > 0) {
                TALLOC_FREE(tmp_ctx);
                return net_run_function(c, argc, argv, "net ads group", func);
        }


-- 
Samba Shared Repository

Reply via email to