summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2008-05-06selftest: Use TESTS env var to specify tests to run like Samba4 does.Kai Blin2-4/+4
(This used to be commit 6fb1fe803ccbd3af2946fcbe4586c11d394d5dc2)
2008-05-06Fix a valgrind bug in the new [ug]id2sid cacheVolker Lendecke1-6/+6
When we're given a SID, it is not always padded with zeros. Only look at the initialized parts in the SID. (This used to be commit 8717085dba832cfe6d7b807a10f779e495adc326)
2008-05-06build: fix the build w/o ldap.Günther Deschner1-1/+3
Guenther (This used to be commit a159ec5f1f3ec8e9232b8f3230a996a3f9986bc1)
2008-05-06mailslot/cldap: use nt_version bits in queries.Günther Deschner3-3/+9
Guenther (This used to be commit b261f063125f8454d8f4e8f6b6f8aa5bc393ea34)
2008-05-06dsgetdcname: use correct dc name for name cache store.Günther Deschner1-1/+1
Guenther (This used to be commit ce1556d0fb993b78f02ac4cc4f8a45ab7a0b5397)
2008-05-05Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into ↵Jeremy Allison1-10/+0
v3-3-test (This used to be commit bb8f098cdfd902bbb36426df2c4f8532881b3fcd)
2008-05-05Try and fix bug #5095, "Manage Documents privilege is not functional".Jeremy Allison2-15/+29
Should map the created sd to printer jobs, not printer. Jerry please test and I'll add to 3.2 if it passes. Thanks, Jeremy. (This used to be commit 0a1fe8d6013d925ab6695f6b7f189b731ec42ccc)
2008-05-05Remove unused dir_status_structVolker Lendecke1-10/+0
(This used to be commit 425ca59cce886daed0d6c63fe4382aee140c9518)
2008-05-05Fix a C++ warningVolker Lendecke1-2/+2
(This used to be commit e7a4027acf38bf5800d9d8ba477afb5daaf517ce)
2008-05-05Remove "userdom_struct user" from "struct user_struct"Volker Lendecke12-48/+89
(This used to be commit 420de035237bb08bc470c9eb820f3da2edaa6805)
2008-05-05Fix a typoVolker Lendecke1-1/+1
(This used to be commit 964bd02220c04030d8cb0f97ca9b409400d1238c)
2008-05-05Remove unused set_current_user_guest()Volker Lendecke1-33/+0
(This used to be commit a33e8d2ffa4daea1deba13b3571cb0b36d521476)
2008-05-05Fix typoVolker Lendecke1-1/+1
(This used to be commit 8047a1991a09191fec254815f3bfc85a2c36674a)
2008-05-05Remove "session_key" from "struct user_struct"Volker Lendecke4-27/+17
This one took a bit -- I hope I covered all data paths (This used to be commit 74c88a44422f88d6e2f2cdbfdfa0bafe0dbe06c4)
2008-05-05Remove "guest" from "struct user_struct"Volker Lendecke7-13/+10
(This used to be commit 570a6b80feb5b0dc23213ba936c721e766cd4818)
2008-05-05Remove the unix token info from "struct user_struct"Volker Lendecke6-42/+19
(This used to be commit aa2299d42adf4d27e707ac755e07be70d0af1bb4)
2008-05-05Remove "nt_user_token" from "struct user_struct"Volker Lendecke5-16/+12
(This used to be commit 51d5d512f28eadc74eced43e5e7f4e5bdff3ff69)
2008-05-05Remove "logon_script" from "struct user_struct"Volker Lendecke3-18/+9
(This used to be commit b36fd84186a656f86e4cfb9166fc0ecbffb422cb)
2008-05-05Remove unix_homedir from struct user_structVolker Lendecke4-47/+35
This makes pdb_get_unix_homedir unused. I wonder if that was ever really used... (This used to be commit 36bfd32f1ff878e827db91e9bf233719ecca5b01)
2008-05-05Remove "homedir" from "struct user_struct"Volker Lendecke3-9/+12
(This used to be commit 41f9afd62d8cc6067582d452f3d53a5c67253b69)
2008-05-05pipes_struct->pipe_user_name is unused, remove itVolker Lendecke1-1/+0
(This used to be commit 32cd4bf34b614f7bb0b05a7ae5d7eb51d208a7c7)
2008-05-05Make the namelist arg to set_namearray constVolker Lendecke1-2/+2
(This used to be commit e7ce4bce5cd7eddb14982028538e965e12ccef84)
2008-05-05Fix client authentication with -P switch in client tools (Bug 5435).Günther Deschner9-35/+122
Guenther (This used to be commit d077ef64cd1d9bbaeb936566c2c70da508de829f)
2008-05-05Revert "Fix allocation of conn->vuid_cache entries"Volker Lendecke1-3/+3
This reverts commit 50c891d3dfb75c9f607f7ad2a578aa3ba5d91988. There's more to this code -- sorry for the spam (This used to be commit 6e0e0cb8dd6f57de36c041e2ba4b82feeb357ce8)
2008-05-05Revert "Second half of 50c891d3: Correctly clear the vuid cache"Volker Lendecke1-1/+1
This reverts commit 0aea404b0a83736ba2884cc7cf00cd797aab1f56. (This used to be commit fa39f47f5fc2df0f1a59705e30a799518c353b45)
2008-05-05Second half of 50c891d3: Correctly clear the vuid cacheVolker Lendecke1-1/+1
(This used to be commit 0aea404b0a83736ba2884cc7cf00cd797aab1f56)
2008-05-05Fix allocation of conn->vuid_cache entriesVolker Lendecke1-3/+3
With the old code, if more than VUID_CACHE_SIZE elements were used all new entries ended up in slot 0. With this checkin we do cycle. Jeremy, please revert if the old behaviour was intentional (This used to be commit 50c891d3dfb75c9f607f7ad2a578aa3ba5d91988)
2008-05-05Fix dfs_Enum: In form_junctions, correctly check for malloc failureVolker Lendecke1-1/+1
(This used to be commit 1b1614c3261e1e93a2cad1f1063e28cbbb13f434)
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)