summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2001-08-24get rid of compiler warningsHerb Lewis2-6/+6
(This used to be commit 0768991d04ea03e774ca8662c9cae5e1951b88e0)
2001-08-24fix missing )Herb Lewis1-1/+1
(This used to be commit f3bc6b5d68bdb01b07b9d780f5ba81c05e22f48c)
2001-08-24let admins also abort a shutdownSimo Sorce2-10/+53
(This used to be commit 3b40ec4f149a8813c1d68f184858e2ddd605d8fd)
2001-08-24Fixed malloc -> talloc problems pointed out by Simo.Jeremy Allison1-1/+1
Jeremy (This used to be commit 0f5b187387fb536a6866d9109eff82411798f79e)
2001-08-23so let admins shutdown their samba servers remotely if they want :-)Simo Sorce2-0/+72
(This used to be commit 6391fd7bdab07c83e9eed02e761db09918e60302)
2001-08-23Fix for filers sending -1 for the maximum read request length on theTim Potter1-3/+7
LSA pipe. (This used to be commit 95307a5d3881803e57639431da967ee3872aacc4)
2001-08-22some %things are not expanded properly in get share info levelsSimo Sorce1-19/+22
(This used to be commit 3e60636f2b7003ea1e915bc7c2d2e8dec5667bbd)
2001-08-13Added Jim McDonough's Win9x take ownership fix.Jeremy Allison1-0/+12
Jeremy. (This used to be commit 800e46ea7e724460be2ba5f71e5baa2f2ddd2d3b)
2001-08-13merge from 2.2Gerald Carter1-0/+12
(This used to be commit 7049217eb40dbe3de6c05fe43742d2f684501723)
2001-08-12this is a big global fix for the ptr = Realloc(ptr, size) bug.Simo Sorce1-19/+50
many possible mem leaks, and segfaults fixed. someone should port this fix to 2.2 also. (This used to be commit fa8e55b8b465114ce209344965c1ca0333b84db9)
2001-08-12Kill of idra's extra become_root()/unbecome_root() now I have fixed the actualAndrew Bartlett1-2/+0
problem. Andrew Bartlett (This used to be commit 895d1cd317d0838d711474f2f19186444a88b52c)
2001-08-12This patch does a number of things, mostly smaller than they look :-)Andrew Bartlett1-20/+5
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 (This used to be commit ea1c547ac880def29f150de2172c95213509350e)
2001-08-11Without this become_root()/unbecome_root() pair I was not able to loginSimo Sorce1-3/+3
when samba acting as a PDC. I also removed a pdb_free_sam(sampass), because it sampass was never initialized before... Please abartlet can you check this patch is ok? I feel like this was a bad check-in (This used to be commit f25a5dab6012ebbe83435b06650d6ab92432760a)
2001-08-10Merge in the NT drivers changes from 2.2.Jeremy Allison1-3/+24
Jeremy. (This used to be commit a3781ad38ff6c70238e7e9b83324477e5c9780d5)
2001-08-10Replaced the duplicate DOS constants with appropriate ones from doserr.h toTim Potter2-301/+304
emphasise the fact that the spoolss pipe returns DOS error codes instead of 32-bit nt status codes. (This used to be commit 5f5ed41ee872d842e944cd2e84a80de714ad4385)
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)