RE: [SLUG] Samba help for Linux Newbie

From: Ken Elliott (kelliott4@tampabay.rr.com)
Date: Sat Apr 10 2004 - 20:43:36 EDT


I've caught the flu and feeling pretty bad. Thanks for bearing with me...

Thanks to Patrick Grantham and everyone for the Pico suggestion. It looks
better than vi.

Samba:
I did the reg hack on W2K and changed smb.cfig for no password encryption.
Deleted the users, restarted Samba, and recreated the user. No Dice. W2k
is still denied access.

BUT! The Linux box can now use the W2K box's share. So, they are talking
fine, network-wise and smbclient-wise. You guys would beat me like a rented
mule if I settled for a Windows Server and a Linux Client...

On the Linux box, I can smbclient just fine. I can see the "ken" share and
"smb-share" share. So I guess smb is ok.

I'm NOT running DNS on the Linux box. I assumed I didn't need to.

The Linux box somehow knows the name of the W2K box, and the W2K box knows
the name of the Linux box. So the do see each other enough to identify each
other. It appears that I have a permission issue on the Linux box.

Getting close...<evil grin>

Ken Elliott
Clearwater FL 33755

http://web.tampabay.rr.com/kelliott4/
=====================
-----Original Message-----
From: slug@nks.net [mailto:slug@nks.net] On Behalf Of Kwan Lowe
Sent: Saturday, April 10, 2004 4:13 PM
To: slug@nks.net
Subject: RE: [SLUG] Samba help for Linux Newbee

> No Unix on this network, just one W2k and one SuSE Linix box behind a
> DHCP Router.
>
> I ran smbpasswd and tested it with "smbclient //TUX400/ken -U
ken%password".
> Worked fine, I can see all my files. So I figured I'm close, yet at
> the W2K box, the user "ken" cannot get authorized. I assumed the share
"smb-share"
> should be browsable by any account. Gotta be missing some small detail...

Did you test on the local box or across the network? I'm trying to check if
IPTABLES will pass the login but deny actual access. If you want to give it
a shot, try shutting down the Linux iptables (if it's running) temporarily
then try connecting again:

 /sbin/service iptables stop

(not sure of the SuSE equivalent, but it'll be similar)

Also, Win2K will pass the currently logged in user. Generally you should
match the Windows login with the samba login. Try using "Connect as" instead
if it doesn't prompt for a password. If you have the Win2K set up for domain
authentication as its own client (I think this is possible) you may have to
modify a couple other things.

>
> BTW, what's your suggestion for a text editor that will let me edit as SU?
> I'm currently using vi because I haven't figured out how to use any
> other editor when I'm using my regular account and need to edit
> smb.config. Bill Joy once said about vi - "If I had known how popular
> it would become, I never would have created it."

I'm not sure what you're asking here? You should still have access to the
same utilities and editors when you su over to root. It may be some sort of
X11 authorization issue. If this is the case, try:

 (as normal user)
 xhost + localhost
 su
 (enter root password)
 start your editor of choice

>
> Thanks for your assistance.

-- 
* The Digital Hermit   http://www.digitalhermit.com
* Unix and Linux Solutions   kwan@digitalhermit.com
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS).  Views and opinions expressed in messages posted
are those of the author and do not necessarily reflect the official policy
or position of NKS or any of its employees.

--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.651 / Virus Database: 417 - Release Date: 4/5/2004

----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:26:34 EDT