Samba Domains & Password authenication
c.d.r.hines at reading.ac.uk
Mon Jul 31 10:05:57 GMT 2000
Many thanks for the reply I have recieved on this. Unfortunatly the
password database NIS password database is owned and updated by a
different department so there is no way I can synchronise the
I have tried looking at the domain login code to try to make it work
against nis passwords. I have applied the plain text password registry
change on the NT workstation, modified the source code so that it does not
exit on an invalid password in smbpassword and calls
net_login_inveractive in rpc_server/srv_netlog.c. I was expecting to find
a plain text version of the users password in NET_ID_INFO_1 *id1 which I
could then compare against NIS, however I can't find one.
Is it posible to get a passsword to compare against UNIX password when it
connects to the domain? If so what am I missing.
Many thanks for all your help.
On Thu, 27 Jul 2000, Chris Hines wrote:
> I would like to use samba as an NT domain controller for NT 4 & Windows 9X
> and posibly windows 2000. I have configured samba 2.0.7 and samba NTG as
> domain controllers and they seem to work.
> We wish our users to use a single password accross UNIX & windows which
> are copied from a central NIS map managed by the University. Some time in
> the future the university intends to start and active directory and
> provide us with a windows password server.
> Using the plain text registry update I was hopping to get samba to
> 1) validate machine passwords from the smbpassword file
> 2) validate user passwords from NIS or later from a password server
> Is this posible? Does the samba architure already do this or is there some
> documentation around which would point me to correct region of the code to
> do this?
> As for windows 2000, is samba TNG stable enought to use as a domain
> controller? It seem to work well enought with the two machines I tested
> Many thanks for your help.
More information about the samba-technical