summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2009-03-23Fix connect to port 139 only -- thanks gd for bugging me :-)Volker Lendecke1-4/+3
2009-03-22Only build the dirsort module if we have the dirfd functionVolker Lendecke1-2/+2
Fix the build on HP/UX
2009-03-22Use StrCaseCmp in the dirsort moduleVolker Lendecke1-1/+1
2009-03-22Add dirsort moduleAndy Kelk3-1/+201
2009-03-21s3:nmbd: implement a MAILSLOT => CLDAP proxy for NETLOGON_SAMLOGON requestsStefan Metzmacher3-0/+246
This will be used as part a the franky setup, where nmbd will forward the MAILSLOT requests to the local samba4 CLDAP server. "nmbd_proxy_logon:cldap_server = 127.0.0.1" would configure and activate this feature. metze
2009-03-21s4:selftest: rename SMBD_VALGRIND => SAMBA_VALGRINDStefan Metzmacher1-6/+6
metze
2009-03-20s3-spoolss: _spoolss_EnumPrinters level 3 always returns WERR_UNKNOWN_LEVEL.Günther Deschner1-3/+0
Guenther
2009-03-20s3-spoolss: implement enumprinters_level4.Günther Deschner1-1/+24
Guenther
2009-03-20s3-spoolss: implement enumprinters_level5.Günther Deschner1-2/+8
Guenther
2009-03-20s3-spoolss: use enum_all_printers_info_level for level 1 and 2.Günther Deschner1-110/+8
Guenther
2009-03-20s3-spoolss: add enum_all_printers_info_level().Günther Deschner1-0/+77
Guenther
2009-03-20s3-spoolss: apply some const in spoolss server.Günther Deschner3-42/+45
Guenther
2009-03-20s3-rpcclient: allow to set flags in enumprinters command.Günther Deschner1-4/+9
Guenther
2009-03-20s3-netapi: Fix Coverity #774 (REVERSE_INULL).Günther Deschner1-6/+3
Guenther
2009-03-20s3-netapi: Fix Coverity #775 (REVERSE_INULL).Günther Deschner1-6/+3
Guenther
2009-03-20s3-netapi: Fix Coverity #776 (REVERSE_INULL).Günther Deschner1-7/+3
Guenther
2009-03-20s3-krb5: Fix Coverity #762 (REVERSE_INULL).Günther Deschner1-6/+6
Guenther
2009-03-20s3-net: Fix Coverity #861 (UNINIT).Günther Deschner1-1/+1
Guenther
2009-03-20s3-net: Fix Coverity #898 (UNINIT).Günther Deschner1-1/+1
Guenther
2009-03-20s3-spoolss: pure comsetics.Günther Deschner4-190/+188
sorry, I just need to do that. Guenther
2009-03-20s3-krb5: Fix Coverity #722 (RESOURCE_LEAK).Günther Deschner1-12/+18
Guenther
2009-03-20s3-net: Fix Coverity #886 (FORWARD_NULL).Günther Deschner1-1/+1
Guenther
2009-03-20s3-samr: try to to fix password_expired flag handling.Günther Deschner3-52/+161
Guenther
2009-03-20Fix crash in async_smb.cBo Yang1-3/+6
2009-03-19add a versiontest program to print samba_version_string().Michael Adam2-0/+30
This is to allow for testing samba_version_string() without the need to compile any of the larger binaries like smbd or net... Michael
2009-03-19version: fix handling of SAMBA_VERSION_VENDOR_PATCH.Michael Adam1-1/+2
We need a string version of this, or else version.c does not compile. Michael
2009-03-19s3: Fix a free of an uninitialized variable in winbind_get_sid_aliasesDan Sledz1-1/+0
2009-03-19s3:libads: use libcli/cldap codeStefan Metzmacher1-229/+67
metze
2009-03-19s3:build: compile lib/tsocket and libcli/cldapStefan Metzmacher1-1/+13
metze
2009-03-19fix build on old Heimdal based systemsBjörn Jacke1-5/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2009-03-19s3:libsmb: always create bytes array in cli_trans codeStefan Metzmacher1-5/+14
Otherwise we return NO_MEMORY without a reason for fragmented trans requests, as talloc_append_blob() returns buf if we append a 0 length blob. When we pass buf = NULL we'll get back NULL and then assume NO_MEMORY... metze
2009-03-19s3:libsmb: fix smb signing for fragmented trans/trans2/nttrans requestsStefan Metzmacher1-23/+7
Before we send the secondary requests we need to remove the old mid=>seqnum mapping and reset cli->mid and make the new mid=>seqnum mapping "persistent". The bug we had in cli_send_trans was this: The first cli_send_smb() incremented cli->mid and the secondary requests used the incremented mid, but as cli->outbuf still had the correct mid, we send the correct mid to the server. The real problem was that the cli_send_smb() function stored the seqnum under the wrong mid. cli_send_nttrans() was totally broken and now follows the same logic as cli_send_trans(). The good thing is that in practice the problem is unlikely to happen, because max_xmit is large enough to avoid secondary requests. metze
2009-03-19s3:lib/util_sock: use sys_recv() instead of sys_read() on socketsStefan Metzmacher1-2/+2
This ways the pcap support in socket wrapper sees the received data. metze
2009-03-18Modify simple POSIX open test to use filenames containing a ':'Jeremy Allison1-2/+2
character. Should stop regressions of bug #6196. Jeremy.
2009-03-18Allow DFS client paths to work when POSIX pathnames have beenJeremy Allison1-2/+12
selected (we need to path in pathname /that/look/like/this). Jeremy.
2009-03-18Fix bug #6196 - Unable to serve files with colons to Linux CIFS/VFS clientJeremy Allison1-2/+7
Looks like the pathname parsing for POSIX paths got broken when the code for doing Windows streams parsing got added. Jeremy.
2009-03-18s3 onefs: Correctly error out when the read returns EOFTim Prouty1-5/+9
Also add some more debugging.
2009-03-18Fix bug #6195 - Migrating from 3.0.x to 3.3.x can fail to update passdb.tdb ↵Jeremy Allison2-19/+206
correctly. This is a really nasty one to fix as in order to successfully update the passdb.tdb we must do the equivalent of a tdbbackup to move to the new hash values before we do the upgrade. Jeremy.
2009-03-18s3: remove POLICY_HND.Günther Deschner43-376/+360
Guenther
2009-03-18s3-rpc_parse: remove some unused parsing code.Günther Deschner2-351/+0
Guenther
2009-03-18s3-spoolss: fix _spoolss_GetPrinterData printerserver handle query error code.Günther Deschner1-1/+1
When _spoolss_GetPrinterData receives a query on a printserver handle for a value that we have not stored or do not provide, we need to return WERR_INVALID_PARAM, not WERR_BADFILE. Tested with w2k and w2k3 servers. Found by torture test. Guenther
2009-03-18s3-spoolss: fix _spoolss_EnumPrinterDataEx error path.Günther Deschner1-0/+4
When a windows clients queries the "" key, we need to make sure to return with the appropriate error (WERR_INVALID_PARAM in that case), and not fall through to the buffer size handling macros. Found by torture test. Guenther
2009-03-18s3-rpc_parse: remove unused BUFFER5 and UNISTR3.Günther Deschner5-183/+0
Guenther
2009-03-18s3-rpc_client: remove unused CLI_DO_RPC_WERR macro.Günther Deschner1-30/+0
Guenther
2009-03-18s3-smbcontrol: use correct PRINTER_NOTIFY flags.Günther Deschner1-3/+3
Guenther
2009-03-18spoolss: add my copyright.Günther Deschner3-1/+3
Guenther
2009-03-18s3-spoolss: remove include/rpc_spoolss.h.Günther Deschner2-168/+0
Guenther
2009-03-18s3-spoolss: remove rpc_server/srv_spoolss.c alltogether.Günther Deschner4-601/+5
Guenther
2009-03-18s3-spoolss: remove rpc_parse/parse_spoolss.c alltogether.Günther Deschner3-33/+1
Good-Bye, last hand-marshalled rpc functions, rest in peace. Guenther
2009-03-18s3-spoolss: remove old spoolss_EnumPrinterDataEx.Günther Deschner3-294/+0
Guenther