summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* r23411: We were missing displayName and that was preventing usSimo Sorce2007-10-101-0/+1
| | | | | | | | from successfully deleting an entry when "account" is the STRUCTURAL objectclass used for users and machines. "account" is used each time the user entry is in /etc/passwd and we have only the samba attributes in ldap, as well as for rfc2307(bis) standard based directories.
* r23410: Merge the core of the cluster code.Volker Lendecke2007-10-1022-18/+2396
| | | | | | | | | | | | | | | | I'm 100% certain I've forgotten to merge something, but the main code should be in. It's mainly in dbwrap_ctdb.c, ctdbd_conn.c and messages_ctdbd.c. There should be no changes to the non-cluster case, it does survive make test on my laptop. It survives some very basic tests with ctdbd enables, I did not do the full test suite for clusters yet. Phew... Volker
* r23408: Remove a bogus commentVolker Lendecke2007-10-101-1/+0
|
* r23407: While verifying a bug I found out that for some reasonSimo Sorce2007-10-101-17/+14
| | | | | | | | | | | the code to add a machine was different then the one used to add a user, the old code led to the machine SID not being built out correctly allocationg a new RID out of the passdb but instead by using the old algorithmic method. This may easily end up in creating duplicated SID when the RID counter get close to the values built by the algorithmic method. Simo.
* r23406: Evn if not strictly currently necessary do check for correctSimo Sorce2007-10-102-0/+16
| | | | | | init also in idmap_nss and idmap_passdb for coherency and to prevent errors in future if we change the init functions to actually do something and not just return NT_STATUS_OK
* r23404: Fix wrong (and missing) action on error condition in ldap reply ↵Simo Sorce2007-10-101-1/+5
| | | | | | evaluation loop Fixes one of the segfaults in bug #4667
* r23402: Got bitten by a talloc hierarchy. Make sure we allocJeremy Allison2007-10-101-3/+3
| | | | | | off the pipe ctx now ->names is part of the containing struct. Jeremy.
* r23400: Fix lsa crash bug #4683. The "names" enum structJeremy Allison2007-10-104-44/+23
| | | | | | | | | | | in a lookup_sidX reply isn't optional - like the lookup_sidX query it needs to be defined in the struct. All this will go away with PIDL (thank goodness....). Jerry - I think this is a showstopper to be merged for 3.0.25b. I'll be watching the build farm to see if anything broke. Jeremy.
* r23398: Support membership of >16 groups on Darwin by making sure we opt in ↵James Peach2007-10-102-0/+64
| | | | | | to the dynamic group resolution mechanism when switching UNIX credentials.
* r23396: Make VFS callbacks static. Mark operations as OPAQUE because theyJames Peach2007-10-101-8/+9
| | | | do not pass through.
* r23393: Support BSD group semantics by making sure that the effective GID is ↵James Peach2007-10-103-27/+103
| | | | | | always passed as the first GID when calling setgroups(2).
* r23391: Second part of the patch for Apple.Jeremy Allison2007-10-101-14/+22
| | | | | | | | | | | | | | | | | Change the sequence : gain_root(); sys_setgroups(ngroups, groups); become_id(uid, gid); to a function call : set_unix_security_ctx(uid_t uid, gid_t gid, int ngroups, gid_t *groups) James - should be safe for you to create a Darwin-specific version of this function now. Jeremy.
* r23390: First part of the patch to make Apple's life easier.Jeremy Allison2007-10-101-6/+6
| | | | | | | | | | | | | | | | Doing this in two stages to make it very easy to review. Context switching must look like : gain_root(); sys_setgroups(ngroups, groups); become_id(uid, gid); Re-arrange order so these three calls are always seen together. Next will be to turn these into a function. Jeremy.
* r23389: Disabling ACL support on Darwin/Mac OS X for now.Michael Adam2007-10-101-1/+5
| | | | | | | | | | | | | Current configure check detects posix ACL support but compile of modules/vfs_posixacl.c fails due to missing defines in sys/acl.h: ACL_USER, ACL_USER_OBJ, ACL_GROUP, ACL_GROUP_OBJ, ACL_OTHER, ACL_MASK, ACL_WRITE, ACL_READ It has to be investigated, if this can be fixed within the posixacl vfs module or if we need a darwinacl module. Michael
* r23387: 1. This unifies the POSIX ACL detection code:Michael Adam2007-10-101-75/+40
| | | | | | | | | | | | | | | | | Linux, FreeBSD and other (which?) ACL implementations are now checked in the same block instead of in three separate blocks. This was inspired by Timur Bakeyev in Bug #4543. Since bugzilla is currently unavailable this patch is probably slightly different from Timurs original patch. This should finally fix Bug #4543. 2. The default of the --with-acl-support configure option is changed to "auto" (which is actually the same as "yes"). So configure tries to detect acl support by default. This had been discussed with Metze and others. Michael
* r23380: netr_getdcname returns WERROR not NTSTATUS.Günther Deschner2007-10-104-16/+16
| | | | Guenther
* r23379: Whitespace cosmetics, to reduce irritating diffs...Michael Adam2007-10-102-2/+2
| | | | Michael
* r23377: Patch from Bjoern Jacke <bjoern@j3e.de> to dealGerald Carter2007-10-101-2/+2
| | | | with non-GNU implementations of tr in autogen.sh
* r23376: More warningsVolker Lendecke2007-10-101-4/+6
|
* r23375: Fix a 64-bit warningVolker Lendecke2007-10-101-1/+1
|
* r23372: Remove restriction on string length for rpcclient commands.Jeremy Allison2007-10-101-3/+4
| | | | Jeremy.
* r23371: Fix the misleading comment I added - it really *should*Jeremy Allison2007-10-101-2/+2
| | | | | | say "locks chain and returned record", not "and returns record" Jeremy.
* r23370: Traverse in tdb wasn't consistently using theJeremy Allison2007-10-101-8/+10
| | | | | | | | | | | | travlocks.lock_rw for lock read/write types, it was sometimes using it (tdb_next_lock) and sometimes explicitly using F_WRLCK instead. Change this to consistently use travlocks.lock_rw only. I'm pretty sure about this fix (else I woudn't be checking this in :-) but tridge and Volker please review. Jeremy.
* r23368: Make "winbind:rpc only" a full blown parameter. Thanks to Karolin forVolker Lendecke2007-10-102-1/+4
| | | | the patch :-)
* r23367: check the "use mmap" option for ldb tooAndrew Tridgell2007-10-103-0/+14
|
* r23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.Michael Adam2007-10-102-0/+18
| | | | | | | | | | This fixes the build on a SuSE 6.1. :-) I guess this had been merely forgotten. But beware: The implementations of rep_pread and rep_pwrite are not thread safe. Michael
* r23362: Respect "use mmap" in tdb_wrap_open(). Tridge, you might want to mergeVolker Lendecke2007-10-101-0/+3
| | | | this in your tree.
* r23359: Fix bug #4537, fix from jens.nissen@gmx.net.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23358: Fix from Justin Maggard <jmaggard@infrant.com> - ensure we don'tJeremy Allison2007-10-101-1/+1
| | | | | expire a password if it's explicitly set as ACB_PWNOTREQ. Jeremy.
* r23357: timespec_current() was returning the wrong ns timeJeremy Allison2007-10-101-1/+1
| | | | | (multiplying tv_sec, not tv_usec). Jeremy.
* r23356: We missed to add the 'c' character to the list of valid ones forSimo Sorce2007-10-101-1/+1
| | | | | | | | shell escaping. I hate this kind of bugs more than how Jeremy hates off by ones :( Simo.
* r23355: Fix some more build warnings.Günther Deschner2007-10-102-3/+3
| | | | Guenther
* r23354: Fix build warning.Günther Deschner2007-10-101-1/+2
| | | | Guenther
* r23352: Don't generate stamp-h. AFAICT it is never used.James Peach2007-10-102-2/+1
|
* r23349: Fix from Steve Langasek <vorlon@debian.org> toJeremy Allison2007-10-101-0/+16
| | | | | | allow SIGTERM to cause nmbd to exit on awaiting an interface to come up. Debian bug #168079 Jeremy.
* r23348: Fix connection reporting on SIGUSR2 (noticed byJeremy Allison2007-10-101-0/+3
| | | | | Herb). Jeremy.
* r23347: Fix Coverity 363. Dead code elimination.Jeremy Allison2007-10-101-7/+3
| | | | Jeremy.
* r23346: Fix offline caching with XP/Vista. It was an off-by-oneJeremy Allison2007-10-101-4/+4
| | | | | | in storing the access mask. I shouldn't have made this mistake. Damn. Fixes bug #4673. Jeremy
* r23345: Stop Coverity from getting confused.Jeremy Allison2007-10-101-0/+1
| | | | Jeremy.
* r23344: Better error messageVolker Lendecke2007-10-101-2/+4
|
* r23343: Fix error returnVolker Lendecke2007-10-101-1/+3
|
* r23342: Stop Coverity from getting confused.Jeremy Allison2007-10-101-0/+3
| | | | Jeremy.
* r23341: pdb interfaces should be versioned. As SAMBA_3_0 and SAMBA_3_0_26Jeremy Allison2007-10-101-0/+1
| | | | | are now identical, use the same version number (16) for both. Jeremy.
* r23340: Fix typo in debug ouput. Found by Karolin Seeger <ks@sernet.de>.Michael Adam2007-10-101-1/+1
| | | | Michael
* r23337: fix a crash bug...I wonder why only HP-UX 11.00 ans 11.11 noticedStefan Metzmacher2007-10-101-25/+2
| | | | | | | | | | it via a SIGBUS... I missed to remove the samba3 specifc code path to tdb_open_ex() when I synced lib/tdb/ with samba4. The explicit cast in on tdb_open_ex() dropped the compiler warning :-( metze
* r23335: as not all source files include replace.h/config.hStefan Metzmacher2007-10-101-1/+1
| | | | | | | before unistd.h we need to pass -D_FILE_OFFSET_BITS=64 together with -Dpread=pread64 -Dpwrite=pwrite64 metze
* r23330: always include "winbind_client.h" as first headerStefan Metzmacher2007-10-102-2/+2
| | | | | | as it brings in "replace.h" this will bring in "config.h" metze
* r23328: don't typedef ber_tag_t when it's already done by openldapStefan Metzmacher2007-10-101-2/+2
| | | | | | headers on HP-UX (lber_types.h defines _LBER_TYPES_H). metze
* r23323: merged ldb changes from 3.0.26Andrew Tridgell2007-10-107-136/+196
|
* r23321: remove unused variable (due to mad merge from Centeris patches)Gerald Carter2007-10-101-1/+1
|