summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Update netfileenum to new api.Jim McDonough2002-05-311-1/+1
|
* Update netfileenum on both client and server sides to do an arbitrary numberJim McDonough2002-05-314-144/+124
| | | | | of files. This was done to better enable net rpc file. Perhaps we can start giving back real info this way, too.
* Fixed crash bug in querydispinfo.Tim Potter2002-05-311-70/+62
| | | | Some reformatting.
* Return access denied for net_share_enum when restrict anonymous > 0Tim Potter2002-05-311-0/+17
|
* Resurrect the 'restrict anonymous' parameter but make it an integer.Tim Potter2002-05-311-4/+4
| | | | | | | It will have the same meaning as the RestrictAnonymous registry setting. See Q143474 and Q246261 for more details.
* netfileenum was missing the username filter.Jim McDonough2002-05-312-1/+11
|
* Added netfileenum (sorry - no output though (-:) command.Tim Potter2002-05-302-0/+78
|
* Added some comments for NTLMSSP negotiation flags.Tim Potter2002-05-301-4/+4
|
* merge from 2.2Gerald Carter2002-05-292-326/+332
|
* merge from 2.2Gerald Carter2002-05-291-1/+1
|
* Added netremotetod to try and figure out which srvsvc commands are deniedTim Potter2002-05-293-0/+79
| | | | when using restrictanonymous.
* Cleaned up srvsvc constants a bit.Tim Potter2002-05-294-43/+43
|
* Spelling fixes.Tim Potter2002-05-281-7/+7
|
* merge from 2.2Gerald Carter2002-05-281-1/+1
|
* Updates to better report some NTSTATUS errors into PAM, and update to PAMAndrew Bartlett2002-05-282-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
* Added netshareenum cli command - the rpc structures here are really bizzareTim Potter2002-05-281-0/+120
| | | | | so muchos dodgy code is required to copy the results out of the parse buffer into the client's talloc context.
* When marshalling a netshareenum request the share ctr has to be initialisedTim Potter2002-05-281-1/+3
| | | | | to an empty value instead of a null pointer otherwise the server service crashes on NT.
* Added netshareenum command at level 1 and 2.Tim Potter2002-05-281-1/+74
|
* Hmm - you can do NT_STATUS_IS_OK on a WERROR and not get a compile ↵Tim Potter2002-05-281-1/+1
| | | | warning/error.
* Some fixes for enumerating domain groups and aliases:Tim Potter2002-05-281-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
* Separate error handling for cli_full_connection() and cli_nt_session_open()Tim Potter2002-05-281-2/+7
|
* Raise a ValueError if server name isn't given in UNC format.Tim Potter2002-05-281-0/+7
|
* Raise a ValueError if server names aren't given in UNC format.Tim Potter2002-05-283-8/+16
|
* Allow None to be used as a valid credential for functions that take aTim Potter2002-05-284-13/+54
| | | | credential as a parameter.
* Allow None to be used as a valid credential in open_policy.Tim Potter2002-05-281-2/+39
| | | | Added {get,set}_debuglevel() and setup_logging() functions.
* Use a fixed size font for displaying tdb values.Tim Potter2002-05-271-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.
* More automatically generated prototype madness.Tim Potter2002-05-273-3/+3
|
* Use new version of open_pipe_creds() function.Tim Potter2002-05-271-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.
* Use new version of open_pipe_creds() function.Tim Potter2002-05-271-2/+1
|
* Use new version of open_pipe_creds() function.Tim Potter2002-05-271-11/+25
| | | | Server argument to enumprinterdrivers() must be in UNC format.
* Use new version of open_pipe_creds() function.Tim Potter2002-05-271-4/+11
| | | | Fix memory leaks on error.
* Use new version of open_pipe_creds() function.Tim Potter2002-05-271-16/+20
| | | | A compile fix for enumerating trusted domains.
* Check types of dictionary elements in to_struct()Tim Potter2002-05-271-10/+10
|
* Convert open_pipe_creds() to use new cli_full_connection() interface.Tim Potter2002-05-271-31/+28
| | | | Initialise global_myname in py_samba_init() function.
* Honour return value of to_struct() when converting to Samba structures.Tim Potter2002-05-272-6/+15
|
* Fixed compiler warning.Tim Potter2002-05-271-2/+3
|
* Fixed dodgy arguments to PyArg_ParseTupleAndKeywords()Tim Potter2002-05-271-1/+1
|
* Some rearrangement of header files.Tim Potter2002-05-275-5/+5
|
* change: pdb_getsampwrid() ->pdb_getsampwsid()Simo Sorce2002-05-2610-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.
* Add support for NTLMv2 (tested!) with NTLMSSP.Andrew Bartlett2002-05-263-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
* move debug stuff from messages.c to debug.c (Elrond)Simo Sorce2002-05-262-20/+20
|
* Update some of the LM hash code to better respect the seperation betweenAndrew Bartlett2002-05-253-54/+57
| | | | | | | | | unix and DOS strings. This pushes all the 'have to uppercase, must be 14 chars' stuff behind the the interface. Andrew Bartlett
* Clean up a few unused functions, add a bit of static etc.Andrew Bartlett2002-05-258-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
* Only reterive the attributes we are actually going to use - rather thanAndrew Bartlett2002-05-251-3/+14
| | | | | | the whole record which could include things like photos's etc. Andrew Bartlett
* Remove unused variable, fix functions to match prototypes in the variousAndrew Bartlett2002-05-251-6/+5
| | | | | | structs. Andrew Bartlett
* merge from SAMBA_2_2Gerald Carter2002-05-241-1/+3
|
* merge from SAMBA_2_2.Gerald Carter2002-05-243-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
* Name the authentication modules, and therfore fix up both the build farmAndrew Bartlett2002-05-244-0/+6
| | | | | | | | and secuirty=server. I *love* automated testing... Andrew Bartlett
* Some grammar fixes picked up from the bugs.debian.org, submitted byAndrew Bartlett2002-05-243-14/+14
| | | | | | | | jrv@vanzandt.mv.com Most of them didn't apply any more, but the bits that did I've commited. Andrew Bartlett
* Some of the updates from ctrlsoft's 'Various' patch:Andrew Bartlett2002-05-245-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