1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

269 Commits

Author SHA1 Message Date
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
Simo Sorce
508527890a Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
2008-09-23 18:17:46 -04:00
Stefan Metzmacher
1d92b2211c s4: allways initialize the process model before it's used
metze
2008-09-22 18:16:09 +02:00
Jelmer Vernooij
05ea5e23cf Revert "Rename smbd -> samba."
This reverts commit 0e9008be35.
2008-09-21 21:32:40 +02:00
Jelmer Vernooij
0e9008be35 Rename smbd -> samba. 2008-09-21 21:26:40 +02:00
Jelmer Vernooij
c2eb4e5f8e Let winbind depend directly on libnet rather than through the ejs bindings. 2008-09-16 18:03:36 +02:00
Andrew Bartlett
ba22de3d4f Return the same privilaged winbindd socket as we actually use.
Andrew Bartlett
(This used to be commit 2209787812)
2008-09-10 14:08:40 +10:00
Andrew Bartlett
ecc13c3b1f Fix winbindd not to sit in a busy loop...
Clearly winbindd in Samba4 has not ever been run against windows, as
when we fixed the Samba4 server not to cause XP to loop like this,
Samba4's own client starts looping...

Andrew Bartlett
(This used to be commit 9741772190)
2008-07-21 15:00:18 +10:00
Andrew Bartlett
234413fbd9 Use a configure-specified directory for the winbind priv pipe
This makes it easier for RPMs to specify an group for access to that
directory.

Andrew Bartlett
(This used to be commit fa36135443)
2008-06-28 22:02:19 +10:00
Andrew Bartlett
485a6354e5 Fix the wbinfo test on the LDAP backend.
The problem was that we would do a blocking wait for the LDAP server,
which was also blocking on us returning (because we were in single
process mode).

The LDAP connection being made here is useless anyway, and will need
to be an async ldb_connect() before anybody reintroucues it (nobody in
their right mind would program a winbindd backend on pure LDAP, when
the ldb abstraction is available).

Andrew Bartlett
(This used to be commit 23280b2e6e)
2008-06-28 18:10:59 +10:00
Simo Sorce
929adc9efa Make up the right dependencies now that ldb depends on libevents
(This used to be commit 3b8eec7ca3)
2008-06-14 11:59:19 -04:00
Jelmer Vernooij
4c70cda986 Fix a couple (well, little more than that..) of typos.
(This used to be commit a6b5211994)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147 Create prototype headers from Makefile directory, without smb_build in the middle.
(This used to be commit f4a77b96f9)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
03643aec88 Use variables for source directory in a couple more places.
(This used to be commit c41bd3005f)
2008-05-18 19:54:27 +02:00
Jelmer Vernooij
7b45a4d7fa Merge branch 'v4-0-test' into v4-0-gmake3
Conflicts:

	source/auth/config.mk
	source/auth/gensec/config.mk
	source/torture/smbtorture.c
(This used to be commit edfd02e59b)
2008-05-10 18:08:00 +02:00
Tiago Batista
674d089bea Tiago Batista posted a patch to fix the build:
Trying to compile the latest git tree, I got some errors
"auth/pam_error.h not found" errors, it looks like it moved to
auth/ntlm/pam_errors.h.

Andrew Bartlett
(This used to be commit 95831a015a)
2008-05-06 08:12:03 +10:00
Jelmer Vernooij
cc9c4aaa8d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
Conflicts:

	source/Makefile
	source/auth/config.mk
	source/auth/gensec/config.mk
	source/build/m4/public.m4
	source/build/make/python.mk
	source/build/make/rules.mk
	source/build/smb_build/header.pm
	source/build/smb_build/main.pl
	source/build/smb_build/makefile.pm
	source/dsdb/config.mk
	source/dsdb/samdb/ldb_modules/config.mk
	source/kdc/config.mk
	source/lib/events/config.mk
	source/lib/events/events.c
	source/lib/ldb/config.mk
	source/lib/nss_wrapper/config.mk
	source/lib/policy/config.mk
	source/lib/util/config.mk
	source/libcli/smb2/config.mk
	source/libnet/config.mk
	source/librpc/config.mk
	source/nbt_server/config.mk
	source/ntptr/ntptr_base.c
	source/ntvfs/posix/config.mk
	source/ntvfs/sysdep/config.mk
	source/param/config.mk
	source/rpc_server/config.mk
	source/rpc_server/service_rpc.c
	source/scripting/ejs/config.mk
	source/scripting/python/config.mk
	source/smb_server/config.mk
	source/smbd/server.c
	source/torture/config.mk
	source/torture/smb2/config.mk
	source/wrepl_server/config.mk
(This used to be commit 13bbd42068)
2008-04-25 10:04:20 +01:00
Kai Blin
240d959005 libnet: Make UserInfo accept a SID as input as well, fix wb_cmd_getpwuid
(This used to be commit 5f3a70f285)
2008-04-24 11:17:23 +02:00
Andrew Bartlett
0321bc0259 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit e8da1559f7)
2008-04-18 18:21:52 +02:00
Andrew Tridgell
93c9de03af fixed a double free in winbind
state->domain->netlogon_binding is a child of ctx, and ctx is freed by
the composite_is_ok failure callback
(This used to be commit 3c217518ba)
2008-04-18 16:23:48 +02:00
Andrew Bartlett
bfbcfc41f5 Fix samba3 protocol to correctly include the NULL terminator
Andrew Bartlett
(This used to be commit fa45991303)
2008-04-18 11:37:43 +02:00