This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
[tprouty/samba.git] / docs / faq / clientapp.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <HTML
3 ><HEAD
4 ><TITLE
5 >Specific client application problems</TITLE
6 ><META
7 NAME="GENERATOR"
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
9 "><LINK
10 REL="HOME"
11 TITLE="Samba FAQ"
12 HREF="samba-faq.html"><LINK
13 REL="PREVIOUS"
14 TITLE="Configuration problems"
15 HREF="config.html"><LINK
16 REL="NEXT"
17 TITLE="Common errors"
18 HREF="errors.html"></HEAD
19 ><BODY
20 CLASS="CHAPTER"
21 BGCOLOR="#FFFFFF"
22 TEXT="#000000"
23 LINK="#0000FF"
24 VLINK="#840084"
25 ALINK="#0000FF"
26 ><DIV
27 CLASS="NAVHEADER"
28 ><TABLE
29 SUMMARY="Header navigation table"
30 WIDTH="100%"
31 BORDER="0"
32 CELLPADDING="0"
33 CELLSPACING="0"
34 ><TR
35 ><TH
36 COLSPAN="3"
37 ALIGN="center"
38 >Samba FAQ</TH
39 ></TR
40 ><TR
41 ><TD
42 WIDTH="10%"
43 ALIGN="left"
44 VALIGN="bottom"
45 ><A
46 HREF="config.html"
47 ACCESSKEY="P"
48 >Prev</A
49 ></TD
50 ><TD
51 WIDTH="80%"
52 ALIGN="center"
53 VALIGN="bottom"
54 ></TD
55 ><TD
56 WIDTH="10%"
57 ALIGN="right"
58 VALIGN="bottom"
59 ><A
60 HREF="errors.html"
61 ACCESSKEY="N"
62 >Next</A
63 ></TD
64 ></TR
65 ></TABLE
66 ><HR
67 ALIGN="LEFT"
68 WIDTH="100%"></DIV
69 ><DIV
70 CLASS="CHAPTER"
71 ><H1
72 ><A
73 NAME="CLIENTAPP">Chapter 4. Specific client application problems</H1
74 ><DIV
75 CLASS="SECT1"
76 ><H1
77 CLASS="SECT1"
78 ><A
79 NAME="AEN174">4.1. MS Office Setup reports "Cannot change properties of '\MSOFFICE\SETUP.INI'"</H1
80 ><P
81 >When installing MS Office on a Samba drive for which you have admin
82 user permissions, ie. admin users = username, you will find the
83 setup program unable to complete the installation.</P
84 ><P
85 >To get around this problem, do the installation without admin user
86 permissions The problem is that MS Office Setup checks that a file is
87 rdonly by trying to open it for writing.</P
88 ><P
89 >Admin users can always open a file for writing, as they run as root.
90 You just have to install as a non-admin user and then use "chown -R"
91 to fix the owner.</P
92 ></DIV
93 ><DIV
94 CLASS="SECT1"
95 ><H1
96 CLASS="SECT1"
97 ><A
98 NAME="AEN179">4.2. How to use a Samba share as an administrative share for MS Office, etc.</H1
99 ><P
100 >Microsoft Office products can be installed as an administrative installation
101 from which the application can either be run off the administratively installed
102 product that resides on a shared resource, or from which that product can be
103 installed onto workstation clients.</P
104 ><P
105 >The general mechanism for implementing an adminstrative installation involves
106 running <B
107 CLASS="COMMAND"
108 >X:\setup /A</B
109 >, where X is the drive letter of either CDROM or floppy.</P
110 ><P
111 >This installation process will NOT install the product for use per se, but
112 rather results in unpacking of the compressed distribution files into a target
113 shared folder. For this process you need write privilidge to the share and it
114 is desirable to enable file locking and share mode operation during this
115 process.</P
116 ><P
117 >Subsequent installation of MS Office from this share will FAIL unless certain
118 precautions are taken. This failure will be caused by share mode operation
119 which will prevent the MS Office installation process from re-opening various
120 dynamic link library files and will cause sporadic file not found problems.</P
121 ><P
122 ></P
123 ><UL
124 ><LI
125 ><P
126 >As soon as the administrative installation (unpacking) has completed
127 set the following parameters on the share containing it:</P
128 ><P
129 ><PRE
130 CLASS="PROGRAMLISTING"
131 >       [MSOP95]
132                 path = /where_you_put_it
133                 comment = Your comment
134                 volume = "The_CD_ROM_Label"
135                 read only = yes
136                 available = yes
137                 share modes = no
138                 locking = no
139                 browseable = yes
140                 public = yes</PRE
141 ></P
142 ></LI
143 ><LI
144 ><P
145 >Now you are ready to run the setup program from the Microsoft Windows
146 workstation as follows: <B
147 CLASS="COMMAND"
148 >\\"Server_Name"\MSOP95\msoffice\setup</B
149 ></P
150 ></LI
151 ></UL
152 ></DIV
153 ><DIV
154 CLASS="SECT1"
155 ><H1
156 CLASS="SECT1"
157 ><A
158 NAME="AEN194">4.3. Microsoft Access database opening errors</H1
159 ><P
160 >Here are some notes on running MS-Access on a Samba drive from <A
161 HREF="stefank@esi.com.au"
162 TARGET="_top"
163 >Stefan Kjellberg</A
164 ></P
165 ><P
166 ><P
167 ></P
168 ><TABLE
169 BORDER="0"
170 ><TBODY
171 ><TR
172 ><TD
173 >Opening a database in 'exclusive' mode does NOT work. Samba ignores r/w/share modes on file open.</TD
174 ></TR
175 ><TR
176 ><TD
177 >Make sure that you open the database as 'shared' and to 'lock modified records'</TD
178 ></TR
179 ><TR
180 ><TD
181 >Of course locking must be enabled for the particular share (smb.conf)</TD
182 ></TR
183 ></TBODY
184 ></TABLE
185 ><P
186 ></P
187 ></P
188 ></DIV
189 ></DIV
190 ><DIV
191 CLASS="NAVFOOTER"
192 ><HR
193 ALIGN="LEFT"
194 WIDTH="100%"><TABLE
195 SUMMARY="Footer navigation table"
196 WIDTH="100%"
197 BORDER="0"
198 CELLPADDING="0"
199 CELLSPACING="0"
200 ><TR
201 ><TD
202 WIDTH="33%"
203 ALIGN="left"
204 VALIGN="top"
205 ><A
206 HREF="config.html"
207 ACCESSKEY="P"
208 >Prev</A
209 ></TD
210 ><TD
211 WIDTH="34%"
212 ALIGN="center"
213 VALIGN="top"
214 ><A
215 HREF="samba-faq.html"
216 ACCESSKEY="H"
217 >Home</A
218 ></TD
219 ><TD
220 WIDTH="33%"
221 ALIGN="right"
222 VALIGN="top"
223 ><A
224 HREF="errors.html"
225 ACCESSKEY="N"
226 >Next</A
227 ></TD
228 ></TR
229 ><TR
230 ><TD
231 WIDTH="33%"
232 ALIGN="left"
233 VALIGN="top"
234 >Configuration problems</TD
235 ><TD
236 WIDTH="34%"
237 ALIGN="center"
238 VALIGN="top"
239 >&nbsp;</TD
240 ><TD
241 WIDTH="33%"
242 ALIGN="right"
243 VALIGN="top"
244 >Common errors</TD
245 ></TR
246 ></TABLE
247 ></DIV
248 ></BODY
249 ></HTML
250 >