summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
* a bunch of fixes from the sflight to seattleAndrew Tridgell2001-08-201-1/+1
| | | | | | in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch
* removed unused fileAndrew Tridgell2001-08-161-91/+0
|
* Moved across definition of dos error types from smb.h to doserr.hTim Potter2001-08-132-4/+7
|
* This patch does a number of things, mostly smaller than they look :-)Andrew Bartlett2001-08-121-2/+2
| | | | | | | | | | | | | | | In particuar, it moves the domain_client_validate stuff out of auth_domain.c to somwhere where they (I hope) they can be shared with winbind better. (This may need some work) The main purpose of this patch was however to improve some of the internal documentation and to correctly place become_root()/unbecome_root() calls within the code. Finally this patch moves some more of auth.c into other files, auth_unix.c in this case. Andrew Bartlett
* Added Mike Davidsons Tru64 ACL patch.Jeremy Allison2001-08-102-3/+3
| | | | Jeremy.
* - avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce2001-08-102-53/+126
| | | | | | | - ported two rpc back from TNG (WINREG: shutdown and abort shutdown) - some optimizations and changed some DEBUG statement in loadparm.c - changed rpcclient a bit moved from non reentrant next_token_nr to next_token - in cmd_reg.c not sure if getopt will work ok on all platforms only setting optind=0
* Removed nt_error field from cli_state as it was not used anywhere.Tim Potter2001-08-101-1/+0
|
* Moved dos error codes from smb.h into new file doserr.hTim Potter2001-08-102-113/+136
|
* Added include guards...Jeremy Allison2001-08-031-0/+3
| | | | | | | We may need to rename this file smbauth.h, as auth.h is so generic it will probably conflict with system header files on some systems. Jeremy.
* This is my 'Authentication Rewrite' version 1.01, mostly as submitted toAndrew Bartlett2001-08-032-0/+97
| | | | | | | | | | | | | | | | | | | | | | | | samba-technical a few weeks ago. The idea here is to standardize the checking of user names and passwords, thereby ensuring that all authtentications pass the same standards. The interface currently implemented in as nt_status = check_password(user_info, server_info) where user_info contains (mostly) the authentication data, and server_info contains things like the user-id they got, and their resolved user name. The current ugliness with the way the structures are created will be killed the next revision, when they will be created and malloced by creator functions. This patch also includes the first implementation of NTLMv2 in HEAD, but which needs some more testing. We also add a hack to allow plaintext passwords to be compared with smbpasswd, not the system password database. Finally, this patch probably reintroduces the PAM accounts bug we had in 2.2.0, I'll fix that once this hits the tree. (I've just finished testing it on a wide variety of platforms, so I want to get this patch in).
* Allow smbpasswd to join a W2K hosted AD domain.Jeremy Allison2001-08-021-0/+1
| | | | Jeremy.
* Put HPUX on mmap blacklist.Jeremy Allison2001-08-021-0/+1
| | | | Jeremy.
* Added "use mmap" for HPUX.Jeremy Allison2001-07-301-0/+1
| | | | Jeremy.
* Fix from Michael Davidson <md@caldera.com> for DEC OSF/1 ACLs (ie.Jeremy Allison2001-07-262-1/+32
| | | | | Digital UNIX). Jeremy.
* Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter2001-07-251-1/+0
| | | | | | According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-:
* a better test for unix domain socketsAndrew Tridgell2001-07-252-4/+2
|
* added a --with-libiconv=BASEDIR/ option to allow easier use of anAndrew Tridgell2001-07-251-1/+4
| | | | alternative iconv library
* if EILSEQ doesn't exist then use EIO. It doesn't really matter whatAndrew Tridgell2001-07-221-2/+3
| | | | | error code we use, as long as its not another one that iconv() can give.
* changed the iconv interface to go via ucs2 for all conversions. ThisAndrew Tridgell2001-07-222-6/+9
| | | | | | fixes some problems wih some character sets and allows for using internal charsets in conjunction with ionv charsets this makes us slower but more correct. speed will come later.
* This should fix the build, I think tpot just missed the file for his CVSAndrew Bartlett2001-07-201-0/+1
| | | | | | commit. It seems to work fine, but if its not the right fix then just yell. Andrew Bartlett
* Fix from bernd@arresum.inka.de for broken krb configure.Jeremy Allison2001-07-161-1/+1
| | | | Jeremy.
* Try to avoid clashes with OpenSSL when built --with-ssl, they also have md5.h,Andrew Bartlett2001-07-101-0/+4
| | | | but with a more 'interesting' licence.
* implement:Jean-François Micouleau2001-07-091-2/+150
| | | | | | | | | | | | | LSA_ENUM_PRIVS LSA_PRIV_GET_DISPNAME LSA_ENUM_ACCOUNTS LSA_OPENACCOUNT LSA_ENUMPRIVSACCOUNT LSA_GETSYSTEMACCOUNT It's a work in progress. nobody should expect it to work J.F.
* add query user info level 20 (for RAS)Jean-François Micouleau2001-07-091-0/+18
| | | | | | | | add query dominfo level 5 some cleanup, don't free talloced memory. implement delete domain and local groups. J.F.
* Add backend encryption support for NTLMv2.Andrew Bartlett2001-07-073-0/+57
| | | | | | | | | | | | The leg-work for this was done by the folks at samba-tng.org, I'm just bringing it accross to HEAD. The MD5 implementation is seperatly derived, and does not have the copyright problems that the one in TNG has. Also add const to a few places where it makes sence. Andrew Bartlett
* Fix for enumerating large numbers of users.Jeremy Allison2001-07-051-1/+1
| | | | Jeremy.
* missed a couple of strchr callsAndrew Tridgell2001-07-042-6/+1
|
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-3/+1
| | | | can't redefine them. damn.
* The big character set handling changeover!Andrew Tridgell2001-07-047-782/+73
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
* Added #define of int32 to int for cray. This will almost certainly causeJeremy Allison2001-07-031-0/+3
| | | | | the rpc code to fail on the cray.... Jeremy.
* Not all OSs have setbuffer, so we better check for it.Andrew Bartlett2001-07-021-0/+3
| | | | Andrew Bartlett
* Fixed the nastiest locking bug to track down.... smb_pids are sent in theJeremy Allison2001-07-021-0/+1
| | | | | lockingX calls - use that instead of smb_pid in the packet. Jeremy.
* Fix for building --with-profile for new vfscalls.Jeremy Allison2001-07-011-0/+4
| | | | Jeremy.
* Ensure we return correct error on trying to unlock a region not locked.Jeremy Allison2001-06-301-0/+1
| | | | Jeremy.
* Added LsaGetConnectedCredentials patch from Manoj Naik <manoj@almaden.ibm.com>.Jeremy Allison2001-06-291-0/+28
| | | | Jeremy.
* Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison2001-06-292-0/+8
| | | | | | Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy.
* From JF....Jeremy Allison2001-06-291-8/+8
| | | | | | | | | | | | | | | | | | | hi jeremy, can you commit the following patch against HEAD. I can't do it right now Thanks Tim for me. He changed the SAM_DISPINFO_1 array without checking if he didn't break the server code. And he did. So on my way I cleaned info_1, 2, .. 5 it may break winbind. I leave to tim the pleasure to fix it ;-) jf. I added some talloc changes and checks for alloc fails. Jeremy.
* Removed another silly static array.Tim Potter2001-06-291-2/+2
|
* Add check for working AF_LOCAL sockets, which are borkenMartin Pool2001-06-261-1/+5
| | | | | on RH7.0 with _LARGEFILE64_SOURCE, and probably not present on non-Unix systems like VMS.
* fixed buildAndrew Tridgell2001-06-261-0/+1
| | | | don't rush commits :)
* fall back to "unsigned" for uint32 on systems that don't have oneAndrew Tridgell2001-06-261-1/+3
|
* fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell2001-06-252-6/+9
| | | | instead of a define
* Added other_safe_chars to alpha_strcpy(). Needs testing but is a betterJeremy Allison2001-06-231-0/+2
| | | | | fix for the problem. Jeremy.
* add an ignore on proto.hAndrew Tridgell2001-06-221-0/+1
|
* auto-build proto.h if its not there, but don't make it dependAndrew Tridgell2001-06-221-4702/+0
| | | | on anything. Delete proto.h from CVS
* the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have ↵Andrew Tridgell2001-06-221-6/+0
| | | | no way of telling if the call really failed
* Merging Gerry's spoolss changes.Jeremy Allison2001-06-212-614/+632
| | | | Jeremy.
* next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell2001-06-211-4/+2
| | | | | | | | | but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour
* Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually doesAndrew Tridgell2001-06-212-614/+613
| | | | | | | | send unaligned unicode strings sometimes! Fixed our handling of the workgroup name tacked on the end of the NT1 negprot response (a unaligned unicode) fixed a couple of places where we should be using the message_end fns instead of pre-calculated buffer lengths
* Fixed W2K SP2 joining a Samba PDC hosted domain.Jeremy Allison2001-06-201-0/+53
| | | | Jermey.