summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-10-08s3:modules: add vfs_dfs_samba4Stefan Metzmacher3-2/+167
This module overloads the SMB_VFS_GET_DFS_REFERRAL() hooks, in order to support the domain, dc and sysvol referrals for a AD DC. The config would look like this: [IPC$] vfs objects = dfs_samba4 metze
2011-10-08s3:msdfs: removed unused variablesStefan Metzmacher1-209/+0
metze
2011-10-08s3:msdfs: implement setup_dfs_referral() on top of SMB_VFS_GET_DFS_REFERRALS()Stefan Metzmacher2-86/+32
metze
2011-10-08s3:vfs: add SMB_VFS_GET_DFS_REFERRAL() hooksStefan Metzmacher6-1/+209
metze
2011-10-08s3:param: add lp_host_msdfs to loadparm_s3_contextStefan Metzmacher1-1/+3
metze
2011-10-08s4:smb_server: implement dfs referral handing on top of ↵Stefan Metzmacher2-812/+54
dfs_server_ad_get_referrals() metze
2011-10-08dfs_server: add generic dfs_server_ad_get_referrals() callStefan Metzmacher4-0/+878
This is a generic function to implement the domain, dc and sysvol DFS referrals. metze
2011-10-08examples/VFS: fix a typo in the READMEMichael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Oct 8 01:42:33 CEST 2011 on sn-devel-104
2011-10-07Fix bug #8509 - Read-only handles on SAMR allow SAMR_DOMAIN_ACCESS_CREATE_USER.Jeremy Allison1-3/+8
Not a security issue as we also check inside _samr_CreateUser2. Thanks to Andreas Schneider <asn@samba.org> for finding and testing this. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Oct 7 21:51:27 CEST 2011 on sn-devel-104
2011-10-07s4:dsdb/password_hash: add DSDB_CONTROL_PASSWORD_BYPASS_LAST_SET_OIDStefan Metzmacher3-1/+42
Which allows the caller to pass a given 'pwdLastSet' value (every useful for migrations). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 7 15:28:13 CEST 2011 on sn-devel-104
2011-10-07Revert "ldb: support raw OIDs in control string parsing"Stefan Metzmacher2-19/+0
This reverts commit ea41860d32d38448e08cefd79d30ee1150317a9e. This is not needed, because we already have the 'local_oid' magic. metze
2011-10-07s4:dbchecker: make use of local_oid controls for dsdb.DSDB_CONTROL_DBCHECKStefan Metzmacher1-1/+1
metze
2011-10-07ldb/ldb_controls: allow oid up to 255 charsStefan Metzmacher1-1/+1
We have char oid[256], so allow sscanf() to consume 255 chars. metze
2011-10-07s4:dsdb: fix the order of DSDB_CONTROL_* defines in samdb.hStefan Metzmacher1-10/+10
This makes clear that struct dsdb_control_password_change belongs to DSDB_CONTROL_PASSWORD_CHANGE_OID. metze
2011-10-07uid_wrapper: Add uwrap_setresuid().Andreas Schneider2-0/+17
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Oct 7 12:04:05 CEST 2011 on sn-devel-104
2011-10-07uid_wrapper: Add uwrap_setregid().Andreas Schneider2-0/+17
2011-10-07uid_wrapper: Add uwrap_setreuid().Andreas Schneider2-0/+17
2011-10-07s4-param copy print_parameter and equal_parameter in from source3Andrew Bartlett1-10/+24
This will allow these functions to be put into lib/param shortly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Oct 7 10:17:01 CEST 2011 on sn-devel-104
2011-10-07s3-param Remove odd formatting to allow code mergeAndrew Bartlett1-18/+18
This code is very old, and has some code styles that we have not used in Samba for a very long time. This fixes up a the extra braces around return values. Andrew Bartlett
2011-10-07s3-param: inline octal_string into caller to allow code mergeAndrew Bartlett1-3/+6
2011-10-07param: Use a bool to hold boolean parametersAndrew Bartlett2-8/+8
All three-state parameters invoking Auto (2) are already declared as integers, not booleans. Andrew Bartlett
2011-10-07s3-param use Auto define for lm_announce defaultAndrew Bartlett1-1/+1
2011-10-07ldb: use ldb directly rather than via a copyAndrew Bartlett8-740/+7
This avoids needing to manually sync the two files, which due to the top level build must be API compatible at all times anyway. The most important recent change was: commit e3b76bd6205acfc1a89fbcab5d9588b32cb47b88 Author: Andrew Tridgell <tridge@samba.org> Date: Thu Jul 28 15:51:31 2011 +1000 ldb: fixed a search expression parse bug However, as we always control the search expression in the callers to this code, no backport to other releases is required. Andrew Bartlett
2011-10-07build: ndrdump is only built with wafAndrew Bartlett1-2/+0
We no longer need an #if (_SAMBA_BUILD >= 4) here. Andrew Bartlett
2011-10-07build: Remove obsolete --enable/disable-merged-buildAndrew Bartlett1-1/+0
All waf builds build everything now. Andrew Bartlett
2011-10-07build: Remove _SAMBA_WAF_BUILD_Andrew Bartlett2-5/+4
The _SAMBA_BUILD_ macro can pick the difference between autoconf and waf builds now Andrew Bartlett
2011-10-07autobuild: Remove s3-waf from autobuildAndrew Bartlett1-8/+1
2011-10-07build: Reduce build systems to just top level waf and autoconfAndrew Bartlett13-447/+49
The s3-waf build system is a key component of the top level build, but with this commit is is no longer available directly. This reduces the number of build system combinations in master as we prepare for the Samba 4.0 release. Andrew Bartlett
2011-10-07s4-dsdb: special case for deleted objects one way linkAndrew Tridgell1-4/+17
we show wellknown links to the deleted objects container Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri Oct 7 07:58:08 CEST 2011 on sn-devel-104
2011-10-07s4-dsdb: don't display links to deleted objectsAndrew Tridgell1-9/+42
unless the user asks for the display of deactivated links, we should not display DNs that link to deleted objects Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-10-07s4-dsdb: fixed one_way_link calculationAndrew Tridgell1-1/+2
we need to check for the other end of the link, not the current linkID Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-10-07s4-dsdb: fixed behaviour of show_deleted and show_recycled controlAndrew Tridgell1-38/+71
to correctly implement the show_deleted and show_recycled control we need to know if the recyclebin is enabled. When not enabled, the isRecycled attribute is ignored, and only isDeleted is used. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-10-07s4-dsdb: fixed the check_optional_feature() callAndrew Tridgell1-19/+24
the dsdb_check_optional_feature() call should look on our own NTDS DN for the enabled feature. This should work for all features, not just for forest wide fetaures. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-10-06s3:lib: remove unused/empty modules.cStefan Metzmacher2-23/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 6 15:23:45 CEST 2011 on sn-devel-104
2011-10-06selftest/Samba3: enable uid wrapper in nmbd, winbindd and smbdStefan Metzmacher1-0/+6
metze Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Oct 6 13:49:05 CEST 2011 on sn-devel-104
2011-10-06s3:configure.developer: add --enable-uid-wrapperStefan Metzmacher1-0/+1
metze Signed-off-by: Andreas Schneider <asn@samba.org>
2011-10-06s3: Use the uid_wrapperVolker Lendecke8-5/+17
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org>
2011-10-06uid_wrapper: We have talloc_array_length, no need for an explicit lengthVolker Lendecke1-9/+9
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-10-06lib/util: consolidate module loadingAndrew Bartlett3-33/+37
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Oct 6 08:52:30 CEST 2011 on sn-devel-104
2011-10-06modules: standardise on samba_init_module as the hook symbol to resolveAndrew Bartlett6-8/+8
2011-10-06lib/util: Use only init_module_fn typedef in module loadingAndrew Bartlett2-3/+2
2011-10-06lib/util: Remove unused module loading functionsAndrew Bartlett2-14/+2
2011-10-06lib/util: consolidate module loading into common codeAndrew Bartlett31-303/+346
This creates a samba-modules private libary that handles the details. Andrew Bartlett
2011-10-06s3-module allow libreplace to provide dlopen replacementAndrew Bartlett1-24/+0
Given that we have replacement dlopen() etc, use this from libreplace. The dlerror() from libreplace gives a good error if the platform really does not have dlopen(). Andrew Bartlett
2011-10-06samba-tool: add support for fixing broken backlinks in dbcheckAndrew Tridgell1-20/+32
this allows dangling backlinks to be removed Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Oct 6 07:08:35 CEST 2011 on sn-devel-104
2011-10-06s4-dsdb: allow deletion of backlinks if DSDB_CONTROL_DBCHECK givenAndrew Tridgell2-1/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-10-06s4-dsdb: added DSDB_CONTROL_DBCHECKAndrew Tridgell3-0/+5
this will be used for overrides by the dbcheck validator Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-10-06ldb: support raw OIDs in control string parsingAndrew Tridgell2-0/+19
this makes it possible to use a raw OID string on the command line or in python scripts Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-10-06ldb: fixed memory leak in control string parsingAndrew Tridgell1-0/+24
if parsing fails, free ctrl Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-10-06s4-dsdb: allow groupType update on deleted objectsAndrew Tridgell1-1/+2
this allows dbcheck to fix groupType on objects that have been deleted Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>