summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/sids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/sids.c b/source3/lib/sids.c
index 07c7d0823e..7eb968a435 100644
--- a/source3/lib/sids.c
+++ b/source3/lib/sids.c
@@ -311,7 +311,7 @@ BOOL generate_sam_sid(char *domain_name)
}
if (!directory_exist(sid_file, NULL)) {
- if (dos_mkdir(sid_file, 0700) != 0) {
+ if (mkdir(sid_file, 0700) != 0) {
DEBUG(0,("can't create private directory %s : %s\n",
sid_file, strerror(errno)));
return False;