summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some missing ; on the end of our SAM_ASSERT()...Andrew Bartlett2002-09-061-4/+4
|
* Get our consts back in line with current norms - only for pointer protection.Andrew Bartlett2002-09-061-7/+7
| | | | | | Debate about extending this policy welcomed on samba-technical. Andrew Bartlett
* Make it possible to actually build these modules - process the Makefile.in atAndrew Bartlett2002-09-062-3/+3
| | | | the end of configure.
* Updates to sam_skel from metze, add sam/group.c and add a DEBUG() to theAndrew Bartlett2002-09-063-27/+223
| | | | SAM_ASSERT if we are not going to crash.
* This commit includes part of the patch from metze posted to the list, and a fewAndrew Bartlett2002-09-066-259/+225
| | | | | | | | | | | | | | | | | | | | | of my own changes. In particular: I've added a SAM_ASSERT macro. This expands to either SMB_ASSERT() (which should help us track down bugs) or a return of NT_STATUS_CHECK_FAIL. Metze's changes are mostly to bring the code into line with current discussions on things like adding users/groups, flags etc. I've adjusted a fair bit of the 'const' in the SAM stuff. Const is currently used only for pointers, not for local variables or non-pointer paramters. The benifits and reasons for extending this further need discussion on samba-technical. Also, some of the 'context' paramters should not be const, to allow backend modules to do fancy caching etc in them. Andrew Bartlett
* patch from metze: add a 'vfs' debug classAndrew Bartlett2002-09-064-1/+10
|
* Revert accidental commit - I'll need to do a fair bit more testing before IAndrew Bartlett2002-09-061-3/+0
| | | | commit changes to NTLMSSP flags.
* Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>Andrew Bartlett2002-09-067-35/+154
| | | | | | | | | | | | | to extend the ADS_STATUS system to include NTSTATUS, and to provide a better general infrustructure for his sam_ads work. I've also added some extra failure mode DEBUG()s to parts of the code. NOTE: The ADS_ERR_OK() macro is rather sensitive to braketing issues - without the final set of brakets, the test is essentially inverted - causing some intersting 'error = success' messages... Andrew Bartlett
* Oops...Andrew Bartlett2002-09-061-1/+1
|
* Add some DEBUG()s to some libads failure modes.Andrew Bartlett2002-09-061-1/+5
|
* One less user of Get_Pwnam_modify()...Andrew Bartlett2002-09-061-2/+4
| | | | Andrew Bartlett
* Detect and use syslog.h or sys/syslog.h corretly. Fixes lack of prototype forAndrew Bartlett2002-09-064-727/+775
| | | | syslog() since Paul Green's POSIX patch.
* Initial version of printerdata_ex browsing.Tim Potter2002-09-063-5/+38
|
* Move printerdata dictionary object into it's own file.Tim Potter2002-09-063-12/+49
|
* Decode list of dependent files in printer driver info3 and info6.Tim Potter2002-09-061-1/+31
| | | | | It's a null terminated list of null terminated unicode strings. What a mess!
* level keys are inserted by conv routines.Tim Potter2002-09-061-14/+0
|
* Display debug data we are marshalling/unmarshalling a UNISTR in aTim Potter2002-09-061-1/+7
| | | | similar format to UNISTR2.
* cli_spoolss_enumprinterdrivers:Tim Potter2002-09-061-0/+4
| | | | Return WERR_UNKNOWN_LEVEL if we can't decode the returned buffer.
* Move the fancy NT_STATUS macros to a new file, so we can include them earlierAndrew Bartlett2002-09-053-38/+63
| | | | | | in includes.h Andrew Bartlett
* Revert the "reverse" change to rpc_server/srv_spoolss_nt.c, simplyJeremy Allison2002-09-052-32/+9
| | | | | | add then entries to the end of the list in printing/notify.c using DLIST_ADD_END. Jeremy.
* Fixed a little, long standing bug: smbclient -M <name> should resolveVolker Lendecke2002-09-051-3/+8
| | | | | | name#03, not name#20. Volker
* Delivery notify messages over the back channel in *reverse* order inTim Potter2002-09-051-3/+30
| | | | | | | | which they are sent in the message. This is because a DLIST_ADD is used by the message sender which results in the first (post!) message being at the end of the list. Notify messages must be delivered in the order the events occur in otherwise the port monitor gets confused.
* Remove donotify as notifies are cheap now.Jeremy Allison2002-09-051-11/+11
| | | | Jeremy.
* We shouldn't add printing flag here.Jeremy Allison2002-09-051-1/+1
| | | | Jeremy.
* Send any queued up print notify messages in exit_server() so theyTim Potter2002-09-051-0/+2
| | | | | don't get lost if the client exits before timeout_processing() has a chance to run.
* A netshareenum reply always contains an enum_hnd. win2k returns zeroTim Potter2002-09-051-4/+2
| | | | | total entries on an error whereas nt4 must send uninitialised data so we didn't catch this one before.
* Roussed on Jeremy for not putting in enough debugs in the new printTim Potter2002-09-052-0/+8
| | | | notify stuff. (-:
* initial mem_ctx to NULLAndrew Tridgell2002-09-052-2/+2
| | | | patch from metze
* The new popt_common_debug code obviates the need to muck around withTim Potter2002-09-051-10/+2
| | | | AllowDebugChange, saving the debuglevel across lp_load() calls etc.
* Added better error code on out of space. Removed total jobs check - notJeremy Allison2002-09-043-53/+16
| | | | | applicable any more. Jeremy.
* Only cache the user list on the SAMR handle for a particularAndrew Bartlett2002-09-041-6/+24
| | | | | | | | | acb_mask/all_machines flag combination. The avoids a bug where we were listing users in the 'trusting domains' dialog in usrmgr. We might also need to invalidate the cache for some other SAMR actions. Andrew Bartlett
* Merge of (apparently working :-) new printing notify code.Jeremy Allison2002-09-044-37/+213
| | | | Jeremy.
* Add bcast_msg_flags to connection struct. Allows sender to filter whenJeremy Allison2002-09-049-28/+59
| | | | | | sending broadcast messages. Also initial cut-down of printing notify messages (not yet finished). Jeremy.
* don't use ENCTYPE_ARCFOUR_HMAC unless the kerberos lib supports itAndrew Tridgell2002-09-041-5/+4
|
* Set default ACB attributes on 'unixsam' accounts. This means that machineAndrew Bartlett2002-09-041-0/+9
| | | | | | | accounts added first to /etc/passwd will be honered correctly. Also, users 'upgraded' to smbpasswd will have the right flags. Andrew Bartlett
* Fix typo in comment.Tim Potter2002-09-041-1/+1
|
* Quietened some debugs.Tim Potter2002-09-041-2/+2
|
* remove inet_aton()Gerald Carter2002-09-041-1/+1
|
* DeletePrinterDriver[Ex]() fixes from APP_HEADGerald Carter2002-09-042-171/+238
|
* Fix the struct_blob.Richard Sharpe2002-09-032-5/+9
|
* Ensure we open UNIX fifo's non-blocking like we used to do.Jeremy Allison2002-09-031-0/+11
| | | | Jeremy.
* Fix crashbug discovered by "Kim R. Pedersen" <krp@filanet.dk> whereJeremy Allison2002-09-031-1/+7
| | | | | cli struct was being deallocated in a called function. Jeremy.
* Formatting tidyup and additon of cli_close_connection() before bugfix.Jeremy Allison2002-09-032-118/+101
| | | | Jeremy.
* Fix the client side NTLMSSP. It now works between smbclient and smbd!Richard Sharpe2002-09-032-4/+52
| | | | However, it does not work with Win2K over 445 with raw NTLMSSP!
* Parse the NTLMSSP Challenge in cliconnect.c.Richard Sharpe2002-09-031-2/+28
| | | | This gets us closer ... Should have the challenge now. Need to check that it works.
* Conver cli_spoolss routines to use REGISTRY_VALUE and REGVAL_CTR code. Nice ↵Tim Potter2002-09-031-67/+34
| | | | | | one jerry! (Hey I thought I checked this in already?)
* Convert to new REGISTRY_VALUE cli_spoolss routines.Tim Potter2002-09-031-51/+61
|
* Fixed enumjobs command to use new JOB_INFO_CTR structure.Tim Potter2002-09-031-2/+2
|
* Fix setprinterdata rpcclient command to use new cli_spoolss_setprinterdataTim Potter2002-09-031-6/+12
| | | | | function. Also fixed crash bug - I don't think anyone uses this command anymore...
* Make sure that an NTLMSSP negotiate blob has the correct stuff in it!Richard Sharpe2002-09-031-2/+3
|