1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

62007 Commits

Author SHA1 Message Date
Volker Lendecke
250bea02b5 libwbclient: Test wbcLookupRids 2010-04-19 14:27:17 +02:00
Volker Lendecke
0a966980f4 libwbclient: Make wbcLookupSid not use talloc 2010-04-19 14:27:16 +02:00
Volker Lendecke
a0162303c6 libwbclient: Add wbcStrDup 2010-04-19 14:27:16 +02:00
Volker Lendecke
ed1981db05 libwbclient: Convert wbcSidToString to not use talloc 2010-04-19 14:27:16 +02:00
Volker Lendecke
b75106b2ed libwbclient: Make copy_group_entry not use talloc 2010-04-19 14:27:16 +02:00
Volker Lendecke
041be88bd0 libwbclient: Make copy_passwd_entry not use talloc 2010-04-19 14:27:16 +02:00
Volker Lendecke
20011f4681 libwbclient: Make wbcGuidToString not use talloc 2010-04-19 14:27:16 +02:00
Volker Lendecke
769997786c libwbclient: Make wbcLibraryDetails not use talloc 2010-04-19 14:27:16 +02:00
Volker Lendecke
f2a04a0ccb libwbclient: Add wbcAllocateMemory()
This prepares for removing libwbclient's talloc dependency. It is a
non-hierarchical "talloc-lite" that has destructors. It is necessary because we
have the catch-call wbcFreeMemory call. Individual wbcFreeXXX calls for the
different structures wbclient returns would have made this easier, but
wbcFreeMemory is the API we have to live with.
2010-04-19 14:27:16 +02:00
Andrew Tridgell
456351cdb1 s4-waf: follow the configure directories for the empty install dirs
Thanks to Metze for spotting this
2010-04-19 21:54:40 +10:00
Andrew Tridgell
d25e1e15d3 build: update waf from svn
this adds bld.install_dir()
2010-04-19 21:00:51 +10:00
Andrew Tridgell
db0eb2f239 s4-waf: install some missing empty directories 2010-04-19 21:00:36 +10:00
Andrew Tridgell
d2b35c3a24 build: make compare_install.sh also check for missing directories
Thanks to Nadya for pointing this out
2010-04-19 21:00:16 +10:00
Günther Deschner
0b2e5debb0 s3-smb2: fix some c++ warnings.
Guenther
2010-04-19 11:54:00 +02:00
Günther Deschner
7b84d36f19 s3-spoolss: fix samr_ValidatePassword_Change.
Guenther
2010-04-19 11:53:59 +02:00
Günther Deschner
7277668128 spoolss: move up enum spoolss_Build in the IDL.
Guenther
2010-04-19 11:53:59 +02:00
Günther Deschner
2033314a7c s3-lanman: use spoolss for api_WPrintJobGetInfo().
Guenther
2010-04-19 11:53:55 +02:00
Günther Deschner
0c80d12656 s3-lanman: use spoolss for api_WPrintJobEnumerate().
Guenther
2010-04-19 11:23:44 +02:00
Günther Deschner
0277143ca6 s3: re-run make samba3-idl.
Guenther
2010-04-19 11:10:11 +02:00
Günther Deschner
5b3c22e96f spoolss: make spoolss_SetPrinterInfo0 match changes in spoolss_PrinterInfo0.
Guenther
2010-04-19 11:10:01 +02:00
Andrew Tridgell
fdf4d3eed3 s4-waf: fixed WINBINDD_SOCKET_DIR for wb_common in s4
s4 uses a different path for the socket
2010-04-19 18:21:42 +10:00
Andrew Tridgell
540d197e49 s4-test: we don't need -s set for samba_dnsupdate
this is now handled by SMB_CONF_PATH

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-19 18:21:42 +10:00
Andrew Tridgell
43ca57d088 s4-dns: use neater python for reading lines
files are line iterators
2010-04-19 18:21:42 +10:00
Andrew Tridgell
162e7bc5b4 s4-param: set SMB_CONF_PATH when we load a smb.conf
this is inherited by child python processes, to ensure they get the
right smb.conf if they don't have one specified. Fixes bug 7301

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-19 18:21:42 +10:00
Andrew Tridgell
dcf35ab487 runcmd: use tevent_re_initialise() to close sockets
this ensures that all event fds are closed in the child
2010-04-19 18:21:42 +10:00
Kai Blin
8208f8e5e5 s3 i18n: Fix up missing newlines in more pam_winbind translations 2010-04-19 09:27:50 +02:00
Kai Blin
e56dc83162 s3 i18n: Fix up missing newlines in pam_winbind translations
At least in the languages I could read, the newlines were indeed
missing.
2010-04-19 09:04:37 +02:00
Andrew Tridgell
b6dff759f7 build: added --cross-answers support
This allows you to easily cross-compile even without a --cross-execute
emulator

See http://wiki.samba.org/index.php/Waf#cross-compiling for details
2010-04-19 16:34:14 +10:00
Andrew Tridgell
5040e2a6fb s4-dev: expanded selftest-vars.sh to match current testenv 2010-04-19 16:34:14 +10:00
Andrew Tridgell
e6cbbd9640 s4-python: PyErr_SetString() will crash on NULL strings
use nt_errstr() when no error available
2010-04-19 16:34:14 +10:00
Andrew Tridgell
93f4f7a037 build: fixed a python-3 indent error 2010-04-19 16:34:14 +10:00
Andrew Tridgell
4e51bf1ffd build: expanded testwaf to include cross-compiling and python versions 2010-04-19 16:34:14 +10:00
Jeremy Allison
59fa1e1890 Final fix for #7331 - Compound async SMB 2 requests don't work right.
Don't free the cancelled SMB2 req early, let the cancelation
function take care of it. Return a NT_STATUS_CANCELLED when
we find and cancel a request. Fix our SMB2 error returns to
correctly set the structuresize to 9, and add the expected
zero byte (see section 2.2.2 in the SMB2 spec.).

This causes Samba to pass the test program in this bug report
that W2K8R2 fails (heh heh :-). This is because we always cause
compound requests to get to a cancelation point before dealing
with a cancel request.

Jeremy.
2010-04-18 20:23:54 -07:00
Volker Lendecke
058d4a21af s3: Fix indentation in remove_ccache 2010-04-18 15:25:03 +02:00
Volker Lendecke
0264c0c337 s3: Fix a memleak in discover_dc_netbios 2010-04-18 15:25:03 +02:00
Volker Lendecke
36e57fa728 s3: Fix a typo in winbindd_ccache_save 2010-04-18 15:25:03 +02:00
Volker Lendecke
a97f2a0a9c nsswitch: Fix a memleak in wbinfo 2010-04-18 15:25:02 +02:00
Ira Cooper
e1ca451794 s3: Improved support for GAMIN.
Support the FAMNoExists API for gamin to reduce cpu use and problems when
using GAMIN as FAM for vfs_notify_fam.
2010-04-18 15:12:41 +02:00
Andrew Tridgell
69ce29826c build: more dependencies on /usr/bin/perl -> ${PERL} 2010-04-18 23:08:28 +10:00
Andrew Tridgell
3ca5fd8e03 build: cope with perl not being in /usr/bin/perl
This should fixed the pidl build on SerNet-NetBSD5
2010-04-18 22:55:16 +10:00
Andrew Tridgell
211bf1ea17 s4-waf: removed the unused installdir= option to SAMBA_BINARY()
This was left over from the automatic conversion of the config.mk
files
2010-04-18 21:47:00 +10:00
Andrew Tridgell
f8e3e5ce07 build: fixed install of binary targets that are in subdirs
this should fix the smbd/smbd install problem with Kai's s3 waf build
2010-04-18 21:08:48 +10:00
Andrew Tridgell
639fe34667 build: support make V=1 for verbose build
this also adds support for other options, such as "make TESTS=testpattern"
2010-04-18 21:08:48 +10:00
Andrew Tridgell
7aa4c11fc4 build: more adjustments for the ABI type name maps
- use 'va_list' instead of 'struct __va_list_tag *'
  Using the C name for va_list is preferable

- add support for negative ABI name matches in abi_match=.  That is
  used to exlude ldb_*module_ops from the ldb ABI

- don't include the ldb module ops or backend ops in the ABI
2010-04-18 18:24:27 +10:00
Andrew Tridgell
1a73e967f5 build: added abi_type_maps for FC12 struct va_list
fedora12 x86 uses "struct va_list"
2010-04-18 17:35:53 +10:00
Andrew Tridgell
3f1ebe805b build: don't depend on the word size of nm output
the first column varies in length for different architectures
2010-04-18 17:32:26 +10:00
Jeremy Allison
1aa80f5788 Second part of fix for bug #7331 - Compound async SMB 2 requests don't work right.
Cause us to match W2K8R2 by sending an interim compound reply
followed by a async reply.

Jeremy.
2010-04-17 22:42:23 -07:00
Andrew Tridgell
f96353adcf s4-waf: rebuild signature files with the api type maps
This is not strictly necessary, as the old types would compare equal,
but it is neater to use the generic type names
2010-04-18 15:39:59 +10:00
Andrew Tridgell
8dc2db0f6d build: added abi type maps for _Bool and __va_list_tag
This allows us to make the signature files platform independent
2010-04-18 15:39:14 +10:00
Andrew Tridgell
77768dbd75 ldb-waf: enable ABI checking in ldb
we use separate signature files for ldb and ldb-samba4, as the samba4
varient of the library has many more public symbols
2010-04-18 15:00:38 +10:00