summaryrefslogtreecommitdiffstats
path: root/source3/rpc_server
Commit message (Collapse)AuthorAgeFilesLines
* Remove tiny code duplicationVolker Lendecke2007-12-292-2/+2
| | | | | ndr_size_security_descriptor does the same as sec_desc_size (This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
* Remove a silly staticVolker Lendecke2007-12-271-6/+6
| | | | (This used to be commit ef75dcc9ffda85d77c8f22d0db702efbf8e642ed)
* Deactive remote join code server side until some last issues are resolved.Günther Deschner2007-12-211-0/+4
| | | | | Guenther (This used to be commit 1489870f05695a929902264eb9b95eab886bdaa6)
* Add _wkssvc_NetrJoinDomain2() server.Günther Deschner2007-12-211-3/+66
| | | | | Guenther (This used to be commit 9b0423e7d918b7b3837ca4ebf997edd80d4da6de)
* Some C++ fixesVolker Lendecke2007-12-214-4/+12
| | | | (This used to be commit 5c392c4c6e277a24d0d477902dc7856b2b46ee53)
* Some C++ warningsVolker Lendecke2007-12-214-4/+4
| | | | (This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d)
* Change the prototype of the vfs function get_nt_acl().Michael Adam2007-12-191-25/+1
| | | | | | | | | | | | | | | Up to now, get_nt_acl() took a files_struct pointer (fsp) and a file name. All the underlying functions should need and now do need (after the previous preparatory work), is a connection_struct and a file name. The connection_struct is already there in the vfs_handle passed to the vfs functions. So the files_struct argument can be eliminated. This eliminates the need of calling open_file_stat in a couple of places to produce the fsp needed. Michael (This used to be commit b5f600fab53c9d159a958c59795db3ba4a8acc63)
* Remove Get_Pwnam and its associated static variableVolker Lendecke2007-12-191-2/+6
| | | | | All callers are replaced by Get_Pwnam_alloc (This used to be commit 735f59315497113aebadcf9ad387e3dbfffa284a)
* More static fstring elimination.Jeremy Allison2007-12-171-14/+14
| | | | | Jeremy. (This used to be commit b4dfec09e89428cac9b21a94ce4d24e60d4a54f4)
* Fix for bug #4801: Correctly implement lsa lookup levels for lookupnames.Michael Adam2007-12-171-9/+28
| | | | | | | | | This patch is still incomplete in that winbindd does not walk the the trusted domains to lookup unqualified names here. Apart from that this fix should be pretty much complete. Michael (This used to be commit f7efc0eca9426e63b751c07a90265a12bb39cf95)
* Fix flags in call of lookup_name() in srv_samr_nt.c: can_create().Michael Adam2007-12-171-2/+2
| | | | | | | Use LOOKUP_NAME_LOCAL instead of LOOKUP_NAME_ISOLATED. Michael (This used to be commit 1d4e0ad1142c61de402c925306f02f5de2c872f6)
* Make smb_np_struct talloc'edVolker Lendecke2007-12-161-8/+11
| | | | | Convert "name" from string to a talloc'ed char * (This used to be commit e82069f921b3a22295db91e092c22c459ccd7215)
* Remove unused codeVolker Lendecke2007-12-161-14/+0
| | | | (This used to be commit fcd45ad6fb8d89bf6106fbed101060dbe422661a)
* s/sid_to_string/sid_to_fstring/Volker Lendecke2007-12-152-4/+4
| | | | | least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
* Replace sid_string_static with sid_to_stringVolker Lendecke2007-12-151-1/+3
| | | | | | This adds 28 fstrings on the stack, but I think an fstring on the stack is still far better than a static one. (This used to be commit c7c885078be8fd3024c186044ac28275d7609679)
* Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2007-12-154-67/+65
| | | | (This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
* Revert "Fix for bug #4801: Correctly implement lsa lookup levels for ↵Stefan Metzmacher2007-12-141-28/+9
| | | | | | | | | | | | lookupnames." As it breaks all tests which try to join a new machine account. So more testing is needed... metze This reverts commit dd320c0924ce393a89b1cab020fd5cffc5b80380. (This used to be commit cccb80b7b7980fbe1298ce266375e51bacb4a425)
* Fix for bug #4801: Correctly implement lsa lookup levels for lookupnames.Michael Adam2007-12-131-9/+28
| | | | | | | | | | This is a first patch aimed at fixing bug #4801. It is still incomplete in that winbindd does not walk the the trusted domains to lookup unqualified names here. Apart from that this fix should be pretty much complete. Michael (This used to be commit dd320c0924ce393a89b1cab020fd5cffc5b80380)
* Fix return values for invalid printers. Found by kblinJeremy Allison2007-12-101-5/+14
| | | | | | spoolss test. Jeremy. (This used to be commit bb8c044d425cf62b76e487103c8fb0b6cd4c83c2)
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-3/+3
| | | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* Don't copy the rpc function pointersVolker Lendecke2007-12-091-7/+3
| | | | | | | | This actually shows up in a valgrind massif run with 4.1% of allocated memory. I don't see why we would have to make a copy here. Metze? (This used to be commit 616d6b97e594a846e9b3ac4cbe48538d649462e9)
* Remove some globalsVolker Lendecke2007-12-051-4/+4
| | | | (This used to be commit 31d0a846db08d845e6cdfd85def4ac1c34031e02)
* Fix some C++ warningsVolker Lendecke2007-12-011-15/+10
| | | | (This used to be commit 156c7f10bb63a610f85b52242cfd1b67bfa73c29)
* Merge recent wkssvc changes from samba4.Günther Deschner2007-11-301-27/+27
| | | | | Guenther (This used to be commit 7539fb4c840a9b4429f347cebbda9c631746267a)
* Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison2007-11-291-3/+9
| | | | | | | Make us very explicit about how long a talloc ctx should last. Jeremy. (This used to be commit ba9e2be2b5a59684e854609f9d82ea1633448c62)
* Fixed obvious typo.Jeremy Allison2007-11-271-1/+1
| | | | | Jeremy. (This used to be commit 9755c5311416f17bac0a848d027cafb3fd487618)
* Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.cJeremy Allison2007-11-271-232/+306
| | | | | Jeremy. (This used to be commit b5a2a1e3f82a0d319fc9a1d76f5166150680f4d4)
* Fix old cut-and-paste bug where the wrong field was being written to.Jeremy Allison2007-11-271-2/+2
| | | | | | Jerry please check. Jeremy. (This used to be commit 6a556fd73ac8c247c15df664f7910f8688abfdbc)
* Whitespace cleanup.Jeremy Allison2007-11-271-1037/+1035
| | | | | Jeremy. (This used to be commit 3052172d2bfe9d787777525e90816394aac2dd54)
* Remove pstrings from everything except srv_spoolss_nt.c.Jeremy Allison2007-11-271-195/+315
| | | | | Jeremy. (This used to be commit 0002a9e96b0ef78316295a6eb94ff29b64e2f988)
* fix a obscure compiler warningGuenther Deschner2007-11-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jeremy, I have never seen this warning before: "warning: comparison is always false due to limited range of data type". Guenther - -- Günther Deschner GPG-ID: 8EE11688 Red Hat gdeschner@redhat.com Samba Team gd@samba.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHTIOOSOk3aI7hFogRArxMAJwP0ktE96tHcwn9nXG6AOqonpeDgQCgm/zi 54B6HJZvx6zdUTMFFNWqUb0= =kUJa -----END PGP SIGNATURE----- >From 6a4935ee455adc1251fce2759f97d35f303bd40e Mon Sep 17 00:00:00 2001 From: =?utf-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> Date: Tue, 27 Nov 2007 21:48:39 +0100 Subject: [PATCH] Getting rid of "comparison is always false due to limited range of data type" warning. Guenther (This used to be commit 951202913956e113841585f7372e8db8f9aeb76a)
* Remove pstring from everything in rpc_server exceptJeremy Allison2007-11-277-268/+358
| | | | | | | srv_spoolss_nt.c and srv_srvsvc_nt.c. They're next :-). Jeremy. (This used to be commit 55b4f9d003b036af69085f7b64e0df08c5ba440d)
* Remove some staticsVolker Lendecke2007-11-271-1/+2
| | | | (This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
* More pstring removal. This one was tricky. I had to addJeremy Allison2007-11-152-21/+27
| | | | | | | one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)
* Make [f]get_nt_acl return NTSTATUSVolker Lendecke2007-11-131-3/+8
| | | | (This used to be commit dcbe1bf942d017a3cd5084c6ef605a13912f795b)
* Remove all pstrings from smbd/chgpasswd.c.Jeremy Allison2007-11-121-26/+32
| | | | | Jeremy. (This used to be commit eaf14c701b08e9eff5b94bf57af68cb29142d7fc)
* Make base64_encode_data_blob return a talloced stringVolker Lendecke2007-11-091-4/+4
| | | | (This used to be commit 5f205ab48d8ac3b7af573ea0be1ce095ab835448)
* Fix case where we have no dns domain name. Return a talloc of "".Jeremy Allison2007-11-081-1/+1
| | | | | Jeremy. (This used to be commit ab8934844a8ae08657769ce1787c32f14a7eb745)
* Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison2007-11-082-9/+11
| | | | | Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
* pstring removalVolker Lendecke2007-11-052-18/+12
| | | | (This used to be commit f5468d2c9abad41cb1e9d9b9ec6a1b56564961a4)
* Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison2007-11-031-2/+2
| | | | | | | I have a plan for dealing with the remaining..... Watch this space. Jeremy. (This used to be commit 963fc7685212689f02b3adcc05b4273ee5c382d4)
* I can't get away without a 'length' arg. :-).Jeremy Allison2007-11-031-1/+1
| | | | | Jeremy. (This used to be commit 95d01279a5def709d0a5d5ae7224d6286006d120)
* Stop get_peer_addr() and client_addr() from using globalJeremy Allison2007-11-031-2/+4
| | | | | | statics. Part of my library cleanups. Jeremy. (This used to be commit e848506c858bd16706c1d7f6b4b032005512b8ac)
* Patch 2 of 3 from Debian Samba packagers:Gerald (Jerry) Carter2007-11-011-2/+2
| | | | | | | | | | | | | | | | | | The point is doing the following associations: - non discardable state data (all TDB files that may need to be backed up) go to statedir - shared data (codepage stuff) go to codepagedir The patch *does not change* the default location for these directories. So, there is no behaviour change when applying it. The main change is for samba developers who have to think when dealing with files that previously pertained to libdir whether they: - go in statedir - go in codepagedir - stay in libdir (This used to be commit d6cdbfd875bb2653e831d314726c3240beb0a96b)
* This is a large patch (sorry). Migrate from struct in_addrJeremy Allison2007-10-242-15/+21
| | | | | | | | | | | | | | to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy. (This used to be commit 98e154c3125d5732c37a72d74b0eb5cd7b6155fd)
* Streamline logic, reducing the amount of indentation.Michael Adam2007-10-191-16/+15
| | | | | Michael (This used to be commit aae3d04e30a0e6f21f661da3dc6a2835d31ce964)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-1821-374/+374
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r16050: Set the session key "SystemLibraryDTC" on ntlmssp binds. We only do ↵Volker Lendecke2007-10-181-2/+22
| | | | | | | | | | | | | INTEGRITY and PRIVACY, so no other cases to take care of so far... Andrew B., if you have time, could you take a look? This makes us survive the RPC-SAMBA3SESSIONKEY test. Volker (cherry picked from commit 25cc1e7ff15675b70001d1cb8d8584880650dd2e) (This used to be commit b4746009735bf66b2578b884973c505b0363a79d)
* r17064: lsa_GetUserName needs to return the name for S-1-5-7 on an anonymous ↵Volker Lendecke2007-10-171-4/+16
| | | | | | | | | | | | | | login. Found that because I want to play around with setsharesecurity, for this I need the "whoami" call figuring out the SID of the currently connected user. Not activating this test yet until the build farm has picked up the new samba4 revision. Volker (cherry picked from commit 5cfe482841b77208b68376f9e2b8a4a62271f7c9) (This used to be commit 15935bad1d756d3896f0687108e60ca10a35a936)
* Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison2007-10-101-2/+2
| | | | | | | | | | | IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy. (This used to be commit 3f6bd0e1ec5cc6670f3d08f76fc2cd94c9cd1a08)