Volker Lendecke
5005ad2e78
s3: Remove smbd_server_conn from reply_rmdir
2010-06-12 15:42:52 +02:00
Volker Lendecke
0d6f3d64fa
s3: Remove smbd_server_conn from reply_writebraw
2010-06-12 15:42:52 +02:00
Volker Lendecke
8f8aac9c2f
s3: Remove smbd_server_conn from reply_read_and_X
2010-06-12 15:42:52 +02:00
Volker Lendecke
e16476ac48
s3: Remove smbd_server_conn from send_file_readX
2010-06-12 15:42:52 +02:00
Volker Lendecke
993738d368
s3: Remove smbd_server_conn from reply_read
2010-06-12 15:42:52 +02:00
Volker Lendecke
96acccf261
s3: Remove smbd_server_conn from reply_lockread
2010-06-12 15:42:51 +02:00
Volker Lendecke
fd1891829a
s3: Remove smbd_server_conn from reply_readbraw
2010-06-12 15:42:51 +02:00
Volker Lendecke
2826471123
s3: Remove smbd_server_conn from reply_send_file_readbraw
2010-06-12 15:42:51 +02:00
Volker Lendecke
f26b738412
s3: Remove smbd_server_conn from reply_ulogoffX
2010-06-12 15:42:51 +02:00
Volker Lendecke
557aebc327
s3: Remove smbd_server_conn from reply_fclose
2010-06-12 15:42:51 +02:00
Volker Lendecke
96854ec994
s3: Remove smbd_server_conn from reply_search
2010-06-12 15:42:51 +02:00
Volker Lendecke
bf2f2f468c
s3: Remove smbd_server_conn from reply_tcon_and_X
2010-06-12 15:42:51 +02:00
Volker Lendecke
0275502b9c
s3: Remove smbd_server_conn from reply_tcon
2010-06-12 15:42:51 +02:00
Volker Lendecke
d724ac3e8c
s3: Remove smbd_server_conn from make_connection_snum
2010-06-12 15:42:51 +02:00
Volker Lendecke
d04a89682a
s3: Remove smbd_server_conn from change_to_user
2010-06-12 15:42:50 +02:00
Volker Lendecke
5a2277ca2f
s3: Remove smbd_server_conn from reply_ntcancel
2010-06-12 15:42:50 +02:00
Volker Lendecke
e01ee1c77d
s3: Remove smbd_server_conn from send_nt_replies
2010-06-12 15:42:50 +02:00
Volker Lendecke
b55a8e8ccf
s3: Remove smbd_server_conn from reply_smb2002
2010-06-12 15:42:50 +02:00
Volker Lendecke
a45ea200c6
s3: Explicitly pass sconn to negprot_spnego()
2010-06-12 15:42:50 +02:00
Volker Lendecke
b82fc135a7
s3: Remove some global references to smbd_server_conn
2010-06-12 15:42:50 +02:00
Volker Lendecke
3087986e76
s3: Remove sconn arg from smbd_notify_cancel_by_smbreq
2010-06-12 15:42:50 +02:00
Volker Lendecke
546a264e0e
s3: Initialize smb_request->sconn in smbd_smb2_fake_smb_request
2010-06-12 13:05:09 +02:00
Volker Lendecke
46a48edcdf
s3: Use "sconn" argument in smbd_[un]lock_socket_internal
...
Metze, please check!
2010-06-12 11:59:21 +02:00
Volker Lendecke
d7bc5fe734
s3: Pass sconn to init_smb_request()
2010-06-12 11:59:21 +02:00
Volker Lendecke
edfc7eaf6d
s3: Add "smbd_server_connection" to smb_request
2010-06-12 11:59:21 +02:00
Volker Lendecke
312a508e88
s3: Fix some nonempty lines
2010-06-12 11:59:21 +02:00
Andrew Bartlett
8d8678fcfd
s4:dsdb Allow calling dsdb_convert_object_ex() directly
...
This will allow the libnet_vampire code to manually convert individual
schema objects.
Andrew Bartlett
2010-06-12 11:19:19 +10:00
Andrew Bartlett
72486a6dd1
s4:dsdb Add debug
2010-06-12 11:19:13 +10:00
Andrew Bartlett
088d5b76ca
s4:dsdb Simplfy match of objectclass in dsdb_schema_set_el_from_ldb_msg
...
There is no need to do a full ldb_match_msg() for a simple case
insensitive string.
Andrew Bartlett
2010-06-12 11:18:41 +10:00
Andrew Bartlett
57b6979ad0
s4:provision Allow both additional and override prefixmaps in Schema
...
The idea here is to allow some callers to specify a new prefixMap that
will override the values loaded from the prefixMap.txt.
Andrew Bartlett
2010-06-12 11:18:36 +10:00
Andrew Bartlett
6336f24475
s4:dsdb Allow a binary prefix map to be specified in the LDIF
...
This allows it to be specified in either binary or as a string.
Andrew Bartlett
2010-06-12 11:17:59 +10:00
Andrew Bartlett
d6f5c1ace2
s4:dsdb Provide a function to convert from DRS prefix maps to the LDB prefixmap
...
This allows us to push a prefixmap directly into the schema we
generate in the provision code.
Andrew Bartlett
2010-06-12 11:17:22 +10:00
Andrew Bartlett
e82836467c
s4:dsdb Add more debugs to help track down failures to parse the prefixmap
2010-06-12 11:17:14 +10:00
Andrew Bartlett
c6bf8e4cad
s4:dsdb Put back the reference and set_attributes in dsdb_reference_schema
...
I'm not sure why I removed these in fe3e1af901c970f738bee92baac5d7d4f5736e17
Andrew Bartlett
2010-06-12 11:16:49 +10:00
Olaf Flebbe
7aa8af144e
check if LD_AS_NEEDED breaks linking with libreadline fixes #7209
...
Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-11 16:07:50 -04:00
Kamen Mazdrashki
c65eb4852c
s4/test-libnet: Re-align code a bit - more readable this way IMO
2010-06-11 17:46:36 +03:00
Kamen Mazdrashki
9baa73053e
s4/test-libnet: Refactor test_group_create() a little to:
...
- Close unused policy handle for created group
- re-align code - it is more readable this way IMHO
2010-06-11 17:46:35 +03:00
Kamen Mazdrashki
6eecb968cb
s4/test-libnet: Refactor test_user_create() little bit to:
...
- fix a flaw that user RID is not returned in case
user is recreated
- close unused policy handle to created user
- do not take into account the result from
test_samr_close_handle - we don't case
2010-06-11 17:46:35 +03:00
Kamen Mazdrashki
a735c1ade2
s4/test-libnet: add few comments for utility functions
2010-06-11 17:46:35 +03:00
Kamen Mazdrashki
84fb3ed8a5
s4/test-libnet: Move LSA close handle function to a common location
2010-06-11 17:46:34 +03:00
Kamen Mazdrashki
8714f130e5
s4/test-libnet: remove unused code
...
Pre-connecting SAMR and LSA pipes is implemented in
test_libnet_context_init() function
2010-06-11 17:46:34 +03:00
Kamen Mazdrashki
7168b1c99f
s4/test-libnet: Fix compile-time warning
2010-06-11 17:46:34 +03:00
Nadezhda Ivanova
e3c95940cd
Adjusted ACL tests to use encripted connection.
...
This way we get rid of the conditional if.Samba checks, because users are
successfully created and enabled.
2010-06-11 17:22:21 +03:00
Günther Deschner
4bb351ac80
s3-auth: Fix valgrind warning (unitialized var) in samu_to_SamInfo3().
...
Guenther
s3:auth do not fail if there are 0 group sids
Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-11 15:11:31 +02:00
Olaf Flebbe
a9b06f58f2
configure.in prevent generation of file "shlib.so"
2010-06-11 09:03:42 -04:00
Simo Sorce
4fc36ca802
s3:auth fix samu->info3 conversion
...
Some pdb_get_ functions where missing because of previous mis-patching
2010-06-11 08:26:39 -04:00
Volker Lendecke
d5cf6482ed
s3: Fix starving the echo responder
...
When both the echo responder and the 445 socket want to send stuff to the
worker smbd, the select loop is not fair. It always chooses the smaller file
descriptor to work on. This can mean that on a busy system the echo responder
never gets around to feed its stuff to the parent.
This fix chooses the async echo responder socket when both the 445 and the echo
responder socket are readable.
Yes, it is a very hackish fix which is required *now* I think. The proper fix
would be to either assign priorities to fd's in tevent, or the from my point of
view better fix would be to make tevent kindof round-robin.
Round-robin would mean that whenever a fd has been dealt with, it is taken off
the list of interested sockets, and only if no other socket is active, all of
the ones waiting are put back. This is a bit like EPOLL_ONESHOT, which I would
like to use for this in the epoll case. Although, I need to do some research if
maybe epoll already guarantees round-robin, I did not find anything in the docs
yet.
Volker
2010-06-11 10:58:54 +02:00
Matthias Dieter Wallnöfer
b61fa4b676
s4:rootdse LDB module - use LDB result constants
2010-06-11 10:19:19 +02:00
Matthias Dieter Wallnöfer
93fe926842
s4:passwords.py - set the "dSHeuristics"
...
As per Nadia's request and abartlet's suggestion the test now also sets the
"dSHeuristics" attribute properly to be able to perform the tests also against
Windows without further configuration.
The code has the neat feature that it undoes the change and resets the
behaviour as it was before.
2010-06-11 10:04:50 +02:00
Matthias Dieter Wallnöfer
61976e4fcf
s4:passwords.py - use "self" before "enable_account" to make really sure which LDB connection should be used
2010-06-11 10:04:19 +02:00