shorten some more lines.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 12:21:04 +0000 (12:21 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 12:21:04 +0000 (12:21 +0000)
source/nsswitch/winbindd_ads.c

index 5e12b0fbb531ae46c59bea23bd622ffb2fef64f3..90b83bccd0b8ab295b9c5315abfaee004b47ccc6 100644 (file)
@@ -597,18 +597,21 @@ static NTSTATUS lookup_usergroups(struct winbindd_domain *domain,
        rc = ads_search_retry_dn(ads, (void**)&msg, user_dn, attrs);
        if (!ADS_ERR_OK(rc)) {
                status = ads_ntstatus(rc);
-               DEBUG(1,("lookup_usergroups(sid=%s) ads_search tokenGroups: %s\n", sid_to_string(sid_string, sid), ads_errstr(rc)));
+               DEBUG(1,("lookup_usergroups(sid=%s) ads_search tokenGroups: %s\n", 
+                        sid_to_string(sid_string, sid), ads_errstr(rc)));
                goto done;
        }
        
        if (!msg) {
-               DEBUG(1,("lookup_usergroups(sid=%s) ads_search tokenGroups: NULL msg\n", sid_to_string(sid_string, sid)));
+               DEBUG(1,("lookup_usergroups(sid=%s) ads_search tokenGroups: NULL msg\n", 
+                        sid_to_string(sid_string, sid)));
                status = NT_STATUS_UNSUCCESSFUL;
                goto done;
        }
 
        if (!ads_pull_uint32(ads, msg, "primaryGroupID", &primary_group_rid)) {
-               DEBUG(1,("%s: No primary group for sid=%s !?\n", domain->name, sid_to_string(sid_string, sid)));
+               DEBUG(1,("%s: No primary group for sid=%s !?\n", 
+                        domain->name, sid_to_string(sid_string, sid)));
                goto done;
        }
 
@@ -676,7 +679,8 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain,
        uint32 current_usn;
        int num_retries = 0;
 
-       DEBUG(10,("ads: lookup_groupmem %s sid=%s\n", domain->name, sid_string_static(group_sid)));
+       DEBUG(10,("ads: lookup_groupmem %s sid=%s\n", domain->name, 
+                 sid_string_static(group_sid)));
 
        *num_names = 0;
 
@@ -737,13 +741,15 @@ static NTSTATUS lookup_groupmem(struct winbindd_domain *domain,
                }
 
                if (first_usn != current_usn) {
-                       DEBUG(5, ("ads: lookup_groupmem USN on this record changed - restarting search\n"));
+                       DEBUG(5, ("ads: lookup_groupmem USN on this record changed"
+                                 " - restarting search\n"));
                        if (num_retries < 5) {
                                num_retries++;
                                num_members = 0;
                                continue;
                        } else {
-                               DEBUG(5, ("ads: lookup_groupmem USN on this record changed - restarted search too many times, aborting!\n"));
+                               DEBUG(5, ("ads: lookup_groupmem USN on this record changed"
+                                         " - restarted search too many times, aborting!\n"));
                                status = NT_STATUS_UNSUCCESSFUL;
                                goto done;
                        }
@@ -857,7 +863,8 @@ static NTSTATUS trusted_domains(struct winbindd_domain *domain,
        }
        
        if ( NT_STATUS_IS_OK(result) )
-               result = cli_ds_enum_domain_trusts( cli, mem_ctx, cli->desthost, flags, &domains, (unsigned int *)&count );
+               result = cli_ds_enum_domain_trusts( cli, mem_ctx, cli->desthost, 
+                                                   flags, &domains, (unsigned int *)&count );
        
        if ( NT_STATUS_IS_OK(result) && count) {