[sllug-members]: Linux and Windows

Mark K. Spute mks at certa.org
Tue Dec 5 09:33:26 MST 2006


On a related note.  I have a linux box on my home network that can see 
my window's shares just fine.  However the windows machines cannot see 
the linux box.  What have I done wrong?



Knight Walker wrote:
> On Mon, 2006-12-04 at 11:16 -0700, Adam Barrett wrote:
> 
>>Hey guys!
>>
>>I am looking for the best way to setup my windows machine to see/talk
>>with my Linux box.
>>
>>For example, I have setup a Samba share but when I try to access it my
>>Windows logins are different than my Linux logins, and so it won't
>>auth.
>>
>>I have been thinking/looking at something like LDAP and Samba, is that
>>the right direction to take?
> 
> 
> You shouldn't have to do that, so save yourself some pain.  In Samba,
> specifically in /etc/samba/smbusers, you can specify the Linux username
> that an SMB username maps to.  E.g. at work (Where my Linux and Windows
> usernames are different, I have something like this:
> 
> linuxuser = DOMAIN\windowsuser
> 
> (Names changed to protect our security)
> 
> You can probably omit the DOMAIN\ part if you're not using one.  You
> will probably also need to setup the SMB password for your account using
> the command smbpasswd -a (linuxuser).  But it's been a while, so I'm not
> 100% sure it's (linuxuser) or (windowsuser), though I'm leaning toward
> the former.
> 
> -KW
> 
> ______________________________________________________________________
> See http://www.sllug.org/ for latest SLLUG news, information, links.
> Join SLLUG and other UT LUG members on irc.FreeNode.net channel #Utah
> sllug-members at sllug.org
> http://www.sllug.org/cgi-bin/mailman/listinfo/sllug-members
> 


More information about the sllug-members mailing list