1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

use of dos_mkdir() in generate_sam_sid() should be unix mkdir

This commit is contained in:
Luke Leighton 0001-01-01 00:00:00 +00:00
parent baab308152
commit 16371d8fe1

View File

@ -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;