summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-04-06Add new async libsmb infrastructureVolker Lendecke4-0/+807
I know this is just yet another iteration, but I like this one much better than the one that exists right now :-) It will do trans and echo requests without a _recv helper and without unnecessary memcpy().
2009-04-06Add read_smb_send/recv, dumping keepalivesVolker Lendecke2-0/+92
2009-04-06s3:libads Make ads_get_dn() take a talloc contextAndrew Bartlett11-71/+58
Also remove ads_memfree(), which was only ever a wrapper around SAFE_FREE, used only to free the DN from ads_get_ds(). This actually makes libgpo more consistant, as it mixed a talloc and a malloc based string on the same element. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06s3:printing Convert nt_printer_publish_ads() to use talloc betterAndrew Bartlett1-26/+18
In particular, this removes one more user of pull_utf8_allocate() Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06s3:smbldap Remove smbldap_get_dnAndrew Bartlett5-58/+23
This removes one more caller to pull_utf8_allocate() Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-06Make some functions static to vfs_gpfs.cVolker Lendecke1-14/+14
2009-04-06Add prototype for smbd_gpfs_get_realfilename_pathVolker Lendecke1-0/+2
2009-04-06Fix two c++ warnings in vfs_gpfs.cVolker Lendecke1-2/+2
2009-04-05Use the server config file for smbpasswd -a user in make testVolker Lendecke1-1/+1
Without this, smbpasswd generated a SID for the netbios name TORTURE_6. This SID somehow ended up in the user's token for quite a number of tests, leading to NT_STATUS_ACCESS_DENIED. I haven't fully understood what is going on here, but with this patch I could not reproduce the ACCESS_DENIED anymore. It might be coincidence and this patch does not fix anything, but for me it does not really hurt either. Metze, please check! Volker
2009-04-05Remove a silly checkVolker Lendecke1-7/+0
This does not increase security, and if later error messages suck, we have to fix those.
2009-04-05Remove async_req dependency from cli_pull_transVolker Lendecke1-23/+25
2009-04-05Fix smbd crash for close_on_completionVolker Lendecke1-0/+4
handle_trans() can talloc_free "conn" if the client requests close_on_completion. "state" is a talloc_child of conn, so it will be gone when we later free state->data et al.
2009-04-05Keep the forked-smbd stdout reader around longerVolker Lendecke1-3/+8
2009-04-05Ensure 0-termination for the forked-smbd debug outputVolker Lendecke1-0/+1
2009-04-05Pass the current debuglevel down to the forked smbdVolker Lendecke1-1/+2
2009-04-03s3-samr: add support for setting password hashes via samr_SetUserInfo level 21.Günther Deschner1-4/+53
Guenther
2009-04-03Use cluster-aware procid_is_me instead of comparing pid'sVolker Lendecke1-2/+2
2009-04-03Use procid_str in debug messages for better cluster-debuggabilityVolker Lendecke2-13/+15
2009-04-03s3-build: fix the build after tsocket changes.Günther Deschner1-2/+0
Metze, please check. Guenther
2009-04-02s3-lsa: use LSA_ROLE definitions in _lsa_QueryInfoPolicy().Günther Deschner1-2/+2
Guenther
2009-04-02s3-lsa: don't SAFE_FREE talloced structs.Günther Deschner1-2/+2
Guenther
2009-04-02s3-spoolss: implement _spoolss_GetPrinterDriver2 level 101 (Bug #5140).Günther Deschner1-5/+238
Guenther
2009-04-01Allow pdbedit to change a user rid/sid. Based on a fix from Alexander ↵Jeremy Allison1-3/+57
Zagrebin <alexz@visp.ru>. Jeremy.
2009-04-01Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison2-32/+27
2009-04-01s3 onefs: Quiet a log message about oplocks being requested on streamsTim Prouty1-21/+16
2009-04-02s3:net conf: don't store share names as lower case, but as given.Michael Adam1-11/+11
Michael
2009-04-01Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison4-84/+142
2009-04-01s3-auth: rename static smb_create_user(). Sorry...Günther Deschner1-2/+2
Guenther
2009-04-01s3-libnet-samsync: return appropriate error code in fetch_sam_entry().Günther Deschner1-22/+25
Guenther
2009-04-01s3-libnet-samsync: use smb_create_user().Günther Deschner1-46/+6
Guenther
2009-04-01s3-passdb: add smb_create_user().Günther Deschner2-0/+63
Guenther
2009-04-01s3-libnet-samsync: some pure cosmetics.Günther Deschner1-0/+30
Guenther
2009-04-01s3-libnet-samsync: use parent talloc context for libnet_samsync_passdb.Günther Deschner1-26/+28
Guenther
2009-04-01Merge branch 'master' of ssh://jra@git.samba.org/data/git/sambaJeremy Allison9-170/+328
2009-04-01s3-libnet: only call libnet_dssync_process() startup and shutdown callbacks ↵Günther Deschner1-12/+16
when filled in. Guenther
2009-04-01Print an error if trying a merged build without a system kerberos libVolker Lendecke1-0/+9
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-04-01s3: fix the fix for bug #6195 - dont let smbd child processes panicMichael Adam1-2/+16
This patch makes sure the original and temporary TDBs are closed _before_ the rename. Originally, the open TDB was renamed, and so the name passdb.tdb.tmp stayed around in the db context. Hence upon client connect, the smbd children died because reinit_after_fork() calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which existed no longer... Michael
2009-04-01s3:build: add targets to show how libraries will be built / linkedMichael Adam1-0/+120
showlibtalloc, showlibtdb, ... and one overall showlibs target. Michael
2009-04-01s3:build: don't build the static libs unconditionallyMichael Adam1-7/+7
Michael
2009-04-01s3:build: add LIBSMBCLIENT_LIBS and LIBSMBSHAREMODES_LIBS to MakefileMichael Adam1-0/+2
for completeness Michael
2009-04-01s3:build: no need to set LIBFOO_STATIC to the object collection any moreMichael Adam1-1/+1
now that the @LIBFOO_STATIC@ entries have vanished from the object lists. Just use the static library. Michael
2009-04-01s3:build: rename WINBIND_LIBS -> LIBWBCLIENT_LIBS for unificationMichael Adam2-31/+31
Michael
2009-04-01s3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@Michael Adam2-53/+55
just like for the libs configured with SMB_LIBRARY(). This makes @LIBWBCLIENT_STATIC@ vanish from the object collections. Michael
2009-04-01s3:build: first cut at fixing linking of shared/static libs internallyMichael Adam2-79/+85
This is based on a patch from the debian packages by Steve Langasek <vorlon@debian.org>. It removes the static libs from the object collections. For those libs that are set up with SMB_LIBRARY(). Michael
2009-03-31Tidy up some convert_string_internal error cases, found by Andrew Bartlett.Jeremy Allison1-6/+19
Jeremy.
2009-03-31s3 onefs: Add missing newlines to debug statements in the onefs moduleTim Prouty4-15/+16
2009-03-31s3 onefs: Async failures are resulting in SMB_ASSERT->smb_panic while ↵Zack Kirsch1-2/+2
running many of the LOCK torture tests. Return true from the onefs cancel function if we've errored, which can happen when the CBRL domain is configured to only give out 1 lock. :)
2009-03-31Fix an uninitialized variable valgrind errorVolker Lendecke1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-03-31s3:build: fix build of pam_winbind.so with static linkingMichael Adam1-1/+1
Static talloc libs were missing since conversion to talloc. Michael
2009-03-31s3:build: add a SHOWCFLAGS target for debugging how CFLAGS are assebledMichael Adam1-0/+15
Michael