Andrew Bartlett
6edd8e95f1
build: Remove sys_rewinddir wrapper
2012-04-05 02:39:09 +02:00
Andrew Bartlett
3e8a6e5760
build: Remove sys_closedir wrapper
2012-04-05 02:39:09 +02:00
Andrew Bartlett
ecc822faf8
build: Remove sys_telldir wrapper
2012-04-05 02:39:09 +02:00
Andrew Bartlett
900473a45b
build: Remove sys_seekdir wrapper
2012-04-05 02:39:09 +02:00
Andrew Bartlett
afdb78075c
build: Remove sys_readdir wrapper
2012-04-05 02:39:09 +02:00
Andrew Bartlett
fe526bb32b
build: Remove sys_opendir wrapper
2012-04-05 02:39:09 +02:00
Andrew Bartlett
b74fe73a6f
build: Remove sys_fopen wrapper
2012-04-05 02:39:08 +02:00
Andrew Bartlett
d166b79852
build: Remove sys_open wrapper
2012-04-05 02:39:08 +02:00
Andrew Bartlett
9cc056e567
build: Remove sys_creat wrapper
2012-04-05 02:39:08 +02:00
Andrew Bartlett
7fa1b878c1
build: Remove sys_ftell wrapper
2012-04-05 02:39:08 +02:00
Andrew Bartlett
43e9be8894
build: Remove sys_lseek wrapper
2012-04-05 02:39:08 +02:00
Andrew Bartlett
5c89d12ca4
build: Remove sys_ftruncate wrapper
2012-04-05 02:39:08 +02:00
Andrew Bartlett
473b974a06
build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any more
2012-04-05 02:39:08 +02:00
Andrew Bartlett
4e3e323080
s3-libsmb: Remove unused spnego_parse_krb5_wrap()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03 17:47:32 +02:00
Jelmer Vernooij
c9fb33697d
use usleep rather than sys_usleep in various places, in anticipation of usleep moving to libreplace.
2012-03-24 22:41:05 +01:00
Jelmer Vernooij
14fdc1c5cd
lib/util: Move calloc_array and memalign_array to top-level libutil.
2012-03-24 15:19:09 +01:00
Michael Adam
c80f70390c
s3:smbd: let smbd/nmbd/winbindd child processes terminate if the parent process died.
...
This applies to all child processes making use of reinit_after_fork().
It is implemented by establishing a pipe between parent and child.
The child watches for EOF on the read end of the pipe, indidcating
an exited parent.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-03-15 18:41:37 +01:00
Andrew Bartlett
c318c94170
s3-param: Align lp_{max,min}protocol with lib/param names
...
This adds an alisas to ensure that both our loadparm systems know all
the names.
I would like to move to the 'server ..' name as canonical, and this
will be raised on the list.
Andrew Bartlett
2012-02-27 07:36:05 +01:00
Andrew Bartlett
cab24da68d
s3-libsmb: Remove unused spnego_parse_auth_and_mic
2012-02-24 15:43:03 +11:00
Andrew Bartlett
bea05159e4
s3-libsmb: Remove unused spnego functions
2012-02-23 16:14:19 +11:00
Andrew Bartlett
476d503d24
lib/util: Remove unused sys_sendto()
...
Found by callcatcher.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Fri Feb 17 13:48:05 CET 2012 on sn-devel-104
2012-02-17 13:48:05 +01:00
Andrew Bartlett
245d47f233
lib/util: Remove unused sys_recv()
...
Found by callcatcher.
Andrew Bartlett
2012-02-17 12:19:30 +01:00
Andrew Bartlett
b190e3cd79
s3-lib: Remove unused standard_sub_conn()
2012-02-17 12:19:29 +01:00
Andrew Bartlett
846a697e20
s3-lib Remove unused sys_fcntl_long()
2012-02-17 12:19:29 +01:00
Andrew Bartlett
59d1faa1a3
s3-lib Remove unused sys_fseek()
2012-02-17 12:19:29 +01:00
Andrew Bartlett
d54404e565
s3-param Remove off-by-default and unused "send spnego principal"
...
This is not honoured by the common SPNEGO code.
This matches mondern windows versions which do not send this value, as
it would be insecure for a client to rely on it. (See also the
depricated client use spnego principal directive).
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-02-16 15:18:43 +01:00
Andrew Bartlett
474fbfb7b7
s3-lib: Remove unused is_myworkgroup()
...
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:14 +11:00
Andrew Bartlett
45123530e5
s3-charcnv: Remove unused rpcstr_push()
...
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:14 +11:00
Andrew Bartlett
3d63100890
s3-param: Remove unused share_defined()
...
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:13 +11:00
Andrew Bartlett
40bf23d862
s3-lib: Remove unused pid_path()
...
piddir.c calls lp_piddir() directly.
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:12 +11:00
Andrew Bartlett
3b88c1e605
s3-charcnv: Remove unused pull_string_fn
...
Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html
Andrew Bartlett
2012-02-10 16:45:12 +11:00
Jeremy Allison
502186fe0c
Remove unused get_file_size() function.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Feb 7 20:56:28 CET 2012 on sn-devel-104
2012-02-07 20:56:28 +01:00
Andreas Schneider
03c3a613c5
s3-libsmb: Remove dead prototype.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Thu Feb 2 10:33:13 CET 2012 on sn-devel-104
2012-02-02 10:33:13 +01:00
Andreas Schneider
8080dbad78
s3-lib: Fix util_cmdline which doesn't use popt.
...
This creates its own header file for util_cmdline so it doesn't need to
link against popt.
This should fix linking on FreeBSD.
2012-02-01 21:54:21 +01:00
Jeremy Allison
d6950d4ec9
Comment out sys_get_number_of_cores() as we're no longer using this.
2012-01-06 14:55:30 -08:00
Andrew Bartlett
fd69ebda26
s3-ntlmssp Remove unused ntlmssp_set_hashes() and do not set an invalid LM hash
...
When E_deshash() returns false, it indicates that the password is either > 14 chars
in length, or could not be represented as an LM hash value for some other
reason. In this case, we should not regard the LM hash being missing
as an error or a no-password situation.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jan 6 14:59:13 CET 2012 on sn-devel-104
2012-01-06 14:59:12 +01:00
Jeremy Allison
e8a7d9c822
Add a sys_get_number_of_cores() function that calls sysconf or sysctl
...
and tunes the aio threads.
2012-01-06 02:42:25 +01:00
Stefan Metzmacher
611ab8aaa7
s3:lib/dummyparam: remove unused conn_snum_used() dummy
...
metze
2011-12-13 15:45:36 +01:00
Stefan Metzmacher
1399e6bdf5
s3:param: don't reference conn_snum_used directly in load_usershare_shares()
...
This uses the same logic as lp_killunused().
metze
2011-12-13 15:45:36 +01:00
Volker Lendecke
0f9d14820e
s3: Remove a bunch of calls to procid_self()
...
All callers to messaging_[re]init only used procid_self()
2011-12-12 21:50:25 +01:00
Volker Lendecke
29735327f6
s3: Add some const
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Nov 25 10:21:07 CET 2011 on sn-devel-104
2011-11-25 10:21:07 +01:00
Andrew Bartlett
9524e2fce1
param: calculate server role from security, and security from server role
...
This allows smb.conf files from either the samba3 or samba4 tradition
to come to the same value of server role, using the information in the
smb.conf file.
This is important so that tools like 'net getlocalsid' work against a
Samba4 AD installation (yes, users have tried this).
Andrew Bartlett
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17 00:34:08 +01:00
Andrew Bartlett
f099feaa01
s3-param remove lp_domain_logons(), always use IS_DC
...
This makes the code internally consistant.
Andrew Bartlett
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17 00:34:08 +01:00
Amitay Isaacs
d97acc8fb9
s3-param: Add "server role" as global parameter
...
This will help extracting server role processing code in common
library.
2011-11-17 00:34:08 +01:00
Günther Deschner
16627ca313
s3-trustdomcache: make enumerate_domain_trusts() static.
...
Guenther
2011-11-02 16:59:32 +01:00
Volker Lendecke
ba0171f724
s3: Add processes_exist
2011-10-27 20:28:31 +02:00
Stefan Metzmacher
7682f61e10
s3:include: implement trans_oob() as wrapper to smb_buffer_oob()
...
metze
2011-10-26 15:33:30 +02:00
Stefan Metzmacher
6d2aaef787
s3:include: make smb_setlen() a macro
...
metze
2011-10-21 08:43:00 +02:00
Stefan Metzmacher
d825a2add6
s3:libsmb/smb_seal: move smb_set_enclen() to smb_seal.c and make it static there
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Oct 19 19:06:35 CEST 2011 on sn-devel-104
2011-10-19 19:06:35 +02:00
Michael Adam
bdee9458f6
s3:sessionid: use dbwrap_travers_read() in sessionid_travers_read()
...
This also changes the return code of sessionid_traverse_read() to NTSTATUS.
It also uses traverse_read instead of traverse.
2011-10-11 14:17:56 +02:00