summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* r23284: Oh what a nasty typo! This gave me some headache,Michael Adam2007-10-101-1/+1
| | | | | | | | | with talloc randomly failing. Hey, shouldn't TALLOC_ARRAY _not_ return NULL when requested to allocate an array with zero entries? :-) Michael
* r23283: Use a temporary talloc context in ads:lookup_groupmem.Michael Adam2007-10-101-13/+17
| | | | | | | | And clean up unused stuff at the end. Daringly, I use talloc_steal at some point, where it appears natural to me. Michael
* r23279: Replace occurrence of sid_binstring inside lookup_groupmemMichael Adam2007-10-101-11/+4
| | | | by sid_string_static.
* r23274: merge CloseEventlog() pidl conversion from 3.0.26 && fix a few init ↵Gerald Carter2007-10-109-96/+171
| | | | call renames for svcctl in the previous commit
* r23272: Fix main event loop - reviewed by Volker.Jeremy Allison2007-10-101-2/+4
| | | | Jeremy.
* r23271: merge service control pidl change for CloseServiceHandle() from ↵Gerald Carter2007-10-109-111/+305
| | | | SAMBA_3_0_26
* r23269: Regenerate svcctl files after IDL fixesGerald Carter2007-10-105-120/+120
|
* r23268: Rename some variables in the svcctl.idl to preventGerald Carter2007-10-101-6/+6
| | | | | redeclaration compile failures in the generated client code.
* r23263: Remove an unused variable -- Fix Coverity ID 358Volker Lendecke2007-10-101-4/+0
|
* r23253: Add some debugging output.Michael Adam2007-10-101-1/+6
|
* r23252: Complete the reworking of the ads lookup_groupmem functionMichael Adam2007-10-101-58/+109
| | | | | | | | | | | | started in r23070, r23072, r23073, r23078, r23081 and r23082: After retrieving the list of sids with the extended dn ldap query, instead of passing all sids to the lsa_lookup_sids call, now while extracting the sids from the extended dn member entries, we first try to lookup the sid from cache and only pass the sids that were not in cache to the lsa_lookup_sids call. Michael
* r23251: whoops! Fix compile errorGerald Carter2007-10-102-2/+9
|
* r23249: another sync from 3.0.26 for the echo work to rpcclientGerald Carter2007-10-101-11/+26
|
* r23248: Merge echo pipe implementation chanegs from SAMBA_3_0_26Gerald Carter2007-10-101-9/+28
| | | | | just to stay in sink. This was more or less just for me to play with.
* r23244: Fix loop with nscd and NSS recusive calls.Gerald Carter2007-10-1013-28/+56
| | | | | | | | | | | | | | | | | | | | | | | > Here's the problem I hit: > > getgrnam("foo") -> nscd -> NSS -> winbindd -> > winbindd_passdb.c:nam_to_sid() -> lookup_global_sam_name() -> > getgrnam("foo") -> nscd -> .... > > This is in the SAMBA_3_0 specifically but in theory could happen > SAMBA_3_0_25 (or 26) for an unknown group. > > The attached patch passes down enough state for the > name_to_sid() call to be able to determine the originating > winbindd cmd that came into the parent. So we can avoid > making more NSS calls if the original call came in trough NSS > so we don't deadlock ? But you should still service > lookupname() calls which are needed for example when > doing the token access checks for a "valid groups" from > smb.conf. > > I've got this in testing now. The problem has shown up with the > DsProvider on OS X and with nscd on SOlaris and Linux.
* r23242: BUG 4671: Fix Makefile syntax error when SMBMOUNT_PROGS is not definedGerald Carter2007-10-101-1/+2
|
* r23241: In preparation for the cluster messaging import the parent smbd needs toVolker Lendecke2007-10-101-5/+19
| | | | respond to events.c style events.
* r23236: Another bad merge: Correctly free and unlock the session record inVolker Lendecke2007-10-101-1/+2
| | | | | | | | session_claim. Jerry, this fixes the hanging smbstatus. Sorry for that, Volker
* r23228: Merge cleanup to the gpfs module from Tridge. Also potentially disableVolker Lendecke2007-10-101-33/+28
| | | | | gpfs share modes in special situations. This might be split up in several modules later.
* r23226: Make the "debug prefix timestamp" output a bit more readable by makingVolker Lendecke2007-10-101-1/+1
| | | | the debug level alway at least 2 digits
* r23225: Attached find a patch that makes use of NetSamLogonEx inVolker Lendecke2007-10-103-2/+71
| | | | | | | | | | | | | | | | | winbind. With this and W2k3 DCs around it is possible to use more than one winbind on the same machine account, because NetSamLogonEx does not use the credentials chain. I added the flag domain->can_do_samlogon_ex because this only works against W2k3 and with schannel. The theory is to try if we're AD and have schannel, and fall back to NetSamLogon if this fails. can_do_samlogon_ex is thus a protection against multiple failures. Only checking into 3_0, this needs more review before going into a production release. Feel free to comment :-)
* r23224: Move map_nt_error_from_unix to lib/errmap_unix.c. This function isVolker Lendecke2007-10-103-64/+93
| | | | useful even in binaries that don't link in libsmb
* r23223: Convert a leftover direct tdb access to sessionid.tdbVolker Lendecke2007-10-101-12/+13
|
* r23222: share_mode_forall() is only for counting and status display stuff, soVolker Lendecke2007-10-101-1/+1
| | | | traverse_read is enough here
* r23221: Fix a bad merge, avoid a memory leak and tdb lock problemVolker Lendecke2007-10-101-0/+1
|
* r23220: Add traverse_read to dbwrapVolker Lendecke2007-10-104-1/+47
|
* r23219: Two warningsVolker Lendecke2007-10-102-2/+3
|
* r23210: Very funny, we thought to use netr_GetDcName (e.g. in winbind) but ↵Günther Deschner2007-10-106-89/+89
| | | | | | | | | | were using netr_GetDcAnyName all the time (which is the correct thing to do). Fix the naming and opcode mixup in all branches. Guenther
* r23207: merge net help test fix from SAMBA_3_0_26Gerald Carter2007-10-101-0/+1
|
* r23206: remove unreachable codeGerald Carter2007-10-101-3/+0
|
* r23204: Add MSG_SMB_BRL_VALIDATE. Tridge, this is a bit different from your bzrVolker Lendecke2007-10-105-1/+144
| | | | | | | | | | branch, please check if it fulfils your needs. Two changes: The validation is not done inside the brlock.c traverse_fn, it's done as a separate routine. Secondly, this patch does not call the checker routines in smbcontrol directly but depends on a running smbd.
* r23195: Add void *private_data to brl_forallVolker Lendecke2007-10-105-30/+39
|
* r23194: cherry pick two fixes from SAMBA_3_0_26Gerald Carter2007-10-102-6/+10
| | | | | * strptime() failure check * make legcacy sid/uid/gid calls static
* r23192: Remove fallback to looking up group mappings by theGerald Carter2007-10-101-17/+1
| | | | Unix name after discussion with Simo.
* r23186: Checkin on behalf of Tridge:Volker Lendecke2007-10-101-57/+57
| | | | Change notify.tdb to use dbwrap
* r23185: Try to fix the IRIX build, also add the forgotten file_id.c in .26Volker Lendecke2007-10-102-3/+4
|
* r23184: Checkin for Tridge: Add a speed test to tdbtoolVolker Lendecke2007-10-101-2/+52
|
* r23183: Check in a change made by Tridge:Volker Lendecke2007-10-1023-313/+365
| | | | | | | | | | | | | This replaces the internal explicit dev/ino file id representation by a "struct file_id". This is necessary as cluster file systems and NFS don't necessarily assign the same device number to the shared file system. With this structure in place we can now easily add different schemes to map a file to a unique 64-bit device node. Jeremy, you might note that I did not change the external interface of smb_share_modes.c. Volker
* r23173: Convert sessionid.tdb to ctdb. The 3.0.26 patch is a bit larger becauseVolker Lendecke2007-10-101-53/+118
| | | | it brings across the tdb-based list_sessions
* r23172: Change shutdown_other_smbds to use connections_traverse instead ofVolker Lendecke2007-10-102-11/+13
| | | | session_traverse.
* r23171: Convert connections.tdb to dbwrapVolker Lendecke2007-10-108-163/+162
|
* r23170: Add map_nt_error_from_tdb()Volker Lendecke2007-10-102-2/+45
|
* r23169: Merge 535 of Tridge's bzr tree:Volker Lendecke2007-10-101-2/+5
| | | | | store the right data after cleaning lock records. This fixes RAW-BENCH-LOCK after a recovery on a cluster
* r23168: Move the lp_max_connections() into service.c.Volker Lendecke2007-10-105-27/+26
|
* r23167: Remove an unused parameterVolker Lendecke2007-10-105-5/+6
|
* r23166: Bring samba.org's iniparser copy in sync with the upstream version 2.17.Lars Müller2007-10-1019-588/+652
|
* r23165: Convert brlock.tdb to dbwrapVolker Lendecke2007-10-102-38/+52
|
* r23164: Minor cosmetic checkinVolker Lendecke2007-10-101-2/+2
|
* r23163: Convert locking.tdb to dbwrapVolker Lendecke2007-10-102-91/+110
|
* r23162: Make use of messaging_send_bufVolker Lendecke2007-10-101-4/+2
|