From: Dave Airlie (airlied at domain parthus.com)
Date: Tue 30 May 2000 - 11:33:10 IST
> 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...
-- 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 domain parthus.com
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:18 GMT