Michael Adam
c03fa64a2c
s4: remove REMOVE_MAPPING from wb_samba3_protocol
...
Michael
2010-08-14 02:10:34 +02:00
Michael Adam
74da3163f6
s4: remove SET_MAPPING from wb_samba3_protocol
...
Michael
2010-08-14 02:10:33 +02:00
Michael Adam
61f019d61d
s4: remove SET_HWM and SET_DUAL_HWM from wb_samba3_protocol
...
Michael
2010-08-14 02:10:31 +02:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Stefan Metzmacher
80f9ad4074
s4:winbind: let WBSRV_SAMBA3_SET_STRING() initialize the whole buffer
...
We should not send uninitialized bytes to the winbind pipe,
this makes also makes valgrind very unhappy.
metze
2010-07-10 09:35:03 +02:00
Stefan Metzmacher
751a26214e
s4:wb_cmd_list_groups: also handle NT_STATUS_NO_MORE_ENTRIES
...
metze
2010-07-10 09:35:03 +02:00
Stefan Metzmacher
c7a30c6b17
s4:wb_cmd_list_users: also handle NT_STATUS_NO_MORE_ENTRIES
...
metze
2010-07-10 09:35:02 +02:00
Matthias Dieter Wallnöfer
1d166fd3cf
s4:winbind/wb_cmd_setpwent.c - fix a possible crash condition in the "winbind struct test"
...
Use a "talloc_strdup" for duplicating usernames.
2010-07-05 15:36:12 +02:00
Matthias Dieter Wallnöfer
83dedef2c7
s4:wb_cmd_list_groups.c - don't crash when we don't get any group at all
2010-07-04 22:05:17 +02:00
Matthias Dieter Wallnöfer
680453a906
s4:wb_cmd_list_groups.c - indentation and comment fixes
2010-07-04 22:05:17 +02:00
Matthias Dieter Wallnöfer
75d6842c40
s4:winbind/wb_samba3_protocol.c - add cast to suppress warnings on Solaris 10 cc
2010-06-26 19:45:07 +02:00
Stefan Metzmacher
6dbcffb51d
s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.
...
This is needed to remove samba specifc symbols from the bundled
ldb, in order to get the ABI right.
metze
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-06-16 14:07:28 +02:00
Andrew Bartlett
1d66cb0e20
s4:winbind Give more detail on the parameters when reporting idmap failure
2010-05-24 23:08:57 +10:00
Andrew Bartlett
dceca3d8ae
s4:winbind Change idmap API to match that used by the source3/ idmap subsystem
...
This makes it much easier to write an idmap module that bridges the gap.
We should finish the change to the new API, but for the moment this
choke point works for the conversion.
Andrew Bartlett
2010-05-24 23:08:57 +10:00
Andrew Bartlett
9573c35636
s4:winbind Change include guard so as not to conflict with idmap.h in source3
2010-05-24 23:08:57 +10:00
Andrew Bartlett
e7fe4d3885
s4:winbind Fix up includes after seperation of idmap.idl from winbind.idl
2010-05-24 23:08:57 +10:00
Andrew Bartlett
285647664c
s4:idmap Adjust code to new idmap structure names and layout.
...
Andrew Bartlett
2010-05-24 23:08:56 +10:00
Jelmer Vernooij
f9ca9e46ad
Finish removal of iconv_convenience in public API's.
2010-05-18 11:45:30 +02:00
Andrew Bartlett
e11a67de7d
s4:winbindd Record the privilaged pipe dir
...
This may help us return an accurate priv pipe dir later on.
Andrew Bartlett
2010-05-18 13:20:30 +10:00
Andrew Bartlett
8da50c8da1
s4:winbindd Rework some winbind structures to make s3compat easier
...
By making the winbindd_request and winbindd_response structures
pointers, we can more easily integrate with the winbindd from
source3/winbindd
Andrew Bartlett
2010-05-14 23:25:45 +10:00
Matthias Dieter Wallnöfer
2f339f71bd
s4:wb_cmd_getdcname.c - fix s4 winbind up regarding the new correct "GetAnyDCName" behaviour
...
We get back "NO_SUCH_DOMAIN" when we query the PDC. This is fine and therefore
we use the "logon_server" variable as "dcname".
2010-04-27 08:09:13 +02:00
Stefan Metzmacher
23fd76433a
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_USERS
...
metze
2010-04-19 16:09:14 +02:00
Stefan Metzmacher
629e73eeed
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_GROUPS
...
metze
2010-04-19 16:09:14 +02:00
Stefan Metzmacher
da17719241
s4:winbind: fill response.data.num_entries for WINBINDD_LIST_TRUSTDOM
...
metze
2010-04-19 16:09:14 +02:00
Stefan Metzmacher
7f6cdad706
s4:winbind: use WINBINDD_SOCKET_NAME instead of WINBINDD_SAMBA3_SOCKET
...
metze
2010-04-15 09:34:02 +02:00
Stefan Metzmacher
a1cf6a52af
s4:winbind: wbsrv_samba3_priv_pipe_dir() needs to return the directory not the pipe path
...
metze
2010-04-15 09:34:02 +02:00
Matthias Dieter Wallnöfer
8ae956d7ba
s4:winbind/wb_server.c - fix indentation
2010-04-07 19:37:35 +02: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
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
Matthias Dieter Wallnöfer
4c29a4e126
s4:wb_cmd_getgroups - fix failure in s4 winbind's "getgroups"
2010-03-16 17:11:47 +01:00
Stefan Metzmacher
e9cae3b5bc
s4:winbind/wb_sam_logon.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:48 +01:00
Stefan Metzmacher
399cbb6479
s4:winbind/wb_init_domain.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:47 +01:00
Stefan Metzmacher
7681260e1e
s4:winbind/wb_dom_info_trusted.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:47 +01:00
Stefan Metzmacher
53bdd25829
s4:winbind/wb_connect_sam.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:47 +01:00
Stefan Metzmacher
d836dd9ea7
s4:winbind/wb_connect_lsa.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:47 +01:00
Stefan Metzmacher
6ecae51e18
s4:winbind/wb_cmd_usersids.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:46 +01:00
Stefan Metzmacher
765d4a52cb
s4:winbind/wb_cmd_list_trustdom.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:45 +01:00
Stefan Metzmacher
05d6343ac7
s4:winbind/wb_cmd_getdcname: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:45 +01:00
Stefan Metzmacher
9e87e6dc9a
s4:winbind/wb_async_helpers.c: make use of use tevent_req based dcerpc_binding_handle stubs
...
metze
2010-03-12 15:25:45 +01:00
Matthias Dieter Wallnöfer
2ee3cca4ff
s4:winbind - use "unsigned" variables where possible
2010-03-09 17:54:12 +01:00
Matthias Dieter Wallnöfer
1310eba970
s4:winbind/wb_cmd_getgroups.c - fix up warnings
...
Also fix some indentations.
2010-03-09 17:52:10 +01:00
Matthieu Patou
bc766a9a84
s4:winbind: stub implementation of WINBINDD_PAM_LOGOFF
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09 17:20:31 +01:00
Matthieu Patou
238ff24341
s4:winbind: Fix a misplaced returned info
...
libwbclient expect to have in auth.exra_data the INFO3_TXT and in auth.unix_username the username
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09 17:20:30 +01:00
Matthieu Patou
42b5b38187
s4:winbind Implement logic for getgroups to work
...
This function is called by the system everytime we do a id user or when we do wbinfo -r
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09 17:20:30 +01:00
Matthieu Patou
30baf31411
s4:winbind: implement calls for allowing getent groups
...
This is to say getgrent and setgrent, and the associated technical objects (states, build directives,...) needed.
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09 17:20:30 +01:00
Stefan Metzmacher
598cf9f509
s4:winbind: make use of explicit dcerpc_*_recv functions
...
metze
2010-03-01 16:11:54 +01:00
Andreas Schneider
062a8cf006
s4-winbind: Fixed the memory context of tstream_bsd_existing()
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-26 12:08:54 +01:00
Matthieu Patou
b792e5575c
s4: Winbind allow to behave more correctly when we have more than a few users
2010-02-26 21:38:43 +11:00