LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Samba questions

[ILUG] Samba questions

Dave Airlie airlied at parthus.com
Tue May 30 11:33:10 IST 2000


> 
> I want to authenticate against the unix passwd file, and this works fine
> from NT/Win2K which allows you to specify a username/passwd. However for
> Win95/98 you can only specify a passwd. A workaround is to change your
> windows username & passwd to the same as the unix box, but this is ugly.
> Are there any other ways of doing this with authentication against
> /etc/passwd ?

Yup, samba has a username map feature, man smb.conf, it allows you do
<username> = winusernanme

for a number of users.. usually works fine ....

> Also does anyone know how to log out of a samba share from an NT/2000 box
> so that you can connect to the same samba share again with a different
> username/passwd? So far the only way I've found of doing this is to logoff
> windows, and back on again. Obviously a right pain...

Hmm disconnect all shares on that server? samba uses a single smbd per
connected NetBIOS name I think, so all shares to that server are put
through it... and a single smbd means a single process with a single UID, 

You might be able to do under WinNT (at least), map network drive and set
the connect as box to the username you want to connect as...

Regards,
	Dave.
-- 
      David Airlie, Software Engineer, Parthus Technologies plc.,
       Mary Rosse Centre, National Tech Park, Limerick, Ireland.
   t: +353-61-508116 / f: +353-61-508101 / David.Airlie at parthus.com





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell