summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
* fix quota build on non-64bit systemsGerald Carter2003-05-142-5/+5
|
* readding reverted changes during idmap merge (noticed by Andrew b.)Gerald Carter2003-05-141-16/+33
|
* Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. ↵Alexander Bokovoy2003-05-148-30/+107
| | | | 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.
* Prefix VFS API macros with SMB_ for consistency and to avoid problems with ↵Alexander Bokovoy2003-05-1429-549/+549
| | | | 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
* fix group mapping in LDAP under new schemaGerald Carter2003-05-141-35/+61
|
* *****LDAP schema changes*****Gerald Carter2003-05-144-306/+816
| | | | | | | | | | | | New objectclass named sambaSamAccount which uses attribute prefaced with the phrase 'samba' to prevent future name clashes. Change in functionality of the 'ldap filter' parameter. This always defaults to "(uid=%u)" now and is and'd with the approriate objectclass depending on whether you are using ldapsam_compat or ldapsam conversion script for migrating from sambaAccount to sambaSamAccount will come next.
* Move some #ifdefs and function prototypes around to avoid a compilerTim Potter2003-05-141-13/+14
| | | | warning when we have a working version of snprintf()
* Fix pointer return bug in get_unix_attributes()Tim Potter2003-05-141-1/+1
|
* spellingTim Potter2003-05-1411-15/+15
|
* spellingTim Potter2003-05-141-2/+2
|
* Restore a number of fixes that idra removed when he merged hisAndrew Bartlett2003-05-134-10/+5
| | | | | | | | | | | 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
* Fix non-constant initialiser for Sun CC.Andrew Bartlett2003-05-131-1/+7
|
* Try to fix up some code in pdb_smbpasswd that assumed we still had a 'uid'.Andrew Bartlett2003-05-131-12/+22
| | | | | | This is to get non-unix accounts going for the build farm. Andrew Bartlett
* Fix obvious compiler warnings.Jeremy Allison2003-05-128-9/+1
| | | | Jeremy.
* And finally IDMAP in 3_0Simo Sorce2003-05-1247-1516/+973
| | | | | | | | | | | | | | | | | | | | 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.
* fixing typos in debug statementsGerald Carter2003-05-122-2/+2
|
* 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.
* Re-enable secure channel for net rpc vampire.Tim Potter2003-05-121-8/+13
| | | | | Jump out of sam entry processing loop if the return value from cli_netlogon_sam_sync() isn't OK or STATUS_MORE_ENTRIES.
* Fix two bugs that were stopping net rpc vampire from working over secureTim Potter2003-05-121-2/+10
| | | | | | | | | | | | | | channel: - If the domain name passed to create_rpc_bind_req() is empty, use lp_workgroup() - Correctly set the auth_padding field when the send_size is a multiple of 8 bytes I've tested with nt4sp6 and win2ksp0 and it seems to work, although there are no password hashes transferred from win2k. The empty passwords are being protected by the secure channel encryption though.
* 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
|
* Forgot to actually change default for quotas to -no- in configure.inAlexander Bokovoy2003-05-121-4/+4
|
* Forgot to actually change default for quotas to -no- in configure.inAlexander Bokovoy2003-05-121-1/+1
|
* 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
|
* Fix up a bit of my sloppy C.Andrew Bartlett2003-05-121-3/+2
|
* 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-1221-106/+2783
| | | | | | | 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
* Give up on the idea of avoiding lp_load() in ntlm_auth....Andrew Bartlett2003-05-121-8/+18
| | | | | | | Also, we might be given a 0 length challenge, so don't smb_panic() for smb_xmalloc() of zero size. Andrew Bartlett
* Make it possible to actually use --user-SID and --group-SID on a standard ↵Andrew Bartlett2003-05-121-2/+2
| | | | | | command line. Andrew Bartlett
* Fix compile.Andrew Bartlett2003-05-111-1/+1
|
* Add new files needed for VFS fixes.Alexander Bokovoy2003-05-113-3/+318
| | | | | | 1. idmap.h is used for unid_t only, agreed by Simo 2. sysquotas.h is used to add quota support to VFS layer and is needed for future NT quota commit 3. vfs_macros.h provides convenient macros to access VFS API.
* Fix VFS layer:Alexander Bokovoy2003-05-1134-1797/+1362
| | | | | | | | | 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
* Set the password for a newly created trustdom account. Tested againstVolker Lendecke2003-05-111-3/+34
| | | | | | PDCs running NT4SP1, NT4SP6 and Samba 3.0. Volker
* When we have a NT4SP0 PDC trust us, we first have to check theVolker Lendecke2003-05-111-2/+2
| | | | | | | | | | | password. On NT4, NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT means the password was correct. So the PDC believed that he had his trust account correctly added. Later the auth2 naturally failed. BTW, setting up an interdom trust account is not what I would call well documented and easy to handle... Working on that now :-) Volker
* Ok, this is a hack. On a netsec bind reply I did not see anythingVolker Lendecke2003-05-111-0/+20
| | | | | | | | | | | useful in the auth verifier yet. So this patch ignores it. Really checking this would be a lot more intrusive: in rpc_api_pipe we would have to distinguish between binds and normal requests, or have more state in the netsec info of cli_state, which is also somewhat hackish. Volker
* As discussed on samba-technical - move to 'primaryGroupSid' insted ofAndrew Bartlett2003-05-111-17/+45
| | | | | | | | | | primaryGroupID (rid). This is consistant with the move from 'rid' to ntSid for the primary user identifier. Also cope with legacy installations where primaryGroupID might have been stored as 0. Andrew Bartlett
* Using /dev/urandom for determining an ldap server backoff is a waste of systemAndrew Bartlett2003-05-111-2/+6
| | | | | | entropy - use sys_random() instead. Andrew Bartlett
* Reverse latest module_dummy patch from metze and me.Jelmer Vernooij2003-05-101-53/+0
|
* Reverse previous patch from Stefan and me after comments by Andrew BartlettJelmer Vernooij2003-05-1034-84/+2
|
* Patch from metze and me that adds dummy smb_register_*() functions soJelmer Vernooij2003-05-1035-2/+137
| | | | | that is now possible to, for example, load a module which contains an auth method into a binary without the auth/ subsystem built in.
* Fix from Tom.Lackemann@falconstor.com to correctly set the flags basedJeremy Allison2003-05-101-1/+9
| | | | | on the security entries sent. Jeremy.
* 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 for possible segfault in readline handler. Found by vitalyb@mail333.com.Jeremy Allison2003-05-101-1/+2
| | | | Jeremy.
* Fix typo.John Terpstra2003-05-101-1/+1
|
* removing total print jobs since it is not used anymoreGerald Carter2003-05-091-2/+0
|
* Makefile changes to allow new NTLMv2 patch to work.Andrew Bartlett2003-05-091-10/+7
|
* Cleanups. My NTLMv2 changes also changed the preference from using an implicitAndrew Bartlett2003-05-091-42/+42
| | | | | | | | | | | structure-memcpy for DATA_BLOB parameters to using a pointer to that DATA_BLOB. auth_sam calls some of these functions, so I've cleaned it all up to use this format now. Also clean up some debug statements to make them easier to read. Andrew Bartlett