problem
MCCALL,DON (HP-USA,ex1)
don_mccall at hp.com
Thu May 3 18:25:59 GMT 2001
Hi Karel;
This problem is due to everyone needing to connect to the IPC$ service for
browsing. Every 'service' must have a path, and in the code, the path for
IPC$ (which is a special service) is set to be either whatever the
environment variable TMPDIR was at the time smbd was run
OR /tmp, if the TMPDIR environment variable is not defined.
so when a user comes in to browse (ie doubleclicking the machine name in
network neighborhood, or executing \\servername in the run menu from
'start'), when smbd attempts to vfs_ChDir to /tmp (or in your case
/root/tmp) as anyone other than root, then the unix permissions cause this
to fail.
Typically /tmp is a GOOD default, as it is generally a garbage collection
directory that everyone has access to.
Try setting the environment variable TMPDIR=/tmp (or whatever other
directory you want, that you can guarantee all users have access to) before
you start nmbd/smbd. That should do the trick for you...
Hope this helps,
Don
"Reason, not volume, is the primary
differentiator between a discussion, and an
argument."
-----Original Message-----
From: Bill Moran [mailto:wmoran at iowna.com]
Sent: Thursday, May 03, 2001 3:33 AM
To: Karel Neugebauer jr.
Cc: samba at samba.org
Subject: Re: problem
"Karel Neugebauer jr." wrote:
>
> What samba do in /root/tmp ? If i log to domain from W98 as ordinary user,
I
> must have rwx--x--x root.root for /root/tmp. Why ? Or I do some bad ?
If I understand you correctly, you are complaining that the default
share locations are in /tmp? If not, ignore the rest of this message.
I've complained about this already. I never leave the shares in /tmp. I
think this is something that SWAT does and the default should be
changed. Just change your shares to point to a more appropriate
directory.
-Bill
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list