summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd_logonnames.c
diff options
context:
space:
mode:
authorTim Prouty <tim.prouty@isilon.com>2008-07-23 20:42:32 -0700
committerJeremy Allison <jra@samba.org>2008-07-30 14:06:15 -0700
commitbbb02aa8e925774532376b6a6218a4cbbb708c38 (patch)
tree2527938c1150c57f0ec21404447c5170e443c9ea /source3/nmbd/nmbd_logonnames.c
parentfb41bb762f1d9b1623c4fe6179bebbe4de2e2440 (diff)
downloadsamba-bbb02aa8e925774532376b6a6218a4cbbb708c38.tar.gz
samba-bbb02aa8e925774532376b6a6218a4cbbb708c38.tar.bz2
samba-bbb02aa8e925774532376b6a6218a4cbbb708c38.zip
Refactored the code that adds Domain Admins to BUILTIN\Administrators to use the new helper functions.
- Modified create_builtin_administrators and add_builtin_administrators to take in the domain sid to reduce the number of times it needs to be looked up. - Changed create_builtin_administrators to call the new helper functions. - Changed create_local_nt_token to call the new version of create_builtin_administrators and handle the new error that can be returned. - Made it more explicit that add_builtin_administrators is only called when winbindd can't be pinged. (This used to be commit f6411ccb4a1530034e481e1c63b6114a93317b29)
Diffstat (limited to 'source3/nmbd/nmbd_logonnames.c')
0 files changed, 0 insertions, 0 deletions