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

28477 Commits

Author SHA1 Message Date
Günther Deschner
9764083d25 IDL: add nbt_cldap_netlogon_29 which includes the next_closest_site.
Guenther
(This used to be commit 909c9ae7ecbaa1bcc38d5c9ebc10fc5fb9a7bf59)
2008-04-30 16:04:30 +02:00
Günther Deschner
2b0e91caea IDL: use nbt_netlogon_command in cldap replies.
Guenther
(This used to be commit bc92507fb425ae56568c72298b9d7e964ae372d0)
2008-04-30 16:04:30 +02:00
Volker Lendecke
974643f656 Next round fixing bug 5420, build on IRIX
The IRIX make does not like lines with only whitespace. With LIBNETAPI_LIBS
evaluating to nothing this happens there.
(This used to be commit 225fbe743c34fa7658f8f2e9daf6f51ec1b6e944)
2008-04-30 12:50:26 +02:00
Volker Lendecke
5c40b5fd52 Attempt to fix the build on IRIX: Bug 5420
(This used to be commit ebca5fd7625e3ff3d76ab4e6c245ba3297ca03b4)
2008-04-30 12:50:20 +02:00
Michael Adam
f50002b491 registry: skip writes of existing keys in init_registry_data().
Michael
(This used to be commit 37dabf931727f00569725af0e34677d36bb7df99)
2008-04-30 12:42:33 +02:00
Michael Adam
9fe870affa registry: save writes in init_registry_data() if data does already exist.
This is done by first checking if all data (keys and values) exists
(using new regdb_key_exists()) and kompletely skipping all writes if it does.

Michael
(This used to be commit 7c5f1583cb43d473544f161aa9c864e1d78944e5)
2008-04-30 12:42:32 +02:00
Michael Adam
ed6a9edb1e registry: check for existence of key init_registry_key and possibly save a write.
Michael
(This used to be commit 3ab5a2f1b3cf37c380ff3e45a957e62a8017814a)
2008-04-30 12:42:32 +02:00
Michael Adam
6ec4c8631a registry: add function regdb_key_exists() to check for existence of a key.
The existence of the registry key entry (and not the values entry!) is
taken as the criterion for existence.

Michael
(This used to be commit 207a0ece45d947608df3f764e6bd9b4525d41011)
2008-04-30 12:42:32 +02:00
Michael Adam
167d54cc67 registry: use regdb_fetch_key_internal() in regdb_fetch_values().
Michael
(This used to be commit 3316541ac9f1441294405fdd98f0ffafdec8bc2f)
2008-04-30 12:42:32 +02:00
Michael Adam
6b4ed4b8f3 registry: use regdb_fetch_key_internal() in regdb_fetch_keys().
Michael
(This used to be commit 78f924ca05ecef9f586254c00908c1f12272c30c)
2008-04-30 12:42:32 +02:00
Michael Adam
5379dda0cd registry: add a function for fetching a tdb record for a given keystring
regdb_fetch_key_internal()

Michael
(This used to be commit 97bed9a23608248f1a590c99fe40564d2fbfa3cc)
2008-04-30 12:42:32 +02:00
Michael Adam
411ae73283 registry: combine talloc_strdup() and normalize_reg_path() in regdb_fetch_keys().
the talloc_strdup() call is just and extra allocation here.

Michael
(This used to be commit 217233349b2d98d2506fcca47858373150e89924)
2008-04-30 12:42:32 +02:00
Michael Adam
dba75c0831 registry: use normalize_reg_path() in regdb_fetch_keys()
instead of handcrafting normalization.

Michael
(This used to be commit 1e4d2310d077c4d18470fd76f5ff9c010aadd3f0)
2008-04-30 12:42:31 +02:00
Michael Adam
caba2d3a64 registry: use dbwrap_fetch_bystring() in regdb_fetch_values().
Michael
(This used to be commit 569f9844e9d35324cf9a3a3094cd9791918a1441)
2008-04-30 12:42:31 +02:00
Michael Adam
9d933dedf9 registry: use dbwrap_fetch_bystring() in regdb_fetch_keys().
instead of using regdb->fetch and constructing tdb data
from the registry key string by hand.

Michael
(This used to be commit 87a58140f0073dfb5b18fb43655b255aebafbd02)
2008-04-30 12:42:31 +02:00
Günther Deschner
f49474f58a build: fix some build dependencies.
Guenther
(This used to be commit 067a6931a23631dfb902fb4a180f3c44a5455d51)
2008-04-30 01:11:51 +02:00
Günther Deschner
c16a7ac6c6 Re-run make idl.
Guenther
(This used to be commit 08b5758e00597a4828044c4d4ac97be0741b0cf2)
2008-04-30 01:11:47 +02:00
Günther Deschner
ebedb09be9 IDL: use nbt_dc_sock_addr.
Guenther
(This used to be commit 5a46f34fa364dfb20d7de93164b56d08dc4fb427)
2008-04-30 01:11:46 +02:00
Günther Deschner
b144371713 IDL: move some netlogon DS flags to NBT where they actually showup first.
Guenther
(This used to be commit 163f17f84bc602f9944153854e42cf643c5c4768)
2008-04-30 00:56:31 +02:00
Günther Deschner
fe8d6a09d1 IDL: use samr_AcctFlags in nbt_ntlogon_sam_logon.
Guenther
(This used to be commit 5f5658b3dc6407ca05368f657dc3296425844434)
2008-04-30 00:35:57 +02:00
Günther Deschner
754e646bec IDL: add nbt_netlogon_version.
Guenther
(This used to be commit 5963bbea82bf0c11158bd1db00710c3157299bcc)
2008-04-30 00:34:43 +02:00
Günther Deschner
fe2c8e38d3 rpcclient: fix another srv_name_slash.
Guenther
(This used to be commit de946e6158526ec109b0c3381bab6e6d8e9cc1b2)
2008-04-29 20:22:02 +02:00
Günther Deschner
7a6f33e3d8 _netr_LogonSamLogon: fix lm session key length.
Thanks Volker for pointing this out.

Guenther
(This used to be commit 7ccca9a004c7a4794781cbd7c703c53a0481bd51)
2008-04-29 20:22:02 +02:00
Günther Deschner
ecab49a4d3 Re-run make idl.
Guenther
(This used to be commit 89284792722ab38d98e874e477c7a4046ee2aba0)
2008-04-29 20:22:02 +02:00
Günther Deschner
aede77b258 IDL: Add DFS_MANAGER_VERSION_W2K8.
Guenther
(This used to be commit 85a758c0b8398b682450b692744f7a49c7734faf)
2008-04-29 20:22:02 +02:00
Günther Deschner
1223574c7b netapi: fix returned name buffer in NetGetJoinInformation_r().
Guenther
(This used to be commit 0e8e05d556a7f84e500cca3fa858f9b4a9522a5f)
2008-04-29 20:22:01 +02:00
Günther Deschner
d0411c19dc errors: add WERR_NOT_FOUND.
Guenther
(This used to be commit b9ac03bdfa5763c713674acd966ab5d4371992a5)
2008-04-29 20:22:01 +02:00
Günther Deschner
ad73cb11a2 Merge data_blob_hex_string from Samba4.
Guenther
(This used to be commit 686d8939d90eab958d3a352fe53917ba7a17f39a)
2008-04-29 20:22:01 +02:00
Jeremy Allison
0173eeb3b5 Fix bug found by Igor Mammedov <niallain@gmail.com> where we are
not returning a directory value for a QPATHINFO on a msdfs link
with a non-dfs path. Windows does this.
Jeremy.
(This used to be commit fbd99071f99cadd21aa2b8971f745a323a9cda13)
2008-04-28 15:06:08 -07:00
Karolin Seeger
41195669be man smbcacls: Correct possible flag values.
This patch fixes bug #620.
Thanks to Satoh Fumiyasu <fumiyas@osstech.co.jp>!

Karolin
(This used to be commit 70f6966099788f4bdb0298a68d4cb0b90964dd8f)
2008-04-28 15:26:57 +02:00
Steven Danneman
778a5414b1 Fix bug 5419: memory leak in ads_do_search_all_args() when enumerating 1000s of entries
The ads_do_search_all_args() function attempts to string together several
LDAPMessage structures, returned across several paged ldap requests, into a
single LDAPMessage structure.  It does this by pulling entries off the second
LDAPMessage structure and appending them to the first via the OpenLDAP specific
ldap_add_result_entry() call.

The problem with this approach is it skips non-entry messages such as the
result, and controls.  These messages are leaked.

The short term solution as suggested by Volker is to replace the ads_*_entry()
calls with ads_*_message() calls so we don't leak any messages.

This fixes the leak but doesn't remove the dependence on the OpenLDAP specific
implementation of ldap_add_result_entry().
(This used to be commit f1a5405409c396df394611e2a234522572d2860a)
2008-04-26 08:11:20 -07:00
Jeremy Allison
17ade782b9 Sync up client/mount.cifs.c with v3-2-test.
Jeremy.
(This used to be commit 7a724d78e11f016f154c0029dc394ce133f41110)
2008-04-25 09:29:11 -07:00
Gerald W. Carter
c7a42797c8 Setting version to 3.3.0pre1
(This used to be commit 4dd00987be6ac0dbc706d9148472846d95f3b882)
2008-04-25 08:35:27 -05:00
Günther Deschner
53672f196f IDL: Add autogenerated drsuapi files.
Guenther
(This used to be commit 192ffa3835c407d5603f47c1633a075869daae01)
2008-04-25 14:49:31 +02:00
Günther Deschner
dddac2bc8f errors: add WERR_INVALID_DOMAINNAME.
Guenther
(This used to be commit b11a5e70d38239fb50ba4606656e2168cc398a12)
2008-04-25 14:49:31 +02:00
Michael Adam
6d3c61c9e7 docs: fix the manpage output of parameters list in smb.conf.5.
There were some newlines missing in the template for samba:parameters.

Michael
(This used to be commit a47abfa9276765164870bd7541798ff1201379b1)
2008-04-25 14:10:07 +02:00
Michael Adam
11e8b58bdf docs: fix indentation in expand-smbxonfdoc.
Michael
(This used to be commit 79f53a06820b226cbfbc939ae9a6d255e4a4a2d1)
2008-04-25 14:10:07 +02:00
Karolin Seeger
ea56d4a234 mount.cifs: Zero mountpassword content before freeing.
Karolin
(This used to be commit d99a31848bd2172c15500dd61ce30fef963c1ac6)
2008-04-25 12:40:54 +02:00
Volker Lendecke
9de291e671 Attempt to fix the non-krb build
(This used to be commit 31d80a476701c89bf236997f2ab68bd2765579bd)
2008-04-25 12:36:39 +02:00
Volker Lendecke
79fae5082a Add basic ncacn_ip_tcp client infrastructure
(This used to be commit 11072ccc7aeb6e087e78cea83959a2f6e0b2f837)
2008-04-25 11:12:52 +02:00
Volker Lendecke
63e0884df5 Introduce a redirection for ncacn_np and ncacn_ip_tcp in rpc_pipe_client
Should be no functional change, just a change in the data structure
(This used to be commit 3433f430b0c1f7d350a40eac783385a2d30d905c)
2008-04-25 11:12:52 +02:00
Volker Lendecke
cf182c0a76 Introduce rpccli_pipe_txt(), describing a pipe for debug messages
(This used to be commit 83892d51de0dcdaeae18bc34d03eefefc95ff601)
2008-04-25 11:12:52 +02:00
Volker Lendecke
eb5582d28a cli_rpc_pipe_open_noauth must take the user/domain from the smb session
(This used to be commit 6f08128cf2722618e74b603e180e7e2a83d7d07a)
2008-04-25 11:12:52 +02:00
Volker Lendecke
324e92ea67 Make use of rpccli_xxx_bind_data
(This used to be commit f9bc336affd2ce21a3c62880ecea2622f35653d1)
2008-04-25 11:12:51 +02:00
Volker Lendecke
253b0b8868 Create rpccli_xxx_bind_data functions
These functions create the auth data for the later bind
(This used to be commit 630b9c241cb6db758f8290420a38af452569e903)
2008-04-25 11:12:51 +02:00
Volker Lendecke
862d7e32b9 Move user/domain from rpc_pipe_client to cli_pipe_auth_data
(This used to be commit 42de50d2cd43e760d776694f7b5f003ba51d7f84)
2008-04-25 11:12:50 +02:00
Volker Lendecke
9e9d40d097 Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_client
(This used to be commit f665afaaa3eff9ef54112e08ed034a6e1bb30edc)
2008-04-25 11:12:50 +02:00
Jeremy Allison
501562f15c Fix from Martin Zielinski <mz@seh.de>. Don't delete files when
they're in use by other drivers.
Jeremy.
(This used to be commit 205c352caeb32693a02fcfaeb3f18515719ac373)
2008-04-24 15:02:23 -07:00
Jeremy Allison
189eb93b73 The first of Martin Zielinski <mz@seh.de> Vista printing patches.
Jerry will test and should get into 3.2 final (and the next 3.0.x
release).
Jeremy.
(This used to be commit 3fc1ab210b8772ee9f867499c0b1a7bb4bcdd285)
2008-04-24 14:04:47 -07:00
Günther Deschner
051ff45c60 mailslot/dsgetdcname: do what XP does and request nt_version 11.
This allows dsgetdcname to query for a flat, non-dns domain name and
come back with all information about the DC (site names, guid, forest,
etc.) based on a mailslot reply. The version 11 request is downgraded
to version 1 in case we do a query against NT4.

Guenther
(This used to be commit d8b2ff3c8769e8da9c21dec483e6edb7aa2d00f3)
2008-04-24 22:01:52 +02:00