Last change
on this file since 270 was 206, checked in by Herwig Bauernfeind, 16 years ago |
Import Samba 3.3 branch at 3.0.0 level (psmedley's port)
|
File size:
696 bytes
|
Line | |
---|
1 | ***************
|
---|
2 | *** 282,293 ****
|
---|
3 | {
|
---|
4 | struct cli_state *cli = NULL;
|
---|
5 |
|
---|
6 | /* Check the effective uid - make sure we are not setuid */
|
---|
7 | if (is_setuid_root()) {
|
---|
8 | DEBUG(0,("libsmb based programs must *NOT* be setuid root.\n"));
|
---|
9 | return NULL;
|
---|
10 | }
|
---|
11 | -
|
---|
12 | cli = SMB_MALLOC_P(struct cli_state);
|
---|
13 | if (!cli) {
|
---|
14 | return NULL;
|
---|
15 | --- 282,294 ----
|
---|
16 | {
|
---|
17 | struct cli_state *cli = NULL;
|
---|
18 |
|
---|
19 | + #ifndef __OS2__
|
---|
20 | /* Check the effective uid - make sure we are not setuid */
|
---|
21 | if (is_setuid_root()) {
|
---|
22 | DEBUG(0,("libsmb based programs must *NOT* be setuid root.\n"));
|
---|
23 | return NULL;
|
---|
24 | }
|
---|
25 | + #endif
|
---|
26 | cli = SMB_MALLOC_P(struct cli_state);
|
---|
27 | if (!cli) {
|
---|
28 | return NULL;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.