Andrew Bartlett
80163b5ac5
s3:charcnv Remove unused unistr2 functions
...
Natrually, the hard work to make these unsued was done by GD, not me :-)
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 20:51:55 +02:00
Andrew Bartlett
5fff538820
s3:charcnv Remove unused ucs2_to_unistr2()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 20:51:55 +02:00
Karolin Seeger
4458809597
s3/loadparm: Fiy typos.
...
Karolin
2009-04-07 20:05:21 +02:00
Karolin Seeger
a103222e0b
s3/gpo_ldap: Fix typo.
...
Karolin
2009-04-07 20:05:21 +02:00
Karolin Seeger
6343cab308
s3/smbconf_reg: Fix typo.
...
Karolin
2009-04-07 20:05:21 +02:00
Tim Prouty
161bd7f78f
s3 onefs: Fix case-insensitivity for mangled names
...
onefs_get_real_filename needs to demangle the filename before doing
the case-insensitive estat
2009-04-07 10:44:50 -07:00
Tim Prouty
785c19182b
s3 oplocks: Add back procid_str to debug message
2009-04-07 10:14:59 -07:00
Andrew Bartlett
042aaffabf
s3:smbldap convert the easy cases to push_utf8_talloc()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 18:55:05 +02:00
Andrew Bartlett
574a6a8c35
s3:kerberos Rework smb_krb5_unparse_name() to take a talloc context
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 13:25:36 +02:00
Andrew Bartlett
fca02c9154
s3:smbtorture Convert charcnv torture suite to use push_ucs2_talloc()
...
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07 12:54:59 +02:00
Günther Deschner
d71dec9259
s3-libads: avoid NULL talloc context with ads_get_dn().
...
Guenther
2009-04-07 01:17:30 +02:00
Günther Deschner
21b083a647
s3-svcctl: Fix _svcctl_EnumServicesStatusW() crash bug on too small buffer.
...
Guenther
2009-04-07 01:16:30 +02:00
Tim Prouty
9d2d07503a
s3 onefs: Simplify level 2 oplock self-contention
...
This removes all oplock dependence on locking.tdb
2009-04-06 13:53:45 -07:00
Tim Prouty
651fa0964a
s3 oplocks: Refactor level II oplock contention
2009-04-06 13:53:45 -07:00
Günther Deschner
12d9765177
s3-samr: add support for _samr_Connect3() while planning to pass a s4 smbtorture test.
...
Guenther
2009-04-06 22:37:11 +02:00
Volker Lendecke
1c4027678e
Correct sync wrappers in cli_pipe.c
2009-04-06 21:32:08 +02:00
Volker Lendecke
3084d49cc0
Add a bad hack to enable level 2 oplocks in torture_open_connection_share
2009-04-06 21:32:08 +02:00
Volker Lendecke
0c353b5711
Make cli_oplock_ack async
2009-04-06 21:32:08 +02:00
Volker Lendecke
64ce0e4645
Add async oplock waiter
2009-04-06 21:32:08 +02:00
Volker Lendecke
cb120b4df6
Never hand out 0xffff as a mid
...
This is used for oplock replies
2009-04-06 21:32:07 +02:00
Volker Lendecke
64067f9204
Remove async_req based async libsmb infrastructure
2009-04-06 21:32:07 +02:00
Volker Lendecke
86b09e84ae
Re-add the CHAIN1 test
2009-04-06 21:32:07 +02:00
Volker Lendecke
025eb40fbc
Convert cli_open to tevent_req
2009-04-06 21:32:07 +02:00
Volker Lendecke
31910810cf
Convert cli_close to tevent_req
2009-04-06 21:32:07 +02:00
Volker Lendecke
ad695b2525
Streamline cli_push sync wrapper
2009-04-06 21:32:07 +02:00
Volker Lendecke
097db28c5d
Convert cli_write_andx to tevent_req
2009-04-06 21:32:07 +02:00
Volker Lendecke
17b8d05b62
Streamline cli_pull sync wrapper
2009-04-06 21:32:07 +02:00
Volker Lendecke
c23ccff13a
Convert cli_read_andx to tevent_req
2009-04-06 21:32:07 +02:00
Volker Lendecke
ca7cd350a6
Convert cli_ntcreate to tevent_req
2009-04-06 21:32:07 +02:00
Volker Lendecke
807328ce6d
Convert cli_tcon_andx to tevent_req
2009-04-06 21:32:07 +02:00
Volker Lendecke
03becb5066
Convert cli_negprot to tevent_req
2009-04-06 21:32:06 +02:00
Volker Lendecke
95c792b6af
Convert cli_session_setup_guest to tevent_req
2009-04-06 21:32:06 +02:00
Volker Lendecke
7ef78bd7b5
Convert cli_trans to tevent_req
2009-04-06 21:32:06 +02:00
Volker Lendecke
dec928e884
Convert cli_echo to tevent_req
2009-04-06 21:32:06 +02:00
Volker Lendecke
0a4cdad324
Remove the CHAIN1 test -- will come back later
2009-04-06 21:32:06 +02:00
Volker Lendecke
8bdac3615a
Add new async libsmb infrastructure
...
I know this is just yet another iteration, but I like this one much better than
the one that exists right now :-)
It will do trans and echo requests without a _recv helper and without
unnecessary memcpy().
2009-04-06 21:32:06 +02:00
Volker Lendecke
ad29104d3d
Add read_smb_send/recv, dumping keepalives
2009-04-06 21:32:05 +02:00
Andrew Bartlett
2050187673
s3:libads Make ads_get_dn() take a talloc context
...
Also remove ads_memfree(), which was only ever a wrapper around
SAFE_FREE, used only to free the DN from ads_get_ds().
This actually makes libgpo more consistant, as it mixed a talloc and a
malloc based string on the same element.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06 15:54:41 +02:00
Andrew Bartlett
89278b1819
s3:printing Convert nt_printer_publish_ads() to use talloc better
...
In particular, this removes one more user of pull_utf8_allocate()
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06 14:56:29 +02:00
Andrew Bartlett
9512640155
s3:smbldap Remove smbldap_get_dn
...
This removes one more caller to pull_utf8_allocate()
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06 14:52:51 +02:00
Volker Lendecke
a2d5fe4a05
Make some functions static to vfs_gpfs.c
2009-04-06 13:29:59 +02:00
Volker Lendecke
f2e17a4b24
Add prototype for smbd_gpfs_get_realfilename_path
2009-04-06 13:29:59 +02:00
Volker Lendecke
54c2fe6583
Fix two c++ warnings in vfs_gpfs.c
2009-04-06 13:29:59 +02:00
Volker Lendecke
15f6d5e805
Use the server config file for smbpasswd -a user in make test
...
Without this, smbpasswd generated a SID for the netbios name TORTURE_6. This SID
somehow ended up in the user's token for quite a number of tests, leading to
NT_STATUS_ACCESS_DENIED. I haven't fully understood what is going on here, but
with this patch I could not reproduce the ACCESS_DENIED anymore. It might be
coincidence and this patch does not fix anything, but for me it does not really
hurt either.
Metze, please check!
Volker
2009-04-05 17:31:40 +02:00
Volker Lendecke
e5c7df34f2
Remove a silly check
...
This does not increase security, and if later error messages suck, we have to
fix those.
2009-04-05 17:04:28 +02:00
Volker Lendecke
ba408a2c82
Remove async_req dependency from cli_pull_trans
2009-04-05 16:07:41 +02:00
Volker Lendecke
3b0572bf91
Fix smbd crash for close_on_completion
...
handle_trans() can talloc_free "conn" if the client requests
close_on_completion. "state" is a talloc_child of conn, so it will be gone when
we later free state->data et al.
2009-04-05 14:34:14 +02:00
Volker Lendecke
0421fa90ce
Keep the forked-smbd stdout reader around longer
2009-04-05 13:52:46 +02:00
Volker Lendecke
6d760a4a9f
Ensure 0-termination for the forked-smbd debug output
2009-04-05 13:52:46 +02:00
Volker Lendecke
ac4c319ed7
Pass the current debuglevel down to the forked smbd
2009-04-05 13:52:46 +02:00