[Samba] variable replacements
rodger at thompsonprint.com
Sat Aug 10 03:55:58 GMT 2002
If I su root, it's the same problem.
They're both linux machines.
>From: Joel Hammer <Joel at HammersHome.com>
>To: David Cougle <dcougle at hotmail.com>, samba at lists.samba.org
>Subject: Re: [Samba] can someone PLEASE tell me how to mount a share with
>all stuff world
>Date: Sun, 4 Aug 2002 19:26:09 -0400
>No ready answer, but .....
>Can you see what user name is being given when the user logs on?
>Here is what I log for each user:
>client machine NetBios name = ahamm002 (%m)
>Primary goup name of U = ftp (%G)
>IP address of client = 192.168.1.3 (%I)
>Netbios name of server = jhammer6 (%L)
>Internet DNS of client= laptop.jhammer.org (%M)
>NIS home directory= jhammer6 (%N)
>Protocal level = NT1 (%R)
>Current time and date= 2002/07/28 15:52:49 (%T)
>Session user name (one the client wanted)= ahamm002 (%U)
>Architecture of remote machine= Win2K (%a)
>Process ID of current server= 28701 (%d)
>Internet DNS hostname of server= jhammer6 (%h)
>Path of services home directory from NIS= (%p)
>Samba version= 2.2.1a (%v)
>Home directory of user in u= /home/ftp (%H)
>Root directory of current service = / (%P)
>Name of current service = public (%S)
>Primary group name of u in share = ftp (%g)
>User name of current service = ftp (%u)
>So, I would log the %u, %H, %U , %G and whatever else you might find of
>interest as people log on. A preexec parameter would be enough, eg:
>preexec = cat %u %H %U %G >> /tmp/logon
>and see what is being assigned. (I use only guest logins, with ftp as the
>I doubt this will offer an easy solution but it might give you data to
>puzzle this out.
>Are there no error in the samba log file?
>Of passing interest, it looks as if my version of samba interprets an XP
>as Win2k. Don't know what that means.
>On Sun, Aug 04, 2002 at 12:59:53PM -0500, David Cougle wrote:
> > Ok, on local machine, everyone can do anything they want in /share and
> > it's files/subdirs
> > On remote machine, everyone can do whatever they want on /share,
> > can do ANYTHING in it's subdirs.
> > >From: Joel Hammer <Joel at HammersHome.com>
> > >To: David Cougle <dcougle at hotmail.com>, samba at lists.samba.org
> > >Subject: Re: [Samba] can someone PLEASE tell me how to mount a share
> > >all stuff world writable?
> > >Date: Fri, 2 Aug 2002 21:36:26 -0400
> > >
> > >You may have to give some more detail.
> > >samba cannot change the permissions on the unix box. Are they
> > >What user cannot do what you need to do?
> > >Joel
> > >
> > >On Fri, Aug 02, 2002 at 07:24:41PM -0500, David Cougle wrote:
> > > > Ok, I do fmask=666 and dmask=777, and the root dir of the share is
> > > > correct, but all subdirs cannot be written to, and if you try to
> > > > a new file, on save, it says, "no such file or directory".
> > > > help?
> > > >
> > > >
> > > >
> > >
> > >--
> > >To unsubscribe from this list go to the following URL and read the
> > >instructions: http://lists.samba.org/mailman/listinfo/samba
> > _________________________________________________________________
> > Send and receive Hotmail on your mobile device: http://mobile.msn.com
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions: http://lists.samba.org/mailman/listinfo/samba
>To unsubscribe from this list go to the following URL and read the
MSN Photos is the easiest way to share and print your photos:
To unsubscribe from this list go to the following URL and read the
More information about the samba