1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

65065 Commits

Author SHA1 Message Date
Günther Deschner
002ac5681f s3-net: only include netapi header when needed.
Guenther
2010-08-06 15:43:38 +02:00
Günther Deschner
164ee0fe56 s3-libsmb: include nbt.h in namequery_dc code.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
f9012635da s3-libnet: include netlogon.h in libnet samsync header.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
af38b5f800 s3-smbtorture: include svcctl.h
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
441d607589 s3-services: include svcctl.h where needed.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
c31df3adb2 s3-build: remove global include of krb5pac.h.
Put in samr and netlogon, as they were pulled in via krb5pac.h.

Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
257a1f1097 s3-krb5: include krb5pac.h where needed.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
2523aec6d1 s3-rap: include svcctl.h where needed.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
ae36783c7b s3-passdb: include samr.h where needed.
Guenther
2010-08-06 15:43:37 +02:00
Günther Deschner
677dcfa678 s3-param: include svcctl headers in loadparm.
Guenther
2010-08-06 15:43:36 +02:00
Günther Deschner
728fba1233 s3-nmbd: include svcctl.h where needed.
Guenther
2010-08-06 15:43:36 +02:00
Volker Lendecke
bf9a1dd460 s3: Remove some explicit calls to procid_self() 2010-08-06 15:15:57 +02:00
Volker Lendecke
e6604e5d20 s3: Remove some explicit calls to procid_self() 2010-08-06 15:15:57 +02:00
Andreas Schneider
e9eb263391 s3-spoolss: Make sure we convert a 4 byte value to uint32_t. 2010-08-06 14:20:09 +02:00
Andreas Schneider
043c6f4658 s3-spoolss: Fixed setting driver version correctly.
We are in a loop here, so setting tmp to 0 at the beginning of each
iteration sets info8->version to 0 if we enumerate over another value.
2010-08-06 14:20:09 +02:00
Stefan Metzmacher
33d1879d5b pidl: Samba3/ClientNDR - Correctly copy arrays, if r.out.size < r.in.size.
metze

Signed-off-by: Andreas Schneider <asn@samba.org>
2010-08-06 14:20:08 +02:00
Volker Lendecke
8f0c863732 s3: fail db_open_ctdb if ctdb is not around 2010-08-06 14:15:04 +02:00
Andrew Tridgell
fe5f4d91ce s3-printing: cope with missing printers in print migration
The printers database may be completely missing in a new install, and
we may have SECDESC entries for printers that have been removed. Don't
consider these fatal errors in the migration.

Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-06 12:14:59 +02:00
Andrew Bartlett
a2607a62f3 s4:ntlmssp Adjust Samba4 ntlmssp code to look more like the code in Samba3.
This does not change behaviour, and some of the whitespace isn't ideal, but
at the moment making this code more similar, even in cosmetics, will assist
later merge efforts.

Andrew Bartlett
2010-08-06 16:14:11 +10:00
Andreas Schneider
91a8d9bc9b s3-torture: Improve the winreg deletekey torture comments. 2010-08-05 16:11:28 +02:00
Andreas Schneider
2a15f7008c s3-torture: Correctly cleanup the winreg volatile key test.
Günther please check!
2010-08-05 16:11:19 +02:00
Andreas Schneider
0a8e382d73 s4-torture: Fixed the winreg EnumValue test against Windows.
Günther please check!
2010-08-05 16:11:01 +02:00
Volker Lendecke
ee11bb8748 s3: Remove some direct cli->inbuf references in interpret_long_filename 2010-08-05 14:53:54 +02:00
Volker Lendecke
869a19f06c s3: Remove a pointless wrapper function 2010-08-05 14:53:54 +02:00
Volker Lendecke
61fb8a4fd1 s3: Explicitly pass flags2 to clistr_pull_talloc
Required to eventually make cli_list async
2010-08-05 14:53:54 +02:00
Volker Lendecke
1cbe8b85ae s3: Remove some pointless wrapper functions 2010-08-05 13:57:31 +02:00
Volker Lendecke
6cb5a0d097 s3: Remove some pointless wrapper functions 2010-08-05 13:57:31 +02:00
Volker Lendecke
0a224bc77b s3: Save the received trans2 from the inbuf in cli_trans 2010-08-05 13:57:29 +02:00
Volker Lendecke
a13b96f04a s3: Fix a crash in masktest 2010-08-05 12:46:40 +02:00
Andreas Schneider
174a46837d s3-spoolss: Use the correct value for the data length. 2010-08-05 12:08:40 +02:00
Andreas Schneider
ce2a086119 s3-popt: Only include popt-common.h when needed. 2010-08-05 12:08:31 +02:00
Günther Deschner
c136b84f0d s3-secrets: only include secrets.h when needed.
Guenther
2010-08-05 10:12:25 +02:00
Andrew Tridgell
1946ab5a1b s4-dns: ndr_dnsp helper functions
these handle the dnsp_name type
2010-08-05 17:31:29 +10:00
Andrew Tridgell
febd35ecd2 s4-dns: fix dnsp for old build 2010-08-05 17:31:29 +10:00
Andrew Tridgell
8892748085 s4-dns: expanded the DNSP code to handle more record type 2010-08-05 17:31:29 +10:00
Andrew Tridgell
a41dffcb6a pidl: added a new type dnsp_name
This is a name type used in DNS where each DNS component maps to a
length byte followed by the string

We want these to map to a char *, which is why we need to do this in
PIDL
2010-08-05 17:31:29 +10:00
Andrew Tridgell
1a701914fd s4-ldb: added ldif handler for the dnsRecord attribute 2010-08-05 17:31:29 +10:00
Andrew Tridgell
2883bc94c7 dns: first version of dsnRecord parser 2010-08-05 17:31:28 +10:00
Günther Deschner
e7a6a3ec0d s3: avoid global include of ads.h.
Guenther
2010-08-05 00:32:02 +02:00
Günther Deschner
385adcce73 s3-libnet_join: add ads.h as helper header to IDL.
Guenther
2010-08-05 00:32:02 +02:00
Günther Deschner
31c484edb9 s3-printing: move AD related printing components to an own file.
Guenther
2010-08-05 00:32:02 +02:00
Volker Lendecke
867626abca s3: Convert cli_list() to return NTSTATUS
If needed, the callback functions can count themselves
2010-08-04 20:32:50 +02:00
Volker Lendecke
2ff73f0df3 s3: Use data_blob_null 2010-08-04 20:32:50 +02:00
Matthias Dieter Wallnöfer
dbdef72953 s4:LDB modules - remove the "kludge_acl" module code
Obviously this has been forgotten by Nadya.
2010-08-04 19:47:41 +02:00
Günther Deschner
4b17ff4a90 s3-waf: fix the build.
Guenther
2010-08-04 14:55:34 +02:00
Nadezhda Ivanova
d50a9e8d9e s4-dsdb: Removed kludge_acl as it is no longer necessary
Moved the access check on extended operations to acl module and removed kludge_acl
2010-08-04 15:22:17 +03:00
Christian Ambach
f4e60b42d3 small optimizations for shadowcopy2 module
- remove a compiler warning
- replace strlen usage

Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04 13:56:12 +02:00
Christian Ambach
b77f241b28 fix snapshot content display with hide unreadable
With the hide unreadable option set, snapshots are be displayed
as empty with shadow_copy2 and a NFSv4 ACL module.

To prevent multiple conversions of the paths when the acl call
does a VFS_STAT (as the nfs4acl code does), a check was added
to convert_shadow2_name() so it will not touch paths any more
that look like they have already been converted.

Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04 13:56:11 +02:00
Volker Lendecke
cc2aa855a3 s3: Fix shadow copies after the change for in-path @GMT-
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04 13:56:11 +02:00
Volker Lendecke
68c6e07591 s3: Fix in-path shadowcopy2 module
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2010-08-04 13:56:11 +02:00