1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3
Tim Prouty 097b27dbcc Enabled domain groups to be added to builtin groups at domain join time
Previously this was done at token creation time if the Administrators and Users
builtins hadn't been created yet.  A major drawback to this approach is that if
a customer is joined to a domain and decides they want to join a different
domain, the domain groups from this new domain will not be added to the
builtins.

It would be ideal if these groups could be added exclusively at domain join
time, but we can't rely solely on that because there are cases where winbindd
must be running to allocate new gids for the builtins.  In the future if there
is a way to allocate gids for builtins without running winbindd, this code
can be removed from create_local_nt_token.

- Made create_builtin_users and create_builtin_administrators non-static so
they can be called from libnet
- Added a new function to libnet_join that will make a best effort to add
domain administrators and domain users to BUILTIN\Administrators and
BUILTIN\Users, respectively.  If the builtins don't exist yet, winbindd must be
running to allocate new gids, but if the builtins already exist, the domain
groups will be added even if winbindd is not running.  In the case of a
failure the error will be logged, but the join will not be failed.
- Plumbed libnet_join_add_dom_rids_to_builtins into the join post processing.
(This used to be commit e92faf5996)
2008-07-30 14:06:36 -07:00
..
auth Enabled domain groups to be added to builtin groups at domain join time 2008-07-30 14:06:36 -07:00
client cifs.upcall was not recognizing the newer name "dns_resolver" key type 2008-07-24 09:32:53 -05:00
codepages
exports build: fix build of libaddns shared lib. symbols file was missing. 2008-07-11 14:39:30 +02:00
groupdb Add fix from Simo for bug #5540 - missing code to substitute 2008-07-14 12:40:33 -07:00
include Enabled domain groups to be added to builtin groups at domain join time 2008-07-30 14:06:36 -07:00
iniparser
iniparser_build
intl use tdb_wipe_all() instead of tdb_wipe() - it is faster... 2008-03-26 10:50:35 +01:00
lib netapi: add NetGroupGetUsers example code. 2008-07-30 16:55:19 +02:00
libaddns Fix an uninitialized variable, Coverity ID 481 2008-03-06 11:47:31 +01:00
libads kerberos: make smb_krb5_kt_add_entry() static. 2008-07-18 16:42:55 +02:00
libcli/nbt Fix a bogus uninitialized variable warning in IDL-based nbt code 2008-04-19 17:56:35 +02:00
libgpo Cleanup size_t return values in callers of convert_string_allocate 2008-05-20 22:40:13 +02:00
libnet Enabled domain groups to be added to builtin groups at domain join time 2008-07-30 14:06:36 -07:00
librpc re-run make idl. 2008-07-30 16:54:58 +02:00
libsmb Remove one reference to PI_LSARPC 2008-07-21 14:36:30 +02:00
locking Fix alignment problems on sparc, bug 5512 2008-07-09 20:47:31 +02:00
m4 Add --enable-picky-developer 2008-07-22 15:00:48 +02:00
modules Fix the build of vfs_zfsacl.c 2008-07-18 17:53:58 +02:00
nmbd nmbd: untangle logic in nmbd_messaging_context() slightly. 2008-06-26 12:31:11 +02:00
nsswitch build: fix some no previous prototype warnings. 2008-07-30 18:10:46 +02:00
pam_smbpass Ensure consistent use of pdb_get_nt_passwd instead of pdb_get_lanman_passwd. 2008-07-02 10:51:45 -07:00
param testparm: Display warning if invalid values are used. 2008-07-30 16:31:09 +02:00
passdb pdb_interface: Fix typo in debug message. 2008-07-29 12:05:40 +02:00
pkgconfig libwbclient: add wbclient.pc.in 2008-01-15 10:43:43 +01:00
po po/genmsg: be more portable, use 'printf "%s"' instead of 'echo -n' 2008-04-01 16:16:55 +02:00
popt
printing Allow %u parameters for print job username - use advanced sub 2008-07-16 12:37:48 -04:00
profile Yay ! Remove a VFS entry. Removed the set_nt_acl() call, 2008-05-08 18:09:07 -07:00
registry registry: bump debug level to 1 in regdb_init() if storing version string fails. 2008-07-15 14:25:00 +02:00
rpc_client rpc_client: Bug 5616 - fix session keys also in rpccli_netr_LogonSamLogonEx wrapper. 2008-07-30 19:14:00 +02:00
rpc_parse rpc_parse: Unify spoolss debug messages. 2008-07-22 21:46:14 +02:00
rpc_server Fix srvsvc_Net[Get|Set]FileSecurity 2008-07-27 17:59:15 +02:00
rpcclient rpcclient: Set the pid filed of the outgoing DsBindInfo to 0. 2008-07-28 14:08:34 +02:00
script testsuite: fix expr error on Tru64, triggered by uninitialized failed variable. 2008-07-21 11:23:55 +02:00
services Revert "Fix a memleak in svcctl_init_keys()" 2008-06-18 16:31:35 +02:00
smbd Fix a debug message 2008-07-27 18:41:19 +02:00
stf
tests configure: remove unused configure check for HAVE_WORKING_AF_LOCAL 2008-05-17 13:18:31 +02:00
torture Revert "Pass NULL to gencache_get when we are not interested in the timeout value" 2008-07-11 17:53:25 +02:00
utils Fix warnings on FreeBSD-based platforms 2008-07-22 15:00:48 +02:00
web Fix swat. Bug #5613. 2008-07-15 14:37:48 -07:00
winbindd winbindd: handle trusted domains without sid. 2008-07-30 17:09:58 +02:00
.dmallocrc
.indent.pro [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch. 2007-10-10 15:34:30 -05:00
autogen.sh Remove references to SVN. 2008-06-17 10:43:19 +02:00
change-log
config.guess
config.sub
configure.developer use nss_wrapper code in samba3 when --enable-nss-wrapper is given 2007-11-09 09:52:58 +01:00
configure.in Check for f_frsize when using statvfs 2008-07-22 15:00:48 +02:00
Doxyfile [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch. 2007-10-10 15:34:30 -05:00
dynconfig.c popt: Use SMB_CONF_PATH environment var if no other configfile is set. 2008-02-04 17:41:23 +01:00
install-sh
mainpage.dox
Makefile.in Make DSO_EXPORTS_CMD regexp more POSIX compliant 2008-07-22 15:00:48 +02:00
smbadduser.in
VERSION Simplify samba_version_string. 2008-07-17 14:16:19 +02:00