summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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)
2002-05-31Resurrect the 'restrict anonymous' parameter but make it an integer.Tim Potter1-4/+4
It will have the same meaning as the RestrictAnonymous registry setting. See Q143474 and Q246261 for more details. (This used to be commit 2d2f6fcc559e90a5c7a761ec2860551f5eb86423)
2002-05-31netfileenum was missing the username filter.Jim McDonough2-1/+11
(This used to be commit 8fc3dba8bd99c55bef9ac137976dd35134a49342)
2002-05-30Added netfileenum (sorry - no output though (-:) command.Tim Potter2-0/+78
(This used to be commit 099b750b4ed8f04a1fd8a018508d412691e37df6)
2002-05-30Added some comments for NTLMSSP negotiation flags.Tim Potter1-4/+4
(This used to be commit 742413b2846af44ac43830f488c15c5c11c1cb27)
2002-05-29merge from 2.2Gerald Carter2-326/+332
(This used to be commit 65417ed341113a9624eada9a97ef0b9d66ca95c0)
2002-05-29merge from 2.2Gerald Carter1-1/+1
(This used to be commit 612584f7d5383db28960e1ae9aaeaa9b8b47486c)
2002-05-29Added netremotetod to try and figure out which srvsvc commands are deniedTim Potter3-0/+79
when using restrictanonymous. (This used to be commit 0c65978ed07903af808da5f32cc29531aef23225)
2002-05-29Cleaned up srvsvc constants a bit.Tim Potter4-43/+43
(This used to be commit ca61f68d5ca8791bea34732bd358cfb63273fc5c)
2002-05-28Spelling fixes.Tim Potter1-7/+7
(This used to be commit 3d0f4acad2f0c57d0a255e90e5f674ba582251e2)
2002-05-28merge from 2.2Gerald Carter1-1/+1
(This used to be commit e671b7fe9d6c963e20770944f29ea532293d2692)
2002-05-28Updates to better report some NTSTATUS errors into PAM, and update to PAMAndrew Bartlett2-0/+10
to correctly allow password changes on expired passwords. (No security implications, as its just a 'will I let you talk to the server' check). pam_winbind checks the password prior to changing it, so that users don't have to make up and type their new password when they havn't even got the old one right. This also helps with stacking etc. Andrew Bartlett (This used to be commit 2b78d493002a3ba13533429c6a14f5c0a92f43d1)
2002-05-28Added netshareenum cli command - the rpc structures here are really bizzareTim Potter1-0/+120
so muchos dodgy code is required to copy the results out of the parse buffer into the client's talloc context. (This used to be commit 496d3cf02c15ece7e13fa023deea740ee00486a8)
2002-05-28When marshalling a netshareenum request the share ctr has to be initialisedTim Potter1-1/+3
to an empty value instead of a null pointer otherwise the server service crashes on NT. (This used to be commit c7214baa0540a0c7d23d3023b2c2ff4cde0f9f7f)
2002-05-28Added netshareenum command at level 1 and 2.Tim Potter1-1/+74
(This used to be commit 99ac1b339c2b4ec5b85ecc3a87efa2ef508ecab1)
2002-05-28Hmm - you can do NT_STATUS_IS_OK on a WERROR and not get a compile ↵Tim Potter1-1/+1
warning/error. (This used to be commit 8d6270cadf7f99ee8ee441ee6c3e58eca623d519)
2002-05-28Some fixes for enumerating domain groups and aliases:Tim Potter1-25/+63
- close down connect and domain policy handles when exiting - allow enumeration of > 65535 groups or aliases - error handling for non-zero return value from enumeration functions (This used to be commit a48f362ca7ff6477d3064bc2c5c888eeb095d2ce)
2002-05-28Separate error handling for cli_full_connection() and cli_nt_session_open()Tim Potter1-2/+7
(This used to be commit 6f269de03e91b823a30a2a12e41f25f1fa050870)
2002-05-28Raise a ValueError if server name isn't given in UNC format.Tim Potter1-0/+7
(This used to be commit 77be88668d9669a0aaa331c4bbb0faad978f0990)
2002-05-28Raise a ValueError if server names aren't given in UNC format.Tim Potter3-8/+16
(This used to be commit f5a1a3190dc0d4ecdf55b870633a83ee125b816e)
2002-05-28Allow None to be used as a valid credential for functions that take aTim Potter4-13/+54
credential as a parameter. (This used to be commit 166aee6cc2abb5f6e91ebf3d4ec37454034b8dcd)
2002-05-28Allow None to be used as a valid credential in open_policy.Tim Potter1-2/+39
Added {get,set}_debuglevel() and setup_logging() functions. (This used to be commit b6e860546a622e6da238faf56d7c1567c6cf63a5)