1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
Commit Graph

1957 Commits

Author SHA1 Message Date
Endi S. Dewata
5bee3efaca s4/libcli: Register LDB_CONTROL_REVEAL_INTERNALS and DSDB_CONTROL_PASSWORD_CHANGE_STATUS_OID controls.
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-06-28 19:33:46 +02:00
Matthias Dieter Wallnöfer
ad5e19f29e ldb:controls - add the "TREE_DELETE" control for allowing subtree deletes 2010-06-20 18:52:29 +02:00
Matthias Dieter Wallnöfer
4cc49d365f s4:ldap_controls.c - remove encoding functions for private recalculate SD control 2010-06-20 18:52:26 +02:00
Jelmer Vernooij
c92db7b6dc python: Use samba.tests.TestCase, make sure base class tearDown and
setUp methods are called, fix formatting.
2010-06-19 22:46:45 +02:00
Matthieu Patou
315aeef0f9 s4: Remove an uselessly exposed control 2010-06-07 11:43:32 +02:00
Matthias Dieter Wallnöfer
315ae8ae97 s4:libcli/clideltree.c - fix "asprintf"s 2010-05-28 10:04:46 +02:00
Andrew Bartlett
50b472a772 s4:libcli/ldap Update headermap.txt (autotools build) and wscript_build for libcli_ldap.h
It took a little while to find where to update this...

Andrew Bartlett
2010-05-21 20:09:07 +10:00
Andrew Bartlett
c8a23147fe s4:libcli/ldap Rename ldap.h to libcli_ldap.h
It is a problem if a samba header is called ldap.h if we also want
to use OpenLDAP's ldap.h

Andrew Bartlett
2010-05-21 17:39:15 +10:00
Jelmer Vernooij
b8268cf7b0 s3: Remove use of iconv_convenience. 2010-05-18 11:45:31 +02:00
Jelmer Vernooij
f9ca9e46ad Finish removal of iconv_convenience in public API's. 2010-05-18 11:45:30 +02:00
Günther Deschner
44b0a0c14d s4: remove unused rap.h.
Guenther
2010-04-26 22:53:00 +02:00
Günther Deschner
1ede2a0577 s4: rename RAP share_enum_info to share_info.
Guenther
2010-04-26 22:52:45 +02:00
Andrew Tridgell
bb1ba4ff76 s4-drs: added new SECURITY_RO_DOMAIN_CONTROLLER level
This is used for allowing operations by RODCs, and denying them
operations that should only be allowed for a full DC

This required a new domain_sid argument to
security_session_user_level()

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Pair-Programmed-With: Rusty Russell <rusty@samba.org>
2010-04-22 19:36:16 +10:00
Nadezhda Ivanova
4fc59089c8 Removed more excess looping and fixed problem with incorrect IO flag handling. 2010-04-20 00:23:42 +03:00
Nadezhda Ivanova
205c826611 A bit of refactoring in the SD creation code. 2010-04-15 14:44:34 +03:00
Andrew Tridgell
daf4ad5905 s4-waf: removed a duplicate declaration of python_netbios 2010-04-15 14:43:50 +10:00
Andrew Tridgell
553324bc10 s4-waf: move to a universal method of recursing into subdirs
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
b690fedef5 s4-waf: removed the AUTOGENERATED markers
we won't be using the mk -> wscript generator again
2010-04-06 20:27:16 +10:00
Andrew Tridgell
f9eae32f4b s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them 2010-04-06 20:27:11 +10:00
Andrew Tridgell
aa5e08eb83 s4-waf: install the rest of the headers 2010-04-06 20:27:09 +10:00
Andrew Tridgell
03998d0970 s4-waf: started adding auto-install of include files 2010-04-06 20:27:09 +10:00
Andrew Tridgell
844acb2260 build: waf quicktest nearly works
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
845e0cbe6f build: commit all the waf build files in the tree 2010-04-06 20:26:48 +10:00
Jelmer Vernooij
aed295b97e s4-python: Remove convenience macro PyErr_SetStringError.
This macro assumed that all errors were runtime errors.
2010-04-04 00:22:29 +02:00
Matthias Dieter Wallnöfer
902a5e53cd wbclient/wbclient.c - fix a typo 2010-03-30 21:57:52 +02:00
Günther Deschner
12ee027106 s4:libcli/util/clilsa.c: add explicit check for NTSTATUS r.out.result
Guenther
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-29 15:35:51 +02:00
Andrew Tridgell
fae84f98e3 libutil: moved the networking defines to util_net.h
These were causing thousands of warnings on solaris8
2010-03-26 17:36:02 +11:00
Stefan Metzmacher
ef1c3176c8 s4:libcli/wrepl: correctly remove the tstream_context when the connection is dead
metze
2010-03-25 21:24:53 +01:00
Andrew Tridgell
088096d1ba python: use '#!/usr/bin/env python' to cope with varying install locations
this should be much more portable
2010-03-25 14:37:19 +11:00
Jeremy Allison
c2d1b01103 Missing include guard in source4/libcli/security/security.h
Jeremy.
2010-03-24 12:20:03 -07:00
Günther Deschner
e7cc45cb14 error_codes: fix NT_STATUS_RPC_UNKNOWN_IF typo.
Metze, please check.

Guenther
2010-03-19 09:30:36 +01:00
Stefan Metzmacher
6a1f8e67eb libcli/util: add more NT_STATUS_RPC_* defines
metze
2010-03-18 14:25:57 +01:00
Stefan Metzmacher
7807de5693 s4:libcli/util/clilsa.c: make use of dcerpc_binding_handle stubs
metze
2010-03-12 15:25:50 +01:00
Stefan Metzmacher
6292cb7f7f s4:libcli/composite: get rid of composite_continue_rpc()
metze
2010-03-12 15:25:49 +01:00
Andrew Bartlett
e999472e36 s4:libcli Use integrated name resolution when connecting SMB
This avoids pulling the address into a string and back again if given
a name, by letting the next async layer down do the name resolution.
If it was an IP address to start with, then the resolver library just
converts that to the struct socket_address.

Andrew Bartlett
2010-03-11 11:27:48 +11:00
Andrew Bartlett
1af2cd2bd1 s4:libcli/resovle File based lookup module for DNS name types
This uses the new common code to read a file containing DNS host
names, so we don't have to use real DNS lookups in our test
environment.

Andrew Bartlett
2010-03-11 11:27:48 +11:00
Andrew Bartlett
9457b7ea22 s4:libcli/resolve Use a more robust way to return the string address
By going via these tevent functions, we avoid needing to dereference
the struct socket_address, which may contain a 'struct sockaddr' or
strings.  The new dns_host_file resolver returns in the form of a
struct sockaddr.

Andrew Bartlett
2010-03-11 11:27:47 +11:00
Björn Jacke
61bf804e8f ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULL 2010-03-10 21:00:47 +01:00
Volker Lendecke
8fd43f44ef s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-) 2010-03-09 15:37:39 +01:00
Stefan Metzmacher
ae049c49df s4:libcli/wrepl: rewrite the low level request handling to use tevent_queue and tstream_context
metze
2010-03-07 17:12:39 +01:00
Stefan Metzmacher
8c16d5e4dc s4:libcli/wrepl: add wrepl_socket_is_connected()
metze
2010-03-07 16:52:38 +01:00
Stefan Metzmacher
f1e28a0b41 s4:libcli/wrepl: make struct wrepl_request private to winsrepl.c
metze
2010-03-07 16:52:37 +01:00
Stefan Metzmacher
2450fc1c27 s4:libcli/wrepl: implement wrepl_request_send as a tevent_req based wrapper
metze
2010-03-07 16:52:36 +01:00
Stefan Metzmacher
cb4f269945 s4:libcli/wrepl: rename enum wrepl_request_state => enum wrepl_request_internal_state
metze
2010-03-07 16:52:36 +01:00
Stefan Metzmacher
311a60df9c s4:libcli/wrepl: move wrepl_request_send/recv => wrepl_request_internal_send/recv
metze
2010-03-07 16:52:35 +01:00
Stefan Metzmacher
db051f0db6 s4:libcli/wrepl: add my copyright
metze
2010-03-07 16:52:32 +01:00
Stefan Metzmacher
013184a182 s4:libcli/wrepl: convert wrepl_associate_stop_send to tevent_req
metze
2010-03-05 14:09:03 +01:00
Stefan Metzmacher
28033bf635 s4:libcli/wrepl: convert wrepl_connect_send to tevent_req
metze
2010-03-05 14:09:03 +01:00
Stefan Metzmacher
883b10983b s4:libcli/wrepl: convert wrepl_associate_send to tevent_req
metze
2010-03-05 14:09:02 +01:00
Stefan Metzmacher
2e24def806 s4:libcli/wrepl: convert wrepl_pull_table_send to tevent_req
metze
2010-03-05 14:09:02 +01:00