1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

183 Commits

Author SHA1 Message Date
Andrew Tridgell
f9a3774254 r23521: NT_STATUS_OBJECT_NAME_NOT_FOUND is not an error either
(This used to be commit fb20d0cbe0dc3899409a345df0b7d0d73ae64cf0)
2007-10-10 14:53:24 -05:00
Andrew Tridgell
b2668fe8e1 r23520: display shadow copy information in 'allinfo'
(This used to be commit 6855dba72e41a4399bc9cd03ebe9924120c43436)
2007-10-10 14:53:23 -05:00
Andrew Tridgell
c42219d735 r22969: fix some more places where we could end up with more than one event
context. We now have an event context on the torture_context, and we
can also get one from the cli_credentials structure
(This used to be commit c0f65eb6562e13530337c23e3447a6aa6eb8fc17)
2007-10-10 14:52:34 -05:00
Andrew Tridgell
1c211a2e43 r20650: revert a bunch of code I didn't mean to commit yet
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
2007-10-10 14:37:26 -05:00
Andrew Tridgell
f6274959ba r20647: add cluster code
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
2007-10-10 14:37:24 -05:00
Andrew Bartlett
13dbee3ffe r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
(This used to be commit 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10 14:25:00 -05:00
Andrew Tridgell
8c73377855 r18824: fixed a bug in cifsdd when the file is exactly a multiple of the block
size (cifsdd incorrectly reported an error and exited)
(This used to be commit 897b1ae3bff4914e5cfbcb333184045c2a1deaf3)
2007-10-10 14:19:14 -05:00
Andrew Tridgell
df35c7612f r18209: fix the ifdef for HAVE_HISTORY_LIST
(This used to be commit bda5c3c0e39de0ae2d4686a8746cc7ee1cc9d18f)
2007-10-10 14:17:50 -05:00
Andrew Tridgell
b04fac4ed3 r18208: Mac OS X also doesn't have history_list()
must be a pretty old readline lib!
(This used to be commit ba901e6820c02bc696c0bd3e9e0788801fd0795b)
2007-10-10 14:17:49 -05:00
Jelmer Vernooij
873749f218 r18168: Use {NULL} rather than POPT_TABLEEND, which is not always available.
(This used to be commit 8b622c5ded0732df0eaf9f6226f52a27b6eacd73)
2007-10-10 14:17:45 -05:00
Jelmer Vernooij
a59706f721 r18121: Simplify m4 code, hopefully fix Samba4 build problems.
(This used to be commit 1adf65b4d7c5d2d4f65d4b28575bdf2368a42139)
2007-10-10 14:17:35 -05:00
Andrew Tridgell
b7477fb388 r18117: first steps in making samba4 use libreplace
(This used to be commit c079cedb084d621c5a0aac59310b237ba375df20)
2007-10-10 14:17:34 -05:00
Jelmer Vernooij
0329d755a7 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
(This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10 14:16:54 -05:00
Jelmer Vernooij
ae67b20623 r15875: Fix bug in smbclients 'put' command tridge found a while ago. Add tests
for 'put' and 'get' commands so we don't break them again.

Fixes #3742
(This used to be commit 141600a624ca90374c2f306139015f8c7487cc0f)
2007-10-10 14:08:35 -05:00
Jelmer Vernooij
23776d243d r15811: Fix mget command without arguments. Caught by the IBM Checker.
(This used to be commit c77fd9f515bee07e50cb6acfe02f9f5836f1a67a)
2007-10-10 14:08:26 -05:00
Jelmer Vernooij
a26f1f12b3 r15809: Fix typo in array offsets. Caught by the IBM checker.
(This used to be commit fa23b09567637f2fd5c293a6ac623707a7ac1289)
2007-10-10 14:08:26 -05:00
Jelmer Vernooij
3bd0802272 r15808: Fix two uninitialized variables, caught by the IBM Checker.
(This used to be commit 673e101b0732f7601a92069159e4d1eac7790506)
2007-10-10 14:08:25 -05:00
Jelmer Vernooij
72a5cbadc1 r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
not available on some platforms but is a Samba-specific library.
(This used to be commit e9d3660fa6678424e5159708a1aa572824926c8e)
2007-10-10 14:05:33 -05:00
Jelmer Vernooij
e595ede02f r15375: Rename readline.h to smbreadline.h avoid clashes with system header.
(This used to be commit ccc3d8a95441e7a7015f0cf0e622ec9e38347d33)
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
f7c86b912d r15331: Integrate LIBSMB and LIBCLI into new LIBCLI_SMB
(This used to be commit 4ec89bce8715f35f21fe05bb738dae13fc6c3066)
2007-10-10 14:05:18 -05:00
Jelmer Vernooij
e002300f23 r15328: Move some functions around, remove dependencies.
Remove some autogenerated headers (which had prototypes now autogenerated by pidl)
Remove ndr_security.h from a few places - it's no longer necessary
(This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10 14:05:17 -05:00
Jelmer Vernooij
710ea94988 r15297: Move create_security_token() to samdb as it requires SAMDB (and the rest of LIBSECURITY doesn't)
Make the ldb password_hash module only depend on some keys manipulation code, not full heimdal
Some other dependency fixes
(This used to be commit 5b3ab728edfc9cdd9eee16ad0fe6dfd4b5ced630)
2007-10-10 14:05:04 -05:00
Jelmer Vernooij
69b51f702a r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6da256f104abed1b82bfde6998a2ac9)
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
0eddf14b30 r15191: Avoid uint_t as it's not standard.
(This used to be commit 7af59357b94e3819415b3a9257be0ced745ce130)
2007-10-10 14:04:15 -05:00
James Peach
6ab33938d5 r15186: Introduce ISDOT and ISDOTDOT macros for testing whether a filename is
"." for "..". These express the intention better that strcmp or strequal
and improve searchability via cscope/ctags.
(This used to be commit 7e4ad7e8e5ec266b969e3075c4ad7f021571f24e)
2007-10-10 14:04:14 -05:00
Andrew Tridgell
a7ddbbb3f8 r14979: avoid a null ptr deref
(This used to be commit b197bee4f6b0a310215620d18b081fca00661803)
2007-10-10 14:00:50 -05:00
Stefan Metzmacher
1af925f394 r14860: create libcli/security/security.h
metze
(This used to be commit 9ec706238c173992dc938d537bdf1103bf519dbf)
2007-10-10 13:59:44 -05:00
Jelmer Vernooij
c50125f6ef r14844: Support a stdbool.h replacement in lib/replace/
(This used to be commit bccfddcafa1fdb56392e2301bbd404964ad9f7c3)
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
e70eae2b4c r14721: Fix a couple of warnings.
(This used to be commit 426ac78108b35adc8412d12d2d888c3d5ddf4171)
2007-10-10 13:59:13 -05:00
Jelmer Vernooij
184955ffd7 r14572: Give libraries saner names, remove some .pc files, make some things
subsystems in case a library doesn't make sense.
(This used to be commit ed382873fd01457a53e0a1e1f5ba6753dfbc0646)
2007-10-10 13:58:49 -05:00
Jelmer Vernooij
4f1c8daa36 r14470: Remove some unnecessary headers.
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10 13:57:29 -05:00
Jelmer Vernooij
8528016978 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
(This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10 13:57:27 -05:00
Jelmer Vernooij
1060f6b3f6 r14402: Generate seperate headers for RPC client functions.
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10 13:57:19 -05:00
Jelmer Vernooij
7a121583b4 r14349: Kill proto.h!
Prototypes are now spread over multiple headers, usually one per subsystem.
This change is required to allow proper header dependencies later on,
without recompiling Samba each time the mtime of any source file changes.
(This used to be commit 3da79bf909f801386a52e6013db399c384d0401c)
2007-10-10 13:57:14 -05:00
Stefan Metzmacher
a1b295ed48 r14256: - rename smb_file -> smb_handle
- move it into the in/out substructs again
- allow file.path only on smb_fileinfo/smb_setfileinfo

metze
(This used to be commit be6d5298a2cdb7e7c61d70471bad445645af5963)
2007-10-10 13:57:06 -05:00
Stefan Metzmacher
307e43bb56 r14173: change smb interface structures to always use
a union smb_file, to abtract
- const char *path fot qpathinfo and setpathinfo
- uint16_t fnum for SMB
- smb2_handle handle for SMB2

the idea is to later add a struct ntvfs_handle *ntvfs
so that the ntvfs subsystem don't need to know the difference between SMB and SMB2

metze
(This used to be commit 2ef3f5970901b5accdb50f0d0115b5d46b0c788f)
2007-10-10 13:56:57 -05:00
Jelmer Vernooij
306b12ad49 r14094: Use saner module directory names, fix loading of server service modules.
(This used to be commit b6ffad3860ba2cf9d8f3423d65be91dcfc962ca2)
2007-10-10 13:56:49 -05:00
Jelmer Vernooij
f8fdbc967c r13944: Yet another round of splitups.
(This used to be commit f87debeb12cebd734b47314554ab671c9e06237e)
2007-10-10 13:52:31 -05:00
Jelmer Vernooij
4ac2be9958 r13924: Split more prototypes out of include/proto.h + initial work on header
file dependencies
(This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10 13:52:24 -05:00
James Peach
56e097e994 r13388: Report a more helpful error with malformed file options of
the form //server/share (ie. remote path missing).
(This used to be commit 443677f58d4ba8d6aa2963ca5848d3e717ee2cac)
2007-10-10 13:51:52 -05:00
James Peach
52f01e2081 r13362: Rename variables for better consistency.
(This used to be commit dc20bb0ddc0824fc458e7fc4a9bce5059f4fc0d5)
2007-10-10 13:51:50 -05:00
James Peach
b94280cd75 r13280: Tidy up formatting.
(This used to be commit 531995000df77a54a4f2d7734e1ad33cd7cda37a)
2007-10-10 13:51:42 -05:00
James Peach
ad01edb37b r13263: Check whether open(2) will accept the O_DIRECT flag. This should fix the
build on NetBSD.
(This used to be commit 7354de62a7fbf3921dfcb0bd865e89bdf1ef5bcd)
2007-10-10 13:51:39 -05:00
James Peach
60f8666ae8 r13255: New CIFS dd client for use in performance testing. The guts of this is
in client/cifsdd*, which implements a minimal implementation of dd. The
IO path is careful to always perform IO at the requested block size.

There is a very basic test suite in script/tests/test_cifsdd.sh which
covers local and remote IO at a variety of block sizes.

Added to lib/util_str.c is a small set of conv_str_*() functions to
convert strings to the corresponding type.

smbcli_parse_unc is modified to insert NULL terminators after its
hostname and sharename parameters. This allows it to correctly parse a
path of the form //foo/share/path/file.
(This used to be commit cd2f94a65817bfae20ac21b730a2c42d8e581ab3)
2007-10-10 13:51:39 -05:00
Jelmer Vernooij
f725afe8fa r13161: Remove optional password as second parameter. Improve return values a bit.
(This used to be commit 94dd559755d1c114588fb6b1353749cf96706269)
2007-10-10 13:51:30 -05:00
Jelmer Vernooij
573c07243d r13155: Large amount of updates to smbclient to:
- Remove global variables (pass things around as variables, add a 'struct smbclient_context')
 - Get rid of pstring
 - Fix up some of the return values
 - Fix some generally weird code
(This used to be commit d9902e1477484ae01f9575afc6eba33526d631ac)
2007-10-10 13:51:29 -05:00
Stefan Metzmacher
34a815422e r13001: fix compiler warnings
metze
(This used to be commit 32cfd7c8df0fb0fe1da8a4d3acabbaa111326352)
2007-10-10 13:51:16 -05:00
Jelmer Vernooij
78c50015bb r12694: Move some headers to the directory of the subsystem they belong to.
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10 13:49:39 -05:00
Andrew Bartlett
215b3bc055 r12629: Add a comment so minimal_includes.pl doesn't try and remove this.
Andrew Bartlett
(This used to be commit 635e7befaad5ad65774f133062c82733a8cc9aee)
2007-10-10 13:49:09 -05:00
Andrew Tridgell
52de553b82 r12626: some systems need time.h here (for asctime())
(This used to be commit 596f8480bbf44dd70e2d2a7ccbc7ced67b74fce0)
2007-10-10 13:49:07 -05:00