summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* fix bug #281 by surrounding pdb_getgrgid() with become/unbecome_root()Gerald Carter2003-08-111-1/+8
| | | | (This used to be commit f6a01f51159ccd822c6e764b7243fff375f22747)
* adding '.' special name to --domain to mean our domainGerald Carter2003-08-111-5/+14
| | | | (This used to be commit f833d1f15691a418b99f82dbda75b673fb3428f6)
* Improve MySQL library detection, add support for MySQL 4Jelmer Vernooij2003-08-112-132/+8
| | | | (This used to be commit 90cbc4361e86d591e38c80092612edaa3875ea67)
* add --domain=DOMAINNAME to wbinfoGerald Carter2003-08-105-18/+71
| | | | | | | | | Add support for geting the sequence number, list of users, and list of groups for a specific domain (assuming on reported back by wbinfo -m) wbinfo -u --domain=DOA (This used to be commit 34fc6e1bf97d514d3b1763a808d08d730191e03b)
* We get the server and workgroup list only over port 139. Fall back to thatVolker Lendecke2003-08-101-0/+16
| | | | | | | | | and if NetBIOS over TCP/IP is disabled, give an error message. Fixes Bug #284 Volker (This used to be commit a2902a6cf8d05569d1c690436f69b4a4cedac400)
* Store the server domain from the ntlmssp challenge in the client structVolker Lendecke2003-08-103-0/+5
| | | | | | | | to be able to ask a LMB for the servers in its workgroup. Against W2k this only works on port 139.... Volker (This used to be commit 62b04d7776852098dd768268500f36c3a362f688)
* fix MS-DFS (my bug) stupid return code error that cose me more timeGerald Carter2003-08-101-0/+2
| | | | | that I would like to admit. (This used to be commit 082b1cf06fd3b144b9713045672028f16e20aff4)
* fix for BUG #267 (problem with supplementary groups).Gerald Carter2003-08-093-43/+151
| | | | | | | | | Use winbindd to get the group list if possible since we already know it from netsamlogon_cache.tdb. More effecient than letting libc call getgrent() to get seconary groups. Tested by Ken Cross. (This used to be commit 3c537c906f29a08e75895c8c8e3ed5c5abaaa940)
* fix 2 bugs:Gerald Carter2003-08-083-36/+49
| | | | | | | | | | 1) don't ask trusted DC's for a list of trusted domains. This causes us to treat non-transitive ones as if they were transitive. Not needed anyways 2) Fix dc lookup bug where we would always try to use DNS to resolve the DC's for a domain (even if it was a trusted NT4 domain). (This used to be commit 4d3acce5066d3adf53ee8fbaa627c42523b3cbc3)
* Format tidyup.Jeremy Allison2003-08-081-4/+4
| | | | | Jeremy. (This used to be commit 049e77d636c5abd0fdd8840c3c4c465708354ed7)
* Turn on client ntlmv2 by default.Jeremy Allison2003-08-081-1/+2
| | | | | Jeremy. (This used to be commit 729b468f7e0e5522dfdede481947826851842483)
* RPC fix from Ronan Waide <waider@waider.ie>. Tested with rpcecho.Jeremy Allison2003-08-083-4/+3
| | | | | Jeremy. (This used to be commit 68590b9e2266cf76b46a68cca0acaa47733811fe)
* need to be able to connect to a domain member as a local account; don't ↵Gerald Carter2003-08-081-3/+3
| | | | | | always map to the domain name (This used to be commit 20b6e64da2669e5dfc7265cae331ec9c89aa02dc)
* need to make sure that the connection struct mem_ctx is initialized and ↵Gerald Carter2003-08-081-25/+48
| | | | | | destroyed (This used to be commit e0c061b94d4cb181afcd70c5d6398e0c2f446449)
* Shadow copy API - Original work by "Ken Cross" <kcross@nssolutions.com>, adaptedJeremy Allison2003-08-077-55/+221
| | | | | | into a patch by "Stefan (metze) Metzmacher" <metze@metzemix.de>. Jeremy. (This used to be commit ce5c91d35dabc5ff6fb3df2b259ed186d6a7e0da)
* An oplock break reply from the client causes the sequence number to beJeremy Allison2003-08-073-5/+46
| | | | | | | updated by 2 if there is no open reply outstanding, else by one.... Yes - this makes no sense.... Jeremy. (This used to be commit b43ce1ff6109f6422a621329ceb713b42df40040)
* Turns out I had my packet sequences wrong for oplock break code.Jeremy Allison2003-08-076-51/+41
| | | | | | | | | | | I was storing the mid of the oplock break - I should have been storing the mid from the open. There are thus 2 types of deferred packet sequence returns - ones that increment the sequence number (returns from oplock causing opens) and ones that don't (change notify returns etc). Running with signing forced on does lead to some interesting tests :-). Jeremy. (This used to be commit 85907f02cec566502d9e4adabbd414020a26064d)
* Cosmetic fix from waider@waider.ie.Jeremy Allison2003-08-071-0/+31
| | | | | Jeremy. (This used to be commit cb326c2dbff1fad87d5c72df4a004d5a42d17472)
* Patch from waider@waider.ie to print out Port Type.Jeremy Allison2003-08-072-1/+31
| | | | | Jeremy. (This used to be commit 8516baf58d333a54bcbe1c1a08eee499b3dd2636)
* Ensure smbclient obeys -s smb.conf option.Jeremy Allison2003-08-061-6/+16
| | | | | Jeremy. (This used to be commit 7950f7d6b2c5e8247bce1e96ddd1a9ec1045f7f9)
* Reversed replacement. Oops.Jeremy Allison2003-08-061-2/+2
| | | | | Jeremy. (This used to be commit 520bee397d946766cef8ab9f0d7d89064106f510)
* Anal formatting tidyup :-).Jeremy Allison2003-08-061-181/+198
| | | | | Jeremy. (This used to be commit 9c0197471366ad1acf922e02bb694769863054a6)
* Get rid of MAXPATHLEN, move to standard PATH_MAX.Jeremy Allison2003-08-064-9/+5
| | | | | Jeremy. (This used to be commit 455ed2d51d86f39ce0fa6e6abca31a5425d2ea17)
* fix bug #208; have to get the gid of the user's primary group for %GGerald Carter2003-08-062-1/+17
| | | | (This used to be commit 575483a1efe18a90055490117ba6894512ae568a)
* rework winbindd_accountdb_init() to reduce error messages in the logGerald Carter2003-08-062-24/+26
| | | | (This used to be commit d98a68e0ebaf2fbd360b826f5df472bc3f94285b)
* When doing 'net groupmap add', default to algorithmic mapping for the rid.Volker Lendecke2003-08-061-6/+11
| | | | | Volker (This used to be commit 7ce94d39add6e056e3b1deea21bf0438ba61e4cc)
* Spelling.Tim Potter2003-08-061-1/+1
| | | | (This used to be commit 7d009ebf66c82b254828bac267102eb6e6a4a75e)
* oops; fix typo. Noticed by gcc warningGerald Carter2003-08-061-2/+2
| | | | (This used to be commit 4c36ef65e5101899f730adaeacf754f5f3647d89)
* fix bug #245; local_lookupsid() needed to make a getpwuid() call to get the ↵Gerald Carter2003-08-051-9/+20
| | | | | | username instead of making up unix_user.## (This used to be commit b947fc3eed464d7a64914f3965964d29be031614)
* Changes to make gss-spnego ntlmssp client work against W2k AD.Volker Lendecke2003-08-042-27/+59
| | | | | | | Now I know where the mechListMIC changes came from: Ethereal ;-) Volker (This used to be commit 4e9eed1273035d09ac3b427b9711327ba8c6ebfc)
* Fix unused variable warning.Tim Potter2003-08-041-1/+1
| | | | (This used to be commit 73d02e3a2b0f9e84ab6d8685e4ad6a03ef9249b2)
* Memory leak fix for create_rpc_bind_req()Tim Potter2003-08-041-0/+1
| | | | (This used to be commit 4d26feabd75d5b298276b0c5880b9765507bb6ae)
* More patches from Brett:Tim Potter2003-08-041-20/+23
| | | | | | | | | | | | | | | | | | | | - remove 'if(mem_ctx)' tests prior to 'talloc_destroy' call to make consistent with other modules; 'talloc_destroy' already test for NULL anyway. - initialize PyObject* result pointers to NULL in function declarations; enables removal of redundant NULL assignments. - use local scope TALLOC_CTX in lsa_lookup_names to prevent unbounded memory growth during python policy object lifetime. - change context name string used in lsa_lookup_sids from 'lsa_open_policy' to 'lsa_lookup_sids' (cut'npaste oversight from previous patch) - change docstring to match module name (apparently another cut'npaste situation) (This used to be commit 98cac74c67c454f636df5c1ea2baa029c482e402)
* Fix memory leak in py_smb_set_setdesc()Tim Potter2003-08-041-10/+15
| | | | | | | Consistency fixups in py_smb_query_secdesc() Thanks to Brett A. Funderburg for these patches. (This used to be commit 6c33189e50ae3704275198e324fcdb7facd209f7)
* Fix up #defines around utmp_host and utmp_name. Noticed by ↵Jeremy Allison2003-08-031-0/+6
| | | | | | | Cord.Hockemeyer@uni-graz.at Jeremy. (This used to be commit 07c5ecb945c1189fd6e8628f5e989b90dd15163b)
* Output message saying "signed connect" instead of just connect when signingJeremy Allison2003-08-031-0/+1
| | | | | | is active. Jeremy. (This used to be commit c6674fa62865b64aa788a1903db118e4d773bcae)
* Fix oplock break detection code on incoming oplock break responses. ThisJeremy Allison2003-08-031-7/+15
| | | | | | fixes signing for oplocks. Jeremy. (This used to be commit 69c56ee8bce122839a8fec4e59198f84b0757166)
* make sure to initialize the backend methods when enumerating sequence ↵Gerald Carter2003-08-021-0/+2
| | | | | | numbers; reported by Ken Cross (This used to be commit 10c7a1af67e556c17d4b3495934a2dad19728d77)
* Ensure we don't leak any sign records on cancel of pending requests.Jeremy Allison2003-08-023-0/+29
| | | | | Jeremy. (This used to be commit 9a8ffc239c0f1aada713de7e9e007066738d8874)
* Only look for mid sign records on incoming packets for oplock break replies.Jeremy Allison2003-08-021-20/+28
| | | | | | | | Otherwise we find spurious mid sign records on reply_ntcancel calls (they cancel by mid). That took a *lot* of tracking down. I still need to remove the mid records from the sign state on reply_ntcancel to avoid leaking memory.... Jeremy. (This used to be commit 270bf20fe3e226ab5cfc689bd20ed4c22b2fa7e6)
* More fixes for client and server side signing. Ensure sequence numbersJeremy Allison2003-08-024-35/+108
| | | | | | | are updated correctly on returning an error for server trans streams. Ensure we turn off client trans streams on error. Jeremy. (This used to be commit 3a789cb7f01115c37404e5a696de363287cb0e5f)
* Leave the packet sequence checkers enabled whilst I track down a smbclient ↵Jeremy Allison2003-08-021-2/+2
| | | | | | | | -> smbd sequence number problem. Jeremy. (This used to be commit 844898dbd8e99837ef1621aa73024714aa819ce4)
* Add the same signing code to the server. Ensure we use identical sessionJeremy Allison2003-08-024-12/+82
| | | | | | numbers and MIDs when in trans/trans2/nttrans code. Jeremy. (This used to be commit 901544b29b4d815709b3dbad3012f1d2c419d904)
* Correct fix (removed the earlier band-aid) for what I thought was a signingJeremy Allison2003-08-024-4/+97
| | | | | | | | | | | | | bug with w2k. Turns out that when we're doing a trans/trans2/nttrans call the MID and send_sequence_number and reply_sequence_number must remain constant. This was something we got very wrong in earlier versions of Samba. I can now get a directory listing from WINNT\SYSTEM32 with the older earlier parameters for clilist.c This still needs to be fixed for the server side of Samba, client appears to be working happily now (I'm doing a signed smbtar download of an entire W2K3 image to test this :-). Jeremy. (This used to be commit 2093a3130d4087d0659b497eebd580e7a66e5aa3)
* Fix the option processing for smbtar. Does no one check this !Jeremy Allison2003-08-012-6/+35
| | | | | Jeremy. (This used to be commit c4af1ec73584656fb9d2b372461da4748e1643f1)
* add tests for IRIX attr functionsHerb Lewis2003-08-011-1/+3
| | | | (This used to be commit ea57a57db036de6245ff44cd953dae3b482b4744)
* Update my copyrights according to my agreement with IBMJim McDonough2003-08-0120-20/+20
| | | | (This used to be commit a2bd8f0bfa12f2a1e33c96bc9dabcc0e2171700d)
* Update my copyrights according to my agreement with IBMJim McDonough2003-08-0111-11/+11
| | | | (This used to be commit c9b209be2b17c2e4677cc30b46b1074f48878f43)
* Fix copyright statements for various pieces of Anthony Liguori's work.Jim McDonough2003-08-0123-25/+19
| | | | (This used to be commit 15d2bc47854df75f8b2644ccbc887d0357d9cd27)
* fix cut-n-paste error found by abartletGerald Carter2003-08-011-8/+10
| | | | (This used to be commit 042492b862c4f2389086275dd8a0e044d7432537)