Use a common function to create the SAM_ACCOUNT being used to add accounts
commitbb79b127e02cefae13c822fd0fd165f1f214b740
authorAndrew Bartlett <abartlet@samba.org>
Tue, 29 Apr 2003 09:43:17 +0000 (29 09:43 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 29 Apr 2003 09:43:17 +0000 (29 09:43 +0000)
treed62d6a66074a1bd7486e056132eb94d5151fd6e4
parent531c2df8d443fde8fafdc95250cb9eb809089d59
Use a common function to create the SAM_ACCOUNT being used to add accounts
to the system.  This means that we always run Get_Pwnam(), and can never add
FOO when foo exists on the system (the idea is to instead add foo into
the passdb, using it's full name, RID etc).

Andrew Bartlett
source/passdb/passdb.c
source/rpc_server/srv_samr_nt.c
source/utils/pdbedit.c