1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-10 13:57:47 +03:00

55127 Commits

Author SHA1 Message Date
Andrew Tridgell
ff388611f4 fixed support for readx greater than 64k
This fixes bug 6547, where smbclient in S3 reads more than 64k at a
time with readx.
2009-08-04 16:01:11 +10:00
Andrew Bartlett
57d690b6f6 s4:torture rework LDAP sort test
This reworks the test to be part of the LDAP tests, to make better use
of the torture API and the ldb API (in particular around adding
controls), and a general cleanup.

This also adds the test to the 'make test' run.

Andrew Bartlett
2009-08-04 13:11:07 +10:00
Matthieu Patou
3eaef05506 s4:torture Add test for correct server-side sorting over LDAP 2009-08-04 11:54:40 +10:00
Andrew Bartlett
8f110d3051 Use smbclient binary for the test file in smbclient test
In the vein hope that a larger file might show problems better than a
small file.

Andrew Bartlett
2009-08-04 11:40:31 +10:00
Ricardo Jorge
3641978dfa param/pyparam: Cope with string list parameters being empty.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-08-04 00:18:43 +02:00
Ricardo Jorge
1174177c8f python/loadparm: Get shares listing working.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-08-04 00:18:42 +02:00
Jelmer Vernooij
15d73317ea pyldb: Properly keep copies of Python string contents, rather than
relying on reference leaks :-)
2009-08-04 00:18:42 +02:00
Günther Deschner
7048165e7a s4-ldap_server: fix generated error string in map_ldb_error().
Guenther
2009-08-04 00:16:37 +02:00
Günther Deschner
75030ff2b1 s3-spoolss: fix crash bug in spoolss_addprinterex_level_2.
Guenther
2009-08-04 00:16:37 +02:00
Volker Lendecke
7180ae0b8e Add some const to winbind_userinfo 2009-08-03 22:48:45 +02:00
Volker Lendecke
3d15d044a9 Fix a typo 2009-08-03 21:42:55 +02:00
Volker Lendecke
e4d276f737 Fix some nonempty blank lines 2009-08-03 21:27:44 +02:00
Jelmer Vernooij
bb944dcf64 pyldb: Raise proper exception when attempting to assign a string to a dn
attribute.
2009-08-03 18:15:16 +02:00
Günther Deschner
20225d83dd s3-pdb_ldap: Make ldapsam_alias_memberships behave like the tdbsam equivalent.
This lets samr_GetAliasMembership return with NT_STATUS_OK when called with 0
sids (just what w2k3 does).

Guenther
2009-08-03 16:32:15 +02:00
Matthias Dieter Wallnöfer
64b4d02032 s4: Change constant to comply with the merged build 2009-08-03 14:23:23 +02:00
Karolin Seeger
7ee7ec3fdb s3/docs: Fix typos.
Thanks to OPC oota <t-oota@dh.jp.nec.com> for reporting!

Karolin
2009-08-03 10:20:39 +02:00
Matthias Dieter Wallnöfer
3fae13ba80 s3/s4: Add new autogenerated files from "make idl_full" 2009-08-03 09:51:44 +02:00
Matthias Dieter Wallnöfer
720b7ea0ee s4: Torture test for enhancements in "netr_LogonGetDomainInformations" call
This corrects and enhances the torture test of the mentioned call.
2009-08-03 09:46:30 +02:00
Matthias Dieter Wallnöfer
c688d37497 s4: Enhancements in the "netr_LogonGetDomainInformations" call
This addresses bug #4888 and #6596 in SAMBA 4 Bugzilla
- It implements the call in the complete form as specified in the MSPP/WSPP docs
  and on the discussion on the "cifs-protocol" list
- Therefore client informations (OS name, OS version, "servicePrincipalName"...)
  are now saved in the AD each time the client invokes the call
2009-08-03 09:46:30 +02:00
Matthias Dieter Wallnöfer
721402b8de netlogon.idl: Prework to enhance the "netr_LogonGetDomainInformation" call correctly
This enhances the "netlogon.idl" file to allow enhancements on the mentioned call.
Therefore this is also the base for fixing up bug #4888.
2009-08-03 09:46:30 +02:00
Matthias Dieter Wallnöfer
e14b2ed8df netlogon.idl: Removes the form "str[]" for string declarations
In this file two different forms are used to explain the same datatype ("str[]" and "*str").
I didn't find this very nice and unified the occurrences to always use "*str".

This patch is of cosmetic nature.
2009-08-03 09:46:30 +02:00
Matthieu Patou
c50dff4cce Return infinite time for last last logoff when last logoff = 0 2009-08-03 14:08:15 +10:00
Bo Yang
e215194033 s3: check in .po files for pam_winbind.
Signed-off-by: Bo Yang <boyang@samba.org>
2009-08-03 08:16:21 +08:00
Volker Lendecke
4fa28af91d Fix some nonempty blank lines 2009-08-02 22:33:56 +02:00
Alexander Bokovoy
20d93b5b60 Fix breakage for connect function after API change (connect -> connect_fn) 2009-08-02 20:31:19 +03:00
Volker Lendecke
4f147388c0 Refactor 9b78af1f: Fix lookupname recursion
Pass a "flags" argument instead of the original winbind command down the
name_to_sid chain. This way we are independent of the winbind commands and
can take the decision at a much higher level
2009-08-02 11:24:48 +02:00
Volker Lendecke
62fec96819 Some mods for recent coding conventions 2009-08-01 10:35:01 +02:00
Volker Lendecke
ac94a8b0e3 Place a comment correctly 2009-08-01 10:33:15 +02:00
Volker Lendecke
fc261be681 Fix indentation 2009-08-01 00:24:50 +02:00
Volker Lendecke
c67037d986 Refactoring: mem_ctx is not needed as an argument to centry_sid 2009-07-31 23:49:08 +02:00
Volker Lendecke
a488334bf1 Rename LOOKUP_NAME_EXPLICIT to LOOKUP_NAME_NO_NSS
It took me a bit to understand what this flag does. I hope this is
a bit clearer, at least it is to me.
2009-07-31 23:19:05 +02:00
Volker Lendecke
42becbc7a8 Fix some nonempty lines 2009-07-31 23:19:05 +02:00
Volker Lendecke
b4d5f4dd67 Remove a pointless variable 2009-07-31 22:39:13 +02:00
Jeremy Allison
301be8c99b We're not changing last write, but setting this to be FILE_NOTIFY_CHANGE_CREATION
doesn't work. So use FILE_NOTIFY_CHANGE_LAST_WRITE (now seems to reliably fix
bug #6529 - Offline files conflict with Vista and Office 2003.
Jeremy.
2009-07-31 11:19:19 -07:00
Matthias Dieter Wallnöfer
d87e937518 s3: Remove invalid constant 2009-07-31 19:24:53 +02:00
Matthias Dieter Wallnöfer
ba32afbfac Merge branch 'master' of git://git.samba.org/samba 2009-07-31 18:17:00 +02:00
Matthias Dieter Wallnöfer
df270cd796 s4: Correct renamed constants 2009-07-31 18:15:39 +02:00
Volker Lendecke
b53338bb68 Provide a mem_ctx for child requests 2009-07-31 17:46:59 +02:00
Matthias Dieter Wallnöfer
8110cf57aa s4: Adds a small test for the new enhanced error messages from the AD LDAP server 2009-07-31 17:41:04 +02:00
Matthias Dieter Wallnöfer
04ea52f867 s4: Enhances the LDAP server to display error messages like Windows Server
Those error messages also include the WERROR code of the failed operation(s) in this
manner: <error code eight chars in HEX>: <further error message>

This also addresses bug #4949
2009-07-31 17:41:04 +02:00
Matthias Dieter Wallnöfer
a08bffa358 Adds new error codes (needed for enhancing error messages for SAMBA 4 AD LDAP server) 2009-07-31 17:40:46 +02:00
Volker Lendecke
f511ccbc42 Slightly restructure the async winbind request calling convention
The main loop now allocates the response, this has to be done everywhere
2009-07-31 17:28:53 +02:00
Stefan Metzmacher
a3bcbd1775 s4:libcli/ldap: the tls code steals the original socket on its own now
metze
2009-07-31 14:42:05 +02:00
Stefan Metzmacher
471e67a733 s4:ldap_server: the tls code steals the original socket on its own now
metze
2009-07-31 14:42:04 +02:00
Stefan Metzmacher
6f40637ca8 s4:tls: avoid using talloc_reference() in tls_init_client()
metze
2009-07-31 14:42:04 +02:00
Stefan Metzmacher
d866497b18 s4:tls: avoid using talloc_reference() in tls_init_server()
metze
2009-07-31 14:42:03 +02:00
Stefan Metzmacher
ff37d6631c s4:libnet: use talloc_strdup() instead of talloc_reference()
metze
2009-07-31 14:42:03 +02:00
Stefan Metzmacher
066e81f557 s4:build: make sure that we regenerate proto headers when source files change
metze
2009-07-31 14:42:03 +02:00
Stefan Metzmacher
933d5ee22b librpc/ndr_drsuapi: fix a memory leak on ndr_push_drsuapi_DsReplicaOID()
metze
2009-07-31 14:42:02 +02:00
Stefan Metzmacher
2ef1159c0d util/asn1: fix potential memory leak in asn1_write_OID()
metze
2009-07-31 14:42:02 +02:00