1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-11 00:23:51 +03:00
Commit Graph

47 Commits

Author SHA1 Message Date
Rafal Szczesniak
6ab10b2ed2 r24051: more monitor function calls and monitor msg names
convention change.

rafal
2007-10-10 15:01:18 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Rafal Szczesniak
18c5341fad r23292: check for errors returned in a call result.
rafal
2007-10-10 14:53:09 -05:00
Stefan Metzmacher
58551f2f28 r22944: fix bug #4618:
rename private -> private_data

metze
2007-10-10 14:52:30 -05:00
Rafal Szczesniak
621f3e5674 r22763: replace talloc_zero calls with composite_create and add more
allocation checks.

rafal
2007-10-10 14:52:16 -05:00
Rafal Szczesniak
0b82b9dba1 r20138: return the proper status for the other functions as well.
rafal
2007-10-10 14:29:13 -05:00
Rafal Szczesniak
e635f5aeaf r20137: return the proper status.
rafal
2007-10-10 14:29:13 -05:00
Rafal Szczesniak
7ca0d3dbcb r19024: remove read-only and policy dependent fields and flags
from user modify routines.

rafal
2007-10-10 14:20:29 -05:00
Rafal Szczesniak
cee9a69ffa r18752: When change is a big one, it needs to be made in a couple
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
2007-10-10 14:19:07 -05:00
Rafal Szczesniak
43b550c83b r18682: a bit of a change in setfield function.
one more change to do...

rafal
2007-10-10 14:19:01 -05:00
Rafal Szczesniak
a7564931a7 r18655: add more fields and better handle the error case where fields
setting routine don't know how to do that (and user info level
is invalid).

rafal
2007-10-10 14:18:59 -05:00
Rafal Szczesniak
e5dc631163 r16530: Send monitor messages only after successful receiving result of a stage.
rafal
2007-10-10 14:09:33 -05:00
Rafal Szczesniak
9e800fd0cf r16476: Error in composite functions implemented the 'old way' (single event 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
2007-10-10 14:09:30 -05:00
Rafal Szczesniak
2ab8343e99 r15726: Comments and a couple of minor formattings in the code.
rafal
2007-10-10 14:08:09 -05:00
Rafal Szczesniak
89e9a88719 r15663: Turn libnet_DeleteUser into async function and fix subtle bug probably
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
2007-10-10 14:08:04 -05:00
Jelmer Vernooij
7054ebf024 r14402: Generate seperate headers for RPC client functions. 2007-10-10 13:57:19 -05:00
Stefan Metzmacher
50940879f6 r12611: fix compiler warnings
metze
2007-10-10 13:49:04 -05:00
Jelmer Vernooij
70e7449318 r12608: Remove some unused #include lines. 2007-10-10 13:49:03 -05:00
Rafal Szczesniak
13d7b8fa43 r12105: Formatting.
rafal
2007-10-10 13:47:10 -05:00
Rafal Szczesniak
1fefca2c17 r10679: Monitor messages should be issued from usermod functions.
Also a bit of formatting.

rafal
2007-10-10 13:39:17 -05:00
Rafal Szczesniak
426797f7b0 r10631: Formatting.
rafal
2007-10-10 13:39:13 -05:00
Stefan Metzmacher
4527815a0a r10504: - seperate implementation specific stuff, from the generic composite
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
2007-10-10 13:38:57 -05:00
Tim Potter
ce4902f8de r9994: Unused variable. 2007-10-10 13:36:27 -05:00
Rafal Szczesniak
f0d51b78c0 r9090: Another field in usermod function - account flags.
rafal
2007-10-10 13:31:15 -05:00
Rafal Szczesniak
dfa2cc6c4e r9037: New fields in usermod function - allow_password_change and
force_password_change datetime.

rafal
2007-10-10 13:31:10 -05:00
Rafal Szczesniak
bbe7e726af r8904: Split off the query stage as a separate function.
rafal
2007-10-10 13:30:17 -05:00
Rafal Szczesniak
59769977e8 r8896: Handle more complex case where field being changed doesn't appear
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
2007-10-10 13:30:16 -05:00
Rafal Szczesniak
109fc94c13 r8845: Removing unnecessary string length calculations. Thanks abartlet
for noticing that.

rafal
2007-10-10 13:30:11 -05:00
Rafal Szczesniak
da7a31d707 r8808: More comments.
rafal
2007-10-10 13:30:07 -05:00
Rafal Szczesniak
1bc3162e94 r8807: Modifying datetime field using struct timeval argument rather than
text-based, after recent discussion with both Andrews :)

Basic test seems to work (at least it doesn't fail now).

rafal
2007-10-10 13:30:06 -05:00
Rafal Szczesniak
eaaefa374c r8789: Send new monitor messages from userdel routine.
rafal
2007-10-10 13:30:05 -05:00
Rafal Szczesniak
5be8479d5c r8761: Propagate changes in monitor messaging code.
rafal
2007-10-10 13:30:03 -05:00
Rafal Szczesniak
266aaacf0b r8759: Another couple of fields in usermod routine.
rafal
2007-10-10 13:30:03 -05:00
Rafal Szczesniak
1a779f8643 r8721: Further work on libnet_rpc_usermod function. Now it can change
both account name and full name.

rafal
2007-10-10 13:29:58 -05:00
Rafal Szczesniak
4b3aa69e70 r8717: Add monitor message emiting in userdel and usermod calls.
rafal
2007-10-10 13:29:58 -05:00
Rafal Szczesniak
bee1c9ec2d r8692: Starting parts of code to provide user modify functionality.
It's more like a placeholder now, than a working code. Just don't
want to hang it around my laptop only.

rafal
2007-10-10 13:29:54 -05:00
Stefan Metzmacher
e601042c07 r8232: remove samr_String and netr_String as they are the same as lsa_String
metze
2007-10-10 13:19:22 -05:00
Rafal Szczesniak
f6ef7b882a r7490: Rename functions and prefices s/rpc_composite/libnet_rpc/
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
2007-10-10 13:17:59 -05:00
Tim Potter
14510a0ce9 r6848: Remove some dead/unused code. 2007-10-10 13:16:50 -05:00
Rafal Szczesniak
b3fce5b94b r6709: Add monitor messages to useradd composite useradd function.
rafal
2007-10-10 13:16:36 -05:00
Tim Potter
7417f6fa8b r6677: Unused variables. 2007-10-10 13:16:34 -05:00
Rafal Szczesniak
de3409d6e5 r6425: Yet another comment.
rafal
2007-10-10 13:11:36 -05:00
Rafal Szczesniak
25dd10cedb r6424: More comments and fixes to existing ones.
rafal
2007-10-10 13:11:36 -05:00
Rafal Szczesniak
f78d1e4b35 r6419: Fix strange behaviour of NET-USERDEL where account doesn't actually
gets deleted.

rafal
2007-10-10 13:11:36 -05:00
Rafal Szczesniak
98d98b9bc7 r6414: Added composite user del function. Slightly broken still, but I don't
want it to hang around not commited.

rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
d40a6703f5 r6390: A couple of changes in useradd function regarding pointers.
rafal
2007-10-10 13:11:35 -05:00
Rafal Szczesniak
7f3aafca07 r6381: Started working on user account management functions.
rafal
2007-10-10 13:11:34 -05:00