summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-01-08s3-eventlog: trying to avoid to pass around full ndr structures in rpc_server.Günther Deschner1-6/+11
Jerry, please check. Guenther
2009-01-08Fix race condition in alarm lock processing noticed by Richard Sharpe ↵Jeremy Allison1-1/+1
<realrichardsharpe@gmail.com>. "It seems to me that if the lock is already held by another process when we enter this code, there is a race between the timeout and the granting. If the lock is subsequently granted, the process releasing the lock will signal the wait variable (or whatever) and our process will be scheduled. However, if the timeout occurs before we are scheduled, the timeout will be delivered first. We will have the lock but will forget we have the lock, and never release it." Jeremy.
2009-01-08s3-net: fix type in rpc_service_list_internal(). Sorry...Günther Deschner1-1/+1
Guenther
2009-01-08s3:smbd: fix the build with dmapi supportStefan Metzmacher1-2/+0
struct smbd_dmapi_context *dmapi_ctx; is in globals.c metze
2009-01-08Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-1/+1
2009-01-08Attempt to fix the buildVolker Lendecke1-1/+1
2009-01-08Make sure smbtorture4 can find all gensec modules. (Fixes RPC-BINDSAMBA3)Jelmer Vernooij1-0/+1
2009-01-08s3-svcctl: use pidl based struct SERVICE_STATUS.Günther Deschner9-24/+18
Guenther
2009-01-08s3-svcctl: add copyright to svcctl rpc_server.Günther Deschner1-2/+5
Guenther
2009-01-08s3-svcctl: remove some more redundant headers.Günther Deschner4-16/+3
Guenther
2009-01-08s3-svcctl: move SVC_HANDLE_IS* defines to implementation specific header file.Günther Deschner2-4/+4
Guenther
2009-01-08s3-svcctl: remove (now duplicate) defines.Günther Deschner1-22/+0
Guenther
2009-01-08s3-svcctl: remove (now duplicate) SVCCTL_STAT* defines.Günther Deschner1-5/+0
Guenther
2009-01-08s3:smbd: move all globals and static variables in globals.[ch]Stefan Metzmacher39-306/+554
The goal is to move all this variables into a big context structure. metze
2009-01-08s3:smbd: variables in a main() don't need to be staticStefan Metzmacher1-7/+7
metze
2009-01-08s3:smbd: open_sockets_smbd() don't need a static variable arrount atexit()Stefan Metzmacher1-7/+1
open_sockets_smbd() is only called once. metze
2009-01-08s3:smbd: keep dmapi globals in one context structStefan Metzmacher1-28/+44
metze
2009-01-08s3:smbd: remove stupid static variables for the nfs quota codeStefan Metzmacher1-16/+20
metze
2009-01-08s3:smbd: remove pointless static variable in uid.cStefan Metzmacher1-7/+4
We always free the value at the end of the function, so we don't need a static variable to hold just NULL for the time the function isn't executed. metze
2009-01-08s3:smbd: make static const in mangle_hash2.c really static constStefan Metzmacher1-1/+1
const char *foo, means a non-const pointer to a const char. const char * const foo, means a const pointer to a const char. char * const foo, would mean a const pointer to a non-const char. metze
2009-01-08s3:smbd: make const globals in mangle_hash2.c really static constStefan Metzmacher1-2/+2
const char *foo, means a non-const pointer to a const char. const char * const foo, means a const pointer to a const char. char * const foo, would mean a const pointer to a non-const char. metze
2009-01-08s3:smbd: make globals in utmp.c static constStefan Metzmacher1-4/+4
const char *foo, means a non-const pointer to a const char. const char * const foo, means a const pointer to a const char. char * const foo, would mean a const pointer to a non-const char. metze
2009-01-08s3:smbd: it's pointless to have a global magic_charStefan Metzmacher1-4/+7
We call magic_char = lp_magicchar(p) each time it's used. metze
2009-01-08s3:smbd: remove pointless static variables in chgpasswd.cStefan Metzmacher1-9/+10
metze
2009-01-08s3:smbd: make fake_files[] static constStefan Metzmacher1-1/+1
metze
2009-01-08s3:smbd: make mangle_fns constStefan Metzmacher4-13/+13
metze
2009-01-08s3-svcctl: remove old hand marshalling of svcctl_QueryServiceConfig2W.Günther Deschner3-229/+0
Guenther
2009-01-08s3-svcctl: use pidl for _svcctl_QueryServiceConfig2W.Günther Deschner2-39/+36
Guenther
2009-01-08s3-svcctl: fix return code for _svcctl_QueryServiceStatusEx.Günther Deschner1-2/+3
Guenther
2009-01-08s3-svcctl: remove old hand marshalling of svcctl_QueryServiceStatusEx.Günther Deschner4-104/+2
Guenther
2009-01-08s3-svcctl: use pidl for _svcctl_QueryServiceStatusEx.Günther Deschner2-31/+20
Guenther
2009-01-08s3-svcctl: use pidl's ndr opcodes for NDR_SVCCTL_QUERYSERVICECONFIGW.Günther Deschner1-1/+1
Guenther
2009-01-08svcctl: add svcctl_ErrorControl and svcctl_Type (based on samba3) to IDL.Günther Deschner1-14/+0
Guenther
2009-01-08svcctl: add svcctl_ConfigLevel from samba 3.Günther Deschner1-4/+0
Guenther
2009-01-08svcctl: move SVC_STATUS_ to idl.Günther Deschner1-2/+0
Guenther
2009-01-07Fix bug #6016 - Alternate Data Streams / Extended Attributes seem to conflict.Jeremy Allison1-3/+8
Jeremy.
2009-01-07refresh sequence number as soon as possible when domain->sequence_number == ↵boyang1-3/+8
-1 or domain->last_status is not ok.
2009-01-07Remove unused struct CLI_POLICY_HNDVolker Lendecke1-7/+0
2009-01-07Several fixes to our use of spliceVolker Lendecke1-4/+6
The splice manpage explicitly requires loff_t as offset. Copy "offset" there. Probably not required, but I wanted to make sure it's as required. Splice blocks with large buffers. For me it worked with 16k and blocked with 32k and beyond. It would be nice to see a clarification in the manpage of splice for this behaviour. Splice if used with an offset increments the offset. From the manpage this was at least not entirely obvious :-) I haven't yet activated this (try_splice_call ist still false by default), it needs more testing. Volker
2009-01-06Make winbindd_cm.c use winbindd_reinit_after_fork().Jeremy Allison4-31/+37
Jeremy.
2009-01-06Fix bug #6017, - magic script does not work. based on a patch from ↵Jeremy Allison1-3/+13
monyo@samba.gr.jp. Jeremy.
2009-01-06Add winbindd_reinit_after_fork(), cleaning out all possible eventsJeremy Allison1-52/+76
in a forked child. Jeremy.
2009-01-06Factor out lots of common code into a function.Jeremy Allison1-37/+27
Jeremy.
2009-01-06Add some const to dcerpc_binding_build_tower()Volker Lendecke1-1/+3
2009-01-06Add a NULL check and some const to dcerpc_floor_get_lhs_data()Volker Lendecke1-1/+2
2009-01-06s3-lsa: remove all init_lsa* functions.Günther Deschner2-91/+0
Guenther
2009-01-06s3-lsa: avoid all init_lsa* functions.Günther Deschner2-35/+27
Guenther
2009-01-06s3-srvsvc: remove all init_srvsvc* functions.Günther Deschner4-538/+9
Guenther
2009-01-06s3-srvsvc: avoid all init_srvsvc* functions.Günther Deschner1-98/+93
Guenther
2009-01-06s3-samr: remove all init_samr_alias* functions.Günther Deschner2-34/+0
Guenther