summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
* s4/getncchanges: Fail extended request rather than failing whole requestKamen Mazdrashki2011-05-111-1/+3
| | | | in case that destination_dsa_guid is not valid
* build: Remove --disable-s3build so we can rely on these subsystemsAndrew Bartlett2011-05-091-6/+1
| | | | | | | | | This will make it easier to write code that uses the whole codebase. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 12:25:33 CEST 2011 on sn-devel-104
* selftest: Test both users created in plugin_s4_dc environmentAndrew Bartlett2011-05-091-0/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon May 9 06:10:52 CEST 2011 on sn-devel-104
* selftest: Polish selftest-vars.sh a little so it can be used againKamen Mazdrashki2011-05-081-10/+14
| | | | | Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Sun May 8 22:50:01 CEST 2011 on sn-devel-104
* s4-selftest Add tests for proxy_samba4_dcAndrew Bartlett2011-05-081-0/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 8 20:03:45 CEST 2011 on sn-devel-104
* ncalrpc: Force ncalrpc dir to be mode 755 in all usersAndrew Bartlett2011-05-081-0/+7
| | | | | | | This allows this directory to be shared between Samba3 and Samba4 in a Franky-style setup easily. Andrew Bartlett
* s4-dsdb Add transactions to dsdb modify helpersAndrew Bartlett2011-05-081-0/+18
|
* s4-samr Remove incorrect transaction_cancel() in error pathAndrew Bartlett2011-05-081-1/+0
| | | | | | The transactions are now handled entirely within dsdb_add_user() Andrew Bartlett
* s4-param cope with doulbe-parsing of -foo and +foo listsAndrew Bartlett2011-05-081-3/+9
| | | | | | | For some reason these lists are parsed twice, and so any -foo was failing as it was already removed the first time. Andrew Bartlett
* s4-interfaces: keep interfaces in the order they were declaredAndrew Tridgell2011-05-081-1/+5
| | | | | | | | | the spoolss notify test depends on the interfaces order Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sun May 8 13:57:58 CEST 2011 on sn-devel-104
* s4-interfaces Rename interfaces code so not to conflict with source3/Andrew Bartlett2011-05-0828-113/+113
| | | | | | | | | The iface_count, iface_n_bcast, and load_interfaces functions conflicted with functions of the same name in source3, so the source4 functions were renamed. Hopefully we can actually wrap one around the other in future. Andrew Bartlett
* lib/socket move interfaces code to the top levelAndrew Bartlett2011-05-083-334/+6
|
* s4-lib/socket Samba4 is not IPv6 compatibleAndrew Bartlett2011-05-081-0/+5
| | | | | | | | | Don't add IPv6 interfaces until we actually support them. I'll soon have IPv6 service at home, and then I'll make it my buisness to sort this out once and for all. Andrew Bartlett
* s4-lib merge get_interfaces() from Samba3 to Samba4Andrew Bartlett2011-05-083-100/+375
|
* s4-param Don't set variables such as the debuglevel unless globalAndrew Bartlett2011-05-081-2/+18
| | | | | | | | | | This ensures that when a second lp_ctx is created, that it does not set global variables such as the debug level, log file etc, potentially overriding the settings created by another context. In particular this matters when loading Samba4 modules into Samba3. Andrew Bartlett
* Improve debug messages when creating socket directoriesAndrew Bartlett2011-05-081-1/+1
| | | | | | This makes clear what the permissions error and directory name actually is Andrew Bartlett
* libds: moved enum security_types to a common headerAndrew Tridgell2011-05-082-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-auth Rename auth -> auth4 to avoid conflict with s3 authAndrew Bartlett2011-05-0823-78/+80
|
* s4-ntvfs: Rename brl_*() -> brlock_*() to avoid conflict with brlock_init in s3Andrew Bartlett2011-05-087-24/+24
|
* s4-auth: remove unused prototypeAndrew Tridgell2011-05-081-4/+1
|
* s4-smbd: fix randseed_init() usage.Günther Deschner2011-05-061-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 6 17:37:11 CEST 2011 on sn-devel-104
* libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett2011-05-064-191/+2
| | | | | | unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
* lib/util Rename ms_fnmatch() to ms_fnmatch_protocol() to avoid dup symbolAndrew Bartlett2011-05-065-9/+9
| | | | | | | This verison of the function takes a protcol as argument to determine matching rules. Andrew Bartlett
* errors: Remove unused unix_to_werror()Andrew Bartlett2011-05-061-5/+0
|
* libcli/util Move NTSTATUS table to the top levelAndrew Bartlett2011-05-061-889/+2
|
* nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett2011-05-062-26/+26
| | | | | | It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
* libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top levelAndrew Bartlett2011-05-061-668/+0
| | | | | | | This takes the Samba4 version, with the NT_STATUS_IS_DOS() check. This will be used in smbd/error.c shortly. Andrew Bartlett
* errors: Merge source3/ werror_to_ntstatus() code to source4/Andrew Bartlett2011-05-061-6/+16
|
* errors: Merge ntstatus -> DOS error table between Samba3 and Samba4.Andrew Bartlett2011-05-061-7/+11
| | | | | | They are now identical Andrew Bartlett
* s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett2011-05-061-5/+3
| | | | | | | This also makes unix_nt_errmap private to errmap_unix.c and errormap.c so the tables themselves cannot be duplicate symbols until merged. Andrew Bartlett
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-0613-181/+10
| | | | | | | | | This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
* Fix many const compiler warnings.Jeremy Allison2011-05-051-1/+1
|
* s4-auth: removed the password combinations code in auth_unixAndrew Tridgell2011-05-051-39/+4
| | | | | | | | | | this code never did anything due to a typo, and was untested. We should not be inluding a password cracker in Samba anyway. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu May 5 07:00:14 CEST 2011 on sn-devel-104
* s4-samba-tool: allow specification of targetdir when joining as (RO)DCMatthieu Patou2011-05-051-4/+5
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Thu May 5 02:04:13 CEST 2011 on sn-devel-104
* Clean up some const and other compiler warnings.Jeremy Allison2011-05-056-10/+25
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
* sasl_secret_t ends in a char [1] size. This means the extra character is ↵Jeremy Allison2011-05-041-2/+2
| | | | implicit in the safe_strcpy. When changing to strlcpy ensure we allocate an extra char for it. This fixes a bug where secret->len+1 used with safe_strcpy could actually write into secret->len+2.
* Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison2011-05-043-5/+5
|
* s4-param Rename secrets_init() -> randseed_init()Andrew Bartlett2011-05-033-10/+10
| | | | | | | | | This only sets up the random number generator callback these days, so use a different database for that. (All secrets data in Samba4 is in secrets.ldb) Andrew Bartlett
* s4: fix arguments to safe_strcpy()Andrew Bartlett2011-05-031-2/+2
| | | | | | Found by the s3-derivied safe_strcpy() macro. Andrew Bartlett
* s4-socket: rename allow_access() to socket_allow_access()Andrew Tridgell2011-05-033-8/+8
| | | | | | this prevents a symbol collision with s3 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Remove strlower_m() and strupper_m() from source4 and common code.Andrew Bartlett2011-05-038-63/+74
| | | | | | | | | This function is problematic because a string may expand in size when changed into upper or lower case. This will then push characters off the end of the string in the s3 implementation, or panic in the former s4 implementation. Andrew Bartlett
* s4-param: use new roles.hAndrew Tridgell2011-05-031-5/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* libcli/raw: use a different ifdef than s3 smb.hAndrew Tridgell2011-05-031-3/+3
| | | | | | this allows both headers to be included in 1 C file Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-0346-266/+266
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* s4-libcli Remove resolve_name() as it conflicts with Samba3.Andrew Bartlett2011-05-038-23/+23
| | | | | | | This was just a wrapper around resolve_name_ex(), so just call that instead. Andrew Bartlett
* s4-torture Remove unused and uncompleated testAndrew Bartlett2011-05-031-54/+0
|
* lib/util Move set_socket_options() into common code.Andrew Bartlett2011-05-031-160/+0
|
* s4-lib/socket Merge updated set_socket_options from Samba3 -> Samba4Andrew Bartlett2011-05-031-34/+90
|
* s4-cluster Rename server_id.node -> vnn to match Samba3Andrew Bartlett2011-05-034-8/+8
|
* s4:Remove outdated doc on Samba4 upgradeAndrew Bartlett2011-05-031-21/+0
|