summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-09-06Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de>Andrew Bartlett7-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 (This used to be commit 5b9a7ab901bc311f3ad08462a8a68d133c34a8b4)
2002-09-06Oops...Andrew Bartlett1-1/+1
(This used to be commit 9a6f932da1c85a331a8427f055b5fa798dbda89b)
2002-09-06Add some DEBUG()s to some libads failure modes.Andrew Bartlett1-1/+5
(This used to be commit ad3c8da13b9d510f78fd56364cd0987de88a9b9f)
2002-09-06One less user of Get_Pwnam_modify()...Andrew Bartlett1-2/+4
Andrew Bartlett (This used to be commit 06b8a6fef466e006724bc49165fe936cf8fcfbfa)
2002-09-06Detect and use syslog.h or sys/syslog.h corretly. Fixes lack of prototype forAndrew Bartlett4-727/+775
syslog() since Paul Green's POSIX patch. (This used to be commit d3b29b0b2d2ffd5c050900ff8cae441b91f95526)
2002-09-06Initial version of printerdata_ex browsing.Tim Potter3-5/+38
(This used to be commit c201a61a52ffbaf1b1b70e25e0ef2b29a89f921c)
2002-09-06Move printerdata dictionary object into it's own file.Tim Potter3-12/+49
(This used to be commit c211d2deca1019d3ef9bd08f5a01e76ede2d0191)
2002-09-06Decode list of dependent files in printer driver info3 and info6.Tim Potter1-1/+31
It's a null terminated list of null terminated unicode strings. What a mess! (This used to be commit aae48211ff4f22e0c2e2fe57c370f465df4332bc)
2002-09-06level keys are inserted by conv routines.Tim Potter1-14/+0
(This used to be commit b5068bb9fe28cfdd7a00dbc50196eb60e3a46af1)
2002-09-06Display debug data we are marshalling/unmarshalling a UNISTR in aTim Potter1-1/+7
similar format to UNISTR2. (This used to be commit 2d227bdce26674affad87ad6d118e77604fb210a)
2002-09-06cli_spoolss_enumprinterdrivers:Tim Potter1-0/+4
Return WERR_UNKNOWN_LEVEL if we can't decode the returned buffer. (This used to be commit 0379a32d825e036c7f0dcabef46547cd678a2a1d)
2002-09-05Move the fancy NT_STATUS macros to a new file, so we can include them earlierAndrew Bartlett3-38/+63
in includes.h Andrew Bartlett (This used to be commit ed184ed1905b49956528b6835f48a69ba3c1a045)
2002-09-05Revert the "reverse" change to rpc_server/srv_spoolss_nt.c, simplyJeremy Allison2-32/+9
add then entries to the end of the list in printing/notify.c using DLIST_ADD_END. Jeremy. (This used to be commit 047d6a05fb60172a2607bb7d7d03dda5403c61fa)
2002-09-05Fixed a little, long standing bug: smbclient -M <name> should resolveVolker Lendecke1-3/+8
name#03, not name#20. Volker (This used to be commit 99017e887e4189ac7f6e3b7df08f028dc155191e)
2002-09-05Delivery notify messages over the back channel in *reverse* order inTim Potter1-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. (This used to be commit d41ff1f1a6cfad71ef35698d45e9fb97d9100898)
2002-09-05Remove donotify as notifies are cheap now.Jeremy Allison1-11/+11
Jeremy. (This used to be commit 78585de5811d10bcca156e296c7dd51eabe5d626)
2002-09-05We shouldn't add printing flag here.Jeremy Allison1-1/+1
Jeremy. (This used to be commit f00102ba77d752bdf714fa83ac7fdc679e8d7f17)
2002-09-05Send any queued up print notify messages in exit_server() so theyTim Potter1-0/+2
don't get lost if the client exits before timeout_processing() has a chance to run. (This used to be commit d7dde74aae64e9e142b80b7e3ba1bd69cec149b0)
2002-09-05A netshareenum reply always contains an enum_hnd. win2k returns zeroTim Potter1-4/+2
total entries on an error whereas nt4 must send uninitialised data so we didn't catch this one before. (This used to be commit 88653130bc1e380b7d8dc6c62492f3bbc6f1c707)
2002-09-05Roussed on Jeremy for not putting in enough debugs in the new printTim Potter2-0/+8
notify stuff. (-: (This used to be commit 87c156704f5d8913cf7bf3134ec5ba6403d36cca)
2002-09-05initial mem_ctx to NULLAndrew Tridgell2-2/+2
patch from metze (This used to be commit a4351a3923fd87e1c54119d997b673fcac34601b)
2002-09-05The new popt_common_debug code obviates the need to muck around withTim Potter1-10/+2
AllowDebugChange, saving the debuglevel across lp_load() calls etc. (This used to be commit 561204905b78323fd0a03cc7ec5c9dbb2295bd5b)
2002-09-04Added better error code on out of space. Removed total jobs check - notJeremy Allison3-53/+16
applicable any more. Jeremy. (This used to be commit 8828e2ea3c668aab6cda1b4be9a7e4ce1c23ca81)
2002-09-04Only cache the user list on the SAMR handle for a particularAndrew Bartlett1-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 (This used to be commit 65047aee7fefefaecded9772184a54c046ab1784)
2002-09-04Merge of (apparently working :-) new printing notify code.Jeremy Allison4-37/+213
Jeremy. (This used to be commit 8595c6ce4d74539089b600b3b0ff858a04b793ff)
2002-09-04Add bcast_msg_flags to connection struct. Allows sender to filter whenJeremy Allison9-28/+59
sending broadcast messages. Also initial cut-down of printing notify messages (not yet finished). Jeremy. (This used to be commit aca333719695b278843c59e1c6eb07d6655fd59c)
2002-09-04don't use ENCTYPE_ARCFOUR_HMAC unless the kerberos lib supports itAndrew Tridgell1-5/+4
(This used to be commit 13dc9e37d2422c45ac5005dce26b349f88dbe505)
2002-09-04Set default ACB attributes on 'unixsam' accounts. This means that machineAndrew Bartlett1-0/+9
accounts added first to /etc/passwd will be honered correctly. Also, users 'upgraded' to smbpasswd will have the right flags. Andrew Bartlett (This used to be commit 474cc910c73e5567313bac438c7324a80e2e90d8)
2002-09-04Fix typo in comment.Tim Potter1-1/+1
(This used to be commit 47b8ec632e20aa86c34f6a0a82d886fcc76f3000)
2002-09-04Quietened some debugs.Tim Potter1-2/+2
(This used to be commit ea26b3e8efcb83e16f7eb5add031a8df99046a69)
2002-09-04remove inet_aton()Gerald Carter1-1/+1
(This used to be commit a7616b2b942eaf3be4e16fb9d38cdb42d8b95a94)
2002-09-04DeletePrinterDriver[Ex]() fixes from APP_HEADGerald Carter2-171/+238
(This used to be commit 04874134ed83847988bad5fcad3463395dc283fb)
2002-09-03Fix the struct_blob.Richard Sharpe2-5/+9
(This used to be commit ce152b33c8b08905ea863d47a620c90ca47c8566)
2002-09-03Ensure we open UNIX fifo's non-blocking like we used to do.Jeremy Allison1-0/+11
Jeremy. (This used to be commit 53f411df10f1e152d8d596cd24a2f66af9eb6e51)
2002-09-03Fix crashbug discovered by "Kim R. Pedersen" <krp@filanet.dk> whereJeremy Allison1-1/+7
cli struct was being deallocated in a called function. Jeremy. (This used to be commit e33e9defa657aa54594bb0c27f9be2f7b12aab1b)
2002-09-03Formatting tidyup and additon of cli_close_connection() before bugfix.Jeremy Allison2-118/+101
Jeremy. (This used to be commit 3b71529c694b5b1093d99b7ef80835e72b1f8436)
2002-09-03Fix the client side NTLMSSP. It now works between smbclient and smbd!Richard Sharpe2-4/+52
However, it does not work with Win2K over 445 with raw NTLMSSP! (This used to be commit 53e4975337be2cab3ee89f2f62e5659855365b73)
2002-09-03Parse the NTLMSSP Challenge in cliconnect.c.Richard Sharpe1-2/+28
This gets us closer ... Should have the challenge now. Need to check that it works. (This used to be commit 5784835db95baf62362d35d3beab5d534cc776e9)
2002-09-03Conver cli_spoolss routines to use REGISTRY_VALUE and REGVAL_CTR code. Nice ↵Tim Potter1-67/+34
one jerry! (Hey I thought I checked this in already?) (This used to be commit f0c6303bebe0f494d70ac5371d7f6727413fe482)
2002-09-03Convert to new REGISTRY_VALUE cli_spoolss routines.Tim Potter1-51/+61
(This used to be commit 100aa8c893464d65f1b2225dab9dc5b58bbcff91)
2002-09-03Fixed enumjobs command to use new JOB_INFO_CTR structure.Tim Potter1-2/+2
(This used to be commit 9db5be03617740e705bce51784fdb80784779acb)
2002-09-03Fix setprinterdata rpcclient command to use new cli_spoolss_setprinterdataTim Potter1-6/+12
function. Also fixed crash bug - I don't think anyone uses this command anymore... (This used to be commit 82c9bf2a6f03c801e701636aff726090483cea25)
2002-09-03Make sure that an NTLMSSP negotiate blob has the correct stuff in it!Richard Sharpe1-2/+3
(This used to be commit b28267f52c0a5c175b067d7c2d10eca83c20e640)
2002-09-03Add type A to the small MSRPC generator ...Richard Sharpe1-0/+2
(This used to be commit 7f8fd5f270af74dcb3fd18af74233f7db4d8f9a7)
2002-09-03The session key in NTLMSSP AUTH blobs is actually an empty string.Richard Sharpe1-1/+1
Also, the negotiate blob has two ASCI strings encoded in the same way that the UNICODE strings are, they are just in ASCII. The PARSER and Generator will have to deal with that. (This used to be commit aaa7a681ce4ee52edb23c73a53aeabb07fd5b7d8)
2002-09-03Implemented client function for deleteprinterdataex.Tim Potter1-0/+15
(This used to be commit 6d792c683df3a4f97e1a04a57bf4890aab35aecd)
2002-09-03Change JOB_INFO_CTR to return a pointer to an array rather than array of ↵Tim Potter2-4/+4
pointers. (This used to be commit e9b71b354d923b2cd0f028dd197e7ca81339ec3a)
2002-09-03Change JOB_INFO_CTR to return a pointer to an array rather than array of ↵Tim Potter1-4/+47
pointers. Implemented client function for deleteprinterdataex. (This used to be commit f7641c8fd1079c2ef444d4bca5b97b1285733d10)
2002-09-03Display printerdata values in hex.Tim Potter1-1/+2
(This used to be commit cdd64e0860bf05b115e0d107f6cb2b9e1f6d0e9b)
2002-09-03Added utility function to convert python strings to hex dump + ascii.Tim Potter1-0/+73
(This used to be commit 7a6b6a8b4871065e3178223a7da5fafd8792b0bc)