summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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)
2002-05-27Use a fixed size font for displaying tdb values.Tim Potter1-4/+111
Added a (regexp, function) pair to register display functions for keys matching regular expressions. Expand the size of the value scrolling window. Added hex dump function and some regexps to display DRIVERS, SECDESC and PRINTERS keys in hex instead of ascii. (This used to be commit 7d10dc5f7bd12e25ea3e64b380a029c89929156f)
2002-05-27More automatically generated prototype madness.Tim Potter3-3/+3
(This used to be commit 8e1a15a625b72711bcfab77403e6a6b91e434756)
2002-05-27Use new version of open_pipe_creds() function.Tim Potter1-23/+56
Don't attempt to free client state returned by cli_full_connection() Fix memory leaks on error. Allow setprinter level 1 - doesn't work though. Extended interface to enumprinters(). The name value passed in the RPC request can be different from the server name in which case lots of weird and wonderful information is returned. Defaults to the server name. (This used to be commit c75bbda1021838074ff0f2e54edd68c69acccee0)
2002-05-27Use new version of open_pipe_creds() function.Tim Potter1-2/+1
(This used to be commit e4aff324c28bfc08e73b627a5c7941109a3c2c2f)
2002-05-27Use new version of open_pipe_creds() function.Tim Potter1-11/+25
Server argument to enumprinterdrivers() must be in UNC format. (This used to be commit 3b011eb65a45a2b919e0b759f426581100ac17fd)
2002-05-27Use new version of open_pipe_creds() function.Tim Potter1-4/+11
Fix memory leaks on error. (This used to be commit b44e82667252c0ff4477d77487ff92b3af8ad418)
2002-05-27Use new version of open_pipe_creds() function.Tim Potter1-16/+20
A compile fix for enumerating trusted domains. (This used to be commit fc75c3ccc3bc45ab72db85d46dbedbbdb0e2dff7)
2002-05-27Check types of dictionary elements in to_struct()Tim Potter1-10/+10
(This used to be commit 793f1042f153bd6ca3f75bebf719d47744ffecde)
2002-05-27Convert open_pipe_creds() to use new cli_full_connection() interface.Tim Potter1-31/+28
Initialise global_myname in py_samba_init() function. (This used to be commit e5dcd3c7ccf0060d86a484b8307f747805b20c5f)
2002-05-27Honour return value of to_struct() when converting to Samba structures.Tim Potter2-6/+15
(This used to be commit 1ef99e76632f6f6b866de491db8722c94f75a8c2)
2002-05-27Fixed compiler warning.Tim Potter1-2/+3
(This used to be commit 736eb3c7485c0e65a463f14f27ada55a1a3fd453)
2002-05-27Fixed dodgy arguments to PyArg_ParseTupleAndKeywords()Tim Potter1-1/+1
(This used to be commit 45562b86039ec1b2f6d1cf3e9a5aa57cf87a796a)
2002-05-27Some rearrangement of header files.Tim Potter5-5/+5
(This used to be commit 0b2bd0a2290315056789f6aa1421678583086fc6)
2002-05-26change: pdb_getsampwrid() ->pdb_getsampwsid()Simo Sorce10-95/+115
passdb interface change, now the passdb modules will be asked for SID not for rid, the modules have been updated with a passthrough function that calls the old getsampwrid() functions. srv_samr_nt.c functions that made use of the pdb_getsampwrid funcion has been updated to use the SID one. (This used to be commit f5c6496c33fa7f5c2826540ffb4a49d8a5790fb3)
2002-05-26Add support for NTLMv2 (tested!) with NTLMSSP.Andrew Bartlett3-21/+101
The problem was the NTLMv2 uses extra data in order to make reply/lookup more difficult. That extra data includes the hostname, and the domain. This matches Win2k (sort of) by sending this information. Win2k connects with LMCompatibilityLevel=5 without a problem. We can change the negotiation bits if we want, this should allow us to make NTLMv2 the default for other clients as well. Some of the extra #defines were found in the squid source. Andrew Bartlett (This used to be commit 17a5f67b3d1935baf6197ae967624eb847b66ac8)
2002-05-26move debug stuff from messages.c to debug.c (Elrond)Simo Sorce2-20/+20
(This used to be commit 44df5a13bc83dc331caa6788cf0805333ed79f8d)
2002-05-25Update some of the LM hash code to better respect the seperation betweenAndrew Bartlett3-54/+57
unix and DOS strings. This pushes all the 'have to uppercase, must be 14 chars' stuff behind the the interface. Andrew Bartlett (This used to be commit dec650efa8ab1466114c2e6d469320a319499ea0)
2002-05-25Clean up a few unused functions, add a bit of static etc.Andrew Bartlett8-89/+32
Importantly: The removal of the silly 'delete user script' behaviour when secuity=domain. I have left the name the same - as it still does the (previously documented, but not in smb.conf(5)) sane behaviour of deleting users on request. When we decide what to do with the 'add user' functionality, we might rename it. Andrew Bartlett (This used to be commit cdcfe3671eb7570e15649b77f708e6579055e7bc)
2002-05-25Only reterive the attributes we are actually going to use - rather thanAndrew Bartlett1-3/+14
the whole record which could include things like photos's etc. Andrew Bartlett (This used to be commit bbc69545516f29cc4e05ba6238b03eb504f28226)
2002-05-25Remove unused variable, fix functions to match prototypes in the variousAndrew Bartlett1-6/+5
structs. Andrew Bartlett (This used to be commit 57097bf1ba10566389266a4863899a7f25cdbb43)
2002-05-24merge from SAMBA_2_2Gerald Carter1-1/+3
(This used to be commit f0226a1d836b69d179a1a2eda79fa26911b78096)
2002-05-24merge from SAMBA_2_2.Gerald Carter3-6/+50
Tim, please check the prs_align() removed from sec_io_desc() and make sure it doesn't break anything else. I know it is right for the printing needs and I have tested some other general things like viewing acls on directories, but I would feel more comfortable if you would have a look as well. jerry (This used to be commit 83f109c940f30d9b35176540d8bdccbb22ffa3a1)
2002-05-24Name the authentication modules, and therfore fix up both the build farmAndrew Bartlett4-0/+6
and secuirty=server. I *love* automated testing... Andrew Bartlett (This used to be commit c92f4f4d72ffd307ca2d4d792b5e4154f1b85b91)
2002-05-24Some grammar fixes picked up from the bugs.debian.org, submitted byAndrew Bartlett3-14/+14
jrv@vanzandt.mv.com Most of them didn't apply any more, but the bits that did I've commited. Andrew Bartlett (This used to be commit 1022a176e5af25872f34147d6f8b38601134915c)
2002-05-24Some of the updates from ctrlsoft's 'Various' patch:Andrew Bartlett5-55/+70
- convert net to popt - convert status to popt - adapt examples/pdb/ to multiple passdb system - add dynamic debug class example to examples/pdb/ and some reformatting to better match the samba coding style. Andrew Bartlett (This used to be commit 2498bc69d4e5c38ec385f640489daa94c508c726)
2002-05-24Fixed incorrect comment.Tim Potter1-2/+2
(This used to be commit 2f74fb6e9893d306598ebedd54658f2dd56e988e)