Refactored the code that adds Domain Users to BUILTIN\Users to use the new helper...
authorTim Prouty <tim.prouty@isilon.com>
Thu, 24 Jul 2008 03:33:15 +0000 (20:33 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 30 Jul 2008 21:06:00 +0000 (14:06 -0700)
commitfb41bb762f1d9b1623c4fe6179bebbe4de2e2440
tree22eb1c995c46b125b2eb4bd90b5dd900104f184f
parentf738f9f7c9803933d60a166f4101f5097baab719
Refactored the code that adds Domain Users to BUILTIN\Users to use the new helper functions.

- Modified create_builtin_users to take in the domain sid to reduce the number
of times it needs to be looked up.
- Changed create_builtin_users to call the new helper functions.
- Changed create_local_nt_token to call the new version of create_builtin_users
and handle the new error that can be returned.
(This used to be commit 8d75d40b9f6d22bae7430211f8a1fe99051b756c)
source3/auth/token_util.c