Networking Forums

Networking Forums > Computer Networking > Linux Networking > Suppose Samba is Working

Reply
Thread Tools Display Modes

Suppose Samba is Working

 
 
W. Watson
Guest
Posts: n/a

 
      01-08-2005, 03:44 AM
I have a Linux box and a XP Pro (with SP2) on it. Suppose Samba is completely
installed and working on the Linux box. I only know that I want to move some txt
files from Linux in ~user1/obsdata2004 to the Win box, and that from Linux I might
want to know dates on some the files in a directory called c:/observer2/data* for
user2. What are the steps and facilities (commands, dialogs) the XP user needs to go
through to grab the txt files for user1 on the Linux box? What are the steps user1
uses to see the dates on the files on the other machine? For example, user one logs
on his user1 account, fires up SWAT, uses command xyz to gain access to user2's
account, uses a open directory on c:/observer2, uses a LIST data* command to list the
files in the directory. I have no idea if SWAT is used in the above or what mechanism
steps/procedure is really used, but can someone give me an idea what the user's
process is to actually do something like the above? Going the other way, what
procedure does one go through on XP to grab the txt files in ~user1/obsdata2004 and
take it into XP somewhere? A web reference that demonstrates similar needs?

--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet

Web Page: <home.earthlink.net/~mtnviews>

 
Reply With Quote
 
 
 
 
Walter Mautner
Guest
Posts: n/a

 
      01-08-2005, 09:53 AM
W. Watson wrote:

> I have a Linux box and a XP Pro (with SP2) on it. Suppose Samba is
> completely installed and working on the Linux box. I only know that I want
> to move some txt files from Linux in ~user1/obsdata2004 to the Win box,
> and that from Linux I might want to know dates on some the files in a
> directory called c:/observer2/data* for user2. What are the steps and
> facilities (commands, dialogs) the XP user needs to go through to grab the
> txt files for user1 on the Linux box? What are the steps user1 uses to see
> the dates on the files on the other machine? For example, user one logs on
> his user1 account, fires up SWAT, uses command xyz to gain access to
> user2's account, uses a open directory on c:/observer2, uses a LIST data*
> command to list the files in the directory. I have no idea if SWAT is used
> in the above or what mechanism steps/procedure is really used, but can
> someone give me an idea what the user's process is to actually do
> something like the above? Going the other way, what procedure does one go
> through on XP to grab the txt files in ~user1/obsdata2004 and take it into
> XP somewhere? A web reference that demonstrates similar needs?
>

You sound a bit confused. Actually, from the windows users perspective, the
samba server should look exactly like a local network of windows machines,
be accessibel vie windows network neighborhood and all.
Of course, Samba has to be configured for that, which includes user accounts
(man smbpasswd) on the server. If samba is compiled with acl support (most
preinstalled packages are) _and_ you have mounted your linux filesystem
with acl support also, a windows admin (who is also admin user in smb.conf)
can even change permissions/add secondary groups and all, resulting in acls
edited on the server like a setfacl would do.
--
Longhorn error#4711: TCPA / NGSCP VIOLATION: Microsoft optical mouse
detected penguin patterns on mousepad. Partition scan in progress
*to*remove*offending*incompatible*products.**Reactivate*MS*software.
Linux woodpecker.homnet.at 2.6.10-mm1[LinuxCounter#295241,ICQ#4918962]
 
Reply With Quote
 
W. Watson
Guest
Posts: n/a

 
      01-08-2005, 11:45 AM
Walter Mautner wrote:

> W. Watson wrote:
>
>
>>I have a Linux box and a XP Pro (with SP2) on it. Suppose Samba is
>>completely installed and working on the Linux box. I only know that I want
>>to move some txt files from Linux in ~user1/obsdata2004 to the Win box,
>>and that from Linux I might want to know dates on some the files in a
>>directory called c:/observer2/data* for user2. What are the steps and
>>facilities (commands, dialogs) the XP user needs to go through to grab the
>>txt files for user1 on the Linux box? What are the steps user1 uses to see
>>the dates on the files on the other machine? For example, user one logs on
>>his user1 account, fires up SWAT, uses command xyz to gain access to
>>user2's account, uses a open directory on c:/observer2, uses a LIST data*
>>command to list the files in the directory. I have no idea if SWAT is used
>>in the above or what mechanism steps/procedure is really used, but can
>>someone give me an idea what the user's process is to actually do
>>something like the above? Going the other way, what procedure does one go
>>through on XP to grab the txt files in ~user1/obsdata2004 and take it into
>>XP somewhere? A web reference that demonstrates similar needs?
>>

>
> You sound a bit confused. Actually, from the windows users perspective, the
> samba server should look exactly like a local network of windows machines,
> be accessibel vie windows network neighborhood and all.
> Of course, Samba has to be configured for that, which includes user accounts
> (man smbpasswd) on the server. If samba is compiled with acl support (most
> preinstalled packages are) _and_ you have mounted your linux filesystem
> with acl support also, a windows admin (who is also admin user in smb.conf)
> can even change permissions/add secondary groups and all, resulting in acls
> edited on the server like a setfacl would do.

Confused? Definitely. Good to know--window side comment. ACL support? What's that?

--
Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA)
(121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time)
Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet

Web Page: <home.earthlink.net/~mtnviews>
 
Reply With Quote
 
Walter Mautner
Guest
Posts: n/a

 
      01-08-2005, 01:44 PM
W. Watson wrote:

.....
> Confused? Definitely. Good to know--window side comment. ACL support?
> What's that?
>

Acls allow multiple owners and groups for a unix file or folder, with each
group/user having different permissions, while the "primary group" still
stays that one a unix/linux "ls -l" will show. Samba translates windows
group/user permission dialog options to create such acls. Most of the time,
the "change" permission will however translate to "full access" on *nix.
You have to activate acl support while mounting your filesystem with
something like
"/dev/md2 /home ext3 noatime,nosuid,noexec,acl,user_xattr,defaults 1 2" in
your /etc/fstab entry. "acl" is the keyword here.
Recent samba versions also allow some translating of "extended attributes".
Well, there is a price: group translations only take place in a domain
environment, which samba supports perfectly with windows clients.
--
Longhorn error#4711: TCPA / NGSCP VIOLATION: Microsoft optical mouse
detected penguin patterns on mousepad. Partition scan in progress
*to*remove*offending*incompatible*products.**Reactivate*MS*software.
Linux woodpecker.homnet.at 2.6.10-mm1[LinuxCounter#295241,ICQ#4918962]
 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      01-08-2005, 03:16 PM
W. Watson wrote:
> I have a Linux box and a XP Pro (with SP2) on it. Suppose Samba is
> completely installed and working on the Linux box. I only know that I
> want to move some txt files from Linux in ~user1/obsdata2004 to the Win
> box, and that from Linux I might want to know dates on some the files in
> a directory called c:/observer2/data* for user2. What are the steps and
> facilities (commands, dialogs) the XP user needs to go through to grab
> the txt files for user1 on the Linux box? What are the steps user1 uses
> to see the dates on the files on the other machine? For example, user
> one logs on his user1 account, fires up SWAT, uses command xyz to gain
> access to user2's account, uses a open directory on c:/observer2, uses a
> LIST data* command to list the files in the directory. I have no idea if
> SWAT is used in the above or what mechanism steps/procedure is really
> used, but can someone give me an idea what the user's process is to
> actually do something like the above? Going the other way, what
> procedure does one go through on XP to grab the txt files in
> ~user1/obsdata2004 and take it into XP somewhere? A web reference that
> demonstrates similar needs?
>


Your primary workstation is Windows?

If yes, you could use the same setup I'm using.

Set up SSH on the Linux machine and use Winscp
<http://winscp.sourceforge.net/eng/index.php>
to manage the files from the Windows computer.

HTH

--

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do all Linux distros have Samba built-in? Detect if Samba installed? Matthew Lincoln Linux Networking 8 11-17-2008 12:11 AM
samba not working with XP cmk128@hotmail.com Linux Networking 1 12-29-2005 12:11 PM
A few questions regarding samba from a samba and windows rookie Madhusudan Singh Linux Networking 0 03-30-2005 05:54 PM
Samba was working, but prompts for log-in from Windows boxes now Ringo Langly Linux Networking 1 11-05-2004 11:59 PM
[Samba] WINS on Samba server and Routing jbob Linux Networking 0 08-13-2003 01:31 AM



1 2 3 4 5 6 7 8 9 10 11