Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-05-28 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Andrew Tridgell | 104 | -1279/+2301 | |
2009-05-28 | a useful debugging tool | Andrew Tridgell | 1 | -0/+7 | |
When looking at performance problems with ldb it can be useful to see which searches causes unindexed full searches. This makes it easy to enable that. | |||||
2009-05-28 | fixed one-level indexing | Andrew Tridgell | 1 | -6/+2 | |
one-level indexing was not always effective due to some broken logic in the indexing code. This change means that if normal indexing fails, we can still fall back on one-level indexing. This reduces the number of full unindexed searches in s4 quite a lot | |||||
2009-05-28 | enable one-level indexing in sam.ldb | Andrew Tridgell | 1 | -0/+5 | |
2009-05-28 | make TDB_NOSYNC affect all the fsync/msync calls in transactions | Andrew Tridgell | 1 | -5/+7 | |
During a transaction commit tdb normally uses fsync/msync calls to make it crash safe. This can be disabled using the TDB_NOSYNC flag, but it wasn't disabling all the code paths that caused a fsync/msync. | |||||
2009-05-27 | Add a smbclient "readlink" command and add docs for it. | Jeremy Allison | 2 | -0/+57 | |
Jeremy. | |||||
2009-05-27 | Add cli_posix_readlink() and a torture test for it. | Jeremy Allison | 3 | -2/+207 | |
Jeremy. | |||||
2009-05-27 | Add aync POSIX hardlink and symlink and torture test for them. | Jeremy Allison | 4 | -157/+391 | |
Missing call cli_readlink() is next. Jeremy. | |||||
2009-05-28 | s3:idmap_ldap: filter out of range mappings in default idmap config | Michael Adam | 1 | -16/+55 | |
This fixes bug #6417 Michael | |||||
2009-05-27 | tdb: Fix some recently introduced warnings in tdbtool | Tim Prouty | 1 | -6/+6 | |
2009-05-27 | s3: Allow child processes to exit gracefully if we are out of fds | Marc VanHeyningen | 9 | -25/+35 | |
When we run out of file descriptors for some reason, every new connection forks a child that immediately panics causing smbd to coredump. This seems unnecessarily harsh; with this code change we now catch that error and merely log a message about it and exit without the core dump. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-05-27 | s3: zero an uninitialized array | Marc VanHeyningen | 1 | -1/+4 | |
Invalid pointers were being dereferenced in lookup_sids causing occasional seg faults. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-05-27 | s3:idmap: fix a comment typo | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-05-27 | s3:idmap_tdb2: filter out of range mappings in default idmap config | Michael Adam | 1 | -12/+49 | |
This fixes bug #6416 Michael | |||||
2009-05-27 | s3:idmap_tdb: add an entry debug statment to idmap_tdb_db_init() | Michael Adam | 1 | -0/+2 | |
Michael | |||||
2009-05-27 | s3:idmap_tdb: filter out of range mappings in default idmap config | Michael Adam | 1 | -16/+57 | |
This fixes bug #6415 Michael | |||||
2009-05-27 | s3/docs: Correct version number. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2009-05-27 | Revert "s3/docs: Fix build." | Karolin Seeger | 1 | -1/+1 | |
This reverts commit 84998cb85e59a92178d916f4e485c08fb826b838. Actually, the "fix" breaks the build. Works after 'make clean'. Sorry! | |||||
2009-05-27 | s3/docs: Fix build. | Karolin Seeger | 1 | -1/+1 | |
$(DBLATEX) was empty. Please check! Karolin | |||||
2009-05-27 | Modified SamDB to accept options like Ldb. | Nadezhda Ivanova | 1 | -2/+2 | |
2009-05-27 | s3: update manpage as to the new passdb backend default | Björn Jacke | 1 | -3/+5 | |
2009-05-27 | s3: make passdb backend defaults to tdbsam | Björn Jacke | 1 | -1/+1 | |
2009-05-27 | Fix the build of nfs4_acls.c | Volker Lendecke | 1 | -1/+2 | |
2009-05-27 | Fix a size_t/int warning | Volker Lendecke | 1 | -1/+1 | |
2009-05-27 | Fix some nonempty blank lines | Volker Lendecke | 1 | -14/+13 | |
2009-05-27 | Gna, how long do I program in C now??? :-) | Volker Lendecke | 1 | -2/+2 | |
2009-05-27 | Detect missing 'witch' before detecting missing autoconf | Andrew Bartlett | 1 | -1/+6 | |
2009-05-26 | s3/docs Add manpage for "map untrusted to domain" parameter | Steven Danneman | 1 | -0/+33 | |
This fixes bug 6352. | |||||
2009-05-27 | Handle the krbtgt special case by looking for RID -514 | Andrew Bartlett | 1 | -26/+52 | |
It turns out (seen in MS-SAMR 3.1.1.7.1 for example) that the primary way the krbtgt account is recognised as special is that RID. This should fix issues such as 'password expired' on the kpasswd service. Andrew Bartlett | |||||
2009-05-27 | Add DOMAIN_RID_KRBTGT define to security.idl | Andrew Bartlett | 2 | -0/+2 | |
2009-05-27 | s4:tevent: Increase trace debug level to 50. | Andrew Kroeger | 1 | -1/+1 | |
The sheer volume of messages generated by tevent when the trace level is set to 10 makes it difficult to debug issues in a level 10 log. Increasing this to 50 allows tevent tracing to be enabled if needed, but otherwise keeps the extra chatter out of a level 10 log. | |||||
2009-05-26 | Attempt to fix the build on HP/UX | Volker Lendecke | 2 | -0/+12 | |
2009-05-26 | Attempt to fix the build on NetBSD | Volker Lendecke | 3 | -6/+9 | |
2009-05-26 | Revert "s3: fix build on systems with struct stat member st_flags" | Björn Jacke | 1 | -3/+0 | |
for a cleaner and more complete patch that Volker has in the queue :-) | |||||
2009-05-26 | s3: fix build on systems with struct stat member st_flags | Björn Jacke | 1 | -0/+3 | |
2009-05-26 | s4:ldb_modules: Correct typos. | Andrew Kroeger | 2 | -2/+2 | |
2009-05-26 | s4:ldb:modules: Correct typos. | Andrew Kroeger | 4 | -6/+4 | |
2009-05-26 | Fix some nonempty blank lines | Volker Lendecke | 1 | -28/+27 | |
2009-05-26 | Introduce "struct stat_ex" as a replacement for SMB_STRUCT_STAT | Volker Lendecke | 53 | -768/+768 | |
This patch introduces struct stat_ex { dev_t st_ex_dev; ino_t st_ex_ino; mode_t st_ex_mode; nlink_t st_ex_nlink; uid_t st_ex_uid; gid_t st_ex_gid; dev_t st_ex_rdev; off_t st_ex_size; struct timespec st_ex_atime; struct timespec st_ex_mtime; struct timespec st_ex_ctime; struct timespec st_ex_btime; /* birthtime */ blksize_t st_ex_blksize; blkcnt_t st_ex_blocks; }; typedef struct stat_ex SMB_STRUCT_STAT; It is really large because due to the friendly libc headers playing macro tricks with fields like st_ino, so I renamed them to st_ex_xxx. Why this change? To support birthtime, we already have quite a few #ifdef's at places where it does not really belong. With a stat struct that we control, we can consolidate the nanosecond timestamps and the birthtime deep in the VFS stat calls. At this moment it is triggered by a request to support the birthtime field for GPFS. GPFS does not extend the system level struct stat, but instead has a separate call that gets us the additional information beyond posix. Without being able to do that within the VFS stat calls, that support would have to be scattered around the main smbd code. It will very likely break all the onefs modules, but I think the changes will be reasonably easy to do. | |||||
2009-05-26 | s3:smbd: remove unused global 'orig_inbuf' | Stefan Metzmacher | 2 | -2/+0 | |
metze | |||||
2009-05-26 | s3:pam_smbpass: don't call openlog() or closelog() from pam_smbpass | Björn Jacke | 5 | -80/+104 | |
Patch from Steve Langasek with tiny fixes by me to make it apply to master. Also see Debian bug #434372 and bugzilla #4831. Calling openlog() or closelog() inside a pam module is not good as these functions are not stackable and no program won't re-do openlog() just because a pam module might have called closelog(). | |||||
2009-05-26 | gitignore: Ignore additional auto-generated files. | Andrew Kroeger | 1 | -1/+3 | |
Corrected path to tdr_proto.h and added librpc/gen_ndr/{cli,srv}_dcerpc.[ch]. | |||||
2009-05-26 | s3/docs: Fix typo in man idmap_rid. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2009-05-26 | s3:smbd: move SMB1 specific stuff into a substructure of smbd_server_connection | Stefan Metzmacher | 5 | -28/+30 | |
metze | |||||
2009-05-26 | s3:smbd: add support for SMB2 signing | Stefan Metzmacher | 5 | -55/+280 | |
metze | |||||
2009-05-26 | s3:smbd: return the correct security mode and capabilities in SMB2 Negotitate | Stefan Metzmacher | 1 | -5/+18 | |
metze | |||||
2009-05-26 | s4:libcli/smb2: remove old dialect revision constants | Stefan Metzmacher | 1 | -4/+0 | |
metze | |||||
2009-05-26 | s4:smb2srv: We only support SMB 2.002. | Stefan Metzmacher | 2 | -6/+12 | |
We need to loop over all given dialects and check if we can find SMB2_DIALECT_REVISION_202. metze | |||||
2009-05-26 | s4:libcli/smb2: use new SMB2_DIVELECT_REVISION constants | Stefan Metzmacher | 1 | -2/+5 | |
Also send them in the order a windows client would send them (the lowest first). metze | |||||
2009-05-26 | s4:libcli/smb2: add some more SMB2 constants | Stefan Metzmacher | 1 | -4/+14 | |
metze |