summaryrefslogtreecommitdiff
path: root/source4/libnet/userman.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r24051: more monitor function calls and monitor msg namesRafal Szczesniak1-8/+8
convention change. rafal (This used to be commit 6ab10b2ed256fa3c55d1af8ddcc9dfdaf4598a1e)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23292: check for errors returned in a call result.Rafal Szczesniak1-0/+5
rafal (This used to be commit 18c5341fad967d5115b9ea5257e499ded5861a65)
2007-10-10r22944: fix bug #4618:Stefan Metzmacher1-11/+11
rename private -> private_data metze (This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
2007-10-10r22763: replace talloc_zero calls with composite_create and add moreRafal Szczesniak1-3/+8
allocation checks. rafal (This used to be commit 621f3e567478fc8067f08f3589b54bf58ca9e1f1)
2007-10-10r20138: return the proper status for the other functions as well.Rafal Szczesniak1-3/+7
rafal (This used to be commit 0b82b9dba1f67b1d340b7cf2b35a826135c101d4)
2007-10-10r20137: return the proper status.Rafal Szczesniak1-1/+4
rafal (This used to be commit e635f5aeaf7cd722e55bd99e52a8de166ae0ecd5)
2007-10-10r19024: remove read-only and policy dependent fields and flagsRafal Szczesniak1-87/+9
from user modify routines. rafal (This used to be commit 7ca0d3dbcb9193c0f023e7c43764c7557925bb0e)
2007-10-10r18752: When change is a big one, it needs to be made in a coupleRafal Szczesniak1-26/+84
of set user info calls one after another (each one using different info level). Also, try to do as many changes as possible using a single infolevel. rafal (This used to be commit cee9a69ffaa51f0a2a0e7dcf89e183b3925feb97)
2007-10-10r18682: a bit of a change in setfield function.Rafal Szczesniak1-127/+127
one more change to do... rafal (This used to be commit 43b550c83b9e595ba140a89df5683574513a3a4c)
2007-10-10r18655: add more fields and better handle the error case where fieldsRafal Szczesniak1-2/+66
setting routine don't know how to do that (and user info level is invalid). rafal (This used to be commit a7564931a72069f5ddc86956bc573f448a3c99f7)
2007-10-10r16530: Send monitor messages only after successful receiving result of a stage.Rafal Szczesniak1-25/+33
rafal (This used to be commit e5dc6311633146e44063ba5eb20488468af75914)
2007-10-10r16476: Error in composite functions implemented the 'old way' (single event ↵Rafal Szczesniak1-2/+4
handler, no continue functions) need to report an error by means of state only. composite_error calls event handler function which frees the context and state structure. This fixes a segfault in some cases (caught it on modifyuser test). rafal (This used to be commit 9e800fd0cfda9e731905fc0f19781def5cdba89f)
2007-10-10r15726: Comments and a couple of minor formattings in the code.Rafal Szczesniak1-57/+121
rafal (This used to be commit 2ab8343e99a21bddd61492722bd1d249ab04a306)
2007-10-10r15663: Turn libnet_DeleteUser into async function and fix subtle bug probablyRafal Szczesniak1-2/+3
causing ejsnet test to segfault. Also, cleanup a bit and add monitor fn pointer to internal user delete libnet function. Time for some comments now. rafal (This used to be commit 89e9a887197380f13e0668e845d00e1050259331)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij1-0/+1
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r12611: fix compiler warningsStefan Metzmacher1-6/+6
metze (This used to be commit 50940879f6e373adbc83ae6e19168486dafaec34)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-1/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12105: Formatting.Rafal Szczesniak1-3/+3
rafal (This used to be commit 13d7b8fa43fe7ae74d511820c4d28f5caf44f006)
2007-10-10r10679: Monitor messages should be issued from usermod functions.Rafal Szczesniak1-8/+51
Also a bit of formatting. rafal (This used to be commit 1fefca2c172085d6bc05bfac1c10e52066e42606)
2007-10-10r10631: Formatting.Rafal Szczesniak1-3/+3
rafal (This used to be commit 426797f7b0d0321f6842db0b8d94c193726e8008)
2007-10-10r10504: - seperate implementation specific stuff, from the generic compositeStefan Metzmacher1-35/+32
stuff. - don't use SMBCLI_REQUEST_* state's in the genreic composite stuff - move monitor_fn to libnet. NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR state in the _send() function. I haven't fixed this bugs in this commit! We may need some composite_trigger_*() functions or so. And maybe some other generic helper functions... metze (This used to be commit 4527815a0a9b96e460f301cb1f0c0b3964c166fc)
2007-10-10r9994: Unused variable.Tim Potter1-1/+0
(This used to be commit ce4902f8dea2b6f3568960278e08395ea3927146)
2007-10-10r9090: Another field in usermod function - account flags.Rafal Szczesniak1-0/+6
rafal (This used to be commit f0d51b78c040937bd27857c063fae215a3f0f465)
2007-10-10r9037: New fields in usermod function - allow_password_change andRafal Szczesniak1-0/+13
force_password_change datetime. rafal (This used to be commit dfa2cc6c4ed8273b1d3ee604954c81c75f0890bd)
2007-10-10r8904: Split off the query stage as a separate function.Rafal Szczesniak1-5/+33
rafal (This used to be commit bbe7e726af8c61108a7bca1e10e9340bbe37f3ef)
2007-10-10r8896: Handle more complex case where field being changed doesn't appearRafal Szczesniak1-40/+89
alone in any of userinfo levels. What's needed is extra query step to fill the userinfo structure and then modify a single field. The other way to do it is userinfo level 21 with bitmap flags set, but first all field flags need to be found. rafal (This used to be commit 59769977e8ebc54be7fa80f19638b634f52df515)
2007-10-10r8845: Removing unnecessary string length calculations. Thanks abartletRafal Szczesniak1-12/+2
for noticing that. rafal (This used to be commit 109fc94c13ad04feaaa3f9c7666ad431b3255ae6)
2007-10-10r8808: More comments.Rafal Szczesniak1-0/+41
rafal (This used to be commit da7a31d7073d156ef5c593578a05fecf770ebc93)
2007-10-10r8807: Modifying datetime field using struct timeval argument rather thanRafal Szczesniak1-0/+6
text-based, after recent discussion with both Andrews :) Basic test seems to work (at least it doesn't fail now). rafal (This used to be commit 1bc3162e9441aeae1d8c4b4f03b5b75eb848f4bf)
2007-10-10r8789: Send new monitor messages from userdel routine.Rafal Szczesniak1-0/+23
rafal (This used to be commit eaaefa374ce11ab5dc3738bea046d33ed879fc4c)
2007-10-10r8761: Propagate changes in monitor messaging code.Rafal Szczesniak1-1/+7
rafal (This used to be commit 5be8479d5cf119bcda4046bf1c5d7c3b876e718d)
2007-10-10r8759: Another couple of fields in usermod routine.Rafal Szczesniak1-0/+24
rafal (This used to be commit 266aaacf0be955096d53e2a967bdaa5d0c5558ed)
2007-10-10r8721: Further work on libnet_rpc_usermod function. Now it can changeRafal Szczesniak1-3/+31
both account name and full name. rafal (This used to be commit 1a779f8643c43677c62fed6ec4bfb54b08647f5b)
2007-10-10r8717: Add monitor message emiting in userdel and usermod calls.Rafal Szczesniak1-0/+10
rafal (This used to be commit 4b3aa69e70ed5d6e78f6f45f8f43649ad9ae108d)
2007-10-10r8692: Starting parts of code to provide user modify functionality.Rafal Szczesniak1-6/+179
It's more like a placeholder now, than a working code. Just don't want to hang it around my laptop only. rafal (This used to be commit bee1c9ec2dea4cad703386af35470c7d74cef4b0)
2007-10-10r8232: remove samr_String and netr_String as they are the same as lsa_StringStefan Metzmacher1-2/+2
metze (This used to be commit e601042c07d7b6eed0dc34e5b136d9266b8a0f81)
2007-10-10r7490: Rename functions and prefices s/rpc_composite/libnet_rpc/Rafal Szczesniak1-16/+16
This makes more clear where the functions belong to. Also the rule will be that lowercased function names are not part of "official" libnet API (though it doesn't mean one absolutely cannot use them). rafal (This used to be commit f6ef7b882acc6ee07422944a417a8d9013c9d8d2)
2007-10-10r6848: Remove some dead/unused code.Tim Potter1-3/+0
(This used to be commit 14510a0ce9edeabbff99c234fd6fee8e2635a805)
2007-10-10r6709: Add monitor messages to useradd composite useradd function.Rafal Szczesniak1-5/+15
rafal (This used to be commit b3fce5b94be2f9491a53673b1baecf0c8fe5b7c4)
2007-10-10r6677: Unused variables.Tim Potter1-5/+0
(This used to be commit 7417f6fa8be637ccf04f8608e67174d6d5624662)
2007-10-10r6425: Yet another comment.Rafal Szczesniak1-0/+9
rafal (This used to be commit de3409d6e5f7d199654e0511ed61a4b0808bf48d)
2007-10-10r6424: More comments and fixes to existing ones.Rafal Szczesniak1-4/+39
rafal (This used to be commit 25dd10cedb7247ec90dface59df8704c97e667b8)
2007-10-10r6419: Fix strange behaviour of NET-USERDEL where account doesn't actuallyRafal Szczesniak1-1/+3
gets deleted. rafal (This used to be commit f78d1e4b35c7cb3d983da0bcb2717627b787d9f9)
2007-10-10r6414: Added composite user del function. Slightly broken still, but I don'tRafal Szczesniak1-1/+186
want it to hang around not commited. rafal (This used to be commit 98d98b9bc7437e744e1e730fa8005b43fb1b672b)
2007-10-10r6390: A couple of changes in useradd function regarding pointers.Rafal Szczesniak1-5/+7
rafal (This used to be commit d40a6703f5b1987c08cf47f83ca0079dfcb4b151)
2007-10-10r6381: Started working on user account management functions.Rafal Szczesniak1-0/+178
rafal (This used to be commit 7f3aafca07126f2c42670041020b2b7dfb17fa5f)