diff options
author | Gerald Carter <jerry@samba.org> | 2005-06-15 19:28:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:57:17 -0500 |
commit | e9e00ee9c2e6dad86d57a858e71caf2066070c8f (patch) | |
tree | 80f290ff74de685904344d47d1814834b7d4ad4e /source3/smbd | |
parent | df4f8fc1c67e9d967f712ecd18d08035469a7a49 (diff) | |
download | samba-e9e00ee9c2e6dad86d57a858e71caf2066070c8f.tar.gz samba-e9e00ee9c2e6dad86d57a858e71caf2066070c8f.tar.bz2 samba-e9e00ee9c2e6dad86d57a858e71caf2066070c8f.zip |
r7620: when adding a new printer driver, we should copy the files
(not move) to the W32X86/{2,3}/ directory. Printmig.exe
copies the driver files for all drivers to print$/W32X86
and the calls AddPrinterDriver() for each driver. If we
move the file, then adding a driver which shares a file with
a previous driver will fail.
I can now restore drivers in bulk to a Samba 3 server.
(This used to be commit 46cd95c9b48a00a51139d3654352d4399b774a9b)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 95de3a3469..d49823bea5 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -4482,7 +4482,7 @@ int reply_mv(connection_struct *conn, char *inbuf,char *outbuf, int dum_size, Copy a file as part of a reply_copy. ******************************************************************/ -static BOOL copy_file(char *src,char *dest1,connection_struct *conn, int ofun, +BOOL copy_file(char *src,char *dest1,connection_struct *conn, int ofun, int count,BOOL target_is_directory, int *err_ret) { int Access,action; |