summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2001-07-25Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter1-30/+30
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-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-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 Tridgell1-5/+5
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell1-5/+5
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-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-20Fixed W2K SP2 joining a Samba PDC hosted domain.Jeremy Allison1-7/+33
Jermey. (This used to be commit 05a2911403a0710d994a618e72743205a3b0b87a)
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-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-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-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 Micouleau1-8/+48
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-07removed unused variablesGerald Carter1-2/+0
(This used to be commit 09103b16cf0b70c476b48255190725e3dbb77bdb)
2001-05-07Patch from Simo:Gerald Carter1-48/+48
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)
2001-05-04Big cleanup of passdb and backends.Jean-François Micouleau1-324/+458
I did some basic tests but I have probably broken something. Notably the password changing. So don't cry ;-) J.F. (This used to be commit a4a4c02b12f030a3b9e6225b999c90689dfc4719)
2001-04-25converted the passdb smbpasswd implementation to using tallocGerald Carter1-1/+3
for memory allocation. This fixes a long standing seg fault (i knew i would get around to it one day :) ) Tested with NT4 and Win2k. Needs a little more testing with the "create the machine account on the fly" code for NT4. Simo, this is probably going to break the tdb passdb code. Can you look at that when you get a chance and see what you think? (This used to be commit 1c13110873e456748dc09fd51749f664643fe888)
2001-04-22merging from 2.2 to headAndrew Tridgell1-9/+3
(This used to be commit bfcc6f88271025760732271f03933839b1cbe0de)
2001-04-15Patch from "Christoph Zwerschke" <zwerschke@zuv.uni-heidelberg.de> toJeremy Allison1-0/+12
map usernames before calling password change. Jeremy. (This used to be commit ce2a236dc61d819e083b32556a2d9f827944b91c)
2001-03-23groupdb/mapping.c:Jeremy Allison1-1/+11
include/proto.h: Fix missing (void) in proto. rpc_server/srv_samr_nt.c: Fix user private group problem by filtering out groups that clash with users. smbd/posix_acls.c: Ensure default ACE's are sensible. utils/pdbedit.c: Fix from Simo Sorce. Jeremy. (This used to be commit 29414fe0d6665642d9b5f88a35e712426376c47f)
2001-03-23first pass of the new group mapping codeJean-François Micouleau1-24/+427
J.F. (This used to be commit 7154deb026d53cb0cd503562174c3332a372be63)
2001-03-16Added Michael Sweet's CUPS patch to call directly into the CUPS backend.Jeremy Allison1-1/+1
Parameterises the printing functions so other backends can be plugged directly in (this is a good thing :-). Jeremy. (This used to be commit c0345bbaed5d1aac777f1a33ff84ad1899f2ed6d)
2001-03-15AS/U on a sparc now joins and authenticates against a Samba PDC !Jeremy Allison1-4/+4
Jeremy. (This used to be commit 28a0bc5f5710aa732db662caa38f9da2138b5db2)
2001-03-13AS/U does setuserinfo2, level 0x12 when joining a domain - identical to ↵Jeremy Allison1-0/+5
setuserinfo level 0x12. Jeremy. (This used to be commit d4ad197f711d5c5f2f60083b396f6dd7e6eca8c0)
2001-03-13Fixed reading of strings from big-endian RPC clients.Jeremy Allison1-4/+4
Jeremy. (This used to be commit e7ecb9410ff2e4fcd33bca9f82e14c060590942a)
2001-03-13Ensure we never return passwords from a user query.Jeremy Allison1-13/+62
Jeremy. (This used to be commit 37248e99e8b8d8a7e247d968b93a7d0cf5f63c8e)
2001-03-11Remove "BYTE" - we already have uint8 - don't need more conflicts withJeremy Allison1-2/+2
system header files... Jeremy. (This used to be commit 31e0ce310ec38b3a3a05b344d6450d442c6be471)
2001-03-11Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMRJeremy Allison1-356/+316
RPC code to merge with new passdb code. Currently rpcclient doesn't compile. I'm working on it... Jeremy. (This used to be commit 0be41d5158ea4e645e93e8cd30617c038416e549)
2001-02-27Hmmm. I thought I'd added these files to CVS head.....Jeremy Allison1-0/+2457
Jeremy. (This used to be commit d573700a9218bce8efd21f0be70afec6b460f8b9)