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

54533 Commits

Author SHA1 Message Date
Andrew Bartlett
8f3f62e9d6 s4:net Move net_vampire() to net_vampire.c 2009-07-06 16:41:42 +10:00
Andrew Bartlett
f45a9d63e5 s4:ldb Rework use of talloc and ldif objects in python wrapper
The talloc hirarchy here was a bit odd - we would both steal the
parsed ldif onto 'NULL', then reference it onto a python talloc
wrapper.

Now we just leave the reference, after we complete building the object.

Andrew Bartlett
2009-07-06 09:50:47 +10:00
Andrew Bartlett
da45d5215d s4:ldb Fix talloc hirarchy in LDIF parsing code
The problem here was that some parts of the ldb_message were still
attached to the ldb_ldif structure, and when only the message was
taken (and the ldif free'ed to reclaim memory) we refereced free'ed
memory.

Andrew Bartlett
2009-07-06 09:50:47 +10:00
Volker Lendecke
880c286bc9 Use null_ndr_syntax_id instead of zeroing null_interface manually 2009-07-05 23:50:12 +02:00
Volker Lendecke
e77e21e0f1 Add const to init_rpc_hdr_ba 2009-07-05 23:50:12 +02:00
Volker Lendecke
58fbf7420c Remove "typedef struct ndr_syntax_id RPC_IFACE;" 2009-07-05 23:50:12 +02:00
Volker Lendecke
f8cfe19d85 Introduce null_ndr_syntax_id 2009-07-05 23:50:12 +02:00
Volker Lendecke
30dd96e819 Make check_bind_req static to rpc_server/srv_pipe.c 2009-07-05 23:50:12 +02:00
Volker Lendecke
f2998feb8e Actually increase PASSDB_INTERFACE_VERSION to 18 :-) 2009-07-05 23:50:11 +02:00
Volker Lendecke
ee5236e2d2 Fix some nonempty blank lines 2009-07-05 23:50:11 +02:00
Björn Jacke
43887c8d71 libreplace: update library search path variables 2009-07-05 22:42:29 +02:00
Björn Jacke
2540710b5e s3:configure: honor CFLAGS in compile tests
When compilation is done for the architecture that's not the compiler's
default, for example by setting CFLAGS to -m64, then compile tests might fail
when they are done with the comiler's default arch. This should fix
bugzilla #6162.
2009-07-05 13:11:20 +02:00
Volker Lendecke
a5cd278f6f pdb_ads: For cached samu entries, priv is NULL
We have to recreate the priv entry on demand. This needs fixing in
passdb... :-)
2009-07-04 12:54:23 +02:00
Volker Lendecke
bfd82e4979 Add pdb_ads_get_domain_info 2009-07-04 12:54:23 +02:00
Volker Lendecke
5742ed128d Fix some warnings 2009-07-04 12:54:22 +02:00
Volker Lendecke
f6ce7e0625 pdb_ads: Use tldap_fetch_rootdse in pdb_ads_connect 2009-07-04 12:54:22 +02:00
Volker Lendecke
98fb2a18f9 pdb_ads: Fetch the domain GUID 2009-07-04 12:54:22 +02:00
Volker Lendecke
bc1e93cc80 Add tldap_pull_guid 2009-07-04 12:54:22 +02:00
Volker Lendecke
f169772d93 Handle LSA_POLICY_INFO_DNS 2009-07-04 12:54:22 +02:00
Volker Lendecke
8666e79f8f Implement QueryInfoPolicy2 similar to s4: Make it the same as QueryInfoPolicy
Don't reply to it for non-pdb-ads to keep up our old behaviour
2009-07-04 12:54:22 +02:00
Volker Lendecke
b8322ec2b2 Add pdb_get_domain_info 2009-07-04 12:54:22 +02:00
Volker Lendecke
1c778aa19a Make pdb_ads return an additional flag 2009-07-04 12:54:22 +02:00
Björn Jacke
077808f916 s3/s4:build: honor library path from environment
we may not throw away LD_LIBRARY_PATH and friends as they sometimes contain
important information. Some of the build farm machines for example have the
python lib path in there - we can't run make test when we suddenly forget how
to use python
2009-07-04 01:14:24 +02:00
Volker Lendecke
cfacece9ed tldap: Do not do a return before we got the search_result 2009-07-03 23:20:57 +02:00
Volker Lendecke
520b6c0d50 Fix two pointless statics 2009-07-03 23:20:57 +02:00
Volker Lendecke
7e560bd802 For non-existent streams we have to return OBJECT_NAME_NOT_FOUND
See the STREAMERROR s3 torture test.

Jeremy, Tim, please check!
2009-07-03 23:20:57 +02:00
Volker Lendecke
56ae65ad5c Test error codes on popular streams 2009-07-03 23:20:56 +02:00
Volker Lendecke
66152d29b3 Attempt to fix the build 2009-07-03 22:33:21 +02:00
Günther Deschner
1225d57abe s3-spoolss: add rpccli_spoolss_getprinterdriver convenience wrapper.
Guenther
2009-07-03 22:05:46 +02:00
Günther Deschner
cb39ba3d40 spoolss: fill in spoolss_GetPrinterDriver IDL.
Guenther
2009-07-03 22:05:37 +02:00
Günther Deschner
c5415e7e09 spoolss: the flags in spoolss_SetPrinterInfo1 are in fact spoolss_PrinterAttributes.
Guenther
2009-07-03 22:05:29 +02:00
Günther Deschner
bee0421f4c s3-spoolss: implement _spoolss_AddPrinter.
Guenther
2009-07-03 22:05:21 +02:00
Günther Deschner
80b62f579f spoolss: fill in spoolss_AddPrinter IDL.
Guenther
2009-07-03 22:05:10 +02:00
Björn Jacke
e9fc7c5e15 heimdal: don't include <ifaddrs.h> without knowing it's there
this is 73dbbe0d54 re-added. abartlet, please pick this to lorikeet.
2009-07-03 19:13:08 +02:00
Björn Jacke
cdf025f012 tdb: fix define of tdbdir when srcdir != "." 2009-07-03 18:24:42 +02:00
Simo Sorce
7119241c0d Sort the signature files 2009-07-03 08:45:30 -04:00
Simo Sorce
30b2014a01 Expose functions need by backend writers
move publicly needed structures and functions in the public header.
Stop installing internal headers.
Update the signature and exports files with the new exposed
function.
2009-07-03 08:45:30 -04:00
Simo Sorce
2738178d13 Restore ABI compatibility for talloc. 2009-07-03 08:45:29 -04:00
Björn Jacke
b54e48b830 s3:configure: fix syntax error in avahi configure test 2009-07-03 14:26:28 +02:00
Jelmer Vernooij
fa453d944d s4: Don't install epdump, since it no longer exists. 2009-07-03 13:12:08 +02:00
Michael Adam
914fa629f2 Revert "[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it."
This reverts commit 1d3dcd1e42.

This fixes Bug #6531 (Pid File creation.)

Usually, I would extend is_default_dyn_XYZ() so that it returns true
when dyn_XYZ has not been set yet or when its value is equal to the
compiled in default value XZY. But this would have a change in effect
in popt_common and torture.c: is_default_dyn_CONFIGFILE() is used
there to check whether the config file should be overwritten by the
contents of the environment variable SMB_CONF_PATH. Currently this
is only done when set_dyn_CONFIGFILE() had _not_ previously been called
at all, not even with the same value as the compiled in default.

Michael
2009-07-03 12:41:08 +02:00
Matt Kraai
dcf03b9d43 do not redefine _INT32 2009-07-03 11:50:53 +02:00
Matt Kraai
0b06aa2304 s3:configure: define _LARGEFILE64_SOURCE on QNX 2009-07-03 11:43:52 +02:00
Björn Jacke
06a9678aad s3:pam_smbpass: fix build error on some Linux distros
This addresses bug #6459.
2009-07-03 09:34:21 +02:00
Jelmer Vernooij
c2295ec65b s4 docs: Git has revision SHA's, not numbers. 2009-07-03 00:59:34 +02:00
Jelmer Vernooij
4d9a929f8d s4: Remove stub endpoint mapper script. 2009-07-03 00:59:30 +02:00
Jelmer Vernooij
e6fed3a879 TOSHARG: Fix typo: s/aquire/acquire/ 2009-07-03 00:58:56 +02:00
Jelmer Vernooij
b9cf441f82 pidl: Don't run compile tests inside the tree, won't work yet. 2009-07-03 00:58:48 +02:00
Stefan Metzmacher
909d42278a s3:smbd: add marshalling layer for SMB2 Lock support
metze
2009-07-02 22:25:49 +02:00
Stefan Metzmacher
c281638bc4 s4:libcli: move SMB2 lock flags to smb2_constants.h
metze
2009-07-02 22:25:49 +02:00