Volker Lendecke
64c63a3e1c
s3: Fix a C++ warning
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Feb 14 21:44:55 CET 2011 on sn-devel-104
2011-02-14 21:44:55 +01:00
Günther Deschner
e4bf69285b
s3-libsmb: fix ifdef check in ads_dc_name.
...
We are accessing an LDAP structure here, so we better check that LDAP support
was there as well as Kerberos support.
Guenther
2011-02-11 12:22:41 +01:00
Günther Deschner
65bb6b3524
s3: move some stuff out of smb.h to better locations.
...
Guenther
2011-02-09 22:51:23 +01:00
Jeremy Allison
c377b0e718
Fix up some buildfarm warnings.
2011-02-09 21:21:04 +01:00
Jeremy Allison
344e4cd280
Don't use asprintf in this library - breaks the build on many systems. Fake with malloc/memcpy.
2011-02-09 21:21:04 +01:00
Günther Deschner
fcaba0fb59
s3-libsmb: prefer dcerpc_lsa_X functions.
...
Guenther
2011-02-02 19:02:23 +01:00
Stefan Metzmacher
e2e426588b
s3:libsmb: display NT_STATUS_RPC_SEC_PKG_ERROR in error strings
...
metze
2011-01-30 17:36:21 +01:00
Volker Lendecke
a042617e97
s3: Remove an unneeded check
...
In many other places we already assume that if asprintf returns !=-1 then the
result is allocated.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jan 29 15:00:09 CET 2011 on sn-devel-104
2011-01-29 15:00:09 +01:00
Jeremy Allison
bb358ecd5a
From Metze - make sure we're using the same string length for the hash.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Jan 26 18:32:15 CET 2011 on sn-devel-104
2011-01-26 18:32:15 +01:00
Jeremy Allison
44732734cc
Fix bug #7863 - Unlink may unlink wrong file when hardlinks are involved.
...
Do this by keeping a linked list of delete on close tokens, one for
each filename that identifies a path to the dev/inode. Use the
jenkins hash of the pathname to identify the correct token.
2011-01-25 14:23:19 -08:00
Jeremy Allison
b97f1ce68a
Add name_hash into the share mode entry struct (as yet only use for renames to identify a specific path).
2011-01-25 14:01:52 -08:00
Volker Lendecke
058de59a8e
s3: Fix connecting to port-139 only servers
...
When the TCP RST came before the 5 msecs timeout kicked in, we
viewed this as final, as state->req_139 was not set yet.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sat Jan 22 17:42:41 CET 2011 on sn-devel-104
2011-01-22 17:42:41 +01:00
Volker Lendecke
c7a5933e4b
s3: Remove some unused code
2011-01-17 08:03:43 +01:00
Volker Lendecke
6f3e11088c
s3: Convert cli_lock64 to cli_smb
2011-01-17 08:03:43 +01:00
Volker Lendecke
dd2f234412
s3: Convert cli_lock to use cli_locktype
2011-01-17 08:03:43 +01:00
Volker Lendecke
0e2854f743
s3: Convert cli_locktype to cli_smb
2011-01-17 08:03:43 +01:00
Volker Lendecke
7b054ecaed
s3: Make passing up "result_parent" from cli_smb optional
2011-01-17 08:03:43 +01:00
Volker Lendecke
b33f1147a6
s3: Remove unused cli_send_keepalive
2011-01-17 08:03:42 +01:00
Volker Lendecke
6e684c8460
s3: Remove unused cli_send/receive_trans
2011-01-17 08:03:42 +01:00
Volker Lendecke
8ac68fc3cb
s3: Convert cli_api to cli_trans
2011-01-17 08:03:42 +01:00
Volker Lendecke
cb412d22eb
s3: Make cli_setpathinfo_basic use cli_setpathinfo
2011-01-17 08:03:42 +01:00
Volker Lendecke
21d5485e06
s3: Add cli_setpathinfo
2011-01-17 08:03:42 +01:00
Volker Lendecke
2068b96dce
s3: Rename cli_setpathinfo->cli_setpathinfo_basic
2011-01-17 08:03:42 +01:00
Volker Lendecke
2d44a0583b
s3: Remove unused cli_send/receive_nt_trans
2011-01-17 08:03:42 +01:00
Volker Lendecke
5dee39b5bf
s3: Move dump_ntquota* to smbcquotas.c
2011-01-17 08:03:41 +01:00
Volker Lendecke
a1f541723d
s3: Convert cli_set_fs_quota_info to cli_trans
2011-01-17 08:03:41 +01:00
Volker Lendecke
797c027cc8
s3: Convert cli_get_fs_quota_info to cli_trans
2011-01-17 08:03:41 +01:00
Volker Lendecke
483e0447f5
s3: Convert cli_list_user_quota to cli_trans
2011-01-17 08:03:41 +01:00
Volker Lendecke
eb7db50f60
s3: Convert cli_set_user_quota to cli_trans
2011-01-17 08:03:41 +01:00
Volker Lendecke
e2a96711d7
s3: Convert cli_get_user_quota to cli_trans
2011-01-17 08:03:41 +01:00
Volker Lendecke
bc5554bdcc
s3: Fix some nonempty blank lines
2011-01-17 08:03:40 +01:00
Volker Lendecke
674dcd68a6
s3: Remove cli_send_trans from cli_qpathinfo_alt_name
2011-01-17 08:03:40 +01:00
Volker Lendecke
fc8bfeea31
s3: Remove cli_send_trans from cli_oem_change_password
2011-01-17 08:03:40 +01:00
Volker Lendecke
50b3458261
s3: Convert cli_set_secdesc to cli_trans
2011-01-15 16:34:35 +01:00
Volker Lendecke
4fc5699a79
s3: Fix some nonempty blank lines
2011-01-15 16:34:35 +01:00
Günther Deschner
44e048f7a8
s3-libsmbclient: prefer dcerpc_srvsvc_X functions.
...
Guenther
Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13 14:11:55 +01:00
Volker Lendecke
8c6b0b61e5
s3: Fix some nonempty blank lines
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jan 12 19:04:25 CET 2011 on sn-devel-104
2011-01-12 19:04:24 +01:00
Volker Lendecke
35f08a2958
s3: Remove a pointless else
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Wed Jan 12 11:12:56 CET 2011 on sn-devel-104
2011-01-12 11:12:56 +01:00
Volker Lendecke
342bb471dc
s3: Remove superfluous ;
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Jan 10 15:26:50 CET 2011 on sn-devel-104
2011-01-10 15:26:50 +01:00
Volker Lendecke
b57721faaf
s3: Convert enc_blob_send_receive to cli_trans()
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Jan 9 11:40:04 CET 2011 on sn-devel-104
2011-01-09 11:40:04 +01:00
Volker Lendecke
3274d80ffd
s3: Fix two incompatible pointer type warnings on Solaris
2011-01-09 10:21:41 +01:00
Günther Deschner
3294ccbb6d
netlogon: move netlogon helpers to ../libcli/netlogon.
...
Guenther
2011-01-07 15:02:24 +01:00
Volker Lendecke
3e0915f271
s3: Make nmbd socket dir configurable
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 7 14:14:19 CET 2011 on sn-devel-104
2011-01-07 14:14:19 +01:00
Volker Lendecke
2672101cc4
s3: Remove some unused code
2011-01-07 13:28:07 +01:00
Volker Lendecke
dab6a35f4c
s3: Limit the number of unexpected clients to 200
...
DoS protection like the max winbind clients. Settable by
nmbd:unexpected_clients
2011-01-07 13:28:07 +01:00
Volker Lendecke
0cff82e054
s3: Limit the number of unexpected packets per client to 10
...
Non-reading clients could maliciously make nmbd allocate memory
2011-01-07 13:28:07 +01:00
Volker Lendecke
b4041b59b2
s3: Use the new nbt_getdc in dsgetdcname()
2011-01-07 13:28:06 +01:00
Volker Lendecke
f9520008df
s3: Add nbt_getdc
...
This is a getdc version that uses /tmp/.nmbd/unexpected
2011-01-07 13:28:06 +01:00
Volker Lendecke
1137cf8e6f
s3: Fix a valgrind error
2011-01-07 13:28:06 +01:00
Volker Lendecke
126b1806b8
s3: Factor out parse_getdc_response
2011-01-07 13:28:06 +01:00