summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2003-05-17Cope with cumulative permissions sets. This code is #ifdef'ed out at theJeremy Allison1-1/+49
moment as I don't think cumulative permission sets make sense in POSIX even though that's the way Windows works.... Jeremy. (This used to be commit 6ddd5b6ca7dde45ce866f852861e143434c84c7e)
2003-05-16David Lee <t.d.lee@durham.ac.uk> provides some corrections to the commentsAndrew Bartlett1-39/+5
in the UTMP code. Andrew Bartlett (This used to be commit f0cff106cb6c8993eb31f589106d845261c1f8e9)
2003-05-16add metze's patch for smb_register functionsSimo Sorce1-4/+1
(This used to be commit 1480c7e8c7a84c34181118c449c50ca99fdcbc6b)
2003-05-15Fix from Steve G <linux_4ever@yahoo.com>. Ensure sigemptyset is called onJeremy Allison2-5/+7
the sa_mask to prevent valgrind complaints. Jeremy. (This used to be commit e065c3a58f5c7f2612596574046a73869183dbd3)
2003-05-14fix quota build on non-64bit systemsGerald Carter2-5/+5
(This used to be commit 227ac953386d0040c661cde85a5b23e10529fb0c)
2003-05-14Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. ↵Alexander Bokovoy5-17/+29
Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm. (This used to be commit 3786695c72e6ff6a52a527382ac77142e236971b)
2003-05-14Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy16-204/+204
VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out (This used to be commit c2689ed118b490e49497a76ed6a2251262018769)
2003-05-14spellingTim Potter4-5/+5
(This used to be commit 865c11275685c85124b506c9bbd2a8bde2e760b9)
2003-05-13Restore a number of fixes that idra removed when he merged hisAndrew Bartlett1-0/+1
idmap-and-the-rest from HEAD. These are correctness fixes that were already in 3.0, and a memory leak fix. The pdb_ldap changes are held back at jerry's request (he is also playing with pdb_ldap ATM). Andrew Bartlett (This used to be commit c7d5e336bd91514a02974044742b058be387e490)
2003-05-12Fix obvious compiler warnings.Jeremy Allison1-1/+0
Jeremy. (This used to be commit 2a6d0c2481c3c34351e57c30a85004babdbf99b0)
2003-05-12And finally IDMAP in 3_0Simo Sorce7-448/+27
We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo. (This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)
2003-05-12fixing typos in debug statementsGerald Carter1-1/+1
(This used to be commit f59bcb51cfe4e268ba43245d401d212aefdf2b72)
2003-05-12Eliminate NULL pointers from VFS interface. All hooks now really callable, ↵Alexander Bokovoy3-13/+17
producing either correct result or returning error if the feature isn't supported in the configuration (This used to be commit af0a17349e6986eef2e2fd07b4b9f0bcd33bbe1f)
2003-05-12GCC accepts unnamed initalization of sub-structure. Let's see how AIX behave ↵Alexander Bokovoy1-1/+1
with this. Previous fix was incorrect. (This used to be commit 13e1bbd803111361bcd9c28b5086277c912c59a6)
2003-05-12A small patch from metze to fix builds on some platforms ...Richard Sharpe1-1/+1
http://lists.samba.org/pipermail/samba-technical/attachments/20030512/0332258a/vfs-fix-01.obj (This used to be commit 5d643b9d03135effa5c8fd84bf1e54a7bd075e2a)
2003-05-12Fix a wrong define check.Alexander Bokovoy1-3/+4
(This used to be commit f1c4f65ae019c61f4a8178bee094dd66506dbcae)
2003-05-12Wrap into WITH_QUOTAS yet another place in trans2Alexander Bokovoy1-1/+7
(This used to be commit fea5d85d947965bd4789ab31607fd48d78403696)
2003-05-12Better isolate quota stuffAlexander Bokovoy2-0/+12
(This used to be commit 73de13159c57de21a59d2e32216812f5d9d2292e)
2003-05-12Small fix for HAVE_SYS_QUOTAS usage, spotted by build farmAlexander Bokovoy1-6/+7
(This used to be commit 01cff3e2e4e2724ed112fa62a775055192a2207b)
2003-05-12Small fix for HAVE_SYS_QUOTAS usage, spotted by build farmAlexander Bokovoy1-1/+6
(This used to be commit ee5fa840686a1d9789688e7c0f1c3ca8d0175e94)
2003-05-12Add NT quota support. Patch from Stefan (metze) MetzemacherAlexander Bokovoy8-46/+1274
1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab 2. Disabled by default and when requested, will be probed and enabled only on Linux where it works 3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far Documentation to follow (This used to be commit 4bf022ce9e45be85609426762ba2644ac2031326)
2003-05-11Fix VFS layer:Alexander Bokovoy16-642/+500
1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow (This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij1-7/+0
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij1-0/+7
that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in. (This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-05-10Optimisation. We don't need to do 2 strlen's when we're setting the statJeremy Allison1-9/+0
struct in the correct place. Jeremy. (This used to be commit 4cd8b276715f7e019fcee8fc3ebb2855610c4751)
2003-05-09Fix nasty bug pointed out by samba-technical poster. If name is mangledJeremy Allison1-1/+12
then we weren't always correctly detecting that it had a valid stat struct and so might now return a 'file existed'. Finally realized this when installing the W2K resource kit as a test case. Jeremy. (This used to be commit d48069ccd8351e4bff097a7f7500c738870a413d)
2003-05-07SMB_QUERY_FILE_ALT_NAME_INFO and SMB_FILE_ALTERNATE_NAME_INFORMATIONJeremy Allison1-9/+1
are identical - noticed by "Dr. Tilo Levante" <tilo@levante.de>. Jeremy. (This used to be commit f6d7c279bc8354202f2a9b39fec4a4c8ace368a3)
2003-05-07Make fchown, fchmod conditional for systems that don't have them.Jeremy Allison1-5/+16
Jeremy. (This used to be commit cf78b1e7fe72aec72d03c86c46a8ca49df539c11)
2003-05-06Patch from metze to add exit and interval events. Useful for modulesJelmer Vernooij2-0/+10
(This used to be commit 3033a63cefb5f28d4460885f7f4e4ecaed95443c)
2003-05-01Fix uninitialized blobs reported by Luke Howard.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 8dcc00899977a126d5782e44bdae74175ecc0d93)
2003-05-01Fix for bugid 51 from Dragan Krnic.Jeremy Allison1-5/+5
Jeremy. (This used to be commit a2af45154d0e1bb76e78fbde1572d4fcd1ba0da2)
2003-05-01Fix disk quotas support on HP/UX (patch by David Nixon)Jelmer Vernooij1-1/+1
(This used to be commit a2c315dea6910e3f83ba2e9bad4312cf35f608da)
2003-04-30Make the version numbers ints (patch from metze)Jelmer Vernooij1-1/+1
(This used to be commit dbe36b4c43dceddea9f14161c6cf7b34709287c8)
2003-04-29add version back to lanman string in sessetup replyGerald Carter1-1/+5
(This used to be commit dade462a168abe721c70022546109074961969b6)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij1-11/+12
function. Patch by metze with some minor modifications. (This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
2003-04-28inet_pton isn't portable, so use interpret_addr2.Andrew Bartlett1-3/+3
(This used to be commit 04d27381325561038bee1c27f10c748b9aaf447d)
2003-04-24Fix length in findfirst2 responses, fix os/2 clientsJim McDonough1-4/+10
(This used to be commit c12feff680b183a22d933bab65b5c095c0548e7e)
2003-04-24When possible, store the IP address of the connecting client, not just theAndrew Bartlett2-4/+17
hostname. This makes 'last -i' show the IP. Thanks to Philip Anderson <pza@australia.op.org> for the idea. Andrew Bartlett (This used to be commit 107731c080da1e3e4e13e966f8b79bfd2692a952)
2003-04-24This is really trying to be a StrnCpy (most names will overflow the 10 charAndrew Bartlett1-1/+1
limit) (This used to be commit 0e04761abe375bfea48fa2c9ba9e1dc0d56d39f7)
2003-04-23Thanks to a reminder from vance - delete build_options.c from CVS, nowAndrew Bartlett1-532/+0
it's autogenerated. (This used to be commit 1cbc66e2e35342980f27151622658e2f2f498245)
2003-04-23Patch by Vance Lankhaar <vlankhaar@linux.ca> to automaticly regenerate theAndrew Bartlett1-0/+1
build options, so we will always have the right values for how and when an smbd was built. In particular, this is indended to address bitrot caused by configure.in changes. Andrew Bartlett (This used to be commit 2be258071c71986ba9af01e9a09ec49909a620dd)
2003-04-23StrnCpy -> safe_strcpy() on a over-malloced struct.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit e4f1171d57a6186f85b87586a525b3bbaf601974)
2003-04-23Merge the 'safe' parts of my StrnCpy patch - many of the users really wantedAndrew Bartlett5-20/+9
a pstrcpy/fstrcpy or at most a safe_strcpy(). These have the advantage of being compiler-verifiable. Get these out of the way, along with a rewrite of 'get_short_archi' in the spoolss client and server. (This pushes around const string pointers, rather than copied strings). Andrew Bartlett (This used to be commit 32fb801ddc035e8971e9911ed4b6e51892e9d1cc)
2003-04-23Merge HEAD's winbind into 3.0.Andrew Bartlett1-0/+1
This includes the 'SIDs Rule' patch, mimir's trusted domains cacheing code, the winbind_idmap abstraction (not idmap proper, but the stuff that held up the winbind LDAP backend in HEAD). Andrew Bartlett (This used to be commit d4d5e6c2ee6383c6cceb5d449aa2ba6c83eb0666)
2003-04-23Make the variable name match the comment.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 5a577f8cafa7375bd8485763f163de939ddc4a39)
2003-04-23Don't leak the session identifier string when we shut down a vuid.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit 33189b4be0ac79d5e7bc2606f40187118ee506a4)
2003-04-22Add runtime tests for "impossible" case with -DDEVELOPER. Trying to catch logicJeremy Allison1-0/+27
error on Linux. Jeremy. (This used to be commit 546d1a941b63a538702f2fb668019d2b89f63bdc)
2003-04-22Merge comment with HEADAndrew Bartlett1-3/+3
(This used to be commit 8f8d819d5814c2a538b5b906014ff0c354625450)
2003-04-22Tidyups of some dubious logic discovered whilst trying to track down aJeremy Allison2-7/+6
strange oplock related issue on the PSA. Jeremy. (This used to be commit 1dd274bf61aaaad3c475de93f53aac176678bc7c)
2003-04-21* fix segfault when no vfs objects definedGerald Carter1-2/+2
* add "sid=..." to 'net groupmap add' (This used to be commit e5f6676639b5552f7dec90091c53cf14e78088ee)