summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change sys_getcd() to take no arguments and always return malloc'ed memory ↵Jeremy Allison2011-06-015-20/+50
| | | | | | (or NULL). Part of the efforts to remove PATH_MAX on modern systems.
* Add check for the getcwd function being able to take NULL,0 arguments.Jeremy Allison2011-06-012-0/+21
|
* Split the ACE flag mapping between nfs4 and WindowsJeremy Allison2011-06-011-14/+59
| | | | | | | into two separate functions rather than trying to do it inline. Allows us to carefully control what flags are mapped to what in one place. Modification to bug #8191 - vfs_gpfs dosn't honor ACE_FLAG_INHERITED_ACE
* s3:doc: update the ldap_user_dn documentation in the idmap_ldap manpageMichael Adam2011-06-011-3/+11
| | | | | | | also extend the example with ldap_user_dn. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jun 1 02:53:32 CEST 2011 on sn-devel-104
* s3:idmap_ldap: allow creation of ldap stored mappings for explicitly ↵Michael Adam2011-06-011-1/+1
| | | | | | | configured domains. After the preparations, this is achieved by using idmap_ldap_allocate_id_internal() as get_new_id rw method instead of idmap_ldap_allocate_id().
* s3:idmap_ldap: rename idmap_ldap_get_new_id to idmap_ldap_allocate_idMichael Adam2011-06-011-6/+6
| | | | This is in preparation of allowing allocating ldap based domain-specific configs.
* s3:idmap_ldap: rename idmap_ldap_allocate_id to idmap_ldap_allocate_id_internalMichael Adam2011-06-011-3/+3
| | | | This is in preparation of allowing allocating ldap based domain-specific configs.
* idmap_ldap.8: Add example with readonly backendLuk Claes2011-06-011-0/+22
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Michael Adam <obnox@samba.org>
* librpc/ndr: Use converted_size to determine if NULL termination was sentAndrew Bartlett2011-06-011-4/+10
| | | | | | | | | | This is better than doing a strlen() on the string, as that huristic only worked for ASCII strings. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 1 01:42:22 CEST 2011 on sn-devel-104
* librpc/ndr: add new LIBNDR_FLAG_STR_RAW8 for ndr_pull_stringSean Finney2011-06-016-9/+246
| | | | | | | | | | | | | | | | | | | | Introduce a new flag, LIBNDR_FLAG_STR_RAW8, which indicates that libndr should not attempt to convert the corresponding byte sequence, and place the responsibility on the caller to do so later. This is needed in cases where the string is known to be 8-bit and either NULL terminated or of known length, but in an unspecified character set. For example, when pulling PT_STRING8 properties from an exchange server via libmapi + libndr, the codepage is neither known nor in the control of the caller, and is determined by subsequent properties requested from the server. Therefore the client would like to fetch all properties in one large batch, and convert the resulting strings locally. This commit also includes some (basic) tests of each of the flags' respective behaviors with the ndr push/pull string functions, in a new source4 torture test suite ndr.ndr_string. Signed-off-by: Sean Finney <seanius@seanius.net>
* librpc/ndr: consolidate string conversion logic in ndr_pull_stringSean Finney2011-06-011-171/+44
| | | | | | | | | | | | | Reduce the amount of duplicate code in ndr_pull_string by moving the almost duplicate conversion calls and their corresponding NDR pulls and checks to a single location. In the place of the removed calls is logic allowing the conversion to be generalized, and and any specific pulls/checks that do not apply to the general case. This is similar to what has already been done in the switch statement for ndr_push_string. Signed-off-by: Sean Finney <seanius@seanius.net>
* s3: fix more -Wunused-but-set-variable build warnings.Günther Deschner2011-06-014-10/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Jun 1 00:29:30 CEST 2011 on sn-devel-104
* Tiny simplification to dom_sid_string_bufVolker Lendecke2011-05-311-2/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 31 23:16:31 CEST 2011 on sn-devel-104
* struct make "struct shadow_copy_data" its own talloc contextVolker Lendecke2011-05-314-19/+7
|
* s3: Remove SHADOW_COPY_DATA typedefVolker Lendecke2011-05-318-11/+19
|
* s3: Mark sockets in error state writableVolker Lendecke2011-05-311-0/+23
| | | | | | | | | | | | | | | | | Without this patch, when a socket only has a write event pending, we will never detect an error condition. I've seen winbind doing 12:19:13.659964 gettimeofday({1306837153, 659984}, NULL) = 0 <0.000016> 12:19:13.660109 poll([{fd=35, events=POLLOUT}, {fd=32, events=POLLIN|POLLHUP}], 2, 9996) = 1 ([{fd=35, revents=POLLERR|POLLHUP}]) <0.000015> 12:19:13.660253 gettimeofday({1306837153, 660269}, NULL) = 0 <0.000013> 12:19:13.660298 poll([{fd=35, events=POLLOUT}, {fd=32, events=POLLIN|POLLHUP}], 2, 9996) = 1 ([{fd=35, revents=POLLERR|POLLHUP}]) <0.000015> for a while when trying to connect to a DC when the socket had died already. Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 31 20:59:10 CEST 2011 on sn-devel-104
* s3:doc: clean up the example section of the idmap_tdb manpageMichael Adam2011-05-311-22/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 31 19:47:45 CEST 2011 on sn-devel-104
* winbindd.8: Use new idmap syntax for smbconfoptionsLuk Claes2011-05-311-8/+5
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Michael Adam <obnox@samba.org>
* s3:passdb: add GPL/copyright header to machine_sid.hMichael Adam2011-05-311-0/+21
|
* s3:nmbd: add _NMBD_NMBD_H_ guard to nmbd.hMichael Adam2011-05-311-0/+5
|
* s3:nmbd: add GPL/Copyright header to nmbd.hMichael Adam2011-05-311-0/+20
|
* s3:rpc_server: add _RPC_SERVER_SRV_ACCESS_CHECK_H_ guard to srv_access_check.hMichael Adam2011-05-311-0/+5
|
* s3:rpc_server: add GPL/Copyright header to rpc_server/srv_access_check.hMichael Adam2011-05-311-0/+29
|
* s3: add _LIB_IDMAP_CACHE_H_ guard to lib/idmap_cache.hMichael Adam2011-05-311-0/+5
|
* s3: add GPL/Copyright header to lib/idmap_cache.hMichael Adam2011-05-311-0/+20
|
* replace: remove waring if IOV_MAX is not definedBjörn Jacke2011-05-311-2/+0
| | | | | | | | as discussed on samba-techincal we currelty don't rely on it and we don't want to flood this warning message during compile. Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue May 31 18:36:53 CEST 2011 on sn-devel-104
* s3:librpc: remove unused file librpc/ndr/util.hMichael Adam2011-05-311-4/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 31 15:19:46 CEST 2011 on sn-devel-104
* s3:winbindd_nrd: include ../librpc/ndr/libndr.h instead of librpc/ndr/util.hMichael Adam2011-05-311-1/+1
|
* s3:libads/ndr: include ../librpc/ndr/libndr.h instead of librpc/ndr/util.hMichael Adam2011-05-311-1/+1
|
* s3: Support shadow copy display over SMB2Volker Lendecke2011-05-311-0/+121
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue May 31 12:53:10 CEST 2011 on sn-devel-104
* s3:doc: document "idmap gid" as deprecated.Michael Adam2011-05-311-8/+5
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 31 11:39:38 CEST 2011 on sn-devel-104
* s3:doc: document "idmap uid" as deprecated.Michael Adam2011-05-311-7/+5
|
* s3:doc: remove the documentation of "idmap alloc backend", which has been ↵Michael Adam2011-05-311-14/+0
| | | | removed
* s3:doc: document "idmap backend" as deprecated.Michael Adam2011-05-311-33/+2
|
* s3:doc: update documentation of the "idmap config FOO : BAR" familiy of ↵Michael Adam2011-05-311-20/+83
| | | | parameters
* s3:lib/eventlog/proto.h: add _LIB_EVENTLOG_PROTO_H_ guardMichael Adam2011-05-311-0/+5
|
* s3:lib/eventlog/proto.h: add GPL/Copyright headerMichael Adam2011-05-311-0/+22
|
* s3-libsmb remove ldap_err2string() as common nterrs[] has the constantsAndrew Bartlett2011-05-311-6/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 31 08:58:00 CEST 2011 on sn-devel-104
* s3-build Don't allow undefined symbols in pam_smbpass.soAndrew Bartlett2011-05-311-0/+1
|
* libcli/util Remove ntstatus_check_dos_mappingAndrew Bartlett2011-05-313-46/+0
| | | | | | | This has been set to true since the global loadparm was removed in 2008, and removes an #ifdef SAMBA_BUILD == 4 Andrew Bartlett
* s3-utils: fix another -Wunused-but-set-variable build warning.Günther Deschner2011-05-311-3/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue May 31 05:18:42 CEST 2011 on sn-devel-104
* s3-libsmb: fix build warning of cli_qfilename().Günther Deschner2011-05-311-1/+1
| | | | Guenther
* s3-build Put memcache in a standalone libraryAndrew Bartlett2011-05-311-2/+7
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 31 04:08:08 CEST 2011 on sn-devel-104
* s3-lib Move source3-specific malloc replacements into a seperate fileAndrew Bartlett2011-05-314-145/+179
| | | | | | | This will make it easier to create a dep tree for otherwise simple libraries. Andrew Bartlett
* lib/util Move sys_memalign into lib/util/system.cAndrew Bartlett2011-05-314-37/+41
|
* s3-smbd Fix conn_msg.c: Cannot return in a void functionAndrew Bartlett2011-05-311-1/+1
|
* s3-lib Improve indentation of errmap_unixAndrew Bartlett2011-05-311-36/+36
| | | | | | | | This also makes it easier to compare and contrast with the source4 version, because the differences here matter, and need to be resolved with care. Andrew Bartlett
* s4-libcli Merge error map order with source3 errmap_unix.cAndrew Bartlett2011-05-311-26/+28
| | | | | | This makes it easier to see what the actual differences here are. Andrew Bartlett
* s3-lib: Use ARRAY_SIZE() to walk the error mapping tablesAndrew Bartlett2011-05-311-6/+4
| | | | | | This gives a constant termination condition, and may help the compiler. Andrew Bartlett
* winbindd.8: Fix typoLuk Claes2011-05-311-1/+1
| | | | | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue May 31 02:56:52 CEST 2011 on sn-devel-104