[TriLUG] RHL9 WindozeXpPro->Samba setup

Carlos J. Cela ccela at nc.rr.com
Fri Aug 22 19:41:04 EDT 2003


Tomm,

I had the same issue at first - took me a couple of days to make it 
work. Make sure you are using a samba-server package version 2.2.5 or 
later.

Windows XP does behaves different than Win2K as far a Samba is 
concerned. They added some sort of twisted handshake that looks like an 
error to earlier Samba versions. Details are explained somewhere in the 
Samba release notes.

The setup I have at my office is working fine with about half a dozen of 
XP clients on that Samba version. I am running this on a Mandrake Linux 
with V2.4.3-20mdk kernel.

My smb.conf file has the following entries:

[global]
client code page = 437
netbios name = (name of the linux PC)
encrypt passwords = Yes
passwd chat = (leave the default here)
passwd  program = (leave the default here)
unix password sync = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 0
security = user
dns proxy = No
hosts allow = 192.168.200.  127.0.0.
restrict anonymous = True
bind interfaces only = True
interfaces = eth0

[tomm_share]
path= (path to your share, i.e: /home/tomm/shared)
writeable=Yes
write list= tomm
valid users= tomm
user only = Yes
force user = root
dos filetime resolution=True

You might want to read the Samba documentation on the entries used above 
and play a little with the values. Some of the entries are probably not 
necessary.... also, you need create a Linux user (let's say 'tomm' - do 
not use root) for you to log into the linux box and then create a 
matching Samba user by using:

smbpasswd -a usr psw

Make sure that the usr and psw matches the one you use to log on linux 
or it will not work.  Restart Samba by issuing a:

samba stop
samba start

and you should be good to go...
Carlos


Tomm Lorenzin wrote:

>I have been bangin' on this for-f**king-EVER, searching for help until I'm
>GOOGLE-eyed.  Lots o' suggestions available, but none seem to be the magic
>bullet.  I can see my windoze shares on the RHL box (machine-name =
>"roundheels" - so-named 'cuz installation of RHL9 proceeded so smoothly and
>made itself visible on my home LAN semi-automagically.  My previous
>unsatisfactory experience w/ RHL 7.1 on a pigdog box was experientially
>named "tarbaby")
>
>This is a home peer-to-peer LAN - no domain or PDC involved.  But, no matter
>what suggestions I try, I can't see my Linux shares on the XpPro box despite
>the fact that the Linux box (\\roundheels) shows up in my windoze "network
>places."  When I dbl-clk on it, I get: 
>
>"\\roundheels is not accessible. You might not have permissions to use this
>network resource. Contact the administrator of this server to see if you
>have network permissions. The network path was not found." 
>
>I have "contact"ed myself all over to no avail. <G>  I have modified my
>smb.conf until it looks like the NY phone book.  The linux shares are
>visible on the linux box. I can see my windoze shares on the linux box, so
>the issue is more-or-less moot as far as file-xfer goes, BUT... <grrrr!>  I
>have had the assistance of countless experts and suggestions as to how to
>modify the smb.conf appropriately. I have even modified my WinRegistry. I
>have reached the conclusion that "windoze ain't done 'til Samba won't run."
>
>Does anyone have Samba shares visible successfully in WinXPpro?  What are
>you smoking?  Can I have a hit?
>
>Cheers!
>Tomm "naughty boy" Lorenzin
>Mooresville (Lake Norman), NC
>SkyTomm(a)1000plus.com
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>So he stood in his shoes
>   And he wonder'd,t
>   He wonder'd,
>He stood in his
>   Shoes and he wonder'd.
>              ~ John Keats
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Visit me at: http://www.1000plus.com/
> 
>
>  
>





More information about the TriLUG mailing list