Volker Lendecke
21229178bd
s3: Add msg_ctx to pipes_struct
2010-08-07 13:16:48 +02:00
Volker Lendecke
c9b654f581
s3: Remove smbd_messaging_context() from send_stat_cache_delete_message()
2010-08-07 13:16:48 +02:00
Volker Lendecke
b03bc8822b
s3: Remove a pointless "else"
2010-08-07 10:30:20 +02:00
Volker Lendecke
4c6fd6043b
s3: Remove an unnecessary NULL check
...
Now that connections.tdb is not used for the broadcast messaging anymore,
connections_fetch_entry is only called for real connections.
2010-08-07 10:12:18 +02:00
Günther Deschner
16949ef75a
s3-net: fix copy/paste typo in usage of "net printing".
...
Guenther
2010-08-06 17:38:15 +02:00
Günther Deschner
0f8e032628
s3-netlogon: remove global include of netlogon.h.
...
This reduces precompiled headers by another 4 MB and also slightly speeds up the
build.
Guenther
2010-08-06 15:46:16 +02:00
Günther Deschner
ccd4af271f
s3: remove global include of samr.h
...
Guenther
2010-08-06 15:43:38 +02:00
Günther Deschner
a90ed3381a
s3-build: no need to include privileges.h twice.
...
Guenther
2010-08-06 15:43:38 +02:00
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
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
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
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
Günther Deschner
4b17ff4a90
s3-waf: fix the build.
...
Guenther
2010-08-04 14:55:34 +02: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
olivier
72cd5bcd58
make scannedonly notify the scanner if no .scanned: file was found during rename
2010-08-03 17:07:56 +02:00
Günther Deschner
64b26affe0
s3-dcerpc: fix some uninitialized variables build warnings.
...
Guenther
2010-08-03 15:57:56 +02:00
Günther Deschner
bf19a5228a
s3-spoolss: fix type-punned pointer build warning.
...
Guenther
2010-08-03 15:57:56 +02:00
Günther Deschner
743a2dedf4
s3-spoolss: fix uninitialized variable build warning.
...
Andreas, please check.
Guenther
2010-08-03 15:57:56 +02:00
Günther Deschner
c530aa33cd
s3-printing: make sure to set NTSTATUS code before checking it.
...
Andreas, please check.
Guenther
2010-08-03 15:57:52 +02:00