summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-rpc_server: Migrate init_pipe_handles() to new syntax.Andreas Schneider2011-06-011-8/+21
|
* s3-rpc_server: Use the context syntax id in api_pipe_request().Andreas Schneider2011-06-011-7/+7
|
* s3-rpc_server: Use the correct syntax id in api_pipe_bind_req().Andreas Schneider2011-06-011-19/+14
|
* s3-rpc_server: Use the correct context syntax.Andreas Schneider2011-06-011-2/+20
|
* s3-rpc_server: Move the context functions to own file.Andreas Schneider2011-06-015-22/+72
|
* s3-rpc_server: Store the ndr syntax id in the pipe context.Andreas Schneider2011-06-011-5/+6
| | | | | | | The client tell us in the rpc bind to which rpc service it wants to connect. We did set the p->syntax earlier by guessing to which pipe name it connects, but we don't know to which rpc service it wants to bind until we read the first packet.
* s3-rpc_server: Added syntax id to pipe_rpc_fns struct.Andreas Schneider2011-06-011-1/+2
|
* lib/util/time.c: timeval_current_ofs_usecRusty Russell2011-06-012-8/+8
| | | | | | | | | | | | | | | Several places want "microseconds from current time", and several were simply handing "usecs" values which could be over a million. Using a helper to do this is safer and more readable. I didn't replace any obviously correct callers (ie. constants). I also renamed wait_nsec in source3/lib/util_sock.c; it's actually microseconds not nanoseconds (introduced with this code in Volker's 19b783cc Async wrapper for open_socket_out_send/recv). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/util/time.c: timeval_current_ofs_msecRusty Russell2011-06-015-12/+7
| | | | | | | | | | Several places want "milliseconds from current time", and several were simply doing "msec * 1000" which can (and does in one place) result in a usec value over 1 a million. Using a helper to do this is safer and more readable. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3-param Make lp_ncalrpc_dir() constAndrew Bartlett2011-06-012-2/+2
| | | | | | | | | | | This disables % substitutions in the 'ncalrpc dir' parameter. This is used as a communication point between multiple parts of the codebase, and needs to be internally consistent between all the Samba tasks. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Jun 1 05:30:53 CEST 2011 on sn-devel-104
* s3-param Make lp_dedicated_keytab_file() constAndrew Bartlett2011-06-012-2/+2
| | | | | | This disables % substitutions in the 'dedicated keytab file' parameter. Andrew Bartlett
* s3-param Make lp_realm() constAndrew Bartlett2011-06-012-2/+2
| | | | | | | | This disables % substitutions in the 'realm' parameter. This is used all over the codebase, and needs to be internally consistent between all the Samba tasks. Andrew Bartlett
* s3-param Make lp_name_resolv_order() constAndrew Bartlett2011-06-012-2/+2
| | | | | | | | This disables % substitutions in the 'name resolv order' parameter. This is used all over the codebase, and needs to be internally consistent between all the Samba tasks. Andrew Bartlett
* s3-param Make lp_utmpdir() and lp_wtmpdir constAndrew Bartlett2011-06-012-4/+4
| | | | | | | | This disables % substitutions in the 'utmp dir' and 'wtmp dir' parameters. These are system paths, and need to be consistent between all the Samba tasks. Andrew Bartlett
* s3-param Make lp_piddir() constAndrew Bartlett2011-06-012-2/+2
| | | | | | | | This disables % substitutions in the 'pid dir' parameter. This is used all over the codebase, and need to be internally consistent between all the Samba tasks. Andrew Bartlett
* s3-param Make lp_cachedir() constAndrew Bartlett2011-06-012-6/+6
| | | | | | | | This disables % substitutions in the 'cache dir' parameter. This is used all over the codebase, and need to be internally consistent between all the Samba tasks. Andrew Bartlett
* s3-param Make lp_statedir() constAndrew Bartlett2011-06-012-6/+6
| | | | | | | | This disables % substitutions in the 'state dir' parameter. This is used all over the codebase, and need to be internally consistent between all the Samba tasks. Andrew Bartlett
* s3-param Make lp_lockdir() constAndrew Bartlett2011-06-012-2/+2
| | | | | | | | | This disables % substitutions in the 'lock dir' parameter. This is used all over the codebase, and needs to be internally consistent for the life of the process, as they determine the location of our locking databases. Andrew Bartlett
* s3-param Make lp_smb_passwd_file() and lp_private_dir() constAndrew Bartlett2011-06-012-4/+4
| | | | | | | | | This disables % substitutions in the 'smb passwd file' and 'private dir' parameters. These are used all over the codebase, and need to be internally consistent for the life of the process, as they determine the location of secrets.tdb, as well as the passdb databases. Andrew Bartlett
* s3-param Make lp_smb_ports() constAndrew Bartlett2011-06-012-2/+2
| | | | | | It makes no sense to have a % substiution in the 'smb ports' parameter. Andrew Bartlett
* s3-param Make charset parameters constAndrew Bartlett2011-06-012-6/+6
| | | | | | | This removes the dangerous ability for these parameters to change based on % substitutions. Andrew Bartlett
* s3-param Make lp_passwordserver() const.Andrew Bartlett2011-06-012-2/+2
| | | | | | This means that it no longer takes % substituations, and so the documentation for this behaviour is removed from the smb.conf manpage. (This mode is only useful in security=server, which is already marked as deprecated in 3.6). Andrew Bartlett
* s3-param prepare for some lp_ functions to return constAndrew Bartlett2011-06-012-2/+2
|
* Remove the char * argument from the SMB_VFS_GETWD() call. Now alwaysJeremy Allison2011-06-017-26/+27
| | | | | | | returns malloc'ed memory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jun 1 04:06:12 CEST 2011 on sn-devel-104
* 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: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.
* 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
* 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: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
|
* 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: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
|
* 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