summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-06-07A couple of updates for the SmbEncrypt code, and some of its users.Andrew Bartlett2-14/+32
(const, takes unix string as arg) Also update cli_full_connection to take NULL pointers as 'undefined' correctly, and therefore do its own lookup etc. This what was intended, but previously you needed to supply a 0.0.0.0 IP address. Andrew Bartlett (This used to be commit 8fb1a9c6ba07dbf04a6aa1e30fa7bbd4c676ed28)
2002-06-07Allow sd_len to be zero on NT_TRANSACT_CREATE but not for set sd (helpsJeremy Allison1-4/+7
Novell client). Jeremy. (This used to be commit ac49fd297acf27384a5e133a5fd7a32c1ba27ca6)
2002-06-06Overly complex but neccessary fix for kernel oplock problems. The issueJeremy Allison3-21/+55
is that there are some times when we should return an EINTR from a select, some times when we should not. As we can take a signal at any time, we have to eat EINTR's in some selects. This means we need to check for kernel oplock breaks more often in the main loop, as well as add the queuing mechanism needed for the changenotify code (due to the mistake in understanding POSIX semantics w.r.t. setting a signal mask in a signal handler). This code now passes all my tests. However, (and IMHO and I know tridge disagrees) - the correct way to fix this is to run with RT signals blocked and explicitly unblock them just before the main select, block them after and then process them all in one place. Just my 2cents :-). Jeremy. (This used to be commit a8c85372e2826a07117c89b39270cde8641ce55d)
2002-06-06enable building of shared libsmbclientGerald Carter1-2/+1
(This used to be commit 24f127a58f66de9b8733bc3261212d01926d0a87)
2002-06-06Fix compile error - doh!Tim Potter2-4/+4
(This used to be commit e80e6637064a39635faba5311f774a90b1d5ab43)
2002-06-06Moved some notify related constants into srv_spoolss_nt.c sinceTim Potter2-4/+11
they're only used there. Added a PRINTER_NOTIFY_VERSION constant. (This used to be commit 9d3933a59219388c209d8be4ae6decfa337d229f)
2002-06-06Fixed out of date comment for _spoolss_rffpcnex()Tim Potter1-4/+2
(This used to be commit 7d9b8c58a63cf20d00dd7cf88cfb82aed3a47d12)
2002-06-05merge from 2.2Gerald Carter1-4/+10
(This used to be commit ce2ddb70411b30a0d6b2d6dded13c3b94895c1dd)
2002-06-05merge 390 kernel workaround from SAMBA_2_2.Jim McDonough2-2/+2
(This used to be commit df78e76e0b8e90430af37ce997bfc6b73c9d01d7)
2002-06-05Spelling fix.Tim Potter1-1/+1
(This used to be commit 39ec94bffe536de5950611d6e4b28621b6aff844)
2002-06-05Store cache entry keys that have RID values in decimal to beTim Potter1-6/+6
consistent with other keys. (This used to be commit 1e5bdf974fb1e64b5f5b82e0e24eb97aeb229584)
2002-06-05Remove blocksignals call as it's never going to bloody work right...Jeremy Allison1-1/+0
Jeremy. (This used to be commit db8932c297096e6e957677c4ed944e4c319db1d8)
2002-06-05Fix for Linux kernel bug where signal mask set within a signal handlerJeremy Allison2-34/+82
is being ignored on sighandler exit. This means we have to have a small array of fd's, not a single one. Jeremy. (This used to be commit b06862e2de8d3bafbc10a9807501ef5bf148a61c)
2002-06-04Update the SAMR pipe for more use of NTSTATUS and to talloc the stored list ofAndrew Bartlett1-96/+141
users/groups for better memory accounting. Andrew Bartlett (This used to be commit fe7c5efe91ab77784af9dbb56716170f4c6fd057)
2002-06-04Store the key for a name to sid cache entry in upper case rather thanTim Potter1-4/+12
whatever case the request was made in. This gets rid of duplicate cache entries. Also when doing a sid to name, prime the cache with the name to sid mapping result. We can't do the reverse as we don't know the correct case of the name to store in the cache. (This used to be commit f268b0d5fb811b364578b11a66ca69973717eea8)
2002-06-04Fixed compiler warning.Tim Potter1-1/+0
(This used to be commit 361afd241beeda033068c7f3a976f3f69fa2ac33)
2002-06-04Fixed some formatting.Tim Potter1-3/+4
(This used to be commit 25554b46ded273e8f4070f14661b691ccc9ddd17)
2002-06-04Fix long list scrolling bug.Tim Potter1-4/+3
Added some padding around the filter entry to make it look nicer. When resizing the window the scrolling list should get bigger/smaller not the filter entry widget. (This used to be commit f504be133cd9659163a609eb11a09a36e56166ee)
2002-06-03Move session gathering routine back into session.c so it can be called eitherJim McDonough2-53/+53
in RAP or RPC environment. (This used to be commit 3eec0d64c7c4592d4f0d74108fb0be2b7a22bde6)
2002-06-03Fix netsessenum RPC. Correctly respond with as much info as we can.Jim McDonough1-5/+12
(This used to be commit c8781a3fdaa4d8cb81233582f29159ace7e436ac)
2002-06-03Add user name to netsessenum RPC to stop 1783 messages. Also fix where ↵Jim McDonough1-5/+13
username was sent as machine name. (This used to be commit 2b4a5b56664cf3c99682b64c0fc5e2ebebb749b7)
2002-06-03Add user name to netsessenum RPC to stop 1783 messagesJim McDonough2-5/+9
(This used to be commit 18854bcd2df88ab49c263c86d111a50d83411885)
2002-06-03Since includes.h isn't included here, VA_COPY has to be defined here. I don'tJim McDonough1-0/+8
see any include file that is guaranteed to be here, so I'm defining it locally. Fixes AIX and Solaris builds. (This used to be commit ca6bb47c22385a2c32be6ac3f8d9ffbfda45359b)
2002-06-03Added tdb_delete_by_string() function.Tim Potter1-0/+14
(This used to be commit 0cd3952f408e2fcd2c833b9039dff4392ac16cf7)
2002-06-03Removed unused function.Tim Potter1-46/+0
(This used to be commit f7e75952306296b11a859f425ff5ec7082239dc2)
2002-06-03put the ifdef for HAVE_VA_COPY in one place rather than in lots ofAndrew Tridgell7-46/+30
functions (This used to be commit 1cf3228fdc20f0314d1f8e71ad710a5e548b3f72)
2002-06-03fixed some debug messagesAndrew Tridgell1-2/+2
(This used to be commit 8b5ac00ac60135f83145c65425d7b33a751a15b4)
2002-06-03Restrict anonymous checks for the SAMR pipe. This is done byTim Potter1-0/+27
returning access denied for a SAMR_CONNECT by an anonymous user which seems to be the way 2K does it rather than blocking individual RPC calls like NT. Also checked is the SAMR_GET_DOM_PWINFO rpc which for some reason doesn't require a policy handle to return information. No idea what it's actually used. (This used to be commit 40c68fa85c31c1baf7ba2c8ed62cd06c34711913)
2002-06-03Move restrict anonymous checks into a general function calledTim Potter2-18/+49
pipe_access_check(). Eventually this can take a security descriptor as an argument as well. (This used to be commit 8bbdc674afef32621bf473ba1af76bae7270b818)
2002-06-03fixed a spelling mistakeAndrew Tridgell1-1/+1
(This used to be commit 5a04ea1f0c41965bc735f38f4892dc37571734d6)
2002-06-03added a 'net ads search' command, similar to 'ldapsearch' but using theAndrew Tridgell1-7/+70
Samba LDAP code. I have found using 'ldapsearch' rather frustrating, particularly with kerberos authentication. Using 'net ads search' makes it easier to track down ADS problems. (This used to be commit 55cad87424787fc5f140d307888f4c557dc2b345)
2002-06-03Added getdompwinfo function.Tim Potter1-0/+26
(This used to be commit b3b3e45583718e5b034f6c67609523f35753c1a8)
2002-06-03Added cli_samr_get_dom_pwinfo() function.Tim Potter1-46/+74
Some reformatting. (This used to be commit d6dd7c7b14a4e3be4d7d435b6ac6bb8189070ff7)
2002-06-03Removed unused variable.Tim Potter1-1/+0
(This used to be commit a8b2e76c5b90d3dcd00f26462614f56936c13110)
2002-06-03Fixed bogus alignment in unmarshalling of SAMR_GET_DOM_PWINFO reply.Tim Potter1-4/+0
(This used to be commit 2e25b5c3099e48869e83a1e03943d3cc2a875f24)
2002-06-02The last element of the definitions of enums can't have a trailingTim Potter1-1/+1
comma. Only initialisers can have this in ANSI C. (This used to be commit b6119f583552425c2be30662e9325270a5dbf096)
2002-06-01Add remainder of net rpc file subcommands, and autoselect transport onJim McDonough3-15/+142
net file (This used to be commit fd938eca210602790c4d0e442f3aa9aa22b5fdf2)
2002-06-01Update for new interface to netfileenumJim McDonough1-1/+1
(This used to be commit c3921e36071a70ab9534fe92286b361aae2336b6)
2002-06-01Add rpc for file close, expand file enum to take usernameJim McDonough3-8/+127
(This used to be commit 4b18a94590a25882f06f88c3c7dd1a08bf990044)
2002-06-01More cleanup work preparing for SMB signing.Jeremy Allison4-93/+109
Jeremy. (This used to be commit 3c05f7c06fc8c45307ea75128b160a5945fc5197)
2002-05-31Removed some unused variables - tidy up some formating, add struct toJeremy Allison4-194/+206
client state to implement smb signing - this is a test at present. Jeremy. (This used to be commit a234e303558a25c4ea26b7f6788006e4fee651bf)
2002-05-31Enable all net rpc share subcommands and autoselect transport.Jim McDonough3-6/+58
(This used to be commit ebd07c3a295e3f8cd46441caac4dc8e8b178c2cc)
2002-05-31Add netshareadd and netsharedel client side rpcJim McDonough1-0/+81
(This used to be commit f37d85babf1061bb2b5ffdf96c72427f8ad5e832)
2002-05-31Add fns for netshareadd and netsharedel rpcsJim McDonough1-4/+46
(This used to be commit 4e317163858d8a7f65984a8a8507a459ac1515cc)
2002-05-31Add error index to netshareadd rpc.Jim McDonough1-0/+4
(This used to be commit ea55d470e485a0448428c60a12fbb4a42c6b2019)
2002-05-31Enable net rpc share and net rpc file commands (list subcommands only), andJim McDonough5-53/+271
autoselect for this subcommand when appropriate. (This used to be commit 77418256d3162b41a672a25f7e512999f1193926)
2002-05-31Update netfileenum to new api.Jim McDonough1-1/+1
(This used to be commit 70f8adf297a3979230e425126cd5868972b1d17e)
2002-05-31Update netfileenum on both client and server sides to do an arbitrary numberJim McDonough4-144/+124
of files. This was done to better enable net rpc file. Perhaps we can start giving back real info this way, too. (This used to be commit b3fea72ee9abd2441a49c35442c54819e4ba16ba)
2002-05-31Fixed crash bug in querydispinfo.Tim Potter1-70/+62
Some reformatting. (This used to be commit 612eae45ef7b0289e0c67b331d96a351fc567e5c)
2002-05-31Return access denied for net_share_enum when restrict anonymous > 0Tim Potter1-0/+17
(This used to be commit 5df1aa9f20ae2036848b7e46703bfd3a923d7b4f)