summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2001-08-10Added Mike Davidsons Tru64 ACL patch.Jeremy Allison2-3/+3
Jeremy. (This used to be commit 8c5e5f8c84cab4273ca28d6b5f543dd5d5b464fb)
2001-08-10- avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce2-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 (This used to be commit fd54412ce9c3504a547e232602d6129e08dd9d4d)
2001-08-10Removed nt_error field from cli_state as it was not used anywhere.Tim Potter1-1/+0
(This used to be commit 589aaa5fb1ac55d8b0d5ae95921f071eb6ddacf6)
2001-08-10Moved dos error codes from smb.h into new file doserr.hTim Potter2-113/+136
(This used to be commit 1bd8b6f79754aa8a14a7841b88f1c00d7a3767eb)
2001-08-03Added include guards...Jeremy Allison1-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 used to be commit dd4a6edd497053f4e393216884d356975efef799)
2001-08-03This is my 'Authentication Rewrite' version 1.01, mostly as submitted toAndrew Bartlett2-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). (This used to be commit b30b6202f31d339b48d51c0d38174cafd1cfcd42)
2001-08-02Allow smbpasswd to join a W2K hosted AD domain.Jeremy Allison1-0/+1
Jeremy. (This used to be commit c51cfc7f0d3ad1614ca1e0330c8707f7b263b8e6)
2001-08-02Put HPUX on mmap blacklist.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 4d5fe9ed4fc2c3bb7830ab14eead8d12eed37de9)
2001-07-30Added "use mmap" for HPUX.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
2001-07-26Fix from Michael Davidson <md@caldera.com> for DEC OSF/1 ACLs (ie.Jeremy Allison2-1/+32
Digital UNIX). Jeremy. (This used to be commit 324ba0512ec84bb173c72be3dfd2447e0dc30e26)
2001-07-25Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter1-1/+0
According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: (This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
2001-07-25a better test for unix domain socketsAndrew Tridgell2-4/+2
(This used to be commit 7b3d030e1f869a842822d9a356a027cca6f3a725)
2001-07-25added a --with-libiconv=BASEDIR/ option to allow easier use of anAndrew Tridgell1-1/+4
alternative iconv library (This used to be commit cfb6e67bb92f9d73aadabebae3ea5baeb07158a0)
2001-07-22if EILSEQ doesn't exist then use EIO. It doesn't really matter whatAndrew Tridgell1-2/+3
error code we use, as long as its not another one that iconv() can give. (This used to be commit 2097abb76c1845a69a7136af388cef09243ca066)
2001-07-22changed the iconv interface to go via ucs2 for all conversions. ThisAndrew Tridgell2-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 used to be commit 594f84b4e39182dcf344c02dc0185376a2726395)
2001-07-20This should fix the build, I think tpot just missed the file for his CVSAndrew Bartlett1-0/+1
commit. It seems to work fine, but if its not the right fix then just yell. Andrew Bartlett (This used to be commit d5ebbe6c12313b717777f221af004104b4361d57)
2001-07-16Fix from bernd@arresum.inka.de for broken krb configure.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 956e2a4e3783beec13b1baddb6384deac60389a9)
2001-07-10Try to avoid clashes with OpenSSL when built --with-ssl, they also have md5.h,Andrew Bartlett1-0/+4
but with a more 'interesting' licence. (This used to be commit 9c9fe2674de0f35da67ba2c3b59861f087932934)
2001-07-09implement:Jean-François Micouleau1-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. (This used to be commit 3056357cd8d4b2460f73ba8a8931a143f07fa2a6)
2001-07-09add query user info level 20 (for RAS)Jean-François Micouleau1-0/+18
add query dominfo level 5 some cleanup, don't free talloced memory. implement delete domain and local groups. J.F. (This used to be commit 3f14dda2a21850edfd540be2624867e5f70a382c)
2001-07-07Add backend encryption support for NTLMv2.Andrew Bartlett3-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 (This used to be commit 8df8e841445dfe09fc7a06bb55d12adc3fecb345)
2001-07-05Fix for enumerating large numbers of users.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c8c138c1fbb49799a2dd4c6e781bd89f51c0c0c5)
2001-07-04missed a couple of strchr callsAndrew Tridgell2-6/+1
(This used to be commit 57e7df8ae58020ab653307c1fdfbadd44983e900)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-3/+1
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell7-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. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-03Added #define of int32 to int for cray. This will almost certainly causeJeremy Allison1-0/+3
the rpc code to fail on the cray.... Jeremy. (This used to be commit 33a299a0c42bb7090e2030fb1e5cafdf07346bc6)
2001-07-02Not all OSs have setbuffer, so we better check for it.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit aa5708de69a71e6b41a12f63550fae94f2481742)
2001-07-02Fixed the nastiest locking bug to track down.... smb_pids are sent in theJeremy Allison1-0/+1
lockingX calls - use that instead of smb_pid in the packet. Jeremy. (This used to be commit a3925cb9c6303ce24e5fecad6c8f3a0ba78b9ee0)
2001-07-01Fix for building --with-profile for new vfscalls.Jeremy Allison1-0/+4
Jeremy. (This used to be commit 33dc250ebb389f331cecf47101cf13c630be3a11)
2001-06-30Ensure we return correct error on trying to unlock a region not locked.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 015a077acc49e59179dc10256fd32166ee4623e2)
2001-06-29Added LsaGetConnectedCredentials patch from Manoj Naik <manoj@almaden.ibm.com>.Jeremy Allison1-0/+28
Jeremy. (This used to be commit 7079300da6dbd950e55dc5871851250d5a3717ff)
2001-06-29Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison2-0/+8
Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. (This used to be commit c24e6b41ea60ab4bac2fcd19da947851d6df3c7c)
2001-06-29From JF....Jeremy Allison1-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. (This used to be commit 001e9b7b540f04c80ba65c879aaa41acddc86f3e)
2001-06-29Removed another silly static array.Tim Potter1-2/+2
(This used to be commit 008628fb8ac9f92d984218f37fffdfa3cb9e3d62)
2001-06-26Add check for working AF_LOCAL sockets, which are borkenMartin Pool1-1/+5
on RH7.0 with _LARGEFILE64_SOURCE, and probably not present on non-Unix systems like VMS. (This used to be commit 8b0a5bc436fb44f5123d037b102f2d2c4d3287e8)
2001-06-26fixed buildAndrew Tridgell1-0/+1
don't rush commits :) (This used to be commit 442bf5cc9e6de7888f9a8cc06050f73ef880c4d9)
2001-06-26fall back to "unsigned" for uint32 on systems that don't have oneAndrew Tridgell1-1/+3
(This used to be commit 4d0c3167099f461b46fafaa3a35b14babbadcb93)
2001-06-25fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell2-6/+9
instead of a define (This used to be commit e2ecff419fdc0a0dc7551b33b377dc11061ef2a3)
2001-06-23Added other_safe_chars to alpha_strcpy(). Needs testing but is a betterJeremy Allison1-0/+2
fix for the problem. Jeremy. (This used to be commit e059fffd03a1382fb2b7059b6de369d9fc765a17)
2001-06-22add an ignore on proto.hAndrew Tridgell1-0/+1
(This used to be commit 0dc9227156823f6a44e6a0260e091b972057baa3)
2001-06-22auto-build proto.h if its not there, but don't make it dependAndrew Tridgell1-4702/+0
on anything. Delete proto.h from CVS (This used to be commit 8a37df73ec4d8d1a7db60a49cd5d7d22c4704a88)
2001-06-22the BAD_PTR idea in talloc.h is actually a bad idea - it means callers have ↵Andrew Tridgell1-6/+0
no way of telling if the call really failed (This used to be commit 7a96ca313e2f6b5ad8a713babd3cac0bbcc4c399)
2001-06-21Merging Gerry's spoolss changes.Jeremy Allison2-614/+632
Jeremy. (This used to be commit 6b4a70cd8285c1e4d452e3af7df070b4c446ff54)
2001-06-21next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell1-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 (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
2001-06-21Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually doesAndrew Tridgell2-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 (This used to be commit 86613493a9b2e56523153486931d0bf8d39beb7a)
2001-06-20Fixed W2K SP2 joining a Samba PDC hosted domain.Jeremy Allison1-0/+53
Jermey. (This used to be commit 05a2911403a0710d994a618e72743205a3b0b87a)
2001-06-20initial support for paramter type P_LISTSimo Sorce2-619/+624
it will avoid problems with lists being longer than 1024 bytes just now only ip list parameters have been converted to the new type (hosts allow, hosts deny, ssl hosts, ssl hosts resign) (This used to be commit e1572f85d6247b760db10825b2fa688d7ed50bd3)
2001-06-20make protoTim Potter1-0/+2
(This used to be commit d0b37d1a623acce2ae4509aebda85ad1280dc8ac)
2001-06-20added a close-share smbcontrol message that forcibly closes a share in smbd ↵Andrew Tridgell2-610/+612
(to allow unmount) (This used to be commit 15b17a80db605a55f667c95fb7e316877a441887)
2001-06-19INFO_24 sometimes has a 2 byte length, sometimes doesn't. Safer to notJeremy Allison2-5/+5
depend on it... Jeremy. (This used to be commit 0fe11c329f7b379299be65795031e4f1b14e0bec)