[TriLUG] XP and Samba

Roy Vestal rvestal at trilug.org
Tue Feb 24 16:30:10 EST 2004


Yup. XP Home has the domain connectivity "removed" from it and only the
basic tcpip functions work. This way you can purchase XP Professional
for $$$ and get the domain capability. This is why I recommend to folks
using XP Home to upgrade to Pro. Sorry.

FWIW, 98's domain stuff sucked. But it at least would connect.

On Tue, 2004-02-24 at 10:46, Frye, Matthew wrote:
> I had problems seeing (but mostly accessing) smb shares from XP.  I found
> that my primary issue was usernames.  I had to force XP to call me 'mfrye'
> instead of 'Matt Frye,' because when XP presented my credentials to SMB (at
> that time it was on RH 7.3), it presented me as 'Matt Frye' for which my SMB
> server had no record.  
> Ironically, I discovered this after Microsoft support informed me that by
> upgrading my one single Windows box from 98 to XP (home), I had actually
> lost functionality.  Specifically, the ability to log into a domain.
> Microsoft support insisted that I couldn't use a Linux smb server with XP at
> all.  I also searched high and low on google groups, etc, but mostly found
> that people either bought Microsoft's story or didn't answer.  I have since
> abandoned Windows altogether at home.  
> 
> MPF
> 
> > ----------
> > From: 	Tomm Lorenzin[SMTP:tomm at 1000plus.com]
> > Reply To: 	SkyTomm at 1000plus.com;Triangle Linux Users Group discussion
> > list
> > Sent: 	Monday, February 23, 2004 5:00 PM
> > To: 	'Triangle Linux Users Group discussion list'
> > Subject: 	RE: [TriLUG] XP and Samba
> > 
> > <<File: ATT275834.txt>>
> > Sorry for the delay.  Just got to my e-mail from this past weekend.
> > 
> > I spent HOURS accompanied by much weeping and gnashing of teeth, and a
> > much bloodied (keyboard-struck) forehead before I got this to work.
> > Unfortunately, I tried so many things that - finally - when I could see
> > my Samba shares on XP and vice-versa, I was unable to say what -
> > specifically - did the trick..
> > 
> > May you habe better success.
> > 
> > For what it's worth and on the off-chance that you may still find it
> > helpful, I enclose MY smb.conf for my "1000plus" network/workgroup:
> > 
> > 7;^)
> > Tomm "Aha!" Lorenzin
> > Mooresville (Lake Norman), NC
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >        An epiphany:
> > A chicken crosses the road -
> >    "Poultry in motion."
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Visit me at: http://www.1000plus.com/
> > 
> > 
> > 
> > -----Original Message-----
> > From: trilug-bounces at trilug.org [mailto:trilug-bounces at trilug.org] On
> > Behalf Of Roy Vestal
> > Sent: Saturday, February 21, 2004 21:24
> > To: Triangle Linux Users Group discussion list
> > Subject: Re: [TriLUG] XP and Samba
> > 
> > 
> > To add to Jason's suggestion, create a username map with a user(i.e.
> > smbuser) that has access to the share ONLY. chown someuser(NOT
> > root):smbuser. Then set it chmod 775.
> > 
> > In the smb.conf:
> > 
> > In the [Globals] add:
> > 
> > username map = /path/to/username.map
> > map to guest = bad user
> > security = server (as per Jason)
> > 
> > In the [Share] add:
> > write list = smbuser
> > guest ok = yes
> > read only = no (as per Jason)
> > 
> > Next, create the username.map file and add the line:
> > 
> > smbuser = guest
> > Finally, restart the smb service
> > 
> > This will secure your box from most of the samba hacks but still allow
> > read/write access to the share.
> > 
> > The biggest rule with Samba, keep the smb.conf file as simple as
> > possible. K.I.S.S. is the best rule.
> > 
> > HTH
> > 
> > On Sat, 2004-02-21 at 13:17, Jason Tower wrote:
> > > it sounds like you should be using share level security, not user.  
> > > make
> > > sure your smb.conf says 'security = share', make sure the shares you 
> > > defined are 'read only = no' and chown them to nobody or chmod them to
> > 
> > > 777, either way should work.  restart smbd/nmbd and the other network 
> > > hosts should have full access to them.
> > > 
> > > On Saturday 21 February 2004 12:53, hsc-linux at nc.rr.com wrote:
> > > > I have googled this and come up with tons of "stuff", none of it 
> > > > completely clear or concise. I am trying to connect a XP Pro box to 
> > > > a Samba file share using "user" level security. The Samba server is 
> > > > not a domain controller. All I need it to do is serve up this share 
> > > > so that the XP box can read and write to it. I can see the samba box
> > 
> > > > from the XP station but when I click on it I get an error.
> > > >
> > > > Could someone point me to a link where these challenges specific to 
> > > > XP have been documented? Also, some example smb.conf files would 
> > > > also be helpful. Thanks for all the help.
> > > >
> > > > --
> > > > Hugh
> > 
> > -- 
> > TriLUG mailing list        :
> > http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> > TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
> > 




More information about the TriLUG mailing list