summaryrefslogtreecommitdiffstats
path: root/source/smbd
Commit message (Collapse)AuthorAgeFilesLines
* Eliminate NULL pointers from VFS interface. All hooks now really callable, ↵Alexander Bokovoy2003-05-123-13/+17
| | | | producing either correct result or returning error if the feature isn't supported in the configuration
* GCC accepts unnamed initalization of sub-structure. Let's see how AIX behave ↵Alexander Bokovoy2003-05-121-1/+1
| | | | with this. Previous fix was incorrect.
* A small patch from metze to fix builds on some platforms ...Richard Sharpe2003-05-121-1/+1
| | | | http://lists.samba.org/pipermail/samba-technical/attachments/20030512/0332258a/vfs-fix-01.obj
* Fix a wrong define check.Alexander Bokovoy2003-05-121-3/+4
|
* Wrap into WITH_QUOTAS yet another place in trans2Alexander Bokovoy2003-05-121-1/+7
|
* Better isolate quota stuffAlexander Bokovoy2003-05-122-0/+12
|
* Small fix for HAVE_SYS_QUOTAS usage, spotted by build farmAlexander Bokovoy2003-05-121-6/+7
|
* Small fix for HAVE_SYS_QUOTAS usage, spotted by build farmAlexander Bokovoy2003-05-121-1/+6
|
* Add NT quota support. Patch from Stefan (metze) MetzemacherAlexander Bokovoy2003-05-128-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
* Fix VFS layer:Alexander Bokovoy2003-05-1116-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
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-101-7/+0
|
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-101-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.
* Optimisation. We don't need to do 2 strlen's when we're setting the statJeremy Allison2003-05-101-9/+0
| | | | | struct in the correct place. Jeremy.
* Fix nasty bug pointed out by samba-technical poster. If name is mangledJeremy Allison2003-05-091-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.
* SMB_QUERY_FILE_ALT_NAME_INFO and SMB_FILE_ALTERNATE_NAME_INFORMATIONJeremy Allison2003-05-071-9/+1
| | | | | are identical - noticed by "Dr. Tilo Levante" <tilo@levante.de>. Jeremy.
* Make fchown, fchmod conditional for systems that don't have them.Jeremy Allison2003-05-071-5/+16
| | | | Jeremy.
* Patch from metze to add exit and interval events. Useful for modulesJelmer Vernooij2003-05-062-0/+10
|
* Fix uninitialized blobs reported by Luke Howard.Jeremy Allison2003-05-011-0/+6
| | | | Jeremy.
* Fix for bugid 51 from Dragan Krnic.Jeremy Allison2003-05-011-5/+5
| | | | Jeremy.
* Fix disk quotas support on HP/UX (patch by David Nixon)Jelmer Vernooij2003-05-011-1/+1
|
* Make the version numbers ints (patch from metze)Jelmer Vernooij2003-04-301-1/+1
|
* add version back to lanman string in sessetup replyGerald Carter2003-04-291-1/+5
|
* Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij2003-04-281-11/+12
| | | | function. Patch by metze with some minor modifications.
* inet_pton isn't portable, so use interpret_addr2.Andrew Bartlett2003-04-281-3/+3
|
* Fix length in findfirst2 responses, fix os/2 clientsJim McDonough2003-04-241-4/+10
|
* When possible, store the IP address of the connecting client, not just theAndrew Bartlett2003-04-242-4/+17
| | | | | | | | | | hostname. This makes 'last -i' show the IP. Thanks to Philip Anderson <pza@australia.op.org> for the idea. Andrew Bartlett
* This is really trying to be a StrnCpy (most names will overflow the 10 charAndrew Bartlett2003-04-241-1/+1
| | | | limit)
* Thanks to a reminder from vance - delete build_options.c from CVS, nowAndrew Bartlett2003-04-231-532/+0
| | | | it's autogenerated.
* Patch by Vance Lankhaar <vlankhaar@linux.ca> to automaticly regenerate theAndrew Bartlett2003-04-231-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
* StrnCpy -> safe_strcpy() on a over-malloced struct.Andrew Bartlett2003-04-231-2/+2
| | | | Andrew Bartlett
* Merge the 'safe' parts of my StrnCpy patch - many of the users really wantedAndrew Bartlett2003-04-235-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
* Merge HEAD's winbind into 3.0.Andrew Bartlett2003-04-231-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
* Make the variable name match the comment.Andrew Bartlett2003-04-231-2/+2
| | | | Andrew Bartlett
* Don't leak the session identifier string when we shut down a vuid.Andrew Bartlett2003-04-231-0/+1
| | | | Andrew Bartlett
* Add runtime tests for "impossible" case with -DDEVELOPER. Trying to catch logicJeremy Allison2003-04-221-0/+27
| | | | | error on Linux. Jeremy.
* Merge comment with HEADAndrew Bartlett2003-04-221-3/+3
|
* Tidyups of some dubious logic discovered whilst trying to track down aJeremy Allison2003-04-222-7/+6
| | | | | strange oplock related issue on the PSA. Jeremy.
* * fix segfault when no vfs objects definedGerald Carter2003-04-211-2/+2
| | | | * add "sid=..." to 'net groupmap add'
* Merge from HEAD - save the type of channel used to contact the DC.Andrew Bartlett2003-04-212-65/+36
| | | | | | | | | | | This allows us to join as a BDC, without appearing on the network as one until we have the database replicated, and the admin changes the configuration. This also change the SID retreval order from secrets.tdb, so we no longer require a 'net rpc getsid' - the sid fetch during the domain join is sufficient. Also minor fixes to 'net'. Andrew Bartlett
* use gid_t for gids not uid_tSimo Sorce2003-04-191-1/+1
|
* More merges from HEAD:Jelmer Vernooij2003-04-162-79/+175
| | | | | | - Stephan Kulow's changes (fixing warnings in libsmbclient) - VFS modules - Seperating libs
* Add support for the new modules system to auth/ (merge from HEAD)Jelmer Vernooij2003-04-162-1/+5
|
* Print out information about statically linked in modulesJelmer Vernooij2003-04-151-9/+3
|
* Merge:Tim Potter2003-04-141-23/+0
| | | | - debugging tdb messages now initialised and handled in lib/messages.c
* Whitespace syncup.Tim Potter2003-04-144-7/+7
|
* Merge Jelmer's popt updates from HEAD.Tim Potter2003-04-141-6/+2
|
* Merge of rpcecho pipe for testing large dcerpc requests and responses.Tim Potter2003-04-141-0/+1
| | | | Only compiled in when --enable-developer argument passed to configure.
* Merge of Simo's strncat -> StrnCpy fix.Tim Potter2003-04-131-4/+3
|
* * We must return 0x2 as the majorversion for nt4 to upload driversGerald Carter2003-04-111-10/+15
| | | | * fix bug found by clobber_region()
* cleanup lanman printing= for win98; device type is LPT1:; patch by Steve L.Gerald Carter2003-04-112-4/+4
|