summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-06-12Removed eff_name field from cli_struct as it wasn't being used anywhere.Tim Potter2-2/+2
(This used to be commit aff65bf6c9f339ae1d3122d12114005c017b9b5d)
2002-06-11few fixes from Elrond(elrond@samba-tng.org) and Billy ↵Simo Sorce3-13/+24
O'Connor(billy@oconnoronline.net) (This used to be commit 88718883e031a3249152861300432dfc895ac587)
2002-06-11merge from 2.2Gerald Carter1-0/+1
(This used to be commit 30a0e72572b25ddd99438b92b8ddf7f06e9ad819)
2002-06-10Merge of Jerry's fix from 2.2.Jeremy Allison2-8/+18
Jeremy. (This used to be commit 64af68924b8fc36caac3f978dc0f9deccc41e059)
2002-06-10Remove "sids.h" as it really wasn't being used anywhere, and was exportingAndrew Bartlett6-44/+1
the (now static) global_sam_sid. The only place it was being used was to return global_sid_NULL to some uid->sid functions - and I'm not convinced this is correct in any case. Andrew Bartlett (This used to be commit e2a76a7fc94dd59c09bba3cda91446fad9f8c0e0)
2002-06-10With this file being automaticly regenerated, and cleaned up with 'make clean'Andrew Bartlett1-142/+0
I think it should be removed from CVS. This matches the other proto files. Andrew Bartlett (This used to be commit 5a8d573f1784b037fd848d85a96dabfebfad63fd)
2002-06-09This (hopefully) fixes a bug reported by Kai Krueger <kai@kruegernetz.de>Andrew Bartlett2-17/+10
involving the use of lp_winbind_gid() without checking if they have been set. Also revert the 'clashing user' check back to a Get_Pwnam() - I probably should never have changed it. Andrew Bartlett (This used to be commit 1d6ba405589cee4e1582bc91cf659b89564899d4)
2002-06-07Ensure when allowing fchown with write access and dos filemodes thatJeremy Allison1-7/+7
we leave the gid alone. Jeremy. (This used to be commit 3f72910cf954b127c0cc06d6616ca2b8cd0d41ad)
2002-06-07Merge pidfile fix.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 2c1e78702423ba17993975eb7f158058cc7f229f)
2002-06-07Fix commentAndrew Bartlett1-1/+1
(This used to be commit 1996bcbe6acae49e191363ee122b30e4e5d5e8a9)
2002-06-07Globally replace 'global_sam_sid' with get_global_sam_sid(), a selfAndrew Bartlett14-87/+91
initialising function. This patch thanks to the work of "Stefan (metze) Metzmacher" <metze@metzemix.de> This is partly to enable the transition to SIDs in the the passdb. Andrew Bartlett (This used to be commit 96afea638e15d4cbadc57023a511094a770c6adc)
2002-06-07Move the code from lib/util_sid.c that deals with the global_sam_sid intoAndrew Bartlett3-242/+282
a file that is linked with the passdb. This is to avoid linking insanity when this global becomes a self-initing function. (This used to be commit 743afd96cb54b4966e3afad11ea987f968b98651)
2002-06-07Add flags2 for security signituresAndrew Bartlett1-0/+1
(This used to be commit 39c3f245f5e5d5e7532f9097683e6af3190dc872)
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)