summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* r23317: Fix the build: r23315 was a little overeager in removing theMichael Adam2007-10-101-4/+4
| | | | | | | | | | INIPARSER_OBJ from the bin/net target altogether. I re-add it in the guise of @BUILD_INIPARSER@ (to NET_OBJ). This also eliminates the need to have @BUILD_INIPARSER@ in the deps for the bin/net target. Same procedure for the pam_winbindd module. Michael
* r23316: Ouch... This would not have run in production without cluster codeVolker Lendecke2007-10-101-2/+2
| | | | anyway.
* r23315: - don't use the builtin and -liniparser together in bin/netStefan Metzmacher2007-10-101-4/+3
| | | | | | | | | | - unify handling on @BUILD_INIPARSER@ btw: nsswitch/pam_winbind.c doesn't compile anymore on SuSE 10.2! I think we should build pam modules by default to notice things like this in the build-farm... metze
* r23314: For some systems it's needed to inject replace.h intoStefan Metzmacher2007-10-104-2/+23
| | | | | | | | | | | the iniparser source code, I do it in a way we can still have a unmodified copy of iniparser in source/iniparser/ and have the wrapper stuff in source/iniparser_build/. If the build-farm is happy with this I'll merge it to 3_0_26 tomorrow... metze
* r23313: Janitor for tridge:Volker Lendecke2007-10-101-24/+13
| | | | | | we need to use tdb_wrap_open in both these backends to allow for multiple opens. This is done for notify.tdb. Otherwise we die when a 2nd share with notify is setup
* r23312: As per Volker, rename the "windbind:ads" parameter "winbind:rpc only".James Peach2007-10-101-4/+3
|
* r23309: sync lib/replace with SAMBA_4_0Stefan Metzmacher2007-10-1025-223/+347
| | | | metze
* r23307: move readahead stuff out of libreplace and make it samba3 specificStefan Metzmacher2007-10-105-10/+5
| | | | | | | as we can't replace this function in libreplace and we do the some stuff for other function in the same way. metze
* r23305: merge from samba4:Stefan Metzmacher2007-10-101-3/+3
| | | | | | fix large file support on HP-UX 11.00 and 11.11 metze
* r23302: Refactor vfs_gpfs module, fix problems with chmod Tridge has found ↵Alexander Bokovoy2007-10-102-96/+111
| | | | during ctdb tests
* r23300: AFAICT these are not needed. Jerry, can you please review and revertJames Peach2007-10-101-1/+0
| | | | if this is not correct.
* r23299: Fix the build for !WITH_SENDFILE.James Peach2007-10-101-4/+3
|
* r23297: This introduces the winbind:ads parameter which defaults to True. ↵Volker Lendecke2007-10-101-1/+3
| | | | | | | Setting it to False makes winbind use RPC and not LDAP methods to connect to the DCs, even when it figured out they are AD.
* r23295: Apply proto_exists and bin/.dummy dependencies consistently for allJames Peach2007-10-101-137/+137
| | | | binaries. Fix vfs_zfsacl build rule in SAMBA_3_0.
* r23291: Undo the somewhat naive change of r23279:Michael Adam2007-10-101-2/+10
| | | | | | | | | The clear text presentaion of the sid in the ldap expression does work with w2k3 but not with w2k.... Thanks to Guenther for advising me of this issue. Michael
* r23290: Fix another small and stupid but severe typo.Michael Adam2007-10-101-1/+1
| | | | | | Hopfully, I have finally got this right... :-) Michael
* r23287: Use talloc_move instead of talloc_steal as this is what I reallyMichael Adam2007-10-101-1/+1
| | | | | | wanted to do. Michael
* 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