1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-31 17:18:04 +03:00
Commit Graph

24809 Commits

Author SHA1 Message Date
Derrell Lipman
735e98759c 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.
(This used to be commit 296a6783fb)
2008-01-16 14:37:40 +00:00
Derrell Lipman
12d31ba2b8 Add a (very!) trivial cache to the example authentication callback.
(This used to be commit 01f6a4cca7)
2008-01-16 14:35:44 +00:00
Derrell Lipman
f426949e88 Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
(This used to be commit 4ff2101c69)
2008-01-16 02:30:21 +00:00
Jeremy Allison
7e2b8eb079 Port from ctdb:
minor fix to transaction_write_existing: tridge.

Jeremy.
(This used to be commit 874425c8f6)
2008-01-15 17:20:50 -08:00
Derrell Lipman
6e94cbdc30 Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
(This used to be commit f963d57096)
2008-01-16 00:45:06 +00:00
Jeremy Allison
9a6a5fff9c 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.
(This used to be commit 5467db3883)
2008-01-15 16:13:11 -08:00
Jeremy Allison
e2528bd5fd Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 0d989bf90b)
2008-01-15 15:09:35 -08:00
Jeremy Allison
ddabc2b00c Fix "status used uninitialized" warnings.
Jeremy.
(This used to be commit e57856fff2)
2008-01-15 15:09:13 -08:00
Gerald W. Carter
742fb9a620 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.
(This used to be commit 1df8f98602)
2008-01-15 16:53:26 -06:00
Günther Deschner
e021eb6d7b Use NDR_PRINT_UNION_STRING instead of NDR_PRINT_UNION_DEBUG in rpcclient.
Guenther
(This used to be commit 2c045a8c81)
2008-01-15 23:07:10 +01:00
Günther Deschner
767fe3943d Add some NDR_PRINT_*_STRING macros (returning talloced strings).
Guenther
(This used to be commit 50ab169f58)
2008-01-15 23:07:10 +01:00
Jeremy Allison
7c701feb3d Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit ed7322dcfa)
2008-01-15 10:31:47 -08:00
Kai Blin
ce9e918c95 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
(This used to be commit ecbe08897c)
2008-01-15 19:29:08 +01:00
Jeremy Allison
9c63e1820b Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 6e17a56039)
2008-01-15 10:19:47 -08:00
Volker Lendecke
ee8cf0ce40 ea_tdb->xattr_tdb also inside the module itself
(This used to be commit 642424b377)
2008-01-15 17:30:29 +01:00
Volker Lendecke
c2acec43ae rename vfs_ea_tdb to vfs_xattr_tdb
(This used to be commit 151b42a150)
2008-01-15 17:30:29 +01:00
Günther Deschner
fe165e4a9f Use autogenerated debugging functions in libnetjoin when requested.
Guenther
(This used to be commit 08c1720509)
2008-01-15 17:00:58 +01:00
Günther Deschner
c920764b19 Apply const to rpccli_lsa_query_info_policy() and rpccli_lsa_query_info_policy2().
Guenther
(This used to be commit 7a3fe68bef)
2008-01-15 16:40:22 +01:00
Stefan Metzmacher
bd8f1f71ac libwbclient: don't link talloc.o into libwbclient.a
hopefully fix the build...(and hopefully the correct fix)

metze
(This used to be commit 561e529a71)
2008-01-15 16:00:40 +01:00
Stefan Metzmacher
0a21a1ab09 Revert "libwbclient: don't link talloc.o into libwbclient.a"
This reverts commit 9a4b6fd3e2.

Sorry...

metze
(This used to be commit 58c806dbf8)
2008-01-15 15:56:58 +01:00
Günther Deschner
40222cc8e2 Remove unrequired TALLOC_FREE.
Guenther
(This used to be commit 15d0e57438)
2008-01-15 15:48:48 +01:00
Günther Deschner
2ae6feb577 Include libnet_join.h in the right places.
Guenther
(This used to be commit 586d6cef52)
2008-01-15 15:44:04 +01:00
Günther Deschner
b239612fcf Use autogenerated libnet_join header.
Guenther
(This used to be commit d94bd3a03b)
2008-01-15 15:29:50 +01:00
Günther Deschner
af69a1b431 Add ndr_print_ads_struct().
Guenther
(This used to be commit 0a914a55ba)
2008-01-15 15:29:44 +01:00
Günther Deschner
4e2029f25c Add ndr_print_sockaddr_storage and ndr_print_bool.
Guenther
(This used to be commit f44f76415a)
2008-01-15 15:29:36 +01:00
Günther Deschner
6c9d517826 Define libnet join interface in IDL.
Guenther
(This used to be commit 7a48779ee5)
2008-01-15 15:29:29 +01:00
Stefan Metzmacher
97f61b542c libwbclient: don't link talloc.o into libwbclient.a
hopefully fix the build...

metze
(This used to be commit 9a4b6fd3e2)
2008-01-15 15:02:01 +01:00
Derrell Lipman
9788383a6c Merge branch 'v3-2-test' of git://git.samba.org/samba into v3-2-test
(This used to be commit 3a61e663e5)
2008-01-15 13:58:47 +00:00
Michael Adam
982c71fcd2 Use the proper boolean functions.
Michael
(This used to be commit beaa83f32b)
2008-01-15 14:56:00 +01:00
Michael Adam
8a01076334 Remove some trailing spaces.
Michael
(This used to be commit 1941c365b5)
2008-01-15 14:55:04 +01:00
Stefan Metzmacher
ab10557a68 krb5_locator: winbind_krb5_locator.o doesn't need socket wrapper any more
metze
(This used to be commit a5fb8b443a)
2008-01-15 13:58:35 +01:00
Stefan Metzmacher
11fb5f39fe nss_winbind: nss_winbind.so doesn't need socket wrapper any more
metze
(This used to be commit ed559b4a59)
2008-01-15 13:58:34 +01:00
Stefan Metzmacher
b5aa1a3c24 pam_winbind: pam_winbind.so doesn't need soecket wrapper any more
metze
(This used to be commit e37859164c)
2008-01-15 13:58:33 +01:00
Stefan Metzmacher
84d73ff78b libwbclient: libwbclient.so doesn't need socket nor nss wrapper any more
metze
(This used to be commit 4f05b50d4c)
2008-01-15 13:58:33 +01:00
Stefan Metzmacher
99e9776436 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
(This used to be commit 40aeb43160)
2008-01-15 13:58:32 +01:00
Günther Deschner
b32d613ed0 No need to re-establish AD connection all the time.
Guenther
(This used to be commit f21871c6d6)
2008-01-15 11:02:56 +01:00
Günther Deschner
f41cd6c8e4 Use dsgetdcname() to find a dc when unjoining in libnetjoin.
Guenther
(This used to be commit 1a5b72daa3)
2008-01-15 11:02:56 +01:00
Günther Deschner
0e8240f5a5 Re-arrange pre- and postprocessing code in libnetjoin.
Guenther
(This used to be commit 99e3e4b0dd)
2008-01-15 11:02:56 +01:00
Volker Lendecke
2b14428330 Fix some warnings -- Jeremy, please check
(This used to be commit b66ac8567c)
2008-01-15 11:01:18 +01:00
Volker Lendecke
57cc992e0f 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
(This used to be commit 2036b4c5ad)
2008-01-15 11:01:18 +01:00
Stefan Metzmacher
e00e080034 libwbclient: add wbclient.pc.in
metze
(This used to be commit e6bd1395f2)
2008-01-15 10:43:43 +01:00
Stefan Metzmacher
1e9c289d84 libwbclient: install wbclient.h into the same path as smbclient.h
metze
(This used to be commit 7cb81bfc6b)
2008-01-15 10:43:43 +01:00
Stefan Metzmacher
bfc4e62e61 libwbclient: move wbc_err.h into wbclient.h as we only install one header
This makes the installed wbclient.h header usable.

metze
(This used to be commit 7dd65599a1)
2008-01-15 10:43:42 +01:00
Günther Deschner
8a6f492e57 Add True/False bool cleanup script.
Guenther
(This used to be commit 9f05d2eae7)
2008-01-15 10:35:10 +01:00
Jeremy Allison
d7582b5186 Windows insists on write sizes < max_xmit on signed connections.
Jeremy.
(This used to be commit ef9b278b62)
2008-01-14 13:46:06 -08:00
Jeremy Allison
19e4e99bfb 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.
(This used to be commit 22a4129fab)
2008-01-14 11:06:46 -08:00
Alexander Bokovoy
edd4cb0373 Fix crash in winbind clients: instead of talloc-based pointer we passed address of a local variable.
(This used to be commit a861ff2091)
2008-01-14 13:03:49 -06:00
Michael Adam
d35bda0ffd 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
(This used to be commit 3f081ebead)
2008-01-14 19:38:01 +01:00
Günther Deschner
36a7316bfc Some more minor cleanup for "net rpc audit".
Guenther
(This used to be commit 558ce4ec3e)
2008-01-14 18:39:15 +01:00
Günther Deschner
a32cca7f37 Print principal in debug statement in kerberos_kinit_password() as well.
Guenther
(This used to be commit 44d67e8462)
2008-01-14 18:39:08 +01:00