summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-05-17Call get_level_value() utility function.Tim Potter1-21/+8
(This used to be commit 2566dad274e0bced9e55cbc3c126c00e70373fbe)
2002-05-17Added a utility function to extract the info key from a dictionary.Tim Potter2-0/+18
(This used to be commit 4cafbcb205af11c478a2d9047554315915933e5d)
2002-05-17to_struct() now returns a boolean which is false if not all the elements ofTim Potter2-2/+7
the structure were present in the dictionary. (This used to be commit b26d9d793914b66050c374ec2c0e94fa37c7e0e4)
2002-05-16Fix for non-__va_copy systems. I had used AC_TRY_COMPILE, but even thoughJim McDonough2-2/+2
__va_copy wasn't defined, it compiled as though it were a function, but fails on a link. Oops. (This used to be commit d3222ecd1a024fd2e7ba72b1bc10a400d398a364)
2002-05-16Add __va_copy to talloc functions. talloc_asprintf was causing all kindsJim McDonough1-5/+24
of problems on Linux/390 systems... (This used to be commit 2605e483b309e62b4c5d39a2ac6d8b2257bb5a87)
2002-05-16Add configure support for __va_copy, which is required on Linux/390 systemsJim McDonough4-264/+309
when assigning on va_list to another, or when passing a va_list as an argument to a function. Not using it causes segv's and other unpredictable results. We need to check all over the place for this... (This used to be commit 331132678c2e25e5f220de34968f6b16f4fbbc97)
2002-05-16Fix bug where creating a file and setting a security descriptor atomicallyJeremy Allison1-47/+68
that only contains an "everyone" DACL doesn't apply this to user and group entries also. Jeremy. (This used to be commit 2f67f39d219bbe110d52ed2680fd8ac57946756f)
2002-05-16merge from SAMBA_2_2Gerald Carter2-2/+2
(This used to be commit d8e8f13f7231c2b2874fdca7f3600acb69e48df4)
2002-05-16Return enumerated forms as a hash of hashes instead of a list of hashes.Tim Potter1-8/+19
(This used to be commit 2f86f01b88ccaaeee97588f339ebaeae5c4c06e9)
2002-05-16Removed unused variable.Tim Potter1-2/+0
(This used to be commit 8d2f77ce956711f2afbadbeee50d82fbec9047dc)
2002-05-16Renamed 'printer_name' field in python printer info to 'name' to beTim Potter1-3/+3
more consistent. (This used to be commit f8c198b74899d1be1725d0647c5f0cd7db870340)
2002-05-16Fix memory leaks and return values in error returns for enumprinters().Tim Potter1-29/+48
Return enumerated printers as a hash of hashes instead of a list of hashes. (This used to be commit 1d0fd34d42e286fe7a41ca2d122f6bd7dc958b0a)
2002-05-16Fix memory leaks and return values in error returns for enumports().Tim Potter1-16/+40
Return enumerated ports as a hash of hashes instead of a list of hashes. (This used to be commit c469ada3d3b12b6a6e243d004faaae5f96cd3d96)
2002-05-16Set exception object when enumjobs returns non-zero NT status.Tim Potter1-1/+3
(This used to be commit b1818eb37572f4d30efef998d926ac111e78cb48)
2002-05-16Fix return value for enumprinterdrivers(), getprinterdriverdir().Tim Potter1-16/+18
Set info level key in getprinterdriverdir() return info. (This used to be commit cb4bfd39eb83efddb29b3a3bc70c2a8713f80ef2)
2002-05-16Shorten some debug messages.Tim Potter2-2/+2
(This used to be commit 179c68bd0db7c2631fcf052a746acacedf3c47ac)
2002-05-16More cleanups.Tim Potter11-109/+137
- removed dodgy fprintf() error handling - return an error string from open_pipe_creds() so the appropriate exception can be raised by the caller - reformatting (This used to be commit d35cad359df3bd53e6bb49f6655d4c7b9993abb0)
2002-05-16Refactored open_pipe_creds() function to remove unused parameter.Tim Potter8-46/+38
(This used to be commit 36ed06cb5078429445f3bbb0f69baa2e0f8356a4)
2002-05-16Added addjob command.Tim Potter3-2/+13
(This used to be commit e4cc7e2d521cb2777c15c00ec222342e2a0b02ca)
2002-05-16Cleaned up help docstrings.Tim Potter1-54/+67
(This used to be commit a8fcb151f8ff601774c302b61e694b4522461068)
2002-05-15merges from SAMBA_2_2Gerald Carter1-3/+3
(This used to be commit 91f569a691be893e1a02c659a8f0753970fadbae)
2002-05-15Added ability to lookup ldap server, kdc, dc, and master browser. PleaseJim McDonough1-2/+171
review especially the methods for finding kdc and ldap server when they're not specified. This is a first attempt... (This used to be commit 5edccb51b94a80bbb3ecd59602393887286c8074)
2002-05-15more solaris compile fixes (for smbwrapper)Gerald Carter3-782/+780
(This used to be commit fbefb479fb3bd86affffa1bd567565f1797ae329)
2002-05-15Renamed functions that are methods of a printer handle object fromTim Potter7-64/+64
spoolss_* to spoolss_hnd_* to make things a bit clearer. (This used to be commit 986d868837350e9b107c147e649f139fd7d881f0)
2002-05-15make protoTim Potter1-0/+1
(This used to be commit 4fe9f83998a3b669b2190b0c71908fe2d9f915fd)
2002-05-15Method entry for addprinterex()Tim Potter1-0/+3
(This used to be commit 1ad82cd0c3f76a629b8fc2e1b02e57b8e97829dd)
2002-05-15Fixed a memory leak in enumprinters.Tim Potter1-4/+57
Started addprinterex() - doesn't work yet. (This used to be commit b56bf8f43efbb356ecacf13b96cee7f07386d83d)
2002-05-15Comment that deleteprinterdataex isn't supported by a samba server.Tim Potter1-0/+4
(This used to be commit c07d583327fa194547d1bd41fdb12b25f24e88f7)
2002-05-15Return a dictionary of printer drivers in enumprinterdrivers() instead of aTim Potter1-8/+138
list. Started addprinterdriver() - doesn't work yet. Added stubs for deleteprinterdriver routines. (This used to be commit e3c27d7d1093743124cad573e781547a9a2f659f)
2002-05-15Implement py_to_DRIVER_INFO_3()Tim Potter1-1/+5
(This used to be commit ced14ea913b55c87a8dd177080e711cfc16935c3)
2002-05-14First part of adding flags returns from name_query ...Richard Sharpe1-0/+8
Do it bit-by-bit to ensure that no breakage creeps in. (This used to be commit bccbf3569801e8f16aed897c9d04c3f7e1430641)
2002-05-14Removed lp_strip_dot code - ensured that mangling code treats names endingJeremy Allison3-32/+45
in '.' as invalid long filenames (special treatment for '.' and '..' which are valid - yes Andrew I did this without strlen :-) :-). Jeremy. (This used to be commit 3180d8ba4ace9417033039d61d04c255da6f6a01)
2002-05-14segfault fix merged from SAMBA_2_2Gerald Carter1-3/+15
(This used to be commit d3388d195308cf7fba83734424e78b5248786af5)
2002-05-14Added deleteprinterdata client rpc.Tim Potter2-1/+58
(This used to be commit 217ae50acd8cf088e268e7d2a6a7c192aca9e2f1)
2002-05-14Added lots of new functions to the method tables.Tim Potter1-0/+22
(This used to be commit a8f5951becaab82bb1b03e3e04a05901ec3aa8e3)
2002-05-14make protoTim Potter1-0/+10
(This used to be commit 0c52191cc5b986fbb50a476442e808d5e161e534)
2002-05-14Added deleteprinterdata function.Tim Potter1-0/+30
Stub for deleteprinterdataex. (This used to be commit 14acdbf06dec517a4f2fee5904cae1c0b72a90aa)
2002-05-14Fixed bug in enumprinterdrivers.Tim Potter1-3/+27
Added stubs for addprinterdriver and deleteprinterdriver functions. (This used to be commit ca315ef84ff949edfbf0a8df0ae2128a97fc3ac5)
2002-05-14Moved PyDict_SetItemString for printer info level structures into conv ↵Tim Potter2-2/+6
functions. (This used to be commit f7fadfdd73d3ba12dbfc7bf18319ce72f79a0dcc)
2002-05-14Added writeprinter rpc command.Tim Potter2-0/+63
(This used to be commit a1934a7a8eda592e283a01014280ddb373564927)
2002-05-14Added writeprinter command.Tim Potter3-0/+36
(This used to be commit 307788d0b823f228c718b2a186fc66144fd55717)
2002-05-14Change make_spoolss_q_{get,set}printerdata() take a char* and length ratherTim Potter1-11/+31
than a unistr2. Printer data isn't necessarily in unistr format. Tallocate memory to hold returned data when unmarshalling getprinterdata and enumprinterdata replies. (This used to be commit 89633a1d87d2a437dc1ceab9439f415ee1ec606d)
2002-05-14The cli_spoolss_setprinterdata() function interface changed slightly.Tim Potter1-2/+4
(This used to be commit 79d7bcf42e568b8fe75818c1d2344bff738afd70)
2002-05-14Added getprinterdata and enumprinterdata rpc client routines.Tim Potter1-42/+186
The setprinterdata routine was rewritten slightly to take more arguments. (This used to be commit a9a5702c88ea9c4a6a9197cf4e3444b26be858cc)
2002-05-14Added enumprinterdata.Tim Potter1-1/+41
(This used to be commit 7a15ce7c0c6a6b3a62dd6607fefc32742fa50308)
2002-05-14General cleanup of compiler warnings etc.Tim Potter7-58/+139
(This used to be commit 18aeadc591b69bbbd874b7285ecaed50ff587e68)
2002-05-13Don't store domain with username in secrets.tdbTim Potter1-1/+1
(This used to be commit 5c58b4290dbc364f3b2d6593fd0425fd50160993)
2002-05-13Fix bug where setting end of file length to 8 was hitting erroneousJeremy Allison1-0/+4
check for OS/2 EA set. This caused Macromedia movie files to not export correctly onto a Samba share. Originally spotted by Michel Stoop stoop@ncg.nl. Jeremy. (This used to be commit 6b4affde167104c760bd8dc3c8906511a7642853)
2002-05-13compile fix merge from SAMBA_2_2Gerald Carter1-11/+21
(This used to be commit 2676be4e419878fbf74b619949e1d84c6186691c)
2002-05-13Add auto-detect of time server. Uses master browser.Jim McDonough1-2/+4
(This used to be commit c2a6b0b1269b2e2abcf675538869dfba3cab8894)