summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2001-07-23cli_samr_query_dispinfo() can return STATUS_MORE_ENTRIES which isn't anTim Potter1-1/+4
entry. (This used to be commit 12e44e40298b5469f6f1fea3495cfa023305411d)
2001-07-23Added a warning debug if cli_samr_lookup_rids is called with more than 1000Tim Potter1-1/+7
rids as this seems to crash LSASS.EXE more often than not. (This used to be commit 375636b7630d117da5a57b51e11929c3a38646df)
2001-07-20In cli_lsa_lookup_sids() don't append a separator character between domainTim Potter1-1/+2
and name if there is no name. (This used to be commit e0ebbc9ae3277a5a389eef021f32509a017cbd4d)
2001-07-20Changed the cli_lsa_lookup_sids() function to unpack the domain and user orTim Potter1-3/+7
group using rpcstr_pull_unistr2_fstring rather than pull_ascii_fstring (!!) (This used to be commit 2accab2589d8c3decc489fb6af8d65d437a506e7)
2001-07-08formatting fixAndrew Tridgell1-1/+1
(This used to be commit 3dc9fd076a2c4c352d51f7b9dfa8b570a231c9e2)
2001-07-07fixed some unicode and LANMAN2 bugs in trans2 find firstAndrew Tridgell1-103/+77
(This used to be commit dc99b9ddf847c210c72921ba1dedcdc34fd32aab)
2001-07-07Add backend encryption support for NTLMv2.Andrew Bartlett2-5/+100
The leg-work for this was done by the folks at samba-tng.org, I'm just bringing it accross to HEAD. The MD5 implementation is seperatly derived, and does not have the copyright problems that the one in TNG has. Also add const to a few places where it makes sence. Andrew Bartlett (This used to be commit 8df8e841445dfe09fc7a06bb55d12adc3fecb345)
2001-07-05Renamed formal parameter fd to fnum because we're talking about SMB fileTim Potter1-10/+7
handles, not unix ones. (This used to be commit 974790e45e6774a0e8ca3f8bb73ea941457e0866)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell4-9/+9
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell15-266/+94
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-03Fixed incorrect comment for cli_NetServerEnum()Tim Potter1-4/+4
(This used to be commit 0a505e50a5059930de6583918f25ef84af53de0e)
2001-07-02Insure caught the fact that PTRDIFFs were being done between two unrelatedJeremy Allison2-5/+17
pointers. Jeremy. (This used to be commit 15c64199cb29e2fca6ee7353673dbb3f962e0e24)
2001-07-01cli_read() was reading too many bytes.Andrew Tridgell1-2/+1
(This used to be commit ba79d2a030b9ae087f0cc4248baa6cf6bee112fb)
2001-06-29Use a logical cli_read(), removed the cli_read_one() hack.Jeremy Allison1-124/+61
Jeremy. (This used to be commit 2999eab5abe86bf08e693800c01ad544f04e4d6c)
2001-06-27Fix a stupid typo ...Richard Sharpe1-2/+2
(This used to be commit 8a873b5dfb52393541c36fea0a5082771a6c8d63)
2001-06-26Put an 0x in front of a hex number.Tim Potter1-1/+1
(This used to be commit a48d480ce986ff1c00f2c17f30f23723ce0bb044)
2001-06-25fixed usage of socklen_t and also tidied up SIG_ATOMIC_T, using a typedef ↵Andrew Tridgell1-1/+1
instead of a define (This used to be commit e2ecff419fdc0a0dc7551b33b377dc11061ef2a3)
2001-06-25- make the regresison test mode code build in by default. This shouldAndrew Tridgell1-4/+1
allow us to have test targets without special configure options - fixed make proto so that it actually does something (This used to be commit 55109a752578e9389d853cb27ec17c2114ecff77)
2001-06-22added the ability to test smbd safely as an ordinary user. The way it works isAndrew Tridgell1-3/+9
that libsmb/ creates a local tcp socket then launches smbd as a subprocess attached to that socket. smbd thinks it is being launched from inetd. to use it do the following: - compile with -DSMB_REGRESSION_TEST - run like this (also works with smbtorture etc) export SMBD_TEST=1 export LIBSMB_PROG=bin/smbd smbclient //server/share -Uuser%pass obviously you need to setup a smb.conf etc. Using --prefix to configure is useful. The aim of all this stuff is to add a decent set of regression tests to the build farm, so we know if smbd actually runs correctly on all the platforms, not just builds. We can run smbtorture, masktest, locktest etc, plus a bunch of smbclient scripts and any new tests we write. This doesn't help much with nmbd (at least not yet) but its a good start. (This used to be commit 7e8e6ae9a88c4d2587eb4e7f0501cd71bd36ebb2)
2001-06-22Cleanup of cli_lsa_enum_trust_dom(). talloc() doesn't like attempts toTim Potter1-20/+34
allocate 0 bytes. (This used to be commit 465994cfbca72649474345bc057d436961cccf97)
2001-06-22Merged cli_read_one() function for reading DCE/RPC reply fragments.Tim Potter1-0/+46
(This used to be commit 9e074bc2bf2df34048b67457623bb8219fb1e4d6)
2001-06-22added some comments to make the cli read code clearerAndrew Tridgell1-4/+14
(This used to be commit bbfbe03cc6166c23c42a704b5acaa19cbdbc39ce)
2001-06-21next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell1-5/+8
but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
2001-06-21Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually doesAndrew Tridgell4-14/+30
send unaligned unicode strings sometimes! Fixed our handling of the workgroup name tacked on the end of the NT1 negprot response (a unaligned unicode) fixed a couple of places where we should be using the message_end fns instead of pre-calculated buffer lengths (This used to be commit 86613493a9b2e56523153486931d0bf8d39beb7a)
2001-06-21Following info from TAKAHASHI Motonobu <monyo@samba.gr.jp>,Jeremy Allison2-8/+15
Samba Users Group Japan, ensure that we don't use dos_to_unix(xx,True), but always use dos_to_unix(xx,False) to prevent overwriting. Jeremy. (This used to be commit 244aec8ea623fec828add3ab09c5003bf32bd5c7)
2001-06-20Fixed W2K SP2 joining a Samba PDC hosted domain.Jeremy Allison2-2/+2
Jermey. (This used to be commit 05a2911403a0710d994a618e72743205a3b0b87a)
2001-06-20Added cli_samr_delete_dom_user() function.Tim Potter1-0/+44
(This used to be commit 2162454d9ea5a07892d0b5d7fc5abe7251b4fa98)
2001-06-18New info level tester.Jeremy Allison1-0/+43
Jeremy. (This used to be commit 9297ae69a7dde878bb4c696f90fbaceb46e18720)
2001-06-18added a oplock break handler hook to the client code, this allows for more ↵Andrew Tridgell2-47/+79
complete testing of oplocks from smbtorture and would also be essential if a client app ever really did want to use oplocks properly (This used to be commit 3d4a3bfacd9ef225aeaab801e5a216d12814b60a)
2001-06-18Removed silly Get_Hostbyname() wrapper as DNS names are case-insensitiveTim Potter1-1/+1
and the use of this function only increased timeouts when Samba queries a broken DNS server. (This used to be commit 720fea53603b2f99153709e6717ca930ab60ca9f)
2001-06-15Added a unix error code for NT_STATUS_PATH_NOT_COVERED.Tim Potter1-0/+1
(This used to be commit 66e62245ea50fe7b996484ca919083eec2edfd14)
2001-06-15Merged encode_pw_buffer() and nt_owf_genW() functions from TNG branch.Tim Potter1-0/+49
(This used to be commit fb80cf2aa13883c6dac461f95bc1000c4881d724)
2001-06-13Added some msdfs client routines.Tim Potter1-0/+222
(This used to be commit 13df2304b309a2bd14d4441db0e72e75b8742262)
2001-06-07Fix up the problems with calling smbc_init multiple times.Richard Sharpe1-0/+6
(This used to be commit 832227a72b9c1d965736128ff84ffa235df6ecaf)
2001-06-06Added stubs for dfs rpc client routines.Tim Potter1-0/+79
(This used to be commit abc294c4a82dc132b937aec374ee947992a1b93f)
2001-06-06Fixed bug in cli_samr_create_dom_user()Tim Potter1-4/+68
Added cli_samr_lookup_names() Removed redundant argument to cli_samr_connect() (This used to be commit 79710a3ab394dc024b3ccfccfb45fb6a906c3499)
2001-06-05Set correct reply word in large writeX (greater than 64k) replies.Jeremy Allison1-1/+5
Also added smbtorture test for this. Jeremy. (This used to be commit 6d65556ae8bea45a203defaded8436cbb56965e1)
2001-06-04use LDSHFLAGS not -shared in several placesAndrew Tridgell1-1/+1
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
2001-06-04Added add domain user to rpcclient.Tim Potter1-0/+150
Added cli_ functions for set userinfo and userinfo2. (This used to be commit 6c9796286c489a79c96d28b081ecf151803dbf7c)
2001-05-31merge from 2.2Gerald Carter1-2/+0
(This used to be commit 7e23ed48908cf396610d26efda9f54d5f5f0e83c)
2001-05-24Added srv_get_info client command.Tim Potter1-0/+46
(This used to be commit ee599c9481c26d8407f03a9897eb5f1abd1e47f1)
2001-05-24Added logon control2 client call.Tim Potter1-29/+15
(This used to be commit 8d5f2027095c3fb9240db238fb6d405aeefef1ef)
2001-05-24Added stubs for SRVSVC and NETLOGON rpcclient commands.Tim Potter2-0/+224
(This used to be commit 3343c9f0d67d98687e5933e1a73c0ff487279160)
2001-05-17merge from 2.2 DeletePrinterDriver() server side stud comingGerald Carter1-0/+57
in separate commit after I get it working in 2.2. (This used to be commit 09506ac0e64b84d73e3b8fdd4942fa52dba6060f)
2001-05-17Fix a small warning about char * vs unsigned char * that gets some compilersRichard Sharpe1-1/+1
in a twitch. (This used to be commit 672242a52eafde35cba4657bce248fef0df9e46b)
2001-05-17Further recasts to sockaddr * rather than sockaddr_in *Richard Sharpe1-3/+3
(This used to be commit b0ba25e22d101acbe4079bc81759a4e0c8a7e6d8)
2001-05-15Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVALRichard Sharpe1-24/+24
is a better return code anyway (I knew that :-) (This used to be commit 0bf2797b183b4d709a401ebdb2d5f3d5b1c907af)
2001-05-14Compile fixes for dynamic samr_query_userinfo() stuff.Tim Potter1-3/+2
(This used to be commit a92a0d061bd322b9d3a1fe13c6ce2d2e1f070ef7)
2001-05-11Use talloc_strdup() instead of strdup().Tim Potter1-1/+1
(This used to be commit 3b4b5b3c61bb1fe1db15306219f24036bf342e2d)
2001-05-11Memory leak fixes plus general cleanup.Tim Potter1-1/+4
(This used to be commit 48688c4592d03d6404631a7d57701f0af38cfb2d)