summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-05Remove connection_struct->mem_ctx, connection_struct is its own parentVolker Lendecke11-87/+67
(This used to be commit 559180f7d30606d1999399d954ceedc798c669a4)
2008-05-05Fix two uninitialized variable warningsVolker Lendecke1-3/+4
(This used to be commit 48fd7b3635137e2fe77c0b0413965869194421ff)
2008-05-02Remove the "stat_open()" function, flag, and all associated code. It was onlyJeremy Allison8-149/+16
being (correctly) used in the can_read/can_write checks for hide unreadable/unwritable and this is more properly done using the functions in smbd/file_access.c. Preparing to do NT access checks on all file access. Jeremy. (This used to be commit 6bfb06ad95963ae2acb67c4694a98282d3b29faa)
2008-05-02Rename inherit_access_acl() -> inherit_access_posix_acl() to make use clear.Jeremy Allison3-7/+7
Jeremy. (This used to be commit b739c7f1cdb2b19a380b06681b00dcf490d788a9)
2008-05-02Move directory_has_default_acl() to file_access.c, belongsJeremy Allison2-25/+27
there as it no longer uses explicit POSIX ACL calls. Jeremy. (This used to be commit ac1eac9b0d07b7b3d341c06ef1a8fd8f3c05a618)
2008-05-01Start to ensure we use the NT ACL interface, keep the POSIXJeremy Allison1-21/+46
ACL interface inside the VFS modules. Will help when moving to storing NT ACLs. Jeremy. (This used to be commit b08ea48f883d1b000f6364c1ff8f62bc25741244)
2008-05-01Tidyup to ensure '\n' is treated identically in allJeremy Allison1-0/+2
cases. Jeremy. (This used to be commit 818fbc9889af8c9fb6e7978e8ed2269a78f14404)
2008-05-01Fix bug #5434 found by Ted Percival <ted@midg3t.net>.Jeremy Allison1-0/+2
Introduced by me in the strlcpy cleanup. Ensure the loaded password doesn't contain the '\n' at the end. Jeremy. (This used to be commit 41984743d9e89b6568119832c35ee4c0024e43a2)
2008-04-30ntlmssp: replace UNKNOWN_02000000 with NTLMSSP_NEGOTIATE_VERSION.Günther Deschner2-4/+6
Guenther (This used to be commit 2c41d69bcf6f0897ef9d444a8f167aff1772d562)
2008-04-30pam_winbind: Fix Bug #5430 (patch from fumiyas@osstech.co.jp).Günther Deschner2-1/+3
Guenther (This used to be commit d8372f73b93d3f323310f5456fef204884c303bb)
2008-04-30Fix typo noticed by David Disseldorp <ddiss@sgi.com>. AF_INET should be ↵Jeremy Allison1-1/+1
AF_INET6 in this case. Jeremy. (This used to be commit 767740a914c7ebeb88886f520380b7fa365e315d)
2008-04-30Winbind: Prevent cycle in children list when reaping dead child processes.Gerald W. Carter1-0/+4
Thanks to Glenn Curtis and Kyle Stemen @ Likewise. Their explanation is: In winbindd_dual.c, there is a list of children processes that is maintained using macros DTLIST_ADD and DTLIST_REMOVE. In the case when a scheduled_async_request fails, the particular child was located in the list, and its attributes were cleared out and it was reused for a subsequent async request. The bug was that the new request would queue the same node into the doubly-linked list and would result in list->next pointing to the same node as list itself. This would set up an infinite loop in the processing of the for loop when the list of children was referenced. Solution was to fully remove the child node from the list, such that it could be inserted without risk of being inserted twice. Note that the child is re-added to the list in fork_domain_child() again. (This used to be commit b379b5b5d8a6daccc69aaf2be6d9a6e276e7dd78)
2008-04-30BUG 5107: Fix handling of large DNS replies on AIX and Solaris.Gerald W. Carter1-6/+32
On AIX, Solaris, and possibly some older glibc systems (e.g. SLES8) truncated replies never give back a resp_len > buflen which ends up causing DNS resolve failures on large tcp DNS replies. Also add more debug lines about processing the DNS reply. (This used to be commit 5ed9b92097460cd8180db806a08213e97cfb8daa)
2008-04-30BUG 5429: Clarify log msgs re: failure to create BUILTIN\{Administrators,Users}Gerald W. Carter1-7/+9
Raise the debug msgs from Lvl 0 in the create_builtin_XX() functions to prevent unnecessary panic from people reading the logs. (This used to be commit 2983b9dc790e0f90ec1e6add131438c6bfd361b4)
2008-04-30re-run make idl.Günther Deschner3-20/+250
Guenther (This used to be commit 14327b11baa18f185e747a321e75abe581d153d2)
2008-04-30build: fix make everything.Günther Deschner1-9/+16
Guenther (This used to be commit d2cd011f4379ed2972c8e4c96f6757961fdceaee)
2008-04-30IDL: add nbt_cldap_netlogon_29 which includes the next_closest_site.Günther Deschner1-1/+28
Guenther (This used to be commit 909c9ae7ecbaa1bcc38d5c9ebc10fc5fb9a7bf59)
2008-04-30IDL: use nbt_netlogon_command in cldap replies.Günther Deschner1-4/+6
Guenther (This used to be commit bc92507fb425ae56568c72298b9d7e964ae372d0)
2008-04-30Next round fixing bug 5420, build on IRIXVolker Lendecke1-2/+1
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-30Attempt to fix the build on IRIX: Bug 5420Volker Lendecke1-0/+1
(This used to be commit ebca5fd7625e3ff3d76ab4e6c245ba3297ca03b4)
2008-04-30registry: skip writes of existing keys in init_registry_data().Michael Adam1-0/+3
Michael (This used to be commit 37dabf931727f00569725af0e34677d36bb7df99)
2008-04-30registry: save writes in init_registry_data() if data does already exist.Michael Adam1-12/+43
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-30registry: check for existence of key init_registry_key and possibly save a ↵Michael Adam1-0/+4
write. Michael (This used to be commit 3ab5a2f1b3cf37c380ff3e45a957e62a8017814a)
2008-04-30registry: add function regdb_key_exists() to check for existence of a key.Michael Adam1-0/+17
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-30registry: use regdb_fetch_key_internal() in regdb_fetch_values().Michael Adam1-5/+1
Michael (This used to be commit 3316541ac9f1441294405fdd98f0ffafdec8bc2f)
2008-04-30registry: use regdb_fetch_key_internal() in regdb_fetch_keys().Michael Adam1-7/+1
Michael (This used to be commit 78f924ca05ecef9f586254c00908c1f12272c30c)
2008-04-30registry: add a function for fetching a tdb record for a given keystringMichael Adam1-0/+12
regdb_fetch_key_internal() Michael (This used to be commit 97bed9a23608248f1a590c99fe40564d2fbfa3cc)
2008-04-30registry: combine talloc_strdup() and normalize_reg_path() in ↵Michael Adam1-7/+1
regdb_fetch_keys(). the talloc_strdup() call is just and extra allocation here. Michael (This used to be commit 217233349b2d98d2506fcca47858373150e89924)
2008-04-30registry: use normalize_reg_path() in regdb_fetch_keys()Michael Adam1-2/+1
instead of handcrafting normalization. Michael (This used to be commit 1e4d2310d077c4d18470fd76f5ff9c010aadd3f0)
2008-04-30registry: use dbwrap_fetch_bystring() in regdb_fetch_values().Michael Adam1-5/+1
Michael (This used to be commit 569f9844e9d35324cf9a3a3094cd9791918a1441)
2008-04-30registry: use dbwrap_fetch_bystring() in regdb_fetch_keys().Michael Adam1-5/+1
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-30build: fix some build dependencies.Günther Deschner1-3/+6
Guenther (This used to be commit 067a6931a23631dfb902fb4a180f3c44a5455d51)
2008-04-30Re-run make idl.Günther Deschner4-115/+197
Guenther (This used to be commit 08b5758e00597a4828044c4d4ac97be0741b0cf2)
2008-04-30IDL: use nbt_dc_sock_addr.Günther Deschner1-10/+10
Guenther (This used to be commit 5a46f34fa364dfb20d7de93164b56d08dc4fb427)
2008-04-30IDL: move some netlogon DS flags to NBT where they actually showup first.Günther Deschner2-12/+15
Guenther (This used to be commit 163f17f84bc602f9944153854e42cf643c5c4768)
2008-04-30IDL: use samr_AcctFlags in nbt_ntlogon_sam_logon.Günther Deschner1-2/+2
Guenther (This used to be commit 5f5658b3dc6407ca05368f657dc3296425844434)
2008-04-30IDL: add nbt_netlogon_version.Günther Deschner1-11/+24
Guenther (This used to be commit 5963bbea82bf0c11158bd1db00710c3157299bcc)
2008-04-29rpcclient: fix another srv_name_slash.Günther Deschner1-6/+1
Guenther (This used to be commit de946e6158526ec109b0c3381bab6e6d8e9cc1b2)
2008-04-29_netr_LogonSamLogon: fix lm session key length.Günther Deschner1-1/+1
Thanks Volker for pointing this out. Guenther (This used to be commit 7ccca9a004c7a4794781cbd7c703c53a0481bd51)
2008-04-29Re-run make idl.Günther Deschner2-1/+4
Guenther (This used to be commit 89284792722ab38d98e874e477c7a4046ee2aba0)
2008-04-29IDL: Add DFS_MANAGER_VERSION_W2K8.Günther Deschner1-1/+2
Guenther (This used to be commit 85a758c0b8398b682450b692744f7a49c7734faf)
2008-04-29netapi: fix returned name buffer in NetGetJoinInformation_r().Günther Deschner1-1/+5
Guenther (This used to be commit 0e8e05d556a7f84e500cca3fa858f9b4a9522a5f)
2008-04-29errors: add WERR_NOT_FOUND.Günther Deschner2-0/+2
Guenther (This used to be commit b9ac03bdfa5763c713674acd966ab5d4371992a5)
2008-04-29Merge data_blob_hex_string from Samba4.Günther Deschner1-0/+22
Guenther (This used to be commit 686d8939d90eab958d3a352fe53917ba7a17f39a)
2008-04-28Fix bug found by Igor Mammedov <niallain@gmail.com> where we areJeremy Allison1-14/+42
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-28man smbcacls: Correct possible flag values.Karolin Seeger1-4/+3
This patch fixes bug #620. Thanks to Satoh Fumiyasu <fumiyas@osstech.co.jp>! Karolin (This used to be commit 70f6966099788f4bdb0298a68d4cb0b90964dd8f)
2008-04-26Fix bug 5419: memory leak in ads_do_search_all_args() when enumerating 1000s ↵Steven Danneman2-2/+26
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-25Sync up client/mount.cifs.c with v3-2-test.Jeremy Allison1-25/+4
Jeremy. (This used to be commit 7a724d78e11f016f154c0029dc394ce133f41110)
2008-04-25Setting version to 3.3.0pre1Gerald W. Carter1-2/+2
(This used to be commit 4dd00987be6ac0dbc706d9148472846d95f3b882)
2008-04-25IDL: Add autogenerated drsuapi files.Günther Deschner5-0/+17110
Guenther (This used to be commit 192ffa3835c407d5603f47c1633a075869daae01)