summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* Ensure change_dir_owner_to_parent() can't be raced.Jeremy Allison2011-04-141-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 14 23:39:55 CEST 2011 on sn-devel-104
* Fix bug #8083 - "inherit owner = yes" doesn't interact correctly with ↵Jeremy Allison2011-04-141-3/+27
| | | | | | | | | | | vfs_acl_xattr or vfs_acl_tdb module. If "inherit owner = yes", pass in the directory owner and group owner as the target for CREATOR_OWNER and CREATOR_GROUP substitutions, and also as the owner and primary group of the new security descriptor being applied to the object. Jeremy.
* Optimization for change_file_owner_to_parent() and change_dir_owner_to_parent()Jeremy Allison2011-04-141-0/+21
| | | | Don't do the chown if the owner is already correct.
* s3: Fix Coverity ID 2471: UNINITVolker Lendecke2011-04-141-2/+1
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 16:22:58 CEST 2011 on sn-devel-104
* s3: Fix smbd with the async echo responderVolker Lendecke2011-04-141-10/+13
| | | | | | | | We need to read from the echo socket, pass the socket to read from down to the read routines Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Apr 14 15:34:36 CEST 2011 on sn-devel-104
* s3-build: make sure we pick up system tdb and talloc via #include.Günther Deschner2011-04-144-6/+6
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
* s3-includes: move readahead prototype to its only user.Günther Deschner2011-04-142-4/+4
| | | | Guenther
* s3: Fix a typoVolker Lendecke2011-04-141-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Apr 14 11:55:56 CEST 2011 on sn-devel-104
* lib/util Move alpha_strcpy() from s3 into common codeAndrew Bartlett2011-04-142-54/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 09:21:59 CEST 2011 on sn-devel-104
* libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett2011-04-145-161/+5
| | | | | | | | | This requires a small rework of the build system to ensure that the correct #define statements are made in both the s3 and top level builds. We now define the various HAVE_ macros in config.h at all times, using heimdal_build/wscript_configure when that is in use. Andrew Bartlett
* s3-lib Remove very unused (#if 0) strncpynAndrew Bartlett2011-04-141-25/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 06:27:31 CEST 2011 on sn-devel-104
* s3-lib Remove unused string_appendAndrew Bartlett2011-04-142-23/+0
|
* s3-lib Move unix_strlower and unix_strupper to their only users.Andrew Bartlett2011-04-143-43/+41
|
* s3-lib Remove unused str_ascii_charnum()Andrew Bartlett2011-04-142-19/+0
|
* s3-lib Move strisnormal to it's only user in mangle_hash.cAndrew Bartlett2011-04-143-14/+13
|
* s3: only include smb profiling where needed.Günther Deschner2011-04-1423-9/+25
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104
* s3-waf: add --with-profiling-data configure option.Günther Deschner2011-04-142-1/+6
| | | | Guenther
* s3: fix the build of --with-profiling-data.Günther Deschner2011-04-141-0/+1
| | | | Guenther
* s3-includes: only include acl prototypes when needed.Günther Deschner2011-04-147-24/+27
| | | | Guenther
* s3-includes: absolutely no need to globally include debugparse.hGünther Deschner2011-04-141-1/+0
| | | | Guenther
* s3-includes: include lib/util/debug.h headers in includes.h not smb.hGünther Deschner2011-04-142-4/+2
| | | | Guenther
* s3-includes: remove unused schema_types enum.Günther Deschner2011-04-141-3/+0
| | | | Guenther
* s3-includes: move struct pipe_open_rec to srvsvc rpc server.Günther Deschner2011-04-142-10/+9
| | | | Guenther
* Fix WAF build for sids2xids.Jeremy Allison2011-04-141-1/+4
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 14 00:33:53 CEST 2011 on sn-devel-104
* s3: Add a test for sid2xidsVolker Lendecke2011-04-133-0/+62
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add some debug to winbindd_sids_to_xidsVolker Lendecke2011-04-131-0/+6
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Use wbcSidsToUnixIds in create_local_tokenVolker Lendecke2011-04-133-6/+126
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Export WINBINDD_SIDS_TO_XIDS via the winbind pipeVolker Lendecke2011-04-134-0/+311
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add wbint_Sids2UnixIDs idl & implementationVolker Lendecke2011-04-133-1/+111
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Make idmap_find_domain publicVolker Lendecke2011-04-132-1/+2
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add is_domain_onlineVolker Lendecke2011-04-132-0/+6
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add winbindd_lookupsidsVolker Lendecke2011-04-134-0/+155
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add wb_lookupsidsVolker Lendecke2011-04-133-0/+610
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Add wbint_LookupSidsVolker Lendecke2011-04-134-0/+127
| | | | | | This will be called from wb_lookupsids to query remote DCs via lsa Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Make parse_sidlist publicVolker Lendecke2011-04-133-34/+33
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Simplify parse_sidlistVolker Lendecke2011-04-131-17/+9
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* Don't print "success" message after error message in ↵Jeremy Allison2011-04-131-9/+8
| | | | change_file_owner_to_parent(). Remove "goto" in change_dir_owner_to_parent().
* s3-build: finally remove references to ndr and dcerpc headers that were ↵Günther Deschner2011-04-133-4/+0
| | | | | | | | | included globally. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 13 23:07:05 CEST 2011 on sn-devel-104
* s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2011-04-1329-25/+84
| | | | Guenther
* s3-netapi: remove two shadowed variables.Günther Deschner2011-04-131-2/+0
| | | | Guenther
* s3-cli_pipe: fix timeout in rpc_pipe_open_tcp_port().Günther Deschner2011-04-131-1/+1
| | | | | | | | | | | | Make sure we use a timeout of 60 seconds, not 60 milliseconds... This prevented us from successfully using the ncacn_ip_tcp client in a lot of places, I guess. Guenther Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 13 18:59:19 CEST 2011 on sn-devel-104
* s3-util_sock: very brief documentation for open_socket_out().Günther Deschner2011-04-131-0/+10
| | | | | | | The most important bit is to document that timeout is in MILLIseconds, not seconds. Guenther
* s3: Make send_nt_replies() staticVolker Lendecke2011-04-132-8/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 13 16:25:29 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2470: STRAY_SEMICOLONVolker Lendecke2011-04-131-1/+1
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 13 12:57:43 CEST 2011 on sn-devel-104
* build: Bring DYNCONFIG into samba-util library to avoid symbol duplicationAndrew Bartlett2011-04-131-5/+5
| | | | | | | | | | When this was depended on directly as a subsystem, it ended up in multiple libraries. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 13 08:39:35 CEST 2011 on sn-devel-104
* s3-build Remove distinct LOCALEDIR subsystemAndrew Bartlett2011-04-1310-28/+9
| | | | | | | This is no different to the rest of dynconfig, and so should be dealt with there. Andrew Bartlett
* s3-charcnv: Move convert_string() et al to lib/util/charsetAndrew Bartlett2011-04-134-447/+4
| | | | | | | | | This is the first step to this being the common convert_string implementation. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-selftest Add workaround for RAP test failureAndrew Bartlett2011-04-131-0/+2
| | | | | | | | | | | The rap.sam test reads 0xFFFFFFFF as a string in the level 2 r->HomeDir attribute, which once we start validating ASCII strings fails. This restores a unchecked dos charset for this test only, until it is determined if the client or server RAP code is at fault. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util: Make string_replace from s3 commonAndrew Bartlett2011-04-131-43/+0
| | | | | | | | | The s4 implementation didn't do multibyte strings, so was only good for '/' which is known to be safe in all multibyte charsets. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util ucs2_align is identical, put it in commonAndrew Bartlett2011-04-131-7/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>