Use a common function to create the SAM_ACCOUNT being used to add accounts
authorAndrew Bartlett <abartlet@samba.org>
Tue, 29 Apr 2003 09:43:17 +0000 (09:43 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 29 Apr 2003 09:43:17 +0000 (09:43 +0000)
commit281d95e2f35f8276d23d075d6e528d16eda9fadc
tree9b91d5842a743bf3135e91a3942b76a173e1fd13
parente3ae1a2f2398e8fa107673e83f75675629938d75
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
(This used to be commit bb79b127e02cefae13c822fd0fd165f1f214b740)
source3/passdb/passdb.c
source3/rpc_server/srv_samr_nt.c
source3/utils/pdbedit.c