1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-02 08:58:33 +03:00

24810 Commits

Author SHA1 Message Date
Derrell Lipman
9d75ea577b Modify testread example to loop using same context.
There's been a problem seen where open/read/close a number of times causes
open failures eventually.  This program has been modified to create the
context once and then loop requesting file names to open/read/close.

This program also demonstrates the current error in cli_read() where it
returns an error instead of length 0 upon end of file.

Derrell
2008-01-16 14:41:11 +00:00
Derrell Lipman
296a6783fb Replace GetTimeOfDay() with gettimeofday() in example program.
GetTimeOfDay() seems to no longer be exported.  For the smbsh example, just
use the native gettimeofday() for now.
2008-01-16 14:37:40 +00:00
Derrell Lipman
01f6a4cca7 Add a (very!) trivial cache to the example authentication callback. 2008-01-16 14:35:44 +00:00
Derrell Lipman
4ff2101c69 Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test 2008-01-16 02:30:21 +00:00
Jeremy Allison
874425c8f6 Port from ctdb:
minor fix to transaction_write_existing: tridge.

Jeremy.
2008-01-15 17:20:50 -08:00
Derrell Lipman
f963d57096 Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test 2008-01-16 00:45:06 +00:00
Jeremy Allison
5467db3883 Fix the API exported for auth_functions. Ensure we call
passing 3 fstrings/sizeof(fstrings) as 3.0.x did. Found
by Derrell. Derrell please test !
Thanks,
Jeremy.
2008-01-15 16:13:11 -08:00
Jeremy Allison
0d989bf90b Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test 2008-01-15 15:09:35 -08:00
Jeremy Allison
e57856fff2 Fix "status used uninitialized" warnings.
Jeremy.
2008-01-15 15:09:13 -08:00
Gerald W. Carter
1df8f98602 Adding basic script to help in the creation of tarballs for release.
Developers can use this to create tarballs for testing or general
purpose QA.

   Usage: release-scripts/create-tarball

The script will prompt for information as necessary.
2008-01-15 16:53:26 -06:00
Günther Deschner
2c045a8c81 Use NDR_PRINT_UNION_STRING instead of NDR_PRINT_UNION_DEBUG in rpcclient.
Guenther
2008-01-15 23:07:10 +01:00
Günther Deschner
50ab169f58 Add some NDR_PRINT_*_STRING macros (returning talloced strings).
Guenther
2008-01-15 23:07:10 +01:00
Jeremy Allison
ed7322dcfa Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test 2008-01-15 10:31:47 -08:00
Kai Blin
ecbe08897c libsmb: Do not upper-case target name on NTLMv2 hash generation
This makes our NTLMv2 hash generation compatible to the Davenport example
and fixes a bug when ntlm_auth is called with a non-upper-case --domain
parameter and client ntlmv2 auth = yes

Jerry, please consider for 3.2.0
2008-01-15 19:29:08 +01:00
Jeremy Allison
6e17a56039 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test 2008-01-15 10:19:47 -08:00
Volker Lendecke
642424b377 ea_tdb->xattr_tdb also inside the module itself 2008-01-15 17:30:29 +01:00
Volker Lendecke
151b42a150 rename vfs_ea_tdb to vfs_xattr_tdb 2008-01-15 17:30:29 +01:00
Günther Deschner
08c1720509 Use autogenerated debugging functions in libnetjoin when requested.
Guenther
2008-01-15 17:00:58 +01:00
Günther Deschner
7a3fe68bef Apply const to rpccli_lsa_query_info_policy() and rpccli_lsa_query_info_policy2().
Guenther
2008-01-15 16:40:22 +01:00
Stefan Metzmacher
561e529a71 libwbclient: don't link talloc.o into libwbclient.a
hopefully fix the build...(and hopefully the correct fix)

metze
2008-01-15 16:00:40 +01:00
Stefan Metzmacher
58c806dbf8 Revert "libwbclient: don't link talloc.o into libwbclient.a"
This reverts commit 9a4b6fd3e21f54a0ff83f1fd0d0d5331a2cfdd0a.

Sorry...

metze
2008-01-15 15:56:58 +01:00
Günther Deschner
15d0e57438 Remove unrequired TALLOC_FREE.
Guenther
2008-01-15 15:48:48 +01:00
Günther Deschner
586d6cef52 Include libnet_join.h in the right places.
Guenther
2008-01-15 15:44:04 +01:00
Günther Deschner
d94bd3a03b Use autogenerated libnet_join header.
Guenther
2008-01-15 15:29:50 +01:00
Günther Deschner
0a914a55ba Add ndr_print_ads_struct().
Guenther
2008-01-15 15:29:44 +01:00
Günther Deschner
f44f76415a Add ndr_print_sockaddr_storage and ndr_print_bool.
Guenther
2008-01-15 15:29:36 +01:00
Günther Deschner
7a48779ee5 Define libnet join interface in IDL.
Guenther
2008-01-15 15:29:29 +01:00
Stefan Metzmacher
9a4b6fd3e2 libwbclient: don't link talloc.o into libwbclient.a
hopefully fix the build...

metze
2008-01-15 15:02:01 +01:00
Derrell Lipman
3a61e663e5 Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test 2008-01-15 13:58:47 +00:00
Michael Adam
beaa83f32b Use the proper boolean functions.
Michael
2008-01-15 14:56:00 +01:00
Michael Adam
1941c365b5 Remove some trailing spaces.
Michael
2008-01-15 14:55:04 +01:00
Stefan Metzmacher
a5fb8b443a krb5_locator: winbind_krb5_locator.o doesn't need socket wrapper any more
metze
2008-01-15 13:58:35 +01:00
Stefan Metzmacher
ed559b4a59 nss_winbind: nss_winbind.so doesn't need socket wrapper any more
metze
2008-01-15 13:58:34 +01:00
Stefan Metzmacher
e37859164c pam_winbind: pam_winbind.so doesn't need soecket wrapper any more
metze
2008-01-15 13:58:33 +01:00
Stefan Metzmacher
4f05b50d4c libwbclient: libwbclient.so doesn't need socket nor nss wrapper any more
metze
2008-01-15 13:58:33 +01:00
Stefan Metzmacher
40aeb43160 nsswitch/: we don't need socket or nss wrapper in the winbind client code
As we don't need socket wrapper of nss wrapper in the winbind client code
we disable the function macros so that we don't endup with swrap_close()
or similar functions.

metze
2008-01-15 13:58:32 +01:00
Günther Deschner
f21871c6d6 No need to re-establish AD connection all the time.
Guenther
2008-01-15 11:02:56 +01:00
Günther Deschner
1a5b72daa3 Use dsgetdcname() to find a dc when unjoining in libnetjoin.
Guenther
2008-01-15 11:02:56 +01:00
Günther Deschner
99e3e4b0dd Re-arrange pre- and postprocessing code in libnetjoin.
Guenther
2008-01-15 11:02:56 +01:00
Volker Lendecke
b66ac8567c Fix some warnings -- Jeremy, please check 2008-01-15 11:01:18 +01:00
Volker Lendecke
2036b4c5ad Implement vfs_ea_tdb
This is an option for file systems that do not implement xattrs: in
lockdir/eas.tdb an array of xatts per inode is stored.

It can not solve the problem that xattrs might reappear if a posix-level
process deletes a file and happens to re-create it under the same name. On file
systems with birthtime we might have a chance to detect this, but not with
standard posix. A future version might put relief on file systems that do have
xattrs but where these are severely limited in size/speed/whatever: We can put
a simple marker as a native xattr, but the xattrs proper are stored in the tdb.

Volker
2008-01-15 11:01:18 +01:00
Stefan Metzmacher
e6bd1395f2 libwbclient: add wbclient.pc.in
metze
2008-01-15 10:43:43 +01:00
Stefan Metzmacher
7cb81bfc6b libwbclient: install wbclient.h into the same path as smbclient.h
metze
2008-01-15 10:43:43 +01:00
Stefan Metzmacher
7dd65599a1 libwbclient: move wbc_err.h into wbclient.h as we only install one header
This makes the installed wbclient.h header usable.

metze
2008-01-15 10:43:42 +01:00
Günther Deschner
9f05d2eae7 Add True/False bool cleanup script.
Guenther
2008-01-15 10:35:10 +01:00
Jeremy Allison
ef9b278b62 Windows insists on write sizes < max_xmit on signed connections.
Jeremy.
2008-01-14 13:46:06 -08:00
Jeremy Allison
22a4129fab From Alexander Bokovoy
names is a 'const char **names' here, passed from upper level. Passing
'names' as a talloc context will break things as 'names' is usually
likely is a local variable, not a talloc'd. And we want to have array
elements on a context of the array anyway.

Jeremy.
2008-01-14 11:06:46 -08:00
Alexander Bokovoy
a861ff2091 Fix crash in winbind clients: instead of talloc-based pointer we passed address of a local variable. 2008-01-14 13:03:49 -06:00
Michael Adam
3f081ebead Add detection for need of update to the registry db.
This only detects if the tdb sequence number has changed
since the data has last been read.

Michael
2008-01-14 19:38:01 +01:00
Günther Deschner
558ce4ec3e Some more minor cleanup for "net rpc audit".
Guenther
2008-01-14 18:39:15 +01:00