summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-03-20Add assertions that kill() is never accidentally passed a non-positiveMartin Pool4-4/+15
pid. This follows a bug in rsync where it would accidentally kill(-1), removing all the user's processes. I can't see any way this would directly happen in Samba, but having the assertions seems beneficial. http://cvs.samba.org/cgi-bin/cvsweb/rsync/util.c.diff?r1=1.108&r2=1.109&f=h (This used to be commit 098905bea29c7d5b886809d431294ddf2fc1e152)
2002-03-20Actually use flags passed in PYTHON_CFLAGS variable.Tim Potter1-21/+33
Use py_common.c in winbind extension module for correct initialisation. Some reformatting. (This used to be commit b1b7ae8bcfafc92c2d475908f4220f3f1ff941a1)
2002-03-20Added enum domain users and enum domain groups.Tim Potter1-22/+77
(This used to be commit ba0624d0c397d49b032f34727c910c0be7014813)
2002-03-20Pass $(CFLAGS) and $(CPPFLAGS) to python compile instead of $(FLAGS)Tim Potter1-1/+1
(This used to be commit 8e4bb2f8a05b37ba508eefe0d0d3f4db103a4418)
2002-03-20Added name_to_sid and sid_to_name functions.Tim Potter1-1/+136
(This used to be commit 5e955b5fcc53b80238bbc178ca0bcd8b3e81c05f)
2002-03-20Remove nsswitch from include directories.Tim Potter1-2/+4
(This used to be commit 19dd8ba8267320c0f219639abe3aa701b69e5c56)
2002-03-20Cache call to winbind separator.Tim Potter1-46/+56
Some random reformatting and cleanup. Display output of wbinfo -s using actual winbind separator. (This used to be commit 099f8c5dfdb150b025e29d5c8ca060f1ee1c0145)
2002-03-20resetprinter merge from SAMBA_2_2Gerald Carter3-13/+36
(This used to be commit 88d8897e21749f177952b264031aa386bbbeaaeb)
2002-03-20Ignore autogenerated setup.pyTim Potter1-0/+1
(This used to be commit b06fc0cc84a0ba7cfb19c601682351b11a27364c)
2002-03-20Initial version.Tim Potter8-0/+1734
(This used to be commit d35770d06f7bc396cf32337a4e1104b5fe8a3ca8)
2002-03-20Correctly increment offset in cli_smbwrite.Jeremy Allison2-9/+25
Jeremy. (This used to be commit 5b04b5f1df3ee509e7314064966be09e2202b0ef)
2002-03-20Allow a zero rid in pdb_smbpasswd. When given a zero rid the pdb backendAndrew Bartlett1-1/+3
should chose the next available RID. For smbpasswd it just means using the algorithm, but other backends can do somthing more useful. Andrew Bartlett (This used to be commit 0f0f87e6c31b468368c5a4729db892622e616cac)
2002-03-20Test against W2K that we're doing large read/writes correctly (we are).Jeremy Allison1-0/+9
At least with 14 word writes. Jeremy. (This used to be commit 24ef6258a16e6b4673f1088d64b79bddcd268df5)
2002-03-20Ensure we get a real fd when opening for set file allocation.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 00cabb2346fb11c5568b6c7a038c313ae293a0c2)
2002-03-20Merge of Richard's lookupsid fix.Tim Potter1-1/+4
(This used to be commit 3c587384cbe5e10f7fa46f6996581b088dead7f5)
2002-03-20Fix for debug typo.Jeremy Allison1-1/+1
(This used to be commit 5b43519219991fe14c8ce1993c16557bf5ceccb4)
2002-03-20Remove the "stat open" code - make it inline. This should fix theJeremy Allison10-256/+140
bugs with opening and renaming mp3 files, also the word rename problems that people have had for a while. Needs a make clean :-) make. Also added JohnR's printing fix. Jeremy. (This used to be commit 504e5ef0494c54efbd0357e334cb2aa5a9eb9c14)
2002-03-20Merge from app-head:Tim Potter1-2/+2
> Don't put two copies of the server name in construct_printer_info_1() (This used to be commit 47b1003bc5a069e84cb20df507022e5ff3e93832)
2002-03-19Patch to configure.in and Makefile.in for Python extensions.Tim Potter1-0/+41
(This used to be commit 4d172b712fc2be697db5d1dbccff29ad5708eeee)
2002-03-19Merge JohnR's fix.Jeremy Allison1-5/+10
Jeremy. (This used to be commit d5fd1fd859cec3076d2f01ed234314ea8d80a753)
2002-03-19the beginning of a test to determine and display a servers propertiesAndrew Tridgell1-0/+31
just shows capabilities at the moment (This used to be commit 76fe90343c4ca76ad58c7b31a1e3235926fd6c75)
2002-03-19setup.py for samba python wrappersTim Potter1-0/+93
(This used to be commit 85650ee3bcb748fc481ff254168eef5b22b6eae8)
2002-03-19make "net ads user" and "net ads group" also use the new paged interfaceAndrew Tridgell1-30/+16
(This used to be commit 98769f08e723c616a98a2f0c427e9b0e22b28be9)
2002-03-19updated winbindd to used paged ldap searches for all ldap queriesAndrew Tridgell1-1/+1
(This used to be commit 41e1560798b7eb19575b0d97a5e489eb170bcfd5)
2002-03-19added a ads_do_search_all() call, which is a more convenient interfaceAndrew Tridgell1-0/+42
to paged searches. This makes updating winbindd to used paged searches trivial. (This used to be commit 514c11b4e3fcc765a8087405333bd351c05c9e36)
2002-03-19second step to gain free uid<->rid mappingSimo Sorce10-166/+216
we still need to free gid<->rid mapping and few other stuff (This used to be commit aa4b6f8181f34196a28951264dd8b631a5deef7f)
2002-03-19fixed paged controls on my box. The problem seems to be incorrectAndrew Tridgell1-4/+21
referrals parsing in the openldap libs. By disabling referrals we get valid controls back and the cookies work. (This used to be commit 8bf487ddff240150d7a92aaa0f978dd30062c331)
2002-03-19Take out autobuild dependency on proto.h; breaks some proprietary Makes.Martin Pool1-8/+4
(This used to be commit aa279932456eff8c6fce00cf01e3f62536573f14)
2002-03-19Refactor for systems like Solaris that cannot handle wildcards on theMartin Pool1-4/+8
right side of a dependency line. (This used to be commit 87f2e3c30d11bcf0cecb7c32dc5f01755d181ad6)
2002-03-19Change the Makefile to rebuild proto.h as necessary -- note that thisMartin Pool1-16/+55
does not imply that all source will be rebuilt when prototypes change, merely that the prototypes will be updated. make proto, clean, delheaders, headers, etc all behave equivalently to before. Intended new behaviour for proto.h, whenever source is being compiled: If proto.h does not exist, it is built. If any source files have changed since proto.h was last checked (.proto.check), then proto.h is checked. If there are no actual changes since last time, its mtime is not changed, but we do remember the time at which it was checked. Whenever we try to build a .o, we need to check the headers are up to date. However, rebuilding the prototypes does not imply rebuilding all object files. Also to allow people to build on machines without Awk, we never try to use it unless a source file has changed. I guess if we wanted, we could have lack of Awk only cause a warning, not failure. The point of all of this is to be easier on people who don't understand or forget to type "make proto", and to reduce the chance of build breakage by having prototypes out of sync. I also rolled back JF's changes to put proto.h into builddir rather than srcdir. There are good arguments in both directions, but since we keep proto.h in CVS, it seems important that the up-to-date copy by in srcdir where it can be checked back in. If people are fussed about having srcdir be readonly you could change this -- but since proto.h is only rebuilt when there are changes, it's not a big deal. I also fixed an apparent race condition in "make headers" that would make it unsafe if you did 'make -j2', and made 'make clean' not kill proto.h, since people may not be able to rebuild it. I reckon there's nothing gnumake-specific here but we shall see. I also have this great idea about rewriting libtool in C++... (This used to be commit 8a61a810e5a29050b0cf242d317c7cc00329517b)
2002-03-19Fix a double-free bug in wbinfo -t's call in winbindd.Andrew Bartlett2-7/+8
I forgot to clean this up when netlogon move across to the connection cache arrangement. Also add some smb_panics to the connection_ok() code to try to catch this kind of thing better in future. Andrew Bartlett (This used to be commit f4f23fad6099143ec26550afc67655390070ceb8)
2002-03-19Don't try to sort a list of zero length in internal_resolve_name()Tim Potter1-1/+1
(This used to be commit 5387e4046f67a1c6ef9e98268268b06a729d5ca4)
2002-03-19Sync up the VFS changes from 2.2.x.Jeremy Allison5-294/+883
Jeremy. (This used to be commit e758bdc8a8f37e1d1e1fb0d1d27990dba2067920)
2002-03-19Merge in JohnR's page count fixes.Jeremy Allison4-8/+64
Jeremy. (This used to be commit 2e3133fbe5531b9bbc9bf46a04b27fa58e555f5a)
2002-03-19Sync up vfs changes from 2.2.x.Jeremy Allison10-188/+68
Jeremy. (This used to be commit ad1e858d8e72adf924ff435eab8da3e60842e2e6)
2002-03-19ops forgot this :-)Simo Sorce1-0/+8
(This used to be commit fdb88eb06af09171af2027a90ef6f3ac872beaee)
2002-03-18more verbose checking in talloc and util_pwSimo Sorce6-90/+162
fixed tdbsam memory corruption (and segfault) reducing calls to pdb_uid_to_user_rid and countrary to 0 to move to a non alghoritmic rid allocation with some passdb modules. (This used to be commit 9836af7cd623357feaec07bc49cfb78f0aa01fc3)
2002-03-18Start to switch away from the alghorithmic uid->rid mapping modelSimo Sorce5-29/+179
(This used to be commit 724390a8daabbecd236960562e0a50f62c6904f1)
2002-03-18Allow us to see the difference between these two errors. (We need to chaseAndrew Bartlett1-1/+7
down some bugs with it...). Andrew Bartlett (This used to be commit ef68b28fa0e89345f817ca8fd8f04138a009c21e)
2002-03-18preparing for release of 3.0-alpha17Samba Release Account2-1/+15
(This used to be commit a772386d34178ffb8926bfd071ad028de40cefaf)
2002-03-17Fix ability to compile with CUPS support.John Terpstra1-2/+2
(This used to be commit 208c62c5a7bca68f223b5832d7971c3d38cb6820)
2002-03-17Added dos_errstr() function. Not all errors in list yet.Tim Potter6-23/+99
(This used to be commit ddb5753e36b8c5efb48ce5c82c16d970fb8e76b6)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter35-113/+113
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-16Fix build for non-ads caseJim McDonough1-0/+5
(This used to be commit 7ba235c0fb4755092605743d575357602fd1ce05)
2002-03-16Don't use // even temporarily, lest ye forget it and check it in...Jim McDonough1-3/+3
(This used to be commit 936df31df5bad9d457d3775d11b4e96a58093282)
2002-03-15Change new style join function name for clarity in net_rpc.cJim McDonough1-1/+1
(This used to be commit 539d0cc03035c126e2de82523a07ed91997100b8)
2002-03-15Change net rpc join several ways: \n\t1) expose \n\t2) eliminate oldstyle ↵Jim McDonough1-16/+17
subcommand \n\t3) try oldstyle first, then more secure method\n to allow for autodetect between ads and rpc on net join (This used to be commit c8a4a09b5648af2f1669a5a30acdf0a088077af9)
2002-03-15Expose net_ads_join to allow for auto-transport-detection for net joinJim McDonough1-1/+1
(This used to be commit 87ee4832312c9c65377500efd617bac086164834)
2002-03-15Add autodetect for net join, as well as some more help updatesJim McDonough1-1/+18
(This used to be commit 951006374e48d80a5128d870bdc255bf8c22cb6a)
2002-03-15Some help cleanups. Formatting and consistency issues. Line up text ↵Jim McDonough5-83/+108
nicely, and make 'net help rap user' the same as 'net rap user help'...stuff like that (This used to be commit 17775dae28c724b11cc73f2aeac5f07f9656046c)