summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2001-08-09a few cleanups while mergeing the passdb code into 2.2Gerald Carter2-22/+23
(This used to be commit ef01739708479c43f529c646dd136ee5670b08f9)
2001-08-03This is my 'Authentication Rewrite' version 1.01, mostly as submitted toAndrew Bartlett2-103/+140
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-07-30Added "use mmap" for HPUX.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 840802f10677cb0009cb4df4c37c7d01aa5edacd)
2001-07-25Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter4-102/+102
According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: (This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
2001-07-23Fix case insensitive password change code.Jeremy Allison1-29/+29
Fixed crash bug with un-zeroed talloced memory. Jeremy. (This used to be commit eea1c30df246e081e672d7132345d0fd35ad9841)
2001-07-19#ifdef'ed out some unused functions.Tim Potter1-0/+8
(This used to be commit ab5ccce2edd6118db0389701ff9e325ee1f818c7)
2001-07-17Fix usermanager for domains - we were returning no memory when weJeremy Allison1-10/+22
should have been returning empty space at end of enumeration. Jeremy. (This used to be commit 175c6406925cbd798c3aa049912ab63802f44de4)
2001-07-12Removed unused variable.Tim Potter1-1/+0
(This used to be commit 914e78f05356c66665ede6948ec18814c2c2c503)
2001-07-09implement:Jean-François Micouleau2-1/+406
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-22/+195
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-08This removes unused paramaters from various authtication functions, and shouldAndrew Bartlett1-1/+1
not change behaviour. This should make my later diffs smaller, where I actualy start cleaning up this mess... Andrew Bartlett (This used to be commit 04f090c224bb7ac3b53c430a591fce1fc939a81c)
2001-07-07Add a new paramater: add machine scriptAndrew Bartlett1-3/+11
This allows the administrator to define different scripts for adding unix users and automaticly adding machines. If it is not defined, it falls back to the value of 'add user script'. Andrew Bartlett (This used to be commit 7a478e050f3ab33bd0141a58c698d748f0d2b204)
2001-07-05Fix for enumerating large numbers of users.Jeremy Allison1-33/+48
Jeremy. (This used to be commit c8c138c1fbb49799a2dd4c6e781bd89f51c0c0c5)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell4-11/+11
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell8-80/+50
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-02Fixed extra file_free calls - my fault :-(.Jeremy Allison1-2/+0
Jeremy. (This used to be commit 2f8b84bda040edc87a7af29c3a281cf335e392cb)
2001-07-02This fix from Eelco Vriezekolk <eelco@nexus.com.na> is for a SIG11 bug where weAndrew Bartlett1-2/+0
would always file_free(fsp) twice, once in close_file and once afterwoulds. The bug was reported in SAMBA_2_2, but a code inspection shows it to be in HEAD as well. (Unfortunetly I don't have the facilites to actualy check this, but the change is quite simple, makes sence and compiles). Andrew Bartlett (This used to be commit 5d3f622375842961a79536d36ee6f6ad508b91f1)
2001-06-29Added LsaGetConnectedCredentials patch from Manoj Naik <manoj@almaden.ibm.com>.Jeremy Allison2-0/+62
Jeremy. (This used to be commit 7079300da6dbd950e55dc5871851250d5a3717ff)
2001-06-29From JF....Jeremy Allison1-19/+25
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-26SGI compiler fixes.Herb Lewis2-13/+1
Jeremy (This used to be commit 45bf995bf62aa6cc176d57e2f954cc2d379717ef)
2001-06-25Cosmetic fixups found while playing with the server manager. Added supportTim Potter2-0/+50
for NET_SRV_SET_INFO rpc call which is made when double-clicking on a computer in the server manager and changing the description. We always return NT_STATUS_NOPROBLEMO as NT doesn't seem to decode any error messages passed back. Maybe the changed comment string could be stored in a tdb and regurgitated instead of the "server string" smb.conf parameter? (This used to be commit d936ffedd90fe442f990c9ac2e172877f28d7230)
2001-06-22Fix from "Jim McDonough" <jmcd@us.ibm.com>" - when we use open_file_shared(),Jeremy Allison1-4/+4
we need to close with close_file(). Jeremy. (This used to be commit 5b2ffd160f3b4b9607bb6fd6db1644af9254ad9e)
2001-06-21Merging Gerry's spoolss changes.Jeremy Allison1-0/+33
Jeremy. (This used to be commit 6b4a70cd8285c1e4d452e3af7df070b4c446ff54)
2001-06-20Fixed W2K SP2 joining a Samba PDC hosted domain.Jeremy Allison2-9/+35
Jermey. (This used to be commit 05a2911403a0710d994a618e72743205a3b0b87a)
2001-06-19Only try and open a directory if we get EISDIR.Jeremy Allison1-4/+8
Jeremy. (This used to be commit 5b1245f80357f585ef3b24704e5ef34ef71e232f)
2001-06-19Fixed typo in debug message.Tim Potter1-1/+1
(This used to be commit d05577c33237a092bbc7ca21e68f3cef06b4ab3b)
2001-06-19rpc_server/srv_srvsvc_nt.c: Don't test an uint32 for < 0.Jeremy Allison1-1/+1
utils/smbcacls.c: Set enum correctly. Jeremy. (This used to be commit 66f959e0ffb0cd385167a34c7db3f4959eaf1d7f)
2001-06-18Fix for assert fail - left over when moved to dynamic allocation.Jeremy Allison1-3/+1
Jeremy. (This used to be commit 0fcf2006334bd41d4036e703a6725aaaf684e008)
2001-06-18Added patches to remove Linux specific XFS ACLs. These are now handled by theJeremy Allison1-4/+0
generic Linux ACL code. rpc_server/srv_samr_nt.c: Don't delete a policy handle before it's created. Jeremy. (This used to be commit db5b82e53a7061c4764d39ceb3df82e706aad42f)
2001-06-18Added "Jim McDonough" <jmcd@us.ibm.com> patches for directory supportJeremy Allison1-6/+16
for Win9x. Jeremy. (This used to be commit 70194b194e0ca4b0f4f9c1eece9176415f9bb928)
2001-06-16Modified version of Jim's 0x27 and 0x28 Win9x Secdesc patch.Jeremy Allison2-0/+229
Jeremy. (This used to be commit 5690ec77c87475f1fd2e854cda594eb996d6fd04)
2001-06-13Make message receive fn static.Jeremy Allison1-1/+1
Jeremy. (This used to be commit d8807b19228b12ddd6d93c02d1646a470a8e71ef)
2001-06-12Fixed typo in debug message.Tim Potter1-1/+1
(This used to be commit 4d2f6605820f7b62ff1a748952fd6edad63c1213)
2001-06-06Added getconf flags for RH7.1 lfs support. Changed while() to a for()Jeremy Allison1-11/+4
loop in Simo's code (removes much grp = gep->next code). Jeremy. (This used to be commit d0c276c2429fa19cd95ca887654e049593de68d5)
2001-06-05Merge of lsa_lookup_names() i18n bugfix from appliance.Tim Potter1-0/+5
(This used to be commit 84a22d5f0a74f440a5288fedf07055ddc8da208e)
2001-06-04use LDSHFLAGS not -shared in several placesAndrew Tridgell1-1/+1
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
2001-06-02Merge of i18n domain name fix for lsa_query_info_policy() from applianceTim Potter1-9/+13
branch. (This used to be commit e7a4dd7612d79bb24be68c601eccc987aba6b497)
2001-06-02i18n bugfix merge from appliance.Tim Potter1-1/+6
(This used to be commit 73eb539da641ce806690bbd893f126859d531c98)
2001-05-294 new functions to retrieve single linked list of group and passwd entriesSimo Sorce1-8/+27
+ a fix to an infinite loop in srv_samr_nt.c caused by misuse of setgrent/getgrent/endgrent solved by these new functions (This used to be commit 97dbb54a13e2285f1905ee1ec9aafeebdaee8917)
2001-05-24Added server side reponse to net_logon_ctrl rpc. We can now respondTim Potter2-3/+62
to NLTEST /BDC_QUERY:DOMAIN when acting as a BDC. Reverse engineered a couple of status constants. (This used to be commit 0678c302825afef521ae2b80958a1d7c5aa76d23)
2001-05-18merge from 2.2 (deleteprinterdriver RPC)Gerald Carter2-0/+115
(This used to be commit 515caaf7b448e55206433a9ca04fb5078f91cde2)
2001-05-18Fix the W2KSP2 joining a Samba domain problem.Jeremy Allison3-6/+11
Jeremy. (This used to be commit 6bbcab5e48f91a80d4ebcbd2bee38f2e0a8bff78)
2001-05-10Should be faliing on False and not True. Bad check on return valueGerald Carter1-1/+1
(This used to be commit 5be97aacf4db43a91562b77f010850afb818ac05)
2001-05-09check for valid pointer before calling memset() in samr_clear_sam_passwdGerald Carter1-2/+2
(This used to be commit a6a4a17f6afce9d1c10c5ab551ce0b6b5f5c1865)
2001-05-08fixes to the group mapping code.Jean-François Micouleau2-8/+79
Not ready yet. J.F. (This used to be commit 62a7a567fdea230b77cc97a3f74d868542c34700)
2001-05-08Fixed compiler warning.Tim Potter1-1/+0
(This used to be commit 9f1f811154e6d8f1a14687b1ee7f85d1dd18a925)
2001-05-08Fix for insure missmatched parameter error.Jeremy Allison1-1/+1
Jeremy. (This used to be commit b32b1afe25bc8f7a9c43e0d5fd6703a76caa51f8)
2001-05-07merge from 2.2 removing the 'domain XXX' parameters.Gerald Carter1-3/+0
(This used to be commit 9aefc86e355bf160300580acb85a58a18207ccdf)
2001-05-07removed unused variablesGerald Carter1-2/+0
(This used to be commit 09103b16cf0b70c476b48255190725e3dbb77bdb)
2001-05-07Patch from Simo:Gerald Carter4-66/+66
o sed 's/pdb_clear_sam/pdb_free_sam/g' o add pdb_reset_sam() o password changing should be ok now as well. (This used to be commit 96d0e7c3301ad990f6c83b9c216720cb32661fb5)