summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | s3: Fix ntlm_auth and winbindd to use new common libcli/auth APIsAndrew Bartlett2009-04-142-11/+11
| |
* | Rework to use new API for common netlogon credential chainingAndrew Bartlett2009-04-142-13/+19
| |
* | Link in the common samsync decryption codeAndrew Bartlett2009-04-141-0/+1
| |
* | libcli/auth Push schannel check into common libcli/authAndrew Bartlett2009-04-141-4/+9
| | | | | | | | | | | | | | This means we have a single choke point to ensure the remote client is using schannel. Andrew Bartlett
* | Make Samba3 use the new common libcli/auth codeAndrew Bartlett2009-04-1412-144/+164
| | | | | | | | | | This is particuarly in the netlogon client (but not server at this stage)
* | Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett2009-04-1427-331/+330
| | | | | | | | | | | | | | In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett
* | Rework netlogon credentials for the top levelAndrew Bartlett2009-04-142-59/+130
| | | | | | | | | | | | | | | | | | | | | | This makes constructor functions that return the allocated structure, rather than having the caller pass them in, and makes the server init function also check the first credential. The rename of creds_ to netlogon_creds should make it more clear what this code works with. Andrew Bartlett
* | Push schannel_state.c into the top level.Andrew Bartlett2009-04-144-284/+323
| | | | | | | | | | | | This is the server side state for netlogon credential chaining Andrew Bartlett
* | Use common samsync delta decryption functions in libnet_samsync.cAndrew Bartlett2009-04-144-291/+209
| | | | | | | | Andrew Bartlett
* | More work to adapt to merged libcli/auth function prototypesAndrew Bartlett2009-04-145-16/+20
| |
* | Adapt to common crypto functions: sam_pwd_hash() -> sam_rid_crypt()Andrew Bartlett2009-04-142-8/+10
| |
* | libcli/auth Don't compile against un-needed Samba4 headersAndrew Bartlett2009-04-141-1/+0
| |
* | Port Samba4 to the new combined libcli/auth functionsAndrew Bartlett2009-04-146-49/+11
| | | | | | | | | | | | | | For example, some of the new shared functionality was previously in the wkssvc torture test. Andrew Bartlett
* | Move ntlm_check.h into the common libcli/authAndrew Bartlett2009-04-141-0/+0
| |
* | Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett2009-04-1448-2520/+198
| | | | | | | | | | | | | | | | | | | | | | This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
* | Merge smbencrypt.c between Samba3 and Samba4Andrew Bartlett2009-04-141-31/+219
| |
* | Rework trivial msrpc parser to use convert_string_talloc()Andrew Bartlett2009-04-141-21/+21
| | | | | | | | | | | | | | | | | | Also avoid still string conversions when trying to match NTLMSSP in the header of the NTLMSSP packet. This also changes a few things to avoid const warnings. Andrew Bartlett
* | Move MSRPC-PARSE into the common libcli/authAndrew Bartlett2009-04-143-6/+6
| | | | | | | | This is a depenceny of smbencrypt.c
* | Move DRSUAPI per-attribute decryption into a common fileAndrew Bartlett2009-04-149-347/+249
| | | | | | | | | | | | | | This file (contining metze's decryption routines) is now also be used by Samba3's DRSUAPI implementation Andrew Bartlett
* | Move libcli/auth to the top levelAndrew Bartlett2009-04-1411-18/+14
|/
* s3:charcnv remove now unused malloc() based conversion functionsAndrew Bartlett2009-04-142-43/+0
|
* Add some harmless use of talloc_tos() in ntlm_authAndrew Bartlett2009-04-142-5/+5
|
* Convert Samba3 to use the common lib/util/charset APIAndrew Bartlett2009-04-1421-356/+190
| | | | | | | | | | | | This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett
* Solve some of the conflict between Samba3 and Samba4 push_stringAndrew Bartlett2009-04-148-53/+86
| | | | | | | | This renames push_string in Samba3 into push_string_base and push_string_check for the two different use cases. This should allow push_string to be imported from Samba4, using it's calling conventions.
* Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-develAndrew Bartlett2009-04-144-41/+102
|\
| * s3-rpcclient: add set_job command.Günther Deschner2009-04-131-0/+55
| | | | | | | | Guenther
| * s4-smbtorture: fix two valgrind warnings.Günther Deschner2009-04-131-0/+2
| | | | | | | | Guenther
| * s4-smbtorture: disable test_SecondaryClosePrinter when running against s3 ↵Günther Deschner2009-04-131-4/+8
| | | | | | | | | | | | for now. Guenther
| * s4-smbtorture: move test_ReplyOpenPrinter from RPC-SPOOLSS to ↵Günther Deschner2009-04-132-36/+36
| | | | | | | | | | | | RPC-SPOOLSS-NOTIFY. Guenther
| * s3-spoolss: fix typo in fill_printer_driver_info3().Günther Deschner2009-04-131-1/+1
| | | | | | | | Guenther
* | s4:ldb Make it possible to re-run ldap.py againAndrew Bartlett2009-04-141-2/+6
|/ | | | | | The parentGUID test didn't clean up after itself correctly. Andrew Bartlett
* s3-loadparm: Fix resume command typo for "printing = vlp".Günther Deschner2009-04-131-1/+1
| | | | Guenther
* s3-spoolss: Fix permission checks for _spoolss_AddForm,SetForm and DelForm.Günther Deschner2009-04-131-12/+34
| | | | | | Found by smbtorture test. Guenther
* s3: re-run make samba3-idl.Günther Deschner2009-04-133-3/+29
| | | | Guenther
* spoolss: add spoolss_DriverAttributes bitmask.Günther Deschner2009-04-131-2/+6
| | | | Guenther
* s3-spoolss: use enumprinterdrivers_level() for level 3 enum.Günther Deschner2009-04-131-67/+6
| | | | Guenther
* s3-spoolss: use enumprinterdrivers_level() for level 2 enum.Günther Deschner2009-04-131-66/+6
| | | | Guenther
* s3-spoolss: use enumprinterdrivers_level() for level 1 enum.Günther Deschner2009-04-131-67/+7
| | | | Guenther
* s3-spoolss: add generic enumprinterdrivers_level function.Günther Deschner2009-04-131-0/+86
| | | | Guenther
* s4-smbtorture: use printerinfo level 1 name, not description inGünther Deschner2009-04-131-4/+11
| | | | | | test_EnumPrinters_old(). Guenther
* s3: re-run make samba3-idl.Günther Deschner2009-04-132-73/+73
| | | | Guenther
* spoolss: fix order of strings in PrinterInfo1 structs.Günther Deschner2009-04-131-2/+2
| | | | Guenther
* Use convert_string_talloc, thanks Andrew!Volker Lendecke2009-04-131-1/+1
|
* We have to deny a level 2 oplock if kernel oplocks are enabledVolker Lendecke2009-04-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | The second r/o opener of a file is supposed to get a level2 oplock. The first opener due to the protection in process_oplock_break_message() has been forced to break to no oplock. The second opener according to locking.tdb gets a level2 oplock. Further down in open_file_ntcreate we try to set this level2 oplock in the kernel, and the non-clustered Linux kernel disallows this. The rules for the kernel leases are a bit baroque, but the attempt to do the SETLEASE correctly fails and we end up with no oplock for any client. In the clustered case however the linux kernel on the second opening node has not seen the open fd of the first node, it is only the cluster fs that has this information. If the cluster fs does not have the very same notion of leases as the local kernel has, we can end up with a WRLCK style kernel lease for the second opener where locking.tdb only indicates a level2 oplock. Getting a kernel oplock break signal with just a level2 oplock in locking.tdb is something smbd is not prepared for. For example after sending out the break in response to the kernel signal we set a timeout, waiting for a reply. More work needs to be done to make level2 kernel oplocks real for us. This patch addresses a real problem we have right now without them.
* Fix a bug in smbclient not sending the correct called nameVolker Lendecke2009-04-121-1/+5
| | | | | | | | | | | | | | Jeremy, I think the ability to say smbclient //foo/bar -I <ip-address> -p 139 making the called name to "foo" got lost with 3d2d0203. Was this removed deliberately? If so, please revert this patch. If not, please merge appropriately. Thanks, Volker
* Add "netbios retarget"Volker Lendecke2009-04-121-0/+93
| | | | | | | | This is fun -- XP still does this :-) netbios retarget : foo = 192.168.234.10:1139 and if you connect to port 139 name foo, XP will happily do SMB over 1139
* Reactivate get_socket_portVolker Lendecke2009-04-122-4/+2
|
* write_data already guarantees everything was writtenVolker Lendecke2009-04-121-9/+6
|
* Extract and print the server name type the client connects toVolker Lendecke2009-04-121-7/+7
|
* Fix some nonempty blank linesVolker Lendecke2009-04-111-4/+4
|