summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-06-09try to get PICFLAG right for HP-UX with gccAndrew Tridgell1-6/+5
2009-06-09work around conflict in pidfile() prototype for heimdal on NetBSD5Andrew Tridgell1-0/+7
2009-06-09fixed socket wrapper to determine family from the right structureAndrew Tridgell1-1/+1
In convert_in_un_remote() the socket family can be accessed either as si->family or inaddr->sa_family. We were using the si->family to determine how to cast the inaddr structure, but if si->family != inaddr->sa_family then we will incorrectly be casting a in6 structure as in4 or vice-versa.
2009-06-08Replace the "ipv4" specific strings in libcli/cldap/cldap.c with "ip". CLDAP canJeremy Allison2-17/+8
run over IPv4/IPv6, even though some of the netlogon messages are IPv4 specific. Fix the new ads_cldap_netlogon() to be IPv6/IPv4 agnostic. This compiles but I don't have a good test env. for this (although as the previous code was *completely* broken over IPv6 this will expose previously hidden bugs if it's broken :-). Jeremy.
2009-06-08Implement pdb_ads_enum_group_membersVolker Lendecke1-3/+57
2009-06-08Make "net ads listmem" also work for domain groupsVolker Lendecke1-14/+34
2009-06-08nsswitch: try to fix segfault in nss_winbind on NetBSD found by torture test.Günther Deschner1-2/+2
Guenther
2009-06-08Fix some nonempty blank linesVolker Lendecke1-34/+34
2009-06-08s3-lsa: remove old code that we cannot even compile anymore.Günther Deschner1-111/+0
Guenther
2009-06-08s4-smbtorture: when testing RPC-SAMR-LARGE-DC its fine to just close the ↵Günther Deschner1-13/+17
objects. Guenther
2009-06-08nss_wrapper: fix typo in testsuite.Günther Deschner1-1/+1
Guenther
2009-06-08s4-smbtorture: add test_QueryDisplayInfo_level to RPC-SAMR-LARGE-DC.Günther Deschner1-6/+79
Guenther
2009-06-08libsamba-util: Fix soversion.Jelmer Vernooij1-1/+1
2009-06-08python: Fix samba4.dcerpc.rpcecho.RpcEchoTests.test_surrounding test.Jelmer Vernooij1-1/+1
2009-06-08Make open_udp_socket() IPv6 clean. Trying to fix bug #6437 - Unable to join ↵Jeremy Allison1-10/+25
IPv6-only ads domain. Avaiting feedback from submitter before backport to 3.4 and earlier. Jeremy.
2009-06-08s4:heimdal: fix build on FreeBSDBjörn Jacke2-1/+4
Patch from Timur I. Bakeyev sent to samba-technical: Heimdal requires openpty() presence. FreeBSD has in in standard libc, so autodetection works, but compilation fails, as declaration of this function is missing. This patch adds proper header detection and inclusion for openpty().
2009-06-08s3-spoolss: add server-support for queries for the "all" architecture in ↵Günther Deschner1-7/+67
printdriver enum calls. Guenther
2009-06-08s4-smbtorture: also test for "all" architecture in enum driver tests in ↵Günther Deschner1-5/+28
RPC-SPOOLSS. Guenther
2009-06-08Fix two 64-bit warningsVolker Lendecke1-2/+2
2009-06-08Implement pdb_[add|del]aliasmemVolker Lendecke1-2/+99
2009-06-08Add tlda_add_mod_strVolker Lendecke2-0/+19
2009-06-08Do not use a variable format stringVolker Lendecke1-1/+1
2009-06-08Implement pdb_ads_enum_aliasmemVolker Lendecke1-3/+86
2009-06-08Pass a talloc_ctx to pdb_enum_aliasmemVolker Lendecke13-22/+36
2009-06-08Implement pdb_ads_delete_aliasVolker Lendecke1-1/+44
2009-06-08Implement pdb_ads_create_dom_group()Volker Lendecke1-1/+69
2009-06-08s4-smbtorture: fix test_ReportEventLog in RPC-EVENTLOG.Günther Deschner1-2/+2
Guenther
2009-06-08s3-examples: fix usage for eventlog example script.Günther Deschner1-1/+1
Guenther
2009-06-08s3-samr: fix enum_acb_mask type (uint32 instead of uint16).Günther Deschner1-1/+1
Guenther
2009-06-08s3-rpcclient: allow to set query size for samr enum calls.Günther Deschner1-16/+32
Guenther
2009-06-08s3:Makefile.in: use LIBDL as make variable instead of a shell variableStefan Metzmacher1-1/+1
metze
2009-06-08Fix make test_pam_modulesTimur I. Bakeyev2-2/+3
In Samba3 there is a very handy Makefile target 'test_pam_modules'. It let quickly veryfy, that obtained PAM module actually is loadable and doesn't miss any dependency libs. the only problem that on FreeBSD it doesn't work OOTB, as it unconditionally adds -ldl to the list of libraries when FreeBSD doesn't have it and doesn't need it. This small patch fixes the problem for FreeBSD and, I hope, still valid for othe systems, where -ldl is required. Has to be tested there though. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08Small fix to SMB_LIBRARY macroTimur I. Bakeyev1-2/+2
It seems, that SMB_LIBRARY macro has small bug in the logic, when showing if shall the SHARED version of the library be build. If the default value is given as a parameter, it reports "yes" when library is going to be build(?). This small patch makes report consistent. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08SIGRTMIN additionsTimur I. Bakeyev1-0/+3
In addition to [FreeBSD 14] there is another place, where we (re)define SIGRTMIN - in SMB_IF_RTSIGNAL_BUG macro in /source3/m4/aclocal.m4. Here is another small patch. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08Set SIGRTMIN to NSIGTimur I. Bakeyev2-4/+1
In the includes we define SIGRTMIN to 32 if it's not defined already. This value could be fairly low and it's better to use NSIG(number of defined signals) as the lower mark for the available signals. We have similar defenition in the source3/smbd/aio.c, which can be safely removed, as it comes from includes.h then. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08Check for dmalloc at the end of the configureTimur I. Bakeyev1-10/+10
Enabling dmalloc in Samba3 build leads to the wrong detection of the strndup() function - there isn't one in FreeBSD prior to 7.2, but dmalloc defines it, so, farther tests with -ldmalloc added wrongly find it. the cheapest fix is to move dmalloc detection and inclusion to the bottom of configure, so it can't affect detection of the system capabilities. Here is the patch. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08Add langinfo.h to the system/locale.hTimur I. Bakeyev2-1/+5
This patch for Samba4. It's not really inspired by any real need, just for the consistency. We define replace/system/locale.h as a generic header, that includes all locale related headers and we are using nl_langinfo at least in Samba3. So, it would be consistent to add yet another locale-related header to the set of locale.h headers. Here is the patch. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08Make tunable for modulesdirTimur I. Bakeyev1-0/+16
This patch is for Samba4. It adds configure tunable for modulesdir - location, where modules should be installed. In the case, when no FHS compliance is used and libdir is redefined, modulesdir still points to $PREFIX/modules. In some installations it may be not desired. I'd rather set it myself :) So, here is the patch. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08rl_event_hook detectionTimur I. Bakeyev1-1/+4
This patch is relevant for Samba4 source mostly. The way, how readline compiled under FreeBSD makes it require stdio.h to get all the necessary declarations. Without this addition rl_event_hook is not properly detected. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-06-08s3-test: finally enable RPC-SAMR against samba3.Günther Deschner1-1/+1
We now pass it :-) Guenther
2009-06-08s3-winbindd: workaround alias enumeration in expand_groups().Günther Deschner1-3/+16
alias enumeration in NSS is not done properly done atm and needs to be fixed. Guenther
2009-06-08s3-selftest: forward NSS_WRAPPER_WINBIND_SO_PATH env to tests.Günther Deschner1-0/+4
Guenther
2009-06-08test: add NSS_WRAPPER_WINBIND_SO_PATH to make test.Günther Deschner1-1/+2
Guenther
2009-06-08s3-samr: support _samr_SetGroupInfo level 2.Günther Deschner1-2/+2
Guenther
2009-06-08s4-smbtorture: exclude oem_information checking for s3 in RPC-SAMR.Günther Deschner1-4/+10
Guenther
2009-06-08s3-charcnv: always talloc_free in convert_string_talloc() error path.Günther Deschner1-2/+1
Guenther
2009-06-08s3-charcnv: remove remaining malloc references in convert_string_talloc().Günther Deschner1-2/+2
Guenther
2009-06-08nss_wrapper: add my copyright.Günther Deschner1-0/+1
Guenther
2009-06-08Further fix for 6449Volker Lendecke1-1/+1
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
2009-06-08Fix a valgrind error in "net rap user add"Volker Lendecke1-0/+1