Samba 3 support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1312 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
f94daedd27
commit
157777ef3e
4
vl.c
4
vl.c
@ -1538,6 +1538,9 @@ void net_slirp_smb(const char *exported_dir)
|
|||||||
}
|
}
|
||||||
fprintf(f,
|
fprintf(f,
|
||||||
"[global]\n"
|
"[global]\n"
|
||||||
|
"private dir=%s\n"
|
||||||
|
"smb ports=0\n"
|
||||||
|
"socket address=127.0.0.1\n"
|
||||||
"pid directory=%s\n"
|
"pid directory=%s\n"
|
||||||
"lock directory=%s\n"
|
"lock directory=%s\n"
|
||||||
"log file=%s/log.smbd\n"
|
"log file=%s/log.smbd\n"
|
||||||
@ -1551,6 +1554,7 @@ void net_slirp_smb(const char *exported_dir)
|
|||||||
smb_dir,
|
smb_dir,
|
||||||
smb_dir,
|
smb_dir,
|
||||||
smb_dir,
|
smb_dir,
|
||||||
|
smb_dir,
|
||||||
exported_dir
|
exported_dir
|
||||||
);
|
);
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
Loading…
Reference in New Issue
Block a user