[sllug-members]: Linux and Windows
Knight Walker
kwalker at kobran.org
Mon Dec 4 11:39:58 MST 2006
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
More information about the sllug-members
mailing list