Andrew Tridgell
c6b8ffd3a5
build: normalise paths in unique source checking
2010-04-26 14:36:54 +10:00
Andrew Tridgell
a241daae2d
build: a library is only empty if it has no deps
2010-04-26 14:36:54 +10:00
Andrew Tridgell
c8824fd9b4
build: use option_group() not add_option_group()
...
option_group() ensures we don't end up with duplicate groups
2010-04-26 14:36:54 +10:00
Andrew Tridgell
6c79b9f480
build: cope with duplicates in source lists
2010-04-26 14:36:54 +10:00
Volker Lendecke
fd3eeb3878
s3: async_domain_request is no longer used
2010-04-25 12:32:02 +02:00
Volker Lendecke
d53e3450c7
s3: Convert add_trusted_domains() to wb_domain_request_send()
2010-04-25 12:32:02 +02:00
Volker Lendecke
d41836fb62
s3: Simplify trustdom_state
...
Don't store information explicitly as boolean flags that can be easily
retrieved from the domain when it's actually needed.
2010-04-25 10:55:19 +02:00
Volker Lendecke
13cdaf9417
s3: Make "struct trustdom_state" its own talloc context
2010-04-25 10:55:19 +02:00
Volker Lendecke
d61b07253b
libwbclient: Talloc is no longer used
2010-04-25 10:16:11 +02:00
Stefan Metzmacher
b29f3f497b
Revert "tsocket: not all systems have IPV6_V6ONLY"
...
This reverts commit 63fc3978089df403d7e63462593784ff3d05e6e7.
We now don't support IPv6 when IPV6_V6ONLY isn't available,
as we rely on the behavior.
metze
2010-04-24 20:30:25 +02:00
Stefan Metzmacher
26e6fb0efe
lib/replace/wscript: make sure IPV6_V6ONLY is available for IPv6 support
...
We really on IPV6_V6ONLY being supported.
metze
2010-04-24 20:30:24 +02:00
Stefan Metzmacher
41cd6f9928
lib/replace: make sure IPV6_V6ONLY is available for IPv6 support
...
We really on IPV6_V6ONLY being supported.
metze
2010-04-24 20:30:23 +02:00
Stefan Metzmacher
db29b2d6d2
lib/replace/wscript: add replacement for IPV6_V6ONLY on linux systems with broken headers
...
This is needed on SLES8.
metze
2010-04-24 20:30:23 +02:00
Stefan Metzmacher
e06cf39502
lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken headers
...
This is needed on SLES8.
metze
2010-04-24 20:30:17 +02:00
Stefan Metzmacher
051535f196
buildtools/wafsamba: inline defines during configure into the tests
...
There 2 reasons for this change:
- This is how autoconf tests work and it makes config.log much more useful
- The waf c preprocessor ignored changes in bin/default/__confdefs.h when using
waf configure -C, because is outside of the configure tests project path
and handled like a system header.
Many thanks to ita for pointing out the fix.
metze
2010-04-24 20:03:50 +02:00
Stefan Metzmacher
1ed5f71820
buildtools/wafsamba: make sure we create bin/default/ before trying to create symlinks in it
...
metze
2010-04-24 20:03:50 +02:00
Matthieu Patou
c88b83b7c1
s4 dns: Allow to specify static grant entries to be added to the dynamicaly generated named.conf.update
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-04-24 14:09:10 +02:00
Tim Potter
f25ebe3728
s4-smbd: Fix compiler warning in prefork smbd.
...
My first patch in a while...
Tim.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-04-24 14:07:40 +02:00
Stefan Metzmacher
92449412dc
lib/zlib/wscript: fix system zlib detection
...
metze
2010-04-24 13:19:23 +02:00
Volker Lendecke
4c7cc8bb63
Revert "nsswitch: Fix a memleak in wbinfo"
...
This reverts commit a97f2a0a9c0f1c148a0152202296bb078103b40c.
This was not a memleak, it was a valgrind false positive. We store "details" in
a static.
2010-04-24 12:41:47 +02:00
Volker Lendecke
dbb7db6c25
s3: sendto_domain() is lo longer used
2010-04-24 11:12:19 +02:00
Volker Lendecke
678a3c4e6d
s3: Simplify (bool != True) to !bool
2010-04-24 10:50:12 +02:00
Jeremy Allison
a796542a93
Implement oplocks within SMB2. Plumb into the existing SMB1 oplock system.
...
Seems to work but needs more tests (to be added).
Jeremy.
2010-04-24 00:29:41 -07:00
Jeremy Allison
247273196f
When sending the initial async response, this is never part of a chain.
...
Get the reply flags correct.
Jeremy.
2010-04-23 15:35:34 -07:00
Jeremy Allison
0e6f4ed703
Don't free the entire tevent_req on cancel, only the part we need (the immediate event).
...
Jeremy.
2010-04-23 15:34:58 -07:00
Volker Lendecke
328ca041e0
libwbclient: Test WBC_CHANGE_PASSWORD_LEVEL_RESPONSE
2010-04-23 23:41:05 +02:00
Volker Lendecke
7099a3c446
s3: Allow pdb password change using WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP
2010-04-23 23:41:05 +02:00
Volker Lendecke
f43d1827f3
s3: init_dc_connection() can't init for internal domains
...
This fixes a crash in winbindd_dual_pam_chng_pswd_auth_crap when given
global_sam_name() in the domain field
2010-04-23 23:41:04 +02:00
Volker Lendecke
03115efae8
libwbclient: Actually copy something in wbcChangeUserPasswordEx
...
The length argument for memcpy was initialized to 0 and not initialized
2010-04-23 23:41:04 +02:00
Volker Lendecke
6eec46ec44
s3: replace some data_blob_talloc by data_blob_const
2010-04-23 23:41:04 +02:00
Volker Lendecke
7574347e68
libwbclient: Remove some pointless BAIL_ON_WBC_ERROR macro calls
2010-04-23 23:41:04 +02:00
Volker Lendecke
f2f0fed8aa
s3: Convert WINBINDD_PAM_CHNG_PSWD_AUTH_CRAP to the new async API
2010-04-23 23:41:04 +02:00
Simo Sorce
168b86c384
s3-smbd: group print relate data in own structure
2010-04-23 14:26:33 -07:00
Jeremy Allison
2bbb8c917e
Allow smb2 create requests to be cancelled.
...
Jeremy.
2010-04-23 13:10:15 -07:00
Ira Cooper
dd20259471
Fix bug #7384 - dptr_Close has a bitmap leak.
...
s3: Fix to dptr_Close
This fixes a bitmap "leak" in dptr_Close by making it use the same internal
routines the rest of the code does.
2010-04-23 10:55:46 -07:00
Jeremy Allison
350f4e348c
At simo's request return struct tevent_req *treq -> treq. For consistency :-(.
2010-04-23 10:53:44 -07:00
Jeremy Allison
2b13a8d650
Rename - no functional change. Stop all variables being called "req".
...
tevent_req -> treq
struct smb_request -> smb1req
struct smbd_smb2_request -> smb2req
Jeremy.
2010-04-23 10:29:48 -07:00
Andreas Schneider
251cd42ed5
s3-spoolss: Added a winreg_get_printer function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:33:07 +02:00
Andreas Schneider
e15d624c0a
s3-spoolss: Added a winreg_create_printer function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:32:16 +02:00
Andreas Schneider
a61297647d
s3-spoolss: Added a winreg_update_printer function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:31:04 +02:00
Simo Sorce
8cb79bf4cd
s3-spoolss: Added a winreg_get_driver_list function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:30:57 +02:00
Simo Sorce
8db203a4a6
s3-spoolss: Added a winreg_del_driver function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:29:48 +02:00
Simo Sorce
16e0f80687
s3-spoolss: Added a winreg_get_driver function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:26:24 +02:00
Simo Sorce
a91f6f8b03
s3-spoolss: Added a winreg_add_driver function.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:24:25 +02:00
Simo Sorce
8f56cdfaee
s3-spoolss: Move info_ctr conversion to a public helper.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:49 +02:00
Andreas Schneider
94a8482261
s3-spoolss: Fixed winreg_delete_printer_key if key is NULL or emtpy.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:49 +02:00
Simo Sorce
96a04b067e
s3-spoolss: Add date and version winreg helpers.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:49 +02:00
Andreas Schneider
b33e877aad
s3-spoolss: Added more winreg hepler functions.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:48 +02:00
Simo Sorce
d4f563d9d4
s3-spoolss: Added winreg helper functions
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:48 +02:00
Andreas Schneider
0ed5e36c67
s3-spoolss: Added a winreg function to query a dword.
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23 16:23:47 +02:00