summaryrefslogtreecommitdiff
path: root/testsuite/smbd/sec_ctx1.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/smbd/sec_ctx1.c')
-rw-r--r--testsuite/smbd/sec_ctx1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/smbd/sec_ctx1.c b/testsuite/smbd/sec_ctx1.c
index a6e61d1a32b..ab85ae16e5b 100644
--- a/testsuite/smbd/sec_ctx1.c
+++ b/testsuite/smbd/sec_ctx1.c
@@ -26,8 +26,8 @@ int main (int argc, char **argv)
{
/* Become a non-root user */
- setuid(1);
- setgid(1);
+ samba_setuid(1);
+ samba_setgid(1);
/* Try to push a security context. This should fail with a
smb_assert() error. */