summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fixed incorrect comment.Tim Potter2002-05-241-2/+2
|
* Remove the password length paramater from cli_full_connection - it reallyAndrew Bartlett2002-05-248-13/+14
| | | | | | | | didn't make any sense, and its was always just strlen(password) anyway. This fixes it to be strlen(password)+1 Andrew Bartlett
* Move the authenticaion subsystem over to the same 'module:options' syntaxAndrew Bartlett2002-05-249-42/+111
| | | | | | | | | | that the passdb code now uses. Similarly, move the 'pluggable' stuff over from passdb as well, allowing runtime loading of new authenticaion modules. (NOTE: The interfaces here can *and do* change - module writers are not assured source-level compatibilty, and certainly not binary compatibility).
* Don't duplicat this here, use the existing function prototype.Andrew Bartlett2002-05-241-4/+2
|
* Make function match the defintion require for assignment as a functionAndrew Bartlett2002-05-241-1/+1
| | | | pointer.
* If we don't do the select don't do the recvfrom.Jeremy Allison2002-05-241-0/+1
| | | | Jeremy.
* Fixed silly typo that causes receive_local_message to loop - caused byJeremy Allison2002-05-241-1/+1
| | | | | my removal of the goto. Oops ! Jeremy.
* Compile fix for enum trust dom wrapper.Tim Potter2002-05-231-1/+1
|
* Looks like abartlet got a bit overexcited about using const...Jim McDonough2002-05-231-1/+1
| | | | | | BOOL const secrets_init(...) Broke AIX build.
* Allow initial password set on net ads user add. I need to do this onJim McDonough2002-05-231-3/+30
| | | | | rpc and rap too. Anyone know what key I'm supposed to use to encrypt it for the rap one?
* This function is unused, and doesn't make any sense to me anyway.Andrew Bartlett2002-05-231-17/+0
| | | | | | | | Wasn't this what got us some of the bugs with big-endien smbpasswd -j FOO -U ? Anyway, it deserves to die. Andrew Bartlett
* Nobody uses this, and its really just a layer of internal implementation.Andrew Bartlett2002-05-231-1/+1
| | | | Make it static (till sombody needs its...)
* Given Jeremy's positive response, and a lack of one from tpot, I'll commitAndrew Bartlett2002-05-2314-559/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this: More code cleanup - this lot a bit more dodgy than the last: The aim is to trim pwd_cache down to size. Its overly complex, and a pain to deal with. With a header comment like this: 'obfusticaion is planned' I think it deserved to die (at least partly). This was being done to allow 'cli_establish_connection' to die - its functionality has been replaced by cli_full_connection(), which does not duplicate code everywhere for creating names etc. This also removes the little 'init' fucntions for the various pipes, becouse they were only used in one place, and even then it was dodgy. (I've reworked smbcacls not to use anonymous connections any more, as this will (should) fail with a 'restrict anonymous' PDC). This allowed me to remove cli_pipe_util.c, which was calling cli_establish_connection. tpot: I'm not sure what direction you were going with the client stuff, and you may well have been wanting the init functions. If thats the case, give me a yell and I'll reimplement them against cli_full_connection. Andrew Bartlett
* A graphical tdb browser using the gnome-python bindings.Tim Potter2002-05-231-0/+166
|
* Another change to the GPL "abandon hope all who enter here" warning.Tim Potter2002-05-231-4/+4
|
* Ensure we kill with -TERM.Jeremy Allison2002-05-231-2/+2
| | | | Jeremy.
* Merge of bugfixes from 2.2.Jeremy Allison2002-05-223-8/+16
| | | | Jeremy.
* Got gdb and gpl confused. (-:Tim Potter2002-05-221-3/+3
|
* Fix for strangeness in Linux 2.0.x select return.Jeremy Allison2002-05-221-0/+14
| | | | Jeremy.
* Remove horrid goto.Jeremy Allison2002-05-221-10/+5
| | | | Jeremy.