Ignore:
Timestamp:
Jun 4, 2010, 3:11:43 PM (16 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: merged changes from 3.3

Location:
trunk/server/source3/web
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/web/cgi.c

    r414 r454  
    315315        }
    316316
     317
    317318        pwd = getpwnam_alloc(talloc_autofree_context(), user);
    318319        if (!pwd) {
     
    329330        }
    330331        TALLOC_FREE(pwd);
     332
    331333}
    332334
  • trunk/server/source3/web/startstop.c

    r414 r454  
    1919
    2020#include "includes.h"
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
    2132#include "web/swat_proto.h"
    2233#include "dynconfig.h"
     
    3243        }
    3344
     45
     46
     47
     48
     49
    3450        if (fork()) {
    3551                return;
     
    4157        }
    4258        exit(0);
     59
    4360}
    4461
     
    5269        }
    5370
     71
     72
     73
     74
     75
    5476        if (fork()) {
    5577                return;
     
    6183        }
    6284        exit(0);
     85
    6386}
    6487
     
    7295        }
    7396
     97
     98
     99
     100
     101
    74102        if (fork()) {
    75103                return;
     
    81109        }
    82110        exit(0);
     111
    83112}
    84113
     
    91120        if (geteuid() != 0) return;
    92121
     122
     123
     124
     125
     126
     127
    93128        if (pid <= 0) return;
    94129
    95130        kill(pid, SIGTERM);
     131
    96132}
    97133
     
    103139        if (geteuid() != 0) return;
    104140
     141
     142
     143
     144
     145
     146
    105147        if (pid <= 0) return;
    106148
    107149        kill(pid, SIGTERM);
     150
    108151}
    109152#ifdef WITH_WINBIND
     
    115158        if (geteuid() != 0) return;
    116159
     160
     161
     162
     163
     164
     165
    117166        if (pid <= 0) return;
    118167
    119168        kill(pid, SIGTERM);
     169
    120170}
    121171#endif
  • trunk/server/source3/web/swat.c

    r414 r454  
    14371437        load_printers();
    14381438
     1439
    14391440        cgi_setup(get_dyn_SWATDIR(), !demo_mode);
     1441
     1442
     1443
     1444
     1445
     1446
     1447
     1448
     1449
     1450
     1451
    14401452
    14411453        print_header();
Note: See TracChangeset for help on using the changeset viewer.