summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3:utils: avoid '//' commentsStefan Metzmacher2011-10-082-2/+2
| | | | | | The compiler on openindiana doesn't like them. metze
* s3:lib/netapi: avoid '//' commentsStefan Metzmacher2011-10-082-3/+3
| | | | | | The compiler on openindiana doesn't like them. metze
* dnsserver.idl: avoid '//' commentsStefan Metzmacher2011-10-081-180/+180
| | | | | | The compiler on openindiana doesn't like them. metze
* build: build wbinfo only once in the waf buildAndrew Bartlett2011-10-084-14/+7
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Oct 8 04:52:03 CEST 2011 on sn-devel-104
* build: remove double-setting of build_public_headersAndrew Bartlett2011-10-081-3/+0
| | | | | | The top level build already sets this, so we do not need to set it twice. Andrew Bartlett
* build: s3 public headers appear to be correct nowAndrew Bartlett2011-10-081-3/+0
| | | | | | | The build now passes without this setting, so remove it to ensure we do this check in future. Andrew Bartlett
* selftest: run dfs tests on plugin_s4_dcStefan Metzmacher2011-10-082-0/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Oct 8 03:18:54 CEST 2011 on sn-devel-104
* s3:modules: add vfs_dfs_samba4Stefan Metzmacher2011-10-083-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
* s3:msdfs: removed unused variablesStefan Metzmacher2011-10-081-209/+0
| | | | metze
* s3:msdfs: implement setup_dfs_referral() on top of SMB_VFS_GET_DFS_REFERRALS()Stefan Metzmacher2011-10-082-86/+32
| | | | metze
* s3:vfs: add SMB_VFS_GET_DFS_REFERRAL() hooksStefan Metzmacher2011-10-086-1/+209
| | | | metze
* s3:param: add lp_host_msdfs to loadparm_s3_contextStefan Metzmacher2011-10-081-1/+3
| | | | metze
* s4:smb_server: implement dfs referral handing on top of ↵Stefan Metzmacher2011-10-082-812/+54
| | | | | | dfs_server_ad_get_referrals() metze
* dfs_server: add generic dfs_server_ad_get_referrals() callStefan Metzmacher2011-10-084-0/+878
| | | | | | | This is a generic function to implement the domain, dc and sysvol DFS referrals. metze
* examples/VFS: fix a typo in the READMEMichael Adam2011-10-081-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Oct 8 01:42:33 CEST 2011 on sn-devel-104
* Fix bug #8509 - Read-only handles on SAMR allow SAMR_DOMAIN_ACCESS_CREATE_USER.Jeremy Allison2011-10-071-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
* s4:dsdb/password_hash: add DSDB_CONTROL_PASSWORD_BYPASS_LAST_SET_OIDStefan Metzmacher2011-10-073-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
* Revert "ldb: support raw OIDs in control string parsing"Stefan Metzmacher2011-10-072-19/+0
| | | | | | | | This reverts commit ea41860d32d38448e08cefd79d30ee1150317a9e. This is not needed, because we already have the 'local_oid' magic. metze
* s4:dbchecker: make use of local_oid controls for dsdb.DSDB_CONTROL_DBCHECKStefan Metzmacher2011-10-071-1/+1
| | | | metze
* ldb/ldb_controls: allow oid up to 255 charsStefan Metzmacher2011-10-071-1/+1
| | | | | | We have char oid[256], so allow sscanf() to consume 255 chars. metze
* s4:dsdb: fix the order of DSDB_CONTROL_* defines in samdb.hStefan Metzmacher2011-10-071-10/+10
| | | | | | | This makes clear that struct dsdb_control_password_change belongs to DSDB_CONTROL_PASSWORD_CHANGE_OID. metze
* uid_wrapper: Add uwrap_setresuid().Andreas Schneider2011-10-072-0/+17
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Fri Oct 7 12:04:05 CEST 2011 on sn-devel-104
* uid_wrapper: Add uwrap_setregid().Andreas Schneider2011-10-072-0/+17
|
* uid_wrapper: Add uwrap_setreuid().Andreas Schneider2011-10-072-0/+17
|
* s4-param copy print_parameter and equal_parameter in from source3Andrew Bartlett2011-10-071-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
* s3-param Remove odd formatting to allow code mergeAndrew Bartlett2011-10-071-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
* s3-param: inline octal_string into caller to allow code mergeAndrew Bartlett2011-10-071-3/+6
|
* param: Use a bool to hold boolean parametersAndrew Bartlett2011-10-072-8/+8
| | | | | | | All three-state parameters invoking Auto (2) are already declared as integers, not booleans. Andrew Bartlett
* s3-param use Auto define for lm_announce defaultAndrew Bartlett2011-10-071-1/+1
|
* ldb: use ldb directly rather than via a copyAndrew Bartlett2011-10-078-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
* build: ndrdump is only built with wafAndrew Bartlett2011-10-071-2/+0
| | | | | | We no longer need an #if (_SAMBA_BUILD >= 4) here. Andrew Bartlett
* build: Remove obsolete --enable/disable-merged-buildAndrew Bartlett2011-10-071-1/+0
| | | | | | All waf builds build everything now. Andrew Bartlett
* build: Remove _SAMBA_WAF_BUILD_Andrew Bartlett2011-10-072-5/+4
| | | | | | The _SAMBA_BUILD_ macro can pick the difference between autoconf and waf builds now Andrew Bartlett
* autobuild: Remove s3-waf from autobuildAndrew Bartlett2011-10-071-8/+1
|
* build: Reduce build systems to just top level waf and autoconfAndrew Bartlett2011-10-0713-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
* s4-dsdb: special case for deleted objects one way linkAndrew Tridgell2011-10-071-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
* s4-dsdb: don't display links to deleted objectsAndrew Tridgell2011-10-071-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>
* s4-dsdb: fixed one_way_link calculationAndrew Tridgell2011-10-071-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>
* s4-dsdb: fixed behaviour of show_deleted and show_recycled controlAndrew Tridgell2011-10-071-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>
* s4-dsdb: fixed the check_optional_feature() callAndrew Tridgell2011-10-071-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>
* s3:lib: remove unused/empty modules.cStefan Metzmacher2011-10-062-23/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Oct 6 15:23:45 CEST 2011 on sn-devel-104
* selftest/Samba3: enable uid wrapper in nmbd, winbindd and smbdStefan Metzmacher2011-10-061-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
* s3:configure.developer: add --enable-uid-wrapperStefan Metzmacher2011-10-061-0/+1
| | | | | | metze Signed-off-by: Andreas Schneider <asn@samba.org>
* s3: Use the uid_wrapperVolker Lendecke2011-10-068-5/+17
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org>
* uid_wrapper: We have talloc_array_length, no need for an explicit lengthVolker Lendecke2011-10-061-9/+9
| | | | Signed-off-by: Andreas Schneider <asn@samba.org>
* lib/util: consolidate module loadingAndrew Bartlett2011-10-063-33/+37
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Oct 6 08:52:30 CEST 2011 on sn-devel-104
* modules: standardise on samba_init_module as the hook symbol to resolveAndrew Bartlett2011-10-066-8/+8
|
* lib/util: Use only init_module_fn typedef in module loadingAndrew Bartlett2011-10-062-3/+2
|
* lib/util: Remove unused module loading functionsAndrew Bartlett2011-10-062-14/+2
|
* lib/util: consolidate module loading into common codeAndrew Bartlett2011-10-0631-303/+346
| | | | | | This creates a samba-modules private libary that handles the details. Andrew Bartlett