Matthias Dieter Wallnöfer
663a1f599a
s4:winbind - Fix it another time up
...
The first fix attempt did break some configurations (incl. "make test").
This now is the right fix with the right comment.
2009-11-27 17:45:20 +01:00
Matthias Dieter Wallnöfer
a5d854afbc
s4:provision - Fix up the provision of "standalone" and "member" mode
...
Both modes weren't possible anymore since 1.) the secrets entry wasn't created,
2.) a lookup in winbindd was done using "lp_workgroup()" rather than
"lp_sam_name()" (since on the mentioned two configurations we use the netbios
name as domainname - and not the workgroup).
2009-11-27 14:51:14 +01:00
Andrew Tridgell
4ad0397d8a
s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()
...
This allows us to reuse a ldb context if it is open twice, instead
of going through the expensive process of a full ldb open. We can
reuse it if all of the parameters are the same.
The change relies on callers using talloc_unlink() or free of a parent
to close a ldb context.
2009-10-23 14:52:17 +11:00
Andrew Tridgell
7f1832c469
s4: ran minimal_includes.pl on source4/winbind
2009-10-20 16:04:51 +11:00
Matthias Dieter Wallnöfer
44df2488e3
s4: fix various warnings (not "const" related ones)
2009-10-02 15:33:48 +02:00
Andrew Tridgell
83e9b1c325
s4-winbind: support the s3 response flags on krb5 auth too
...
This fixes the samba4.blackbox.wbinfo test, which was failing on a
wbinfo -K command
2009-10-02 22:17:42 +10:00
Andrew Tridgell
68e1991c6c
s4-winbind: support the Samba3 TXT form of the info3 for wbinfo -a
...
This sends the info3 as hand marshalled data
2009-10-02 21:36:56 +10:00
Andrew Tridgell
92786aebf1
s4-resolve: fixed a crash bug on timeout
...
We were creating the name resolution context as a child of lp_ctx,
which meant when we gave up on a connection the timer on name
resolution kept running, and when it timed out the callback crashed as
the socket was already removed.
2009-09-19 08:23:03 -07:00
Andrew Tridgell
e9a589feac
s4-server: kill main daemon if a task fails to initialise
...
When one of our core tasks fails to initialise it can now ask for the
server as a whole to die, rather than limping along in a degraded
state.
2009-09-18 18:05:55 -07:00
Kai Blin
dd8d04f9fa
s4 winbind: Quiet down the WINBINDD_DOMAIN_INFO handler stub warning
2009-08-18 21:48:41 +02:00
Kai Blin
b31f0de467
s4 winbind: Silence compile warning by adding new commands to the list
2009-08-18 20:26:10 +02:00
Kai Blin
7cafb65387
s4 winbind: Implement a stubbed out version of WINBINDD_DOMAIN_INFO
2009-08-18 20:26:10 +02:00
Andrew Tridgell
7c2025610c
fixed another ambiguous talloc call
...
During the creation of the 3 RPC pipes in winbind we try to steal the
RPC binding structure to be a child of the pipe once the pipe is
established. This fails with a talloc warning as the rpc connection
code already holds a reference to the binding.
The fix is to use talloc_reparent() instead.
2009-08-07 17:24:48 +10:00
Stefan Metzmacher
b76ab511f7
s4:winbind: rename uint => uint32_t as uint isn't portable
...
metze
2009-07-15 20:47:07 +02:00
Volker Lendecke
24cfe3e607
Fix Coverity ID 853 (UNINIT) -- Kai, please check!
2009-04-28 12:26:20 +02:00
Andrew Bartlett
5095d7b1c8
Rework Samba4 to use the new common libcli/auth code
...
In particular, this is the rename from creds_ to netlogon_creds_, as
well as other links to use the new common crypto.
Andrew Bartlett
2009-04-14 16:23:44 +10:00
Stefan Metzmacher
d9c30894a1
s4:service_stream: s/private/private_data
...
metze
2009-02-02 13:09:00 +01:00
Stefan Metzmacher
7237d777d5
s4:winbind: s/private/private_data
...
metze
2009-02-02 13:08:37 +01:00
Kai Blin
07aa05f678
shared: Move dom_sid_* utility functions to top level
2009-02-01 19:42:30 +01:00
Stefan Metzmacher
5f13710ced
s4:irpc: avoid c++ reserved word 'private'
...
metze
2009-02-01 00:17:20 +01:00
Kai Blin
a0abb933d2
s4-winbind: Add support for the WINBINDD_LIST_GROUPS command.
2009-01-15 10:35:00 +01:00
Kai Blin
75e2406564
s4 winbind: Silence a "discards const" warning
2009-01-06 09:55:49 +01:00
Kai Blin
120dc0e5aa
s4 winbind: Correctly silence a "discard const" warning
...
Thanks to metze for pointing out the error.
2009-01-02 23:42:55 +01:00
Stefan Metzmacher
0e95c9a1eb
Revert "s4 winbind: Copy SID to avoid "discard const" warning"
...
This reverts commit 102028ec72
.
state->ctx is the composite_context, which is a temporary context!
metze
2009-01-02 18:15:10 +01:00
Stefan Metzmacher
a54c558ca6
Revert "s4 winbind: Avoid a "discards const" compiler warning."
...
This reverts commit dd8d4b6fd1
.
s3call->response.extra_data.data is a pointer and no fstring!
metze
2009-01-02 17:56:41 +01:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01:00
Kai Blin
102028ec72
s4 winbind: Copy SID to avoid "discard const" warning
2008-12-29 12:52:28 +01:00
Kai Blin
1180b6964f
s4 winbind: Add support for WINBINDD_GETGRGID call
2008-12-29 12:52:27 +01:00
Kai Blin
855d2a927e
s4 libnet: Add support for groupinfo by sid lookup
2008-12-29 12:52:27 +01:00
Kai Blin
ec5ef61134
s4 winbind: Fix typos in debug output
2008-12-29 12:52:27 +01:00
Kai Blin
777350ee91
s4 winbind: Add implementation for WINBINDD_GETGRNAM
2008-12-29 12:52:27 +01:00
Kai Blin
dd8d4b6fd1
s4 winbind: Avoid a "discards const" compiler warning.
2008-12-29 12:52:26 +01:00
Jelmer Vernooij
bd64688c6a
Fix more compiler warnings in various places.
2008-12-23 22:57:11 +01:00
Jelmer Vernooij
c023828962
Fix missing symbols issues when building with shared libraries.
2008-12-22 21:03:09 +01:00
Kai Blin
5ee0392a55
nsswitch: Move nsswitch files from source4 to top level nsswitch dir
2008-12-16 13:03:05 +01:00
Kai Blin
6821d898d7
nsswitch: Move source3 files to top level dir.
...
Don't move source4 files yet to not confuse git's rename tracking too much.
2008-12-16 13:02:45 +01:00
Stefan Metzmacher
54b90cd1da
s4:winbind: fill in the correct variable...
...
metze
2008-12-06 15:48:10 +01:00
Stefan Metzmacher
ba0facd688
s4:winbind: move setting up the primary_sid into a new function wbsrv_setup_domains()
...
metze
2008-12-06 12:40:30 +01:00
Günther Deschner
68a2ca11dc
s4-samr: merge samr_GetGroupsForUser from s3 idl. (fixme: python)
...
Guenther
2008-11-10 21:46:29 +01:00
Günther Deschner
f285af6367
s4-netlogon: merge netr_LogonSamLogon{Ex,WithFlags} from s3 idl.
...
Guenther
2008-10-29 08:57:31 +01:00
Günther Deschner
f0697b0ad5
s4-netlogon: merge netr_DsRGetDCName{Ex,Ex2} from s3 idl.
...
Guenther
2008-10-29 08:56:52 +01:00
Günther Deschner
f82a117832
s4-netlogon: merge netr_GetDcName from s3 idl.
...
Guenther
2008-10-28 23:40:53 +01:00
Günther Deschner
a674a3bbf3
s4-netlogon: merge netr_GetAnyDCName from s3 idl (untested).
...
Guenther
2008-10-28 23:40:53 +01:00
Günther Deschner
95231eae39
s4-lsa: merge lsa_QueryInfoPolicy/{2} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
92f1c0d156
s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
992c03a192
s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Jelmer Vernooij
922a29992e
Remove iconv_convenience parameter from simple string push/pull
...
functions.
2008-10-24 03:40:09 +02:00
Jelmer Vernooij
218f482fbf
Use common strlist implementation in Samba 3 and Samba 4.
2008-10-12 00:56:56 +02:00
Jelmer Vernooij
9565999755
Fix include paths to new location of libutil.
2008-10-11 21:31:42 +02:00
Jelmer Vernooij
6a689c23e8
Rename smbd -> samba.
...
This reverts commit 05ea5e23cf
.
Conflicts:
source4/smbd/server.c
2008-09-24 03:16:15 +02:00