Stefan Metzmacher
ce60e8d697
librpc/rpc: call do_ndr_print hook in dcerpc_binding_handle_call*()
...
metze
2010-08-18 15:57:52 +02:00
Simo Sorce
1ab17f13a2
s3-ads: Remove unused wrapper and make function static
2010-08-18 09:37:56 -04:00
Volker Lendecke
d7c8fb21bb
s3: async cli_list
2010-08-18 15:14:02 +02:00
Volker Lendecke
77761d9adc
s3: Add cli_flush
2010-08-18 15:14:02 +02:00
Simo Sorce
71dfa62b61
s3-ads: cleanup ads_keytab_list()
2010-08-18 07:47:10 -04:00
Simo Sorce
64d8300a56
s3-ads: cleanup ads_keytab_create_default()
2010-08-18 07:47:10 -04:00
Simo Sorce
3a9912370d
s3-ads: cleanup ads_keytab_add_entry()
2010-08-18 07:47:10 -04:00
Simo Sorce
d6d1ed8bdf
s3-ads: Split, simplify and cleanup keytab functions
...
add helper function for both smb_krb5_kt_add_entry_ext() and
ads_keytab_flush()
2010-08-18 07:47:09 -04:00
Volker Lendecke
b9353c65c0
s3: Fix serverid_register_msg_flags
...
Thanks, Andreas, for pointing this out! (How drunk have I been?...)
2010-08-18 13:33:24 +02:00
Andreas Schneider
937da4d141
s3-lib: Fixed a possible crash bug.
...
Volker please check!
2010-08-18 12:08:47 +02:00
Andreas Schneider
555b175212
s3-printing: Added function to update the queue.
2010-08-18 11:43:18 +02:00
Andreas Schneider
7e9d6021c9
s3-printing: Rename jobs_changed functions to jobs_added.
2010-08-18 11:43:17 +02:00
Volker Lendecke
536d4d48bf
s3: Fix an uninitialized variable
2010-08-18 11:18:24 +02:00
Volker Lendecke
a847f13d7b
s3: Use pipe_struct->client_id->name for pjob.clientmachine
2010-08-18 11:18:24 +02:00
Volker Lendecke
29093bc000
s3: Move initializing pjob.clientname to print_job_start()
2010-08-18 11:18:23 +02:00
Volker Lendecke
4b5e252354
s3: Add "client_id" to pipes_struct
2010-08-18 11:18:23 +02:00
Volker Lendecke
6d10684556
s3: Remove unneeded "client_address" from connection_struct
2010-08-18 11:18:23 +02:00
Volker Lendecke
7b6835ec1d
s3: Add smbd_server_connection->client_id
2010-08-18 11:18:22 +02:00
Volker Lendecke
ac7b63384d
s3: Lift smbd_server_fd from reload_services()
2010-08-18 11:18:21 +02:00
Günther Deschner
59289d4fa9
s3-build: only include smb_signing.h where needed.
...
Guenther
2010-08-18 09:20:13 +02:00
Andrew Bartlett
5a2f6c9700
s3:selftest This test does not fail anymore (Samba4's smbtorture has been fixed)
2010-08-18 16:21:32 +10:00
James Peach
effc61cb78
smbtorture: Make SAMBA3CASEINSENSITIVE report failures properly.
2010-08-17 20:19:35 -07:00
James Peach
b7ad0c6e39
smbtorture: Emit correct test results if setup fails.
...
If the test setup fails, we still need to format the test result for the
UI. At leas in the subunit case, the format doesn't specify what to do
here, so we fail every test manually with the setup failure message.
2010-08-17 20:19:27 -07:00
James Peach
21fe753303
smbtorture: Ensure that the RPC setup returns correct status.
2010-08-17 20:19:17 -07:00
Andrew Bartlett
f37793ef0a
s4:ldap_server use talloc_unlink() to avoid talloc_free() with references
...
Both the session_info and the ldb can have references.
Andrew Bartlett
2010-08-18 10:08:43 +10:00
Andrew Bartlett
23dc2e4244
s4:auth Change {anonymous,system}_session to use common session_info generation
...
This also changes the primary group for anonymous to be the anonymous
SID, and adds code to detect and ignore this when constructing the token.
Andrew Bartlett
2010-08-18 09:50:45 +10:00
Andrew Bartlett
2ceb3d8d35
s4:auth Avoid doing database lookups for NT AUTHORITY users
2010-08-18 09:50:45 +10:00
Andrew Bartlett
ba52834dd9
s4:auth Remove system_session_anon() from python bindings
2010-08-18 09:50:44 +10:00
Andrew Bartlett
a68a5592c5
s4:auth Remove the system:anonymous parameter used for the LDAP backend
...
This isn't needed any more, and just introduces complexity.
2010-08-18 09:50:44 +10:00
Andrew Bartlett
d99ff145ae
s4:auth Remove special case constructor for admin_session()
...
There isn't a good reason why this code is duplicated.
Andrew Bartlett
2010-08-18 09:50:44 +10:00
Andrew Bartlett
7c6ca95bec
s4:security Remove use of user_sid and group_sid from struct security_token
...
This makes the structure more like Samba3's NT_USER_TOKEN
2010-08-18 09:50:38 +10:00
Andrew Bartlett
60086dcf9a
s4:ntvfs Don't treat the user SID and primary group SID special for idmap
...
This simply askes IDMAP about all the user SIDs, rather than the user
and group sid, followed by all but the first two sids from the token.
Andrew Bartlett
2010-08-18 09:30:08 +10:00
Andrew Bartlett
e229f68b3e
s4:security Bring in #defines for the user and primary group token location
...
This will allow us to stop duplicating the user and primary group SID in the
struct security_token, and therefore make it more like the NT_USER_TOKEN
in Samba3.
Andrew Bartlett
2010-08-18 09:30:08 +10:00
Volker Lendecke
26ff858934
s3: Remove smbd_server_fd() from session_claim
2010-08-17 22:52:03 +02:00
Volker Lendecke
f8ecec21e2
s3: Remove smbd_server_fd() from read_smb_length()
2010-08-17 22:44:04 +02:00
Volker Lendecke
840b0f523b
s3: Move read_smb_length() to smbd/reply.c
2010-08-17 22:44:04 +02:00
Volker Lendecke
e65197e56f
s3: Remove smbd_server_fd from receive_smb_raw
...
This is only called from client code
2010-08-17 22:44:03 +02:00
Volker Lendecke
a58cea0026
s3: Lift smbd_server_fd() from receive_smb_raw_talloc
2010-08-17 22:44:03 +02:00
Volker Lendecke
1f0afe1aed
s3: Lift smbd_server_fd() from read_smb_length_return_keepalive
2010-08-17 22:44:03 +02:00
Volker Lendecke
7d164498db
s3: Lift smbd_server_fd() from read_data()
...
All callers have appropriate debug messages themselves
2010-08-17 22:44:03 +02:00
Volker Lendecke
9671547d17
s3: Lift smbd_server_fd() from read_fd_with_timeout()
2010-08-17 22:44:03 +02:00
Matthias Dieter Wallnöfer
786c41b095
s4:netlogon RPC server - "ServerPasswordSet" operations - introduce also here the new password change syntax
2010-08-17 19:24:23 +02:00
Matthias Dieter Wallnöfer
4c8edc8f5e
s4:kdc/kpasswdd.c - let the user change his own password with his own rights
...
Now it's finally possible that the user can change his password with a DSDB
connection using his credentials.
NOTICE: I had to extract the old password from the SAMDB since I was unable to
find it somewhere else (authinfo for example).
2010-08-17 18:45:34 +02:00
Matthias Dieter Wallnöfer
cd711da6ca
s4:samr RPC server - samr_password.c - make real user password changes work
...
Now it's finally possible that the user can change his password with a DSDB
connection using his credentials.
2010-08-17 18:45:34 +02:00
Matthias Dieter Wallnöfer
2a423e0547
s4:kdc/rpc server - adapt the "samdb_set_password" calls which perform password sets
2010-08-17 18:45:34 +02:00
Matthias Dieter Wallnöfer
eb345ebedf
s4:samdb_set_password/samdb_set_password_sid - make more arguments "const"
2010-08-17 18:45:33 +02:00
Matthias Dieter Wallnöfer
d72d7f9c5f
s4:samdb_set_password/samdb_set_password_sid - make the adaptions to support the password change control
...
And introduce parameters to pass the old password hashes.
2010-08-17 18:45:33 +02:00
Matthias Dieter Wallnöfer
35954bb310
s4:password_hash LDB module - perform the adaptions to understand the new password change control
2010-08-17 18:45:33 +02:00
Matthias Dieter Wallnöfer
23bd3a7417
s4:acl LDB module - support password changes over the DSDB_CONTROL_PASSWORD_CHANGE_OID control
...
This control is used from the SAMR and "kpasswd" password changes. It is
strictly private and means "this is a password change and not a password set".
2010-08-17 18:45:33 +02:00
Matthias Dieter Wallnöfer
895a9fbbfb
s4:DSDB - DSDB_CONTROL_PASSWORD_CHANGE_OID - add a structure as value to the control
...
This contains the NT and/or LM hash of the password specified by the user.
2010-08-17 18:45:32 +02:00