summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-05-18A few things in this commit:Andrew Bartlett20-336/+642
cleanup some of the code in net_rpc_join re const warnings and fstrings. Passdb: Make the %u and %U substituions in passdb work. This is done by declaring these paramters to be 'const' and doing the substitution manually. I'm told this is us going full circle, but I can't really see a better way. Finally these things actually seem to work properly... Make the lanman code use the pdb's recorded values for homedir etc rather than the values from lp_*() Add code to set the plaintext password in the passdb, where it can decide how to store/set it. For use with a future 'ldap password change' option, or somthing like that... Add pdb_unix, so as to remove the 'not in passdb' special cases from the local_lookup_*() code. Quite small, as it uses the new 'struct passwd -> SAM_ACCOUNT' code that is now in just one place. (also used by pdb_smbpasswd) Other: Fix up the adding of [homes] at session setup time to actually pass the right string, that is the unix homedir, not the UNC path. Fix up [homes] so that for winbind users is picks the correct name. (bad interactions with the default domain code previously) Change the rpc_server/srv_lsa_nt.c code to match NT when for the SATUS_NONE_MAPPED reply: This was only being triggered on no queries, now it is on the 'no mappings' (ie all mappings failed). Checked against Win2k. Policy Question: Should SID -> unix_user.234/unix_group.364 be considered a mapping or not? Currently it isn't. Andrew Bartlett (This used to be commit c28668068b5a3b3cf3c4317e5fb32ec9957f3e34)
2002-05-17Don't forget the semicolon, you fool!Jim McDonough1-1/+1
(This used to be commit 1c9387330f776b9b96714f9c9c62087bbd32f7b6)
2002-05-17Make --with-ldapsam 'go away'. This is now a standard, stable, featureAndrew Bartlett7-913/+811
and there is no real reason for it to depend on more than the abilty to compile the code. (This used to be commit 64aaec137e39595e6e61b55eb525615683a1393c)
2002-05-17Fix usage of va_list passed as an arg. Use __va_copy before using itJim McDonough4-7/+42
when it exists. (This used to be commit 85ab07bdc1b2ce7b2c1b8197fad45124b1460dca)
2002-05-17This is meant to be accessed via the helper fn, not directly.Andrew Bartlett1-1/+1
(This used to be commit b84882a628b3f2f0890322f25694c1932aa3e5ec)
2002-05-17Make non-static for some later work (pushing the info3 across the winbindAndrew Bartlett1-2/+3
pipe for smbd to decode), and fix up the debug. (At least I assume it is wrong, can an expert care to comment?) (This used to be commit e5b4331ffa99d769b062053d6afc4772355fa5b2)
2002-05-17Add a touch of constAndrew Bartlett1-1/+1
(This used to be commit 3e93b216ddba14592a0193664c5d6bcbef898f1a)
2002-05-17Check paramters for NULL.Andrew Bartlett1-0/+4
(This used to be commit 078e81530e9bc4e5f0b8e18aff0488386bce29a5)
2002-05-17Make Get_Pwnam use getpwnam_alloc() in an attempt to make it segfault ratherAndrew Bartlett1-9/+31
than allow silent reuse of stale static buffer. Next step is to make this fn return that allocated buffer. (This used to be commit e1daf816f3d809d288313fe2db98b5a731c93a79)
2002-05-17indentAndrew Bartlett1-2/+2
(This used to be commit 173aac4a810782dddc85494c328a6917cb3fe0c2)
2002-05-17A few more trusted domains updates from mimir.Andrew Bartlett8-63/+113
I think we may still need to look at our server enumeration code, but other than that, its much better in the tree than out. Andrew Bartlett (This used to be commit d57a1b4629d12a0374cc6d74dfc6f5d4793fcef8)
2002-05-17Add an item about the __va_copy macro to prevent SEGV's on 390 and PPC Linux.Jim McDonough1-0/+5
(This used to be commit 443ba282be79e2b7259950fffbd7fe9bb4cabf8c)
2002-05-17This removes --with-ssl from Samba.Andrew Bartlett17-1833/+812
This option was badly maintained, useless and confused our users and distirbutors. (its SSL, therfore it must be good...) No windows client uses this protocol without help from an SSL tunnel. I can't see any reason why setting up a unix-side SSL wrapper would be any more difficult than the > 10 config options this mess added to samba in any case. On the Samba client end, I think the LIBSMB_PROG hack should be sufficient to start stunnel on the unix side. We might extend this to take %i and %p (IP and port) if there is demand. Andrew Bartlett (This used to be commit b04561d3fd3ee732877790fb4193b20ad72a75f8)
2002-05-17Update the doco for the LDAP options in smb.conf, in line with code changesAndrew Bartlett1-43/+29
a little while back. We might have to look at the migration path for these options. (or as --with-ldap has always been 'experimental' we could ignore it...) Andrew Bartlett (This used to be commit 35e909b33870f6c5d8af9398d6f9f816e83e2ca4)
2002-05-17more dl* -> sys_dl* for scoAndrew Bartlett1-2/+2
(This used to be commit 92eead1a0a93a6191fbd7b413f0736eb1a716b8e)
2002-05-17Makes winbindd_proto handling consistent with the other header files,Martin Pool1-7/+19
so that at least "make clean; make all" doesn't fail. It's still not safe for parallel builds, i.e. "make clean; make -j3 all" will probably crash, but "make clean; make proto && make -j3 all" seems OK. I'm not sure if it is possible to solve that and still support ancient non-GNU versions of Make. (This used to be commit 4d202c19997d4219e7f607a725123d5606b9bd8a)
2002-05-17Get the sco boxes compiling again - use the sys_ intefaces for all the dl*Andrew Bartlett2-2/+2
funcitons. (This used to be commit c37c1e39253d9d21f8ab38ab8d24f7e787008596)
2002-05-17NT sends the server name prepended with \\ for a enumerate printers RPCTim Potter1-2/+2
call so we probably should as well. (This used to be commit 39c0218e5b4132e60401c2fc25fcbc88be94f87f)
2002-05-17Changes to allow head to translate NMB flags ...Richard Sharpe5-17/+59
(This used to be commit c986a19cde0dfa96b512eb24d873203981e68c48)
2002-05-17Use get_level_value() utility fn.Tim Potter2-46/+18
Cleaned up some local variable naming. (This used to be commit d4c7a85c2b5c45f1cc3273230d80a1d5923cd848)
2002-05-17Add level field when converting FORM_1 to dict.Tim Potter1-1/+17
More error checking when converting from dict to FORM_1. (This used to be commit 608b9ab29dca820d29a40a2c5df86c1ff7e751a9)
2002-05-17addform(), setform():Tim Potter1-26/+44
- call get_level_value() utility function - removed unused keyword args - clean up handling of name arg to cli call deleteform(): - removed unused keyword args (This used to be commit c9c2aac9035a11e3fe2d320504097b98a426dd63)
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)