summaryrefslogtreecommitdiffstats
path: root/source3/smbd/lanman.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-smbd: convert lanman and notify code to TYPESAFE_QSORT()Andrew Tridgell2010-02-141-6/+2
|
* Fix bug #7122 - Reading a large browselist fails (server returns invalid ↵Jeremy Allison2010-02-091-3/+3
| | | | | | | | | | | | | | values in subsequent SMBtrans replies) There are two problems: 1). The server is off-by-one in the end of buffer space test. 2). The server returns 0 in the totaldata (smb_vwv1) and totalparams (smb_vwv0) fields in the second and subsequent SMBtrans replies. This patch fixes both. Jeremy.
* s3:smbd: use StrCaseCmp() instead of strcasecmpStefan Metzmacher2010-02-091-4/+3
| | | | metze
* s3:smbd: Fix really ugly bool vs. int bug!!!Stefan Metzmacher2010-02-091-2/+2
| | | | | | | | A comparison function for qsort needs to return an 'int'! Otherwise you'll get random results depending on the compiler and the architecture... metze
* s3:smbd: implement api_RNetServerEnum3Stefan Metzmacher2010-02-081-1/+212
| | | | | | This is needed to support large browse lists. metze
* s3:smbd: add/improve some DEBUG messages in api_RNetServerEnum2()Stefan Metzmacher2010-02-081-4/+6
| | | | metze
* s3:smbd: rename api_RNetServerEnum => api_RNetServerEnum2Stefan Metzmacher2010-02-081-3/+3
| | | | metze
* s3-lanman: Allow a level2 descriptor for a level1 NetShareGetInfoGiovanni Bajo2010-01-111-1/+3
| | | | | | | | Windows seems to allow this http://lists.samba.org/archive/samba-technical/2009-November/068116.html has a dump of this.
* s3: Remove the typedef for "auth_serversupplied_info"Volker Lendecke2010-01-101-1/+1
|
* s3-spoolss: use driver level info8 everywhere in spoolss server internally.Günther Deschner2009-12-081-25/+25
| | | | Guenther
* s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner2009-11-261-0/+2
| | | | | | samba. Guenther
* s3-printing: use spoolss types and structs while getting and deleting drivers.Günther Deschner2009-11-231-33/+28
| | | | Guenther
* s3/lanman: Workaround for KB932762.Volker Lendecke2009-06-271-0/+1
| | | | This addresses bug #6498.
* s3:smbd: move more session specific globals to struct smbd_server_connectionStefan Metzmacher2009-06-031-4/+9
| | | | metze
* s3-printing: simplify print_queue helper functions and return WERROR.Günther Deschner2009-05-061-10/+7
| | | | Guenther
* Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison2009-04-151-3/+3
| | | | | | | What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy.
* Convert api_NetUserGetGroups to use samr instead of pdbVolker Lendecke2009-02-101-50/+68
|
* Convert api_RNetGroupEnum to use samr instead of pdbVolker Lendecke2009-02-071-30/+81
|
* Close samr_handle if open_domain failedVolker Lendecke2009-02-071-0/+1
|
* Convert api_RNetUserEnum to use the srv_samr_nt.c directlyVolker Lendecke2009-02-011-26/+77
| | | | | | | This is a sample for other accesses to pdb to go via samr. The goal is to access passdb only via srv_samr_nt.c. If that is done, then we can easily swap in another samr implementation like for example samba4's via a unix domain socket.
* Fix nonempty blank linesVolker Lendecke2009-02-011-58/+57
|
* s3:put the browse list into cache_dir, not lock_dir.Michael Adam2009-01-161-2/+2
| | | | Michael
* Pass smb_request to send_trans_reply to match with send_[nt]trans[2]_replyVolker Lendecke2008-11-021-1/+1
|
* Use common util_file code.Jelmer Vernooij2008-10-121-3/+3
|
* Let send_trans_reply work on only the inbufVolker Lendecke2008-06-281-1/+1
| | | | | It does not really need the whole smb_request (This used to be commit d3facf4cbdb2915168e91d64c2d8320f67524df8)
* remove unused extern current_user from lanman.cVolker Lendecke2008-06-261-2/+0
| | | | (This used to be commit e2009c0b8dc229faf98ce189d2a906e58d3e1e63)
* Change print_access_check to take auth_serversupplied_info instead of ↵Volker Lendecke2008-06-261-6/+12
| | | | | | | current_user Reason: This is the main user of p->current_user which I would like to remove (This used to be commit fd43059b3dfa8cdac9814de1c76f963ba5de9bcb)
* Wrap the unix token info in a unix_user_token in auth_serversupplied_infoVolker Lendecke2008-06-191-6/+6
| | | | | No functional change, this is a preparation for more current_user ref removal (This used to be commit dcaedf345e62ab74ea87f0a3fa1e3199c75c5445)
* Remove some references to get_current_username() and current_user_infoVolker Lendecke2008-05-251-4/+4
| | | | (This used to be commit 344d69f95e217d16213eaa6b53141af6ab459708)
* Remove reference to current_user_info from lanman.cVolker Lendecke2008-05-251-13/+13
| | | | (This used to be commit f52d7c3faba4aa815d95883775f4859251406161)
* Cleanup size_t return values in callers of convert_string_allocateTim Prouty2008-05-201-1/+8
| | | | | | This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure. (This used to be commit 6b189dabc562d86dcaa685419d0cb6ea276f100d)
* Remove "user" from connection_structVolker Lendecke2008-05-101-4/+4
| | | | (This used to be commit 368454a27cb53a408ec416cbf37235b304592fb5)
* Remove the unix token info from connection_structVolker Lendecke2008-05-101-4/+4
| | | | (This used to be commit 2834dacc8d49f77fe55fb5d7e3eb2dda431d1d3d)
* Remove "userdom_struct user" from "struct user_struct"Volker Lendecke2008-05-051-4/+8
| | | | (This used to be commit 420de035237bb08bc470c9eb820f3da2edaa6805)
* Remove "guest" from "struct user_struct"Volker Lendecke2008-05-051-1/+1
| | | | (This used to be commit 570a6b80feb5b0dc23213ba936c721e766cd4818)
* Remove the unix token info from "struct user_struct"Volker Lendecke2008-05-051-4/+6
| | | | (This used to be commit aa2299d42adf4d27e707ac755e07be70d0af1bb4)
* Remove "logon_script" from "struct user_struct"Volker Lendecke2008-05-051-8/+8
| | | | (This used to be commit b36fd84186a656f86e4cfb9166fc0ecbffb422cb)
* Remove "homedir" from "struct user_struct"Volker Lendecke2008-05-051-2/+12
| | | | (This used to be commit 41f9afd62d8cc6067582d452f3d53a5c67253b69)
* Fix some "ignoring asprintf result" warningsVolker Lendecke2008-04-141-15/+15
| | | | (This used to be commit 155d62ddfd3584d44a493c2aa1ea7f096bcff432)
* Fix typo.Karolin Seeger2008-02-051-1/+1
| | | | | Karolin (This used to be commit 3745e398b1cc4d1b76a7cb4ee9c998ff16b454b9)
* Refactor the crypto code after a very helpful conversationJeremy Allison2008-01-041-1/+1
| | | | | | | with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy. (This used to be commit c4e5a505043965eec77b5bb9bc60957e8f3b97c8)
* Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2007-12-151-1/+1
| | | | (This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
* Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison2007-12-101-1/+1
| | | | | | | them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
* Remove next_token - all uses must now be next_token_talloc.Jeremy Allison2007-12-071-16/+35
| | | | | | No more temptations to use static length strings. Jeremy. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
* Remove unused wpstring and macros. Stop using pstrcpy in smbd/*.cJeremy Allison2007-12-031-26/+34
| | | | | Jeremy. (This used to be commit e72bce5b62fb0a9d0ff4a3d76490219994f303cf)
* Fix bug 5055Volker Lendecke2007-11-261-1/+1
| | | | (This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
* Always check return from push_ascii.Jeremy Allison2007-11-191-0/+6
| | | | | Jeremy. (This used to be commit 9c3d10521e691169cfbb8b728f123911c3c970ae)
* Remove pstrings from lanman.cJeremy Allison2007-11-121-54/+148
| | | | | Jeremy. (This used to be commit 7bfd25c75602e25da73710261a54da8e0feea133)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-50/+50
| | | | | | | | 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)
* r25138: More pstring elimination. Add a TALLOC_CTX parameterJeremy Allison2007-10-101-1/+1
| | | | | | to unix_convert(). Jeremy. (This used to be commit 39c211a702e91c34c1a5a689e1b0c4530ea8a1ac)