Jeremy Allison [Thu, 21 Mar 2002 23:19:17 +0000 (23:19 +0000)]
When upgrading from an old idmap tdb, remember to overwrite the reverse
mapping as well as the forward one. Found this in doing the backport to
2.2.x. This is *essential* to upgrade an old idmap file to a new one.
Jeremy.
(This used to be commit
980355de0c9d0d1116b29b0a5be98d0b277f24dc)
Herb Lewis [Thu, 21 Mar 2002 22:36:04 +0000 (22:36 +0000)]
merge fix for core dump when called with no args from 2.2
(This used to be commit
8b38cca631a7434fcce0686c8e41c986a0a36a21)
Jeremy Allison [Thu, 21 Mar 2002 21:23:22 +0000 (21:23 +0000)]
Fix stupid typo !
Jeremy.
(This used to be commit
d0b58f66edeac516bde2dff79ab5cf529c37954b)
Herb Lewis [Thu, 21 Mar 2002 14:09:02 +0000 (14:09 +0000)]
add .proto.check
(This used to be commit
3e602671e2b75b29e85b66cdf4f60fe70cc52701)
Herb Lewis [Thu, 21 Mar 2002 14:03:41 +0000 (14:03 +0000)]
update usage message with other options. Add a -d debuglevel option
(This used to be commit
32d5dc824ab26c140feb8041314783caab622c65)
Herb Lewis [Thu, 21 Mar 2002 14:01:57 +0000 (14:01 +0000)]
must use native endian index when creating default valid.dat table so it
is the same on big and little endian systems.
(This used to be commit
6fa09ee88143882abcc51de05002261db767d775)
Herb Lewis [Thu, 21 Mar 2002 14:00:13 +0000 (14:00 +0000)]
return . and .. first in readdir - this fixes masktest on IRIX which
returns . then single letter files then .. then all other files.
(This used to be commit
d4d9361eec11f50c780ed4c79bc9775ac24d8c0e)
Andrew Bartlett [Thu, 21 Mar 2002 11:54:43 +0000 (11:54 +0000)]
There is no reason we can't join a domain with secuirty=user. In fact we
need to when we are a BDC or a PDC doing a self-join.
Andrew Bartlett
(This used to be commit
996cd3a0979a92b087003982bc61796a8090a787)
Andrew Tridgell [Thu, 21 Mar 2002 04:48:24 +0000 (04:48 +0000)]
make net ads info work with -S
(This used to be commit
57645fd85b7789d7807a5ffb5b2572c6d5f9e3de)
Tim Potter [Thu, 21 Mar 2002 04:25:31 +0000 (04:25 +0000)]
Compile fix for --with-profiling-data
(This used to be commit
1ae07c42a449f4d4049c15f349f0829b73c12b5e)
Andrew Bartlett [Thu, 21 Mar 2002 04:00:25 +0000 (04:00 +0000)]
Don't leak memory on failure.
(This used to be commit
438f028fc45ee6c5b12fa960beabea4b5fdcff38)
Andrew Bartlett [Thu, 21 Mar 2002 03:53:44 +0000 (03:53 +0000)]
Make sure to initaliase SAM_ACCOUNT pointers to NULL, otherwise pdb_init_sam()
fails.
Andrew Bartlett
(This used to be commit
56009ffbaa00259d15f286248a7ab73c55371819)
Andrew Tridgell [Thu, 21 Mar 2002 02:28:23 +0000 (02:28 +0000)]
fixed the secondary group mappings for ADS users
(This used to be commit
be399f5823bb8dfe6cc28d58aaeceb51f1b7382b)
Gerald Carter [Wed, 20 Mar 2002 23:09:34 +0000 (23:09 +0000)]
merge from APPLIANCE_HEAD
(This used to be commit
9282aa02d44ae7a7688e8399b397aae35f73ddd1)
Jeremy Allison [Wed, 20 Mar 2002 22:39:30 +0000 (22:39 +0000)]
Ensure we don't do lp_servicename()'s in tdb traverse as this
allocates lots of memory.
Jeremy.
(This used to be commit
fbc8c6a1096ec829f48b403239f105065bf155b1)
Jeremy Allison [Wed, 20 Mar 2002 21:55:57 +0000 (21:55 +0000)]
Print queue entries *must* have queue names, not numbers - numbers are
not identical between different smbds (mr potter, come here and take
your medicine.... :-).
Jeremy.
(This used to be commit
230941d2fbb746d39c00e482e7f600c68aa45efa)
Jeremy Allison [Wed, 20 Mar 2002 21:08:19 +0000 (21:08 +0000)]
John's patch changed the size of a structure stored in the tdb - we
must thus update the versionid of the tdb.
Jeremy.
(This used to be commit
c5230a5387d6ef57f89f4224b75de84b18c109ff)
Jeremy Allison [Wed, 20 Mar 2002 19:29:06 +0000 (19:29 +0000)]
HEAD only fix for truncate from Alexander Bokovoy <a.bokovoy@sam-solutions.net>.
This code needs replacing with the trans2.c from 2.2.x.
Jeremy.
(This used to be commit
bc8d4b98807ece734db3e1c3a2baabf4b28e7b4f)
Andrew Bartlett [Wed, 20 Mar 2002 12:05:10 +0000 (12:05 +0000)]
Make ldapsam compile again.
(This used to be commit
520c8626dc238a1e338635981d1b41950f2219b6)
Jeremy Allison [Wed, 20 Mar 2002 07:20:38 +0000 (07:20 +0000)]
BUFFER_SIZE Should be 128k if large read write tests are to work.
Jeremy.
(This used to be commit
2be9b253ad40e125169725ea79e6723cb40c5e6a)
Martin Pool [Wed, 20 Mar 2002 06:57:03 +0000 (06:57 +0000)]
Add assertions that kill() is never accidentally passed a non-positive
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)
Tim Potter [Wed, 20 Mar 2002 06:29:23 +0000 (06:29 +0000)]
Actually use flags passed in PYTHON_CFLAGS variable.
Use py_common.c in winbind extension module for correct initialisation.
Some reformatting.
(This used to be commit
b1b7ae8bcfafc92c2d475908f4220f3f1ff941a1)
Tim Potter [Wed, 20 Mar 2002 06:27:41 +0000 (06:27 +0000)]
Added enum domain users and enum domain groups.
(This used to be commit
ba0624d0c397d49b032f34727c910c0be7014813)
Tim Potter [Wed, 20 Mar 2002 04:58:38 +0000 (04:58 +0000)]
Pass $(CFLAGS) and $(CPPFLAGS) to python compile instead of $(FLAGS)
(This used to be commit
8e4bb2f8a05b37ba508eefe0d0d3f4db103a4418)
Tim Potter [Wed, 20 Mar 2002 04:53:44 +0000 (04:53 +0000)]
Added name_to_sid and sid_to_name functions.
(This used to be commit
5e955b5fcc53b80238bbc178ca0bcd8b3e81c05f)
Tim Potter [Wed, 20 Mar 2002 04:51:40 +0000 (04:51 +0000)]
Remove nsswitch from include directories.
(This used to be commit
19dd8ba8267320c0f219639abe3aa701b69e5c56)
Tim Potter [Wed, 20 Mar 2002 03:54:47 +0000 (03:54 +0000)]
Cache call to winbind separator.
Some random reformatting and cleanup.
Display output of wbinfo -s using actual winbind separator.
(This used to be commit
099f8c5dfdb150b025e29d5c8ca060f1ee1c0145)
Gerald Carter [Wed, 20 Mar 2002 03:37:27 +0000 (03:37 +0000)]
resetprinter merge from SAMBA_2_2
(This used to be commit
88d8897e21749f177952b264031aa386bbbeaaeb)
Tim Potter [Wed, 20 Mar 2002 03:32:44 +0000 (03:32 +0000)]
Ignore autogenerated setup.py
(This used to be commit
b06fc0cc84a0ba7cfb19c601682351b11a27364c)
Tim Potter [Wed, 20 Mar 2002 03:29:03 +0000 (03:29 +0000)]
Initial version.
(This used to be commit
d35770d06f7bc396cf32337a4e1104b5fe8a3ca8)
Jeremy Allison [Wed, 20 Mar 2002 01:47:31 +0000 (01:47 +0000)]
Correctly increment offset in cli_smbwrite.
Jeremy.
(This used to be commit
5b04b5f1df3ee509e7314064966be09e2202b0ef)
Andrew Bartlett [Wed, 20 Mar 2002 01:46:40 +0000 (01:46 +0000)]
Allow a zero rid in pdb_smbpasswd. When given a zero rid the pdb backend
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)
Jeremy Allison [Wed, 20 Mar 2002 01:43:06 +0000 (01:43 +0000)]
Test against W2K that we're doing large read/writes correctly (we are).
At least with 14 word writes.
Jeremy.
(This used to be commit
24ef6258a16e6b4673f1088d64b79bddcd268df5)
Jeremy Allison [Wed, 20 Mar 2002 00:58:23 +0000 (00:58 +0000)]
Ensure we get a real fd when opening for set file allocation.
Jeremy.
(This used to be commit
00cabb2346fb11c5568b6c7a038c313ae293a0c2)
Tim Potter [Wed, 20 Mar 2002 00:56:36 +0000 (00:56 +0000)]
Merge of Richard's lookupsid fix.
(This used to be commit
3c587384cbe5e10f7fa46f6996581b088dead7f5)
Jeremy Allison [Wed, 20 Mar 2002 00:49:44 +0000 (00:49 +0000)]
Fix for debug typo.
(This used to be commit
5b43519219991fe14c8ce1993c16557bf5ceccb4)
Jeremy Allison [Wed, 20 Mar 2002 00:46:53 +0000 (00:46 +0000)]
Remove the "stat open" code - make it inline. This should fix the
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)
Tim Potter [Wed, 20 Mar 2002 00:24:35 +0000 (00:24 +0000)]
Merge from app-head:
> Don't put two copies of the server name in construct_printer_info_1()
(This used to be commit
47b1003bc5a069e84cb20df507022e5ff3e93832)
Tim Potter [Tue, 19 Mar 2002 23:36:06 +0000 (23:36 +0000)]
Patch to configure.in and Makefile.in for Python extensions.
(This used to be commit
4d172b712fc2be697db5d1dbccff29ad5708eeee)
Jeremy Allison [Tue, 19 Mar 2002 23:33:32 +0000 (23:33 +0000)]
Merge JohnR's fix.
Jeremy.
(This used to be commit
d5fd1fd859cec3076d2f01ed234314ea8d80a753)
Andrew Tridgell [Tue, 19 Mar 2002 23:19:00 +0000 (23:19 +0000)]
the beginning of a test to determine and display a servers properties
just shows capabilities at the moment
(This used to be commit
76fe90343c4ca76ad58c7b31a1e3235926fd6c75)
Tim Potter [Tue, 19 Mar 2002 22:55:21 +0000 (22:55 +0000)]
setup.py for samba python wrappers
(This used to be commit
85650ee3bcb748fc481ff254168eef5b22b6eae8)
Andrew Tridgell [Tue, 19 Mar 2002 22:16:19 +0000 (22:16 +0000)]
make "net ads user" and "net ads group" also use the new paged interface
(This used to be commit
98769f08e723c616a98a2f0c427e9b0e22b28be9)
Andrew Tridgell [Tue, 19 Mar 2002 22:15:32 +0000 (22:15 +0000)]
updated winbindd to used paged ldap searches for all ldap queries
(This used to be commit
41e1560798b7eb19575b0d97a5e489eb170bcfd5)
Andrew Tridgell [Tue, 19 Mar 2002 22:14:53 +0000 (22:14 +0000)]
added a ads_do_search_all() call, which is a more convenient interface
to paged searches. This makes updating winbindd to used paged searches
trivial.
(This used to be commit
514c11b4e3fcc765a8087405333bd351c05c9e36)
Simo Sorce [Tue, 19 Mar 2002 13:57:53 +0000 (13:57 +0000)]
second step to gain free uid<->rid mapping
we still need to free gid<->rid mapping and few other stuff
(This used to be commit
aa4b6f8181f34196a28951264dd8b631a5deef7f)
Andrew Tridgell [Tue, 19 Mar 2002 12:58:38 +0000 (12:58 +0000)]
fixed paged controls on my box. The problem seems to be incorrect
referrals parsing in the openldap libs. By disabling referrals we get
valid controls back and the cookies work.
(This used to be commit
8bf487ddff240150d7a92aaa0f978dd30062c331)
Martin Pool [Tue, 19 Mar 2002 12:13:02 +0000 (12:13 +0000)]
Take out autobuild dependency on proto.h; breaks some proprietary Makes.
(This used to be commit
aa279932456eff8c6fce00cf01e3f62536573f14)
Martin Pool [Tue, 19 Mar 2002 11:46:31 +0000 (11:46 +0000)]
Refactor for systems like Solaris that cannot handle wildcards on the
right side of a dependency line.
(This used to be commit
87f2e3c30d11bcf0cecb7c32dc5f01755d181ad6)
Martin Pool [Tue, 19 Mar 2002 07:26:18 +0000 (07:26 +0000)]
Change the Makefile to rebuild proto.h as necessary -- note that this
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)
Andrew Bartlett [Tue, 19 Mar 2002 06:36:37 +0000 (06:36 +0000)]
Fix a double-free bug in wbinfo -t's call in winbindd.
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)
Tim Potter [Tue, 19 Mar 2002 05:35:06 +0000 (05:35 +0000)]
Don't try to sort a list of zero length in internal_resolve_name()
(This used to be commit
5387e4046f67a1c6ef9e98268268b06a729d5ca4)
Jeremy Allison [Tue, 19 Mar 2002 02:51:48 +0000 (02:51 +0000)]
Sync up the VFS changes from 2.2.x.
Jeremy.
(This used to be commit
e758bdc8a8f37e1d1e1fb0d1d27990dba2067920)
Jeremy Allison [Tue, 19 Mar 2002 02:35:12 +0000 (02:35 +0000)]
Merge in JohnR's page count fixes.
Jeremy.
(This used to be commit
2e3133fbe5531b9bbc9bf46a04b27fa58e555f5a)
Jeremy Allison [Tue, 19 Mar 2002 02:32:39 +0000 (02:32 +0000)]
Sync up vfs changes from 2.2.x.
Jeremy.
(This used to be commit
ad1e858d8e72adf924ff435eab8da3e60842e2e6)
Simo Sorce [Tue, 19 Mar 2002 00:06:24 +0000 (00:06 +0000)]
ops forgot this :-)
(This used to be commit
fdb88eb06af09171af2027a90ef6f3ac872beaee)
Simo Sorce [Mon, 18 Mar 2002 23:57:14 +0000 (23:57 +0000)]
more verbose checking in talloc and util_pw
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)
Simo Sorce [Mon, 18 Mar 2002 11:35:53 +0000 (11:35 +0000)]
Start to switch away from the alghorithmic uid->rid mapping model
(This used to be commit
724390a8daabbecd236960562e0a50f62c6904f1)
Andrew Bartlett [Mon, 18 Mar 2002 10:53:02 +0000 (10:53 +0000)]
Allow us to see the difference between these two errors. (We need to chase
down some bugs with it...).
Andrew Bartlett
(This used to be commit
ef68b28fa0e89345f817ca8fd8f04138a009c21e)
Samba Release Account [Mon, 18 Mar 2002 03:33:19 +0000 (03:33 +0000)]
preparing for release of 3.0-alpha17
(This used to be commit
a772386d34178ffb8926bfd071ad028de40cefaf)
John Terpstra [Sun, 17 Mar 2002 22:40:51 +0000 (22:40 +0000)]
Fix ability to compile with CUPS support.
(This used to be commit
208c62c5a7bca68f223b5832d7971c3d38cb6820)
Tim Potter [Sun, 17 Mar 2002 06:04:15 +0000 (06:04 +0000)]
Added dos_errstr() function. Not all errors in list yet.
(This used to be commit
ddb5753e36b8c5efb48ce5c82c16d970fb8e76b6)
Tim Potter [Sun, 17 Mar 2002 04:36:35 +0000 (04:36 +0000)]
Renamed get_nt_error_msg() to nt_errstr().
(This used to be commit
1f007d3ed41c1b71a89fa6be7d173e67e927c302)
Jim McDonough [Sat, 16 Mar 2002 01:30:09 +0000 (01:30 +0000)]
Fix build for non-ads case
(This used to be commit
7ba235c0fb4755092605743d575357602fd1ce05)
Jim McDonough [Sat, 16 Mar 2002 01:14:58 +0000 (01:14 +0000)]
Don't use // even temporarily, lest ye forget it and check it in...
(This used to be commit
936df31df5bad9d457d3775d11b4e96a58093282)
Jim McDonough [Fri, 15 Mar 2002 22:10:19 +0000 (22:10 +0000)]
Change new style join function name for clarity in net_rpc.c
(This used to be commit
539d0cc03035c126e2de82523a07ed91997100b8)
Jim McDonough [Fri, 15 Mar 2002 22:09:18 +0000 (22:09 +0000)]
Change net rpc join several ways: \n\t1) expose \n\t2) eliminate oldstyle 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)
Jim McDonough [Fri, 15 Mar 2002 22:05:39 +0000 (22:05 +0000)]
Expose net_ads_join to allow for auto-transport-detection for net join
(This used to be commit
87ee4832312c9c65377500efd617bac086164834)
Jim McDonough [Fri, 15 Mar 2002 22:04:53 +0000 (22:04 +0000)]
Add autodetect for net join, as well as some more help updates
(This used to be commit
951006374e48d80a5128d870bdc255bf8c22cb6a)
Jim McDonough [Fri, 15 Mar 2002 20:03:07 +0000 (20:03 +0000)]
Some help cleanups. Formatting and consistency issues. Line up text nicely, and make 'net help rap user' the same as 'net rap user help'...stuff like that
(This used to be commit
17775dae28c724b11cc73f2aeac5f07f9656046c)
Andrew Tridgell [Fri, 15 Mar 2002 09:51:37 +0000 (09:51 +0000)]
if our lock spin code fails then return the first error code, not the
last one. This is what caused the lock1 and lock2 tests to fail.
(This used to be commit
e7ae8003cb4fdc93db5f842754884a6d2ec93dc0)
Andrew Tridgell [Fri, 15 Mar 2002 09:24:56 +0000 (09:24 +0000)]
the SEC_DOMAIN tests also apply to SEC_ADS
(This used to be commit
775404fe46f72925fb302e149b6f96fab0dbfcb8)
Andrew Tridgell [Fri, 15 Mar 2002 09:23:24 +0000 (09:23 +0000)]
nicer output from "net rpc user add"
(This used to be commit
a21ba95897531e7964c9e80a81cd5faa7394db77)
Andrew Tridgell [Fri, 15 Mar 2002 09:21:28 +0000 (09:21 +0000)]
enable locking on the winbindd cache tdb so it can be backed up and
manipulated externally
(This used to be commit
1ad1a025b3fe5aeff5adf685f47c9cc05ef80e40)
Andrew Tridgell [Fri, 15 Mar 2002 09:20:36 +0000 (09:20 +0000)]
added a -h usage option to winbindd
(This used to be commit
d6a4a10f58accd6ad158ba60eb1508f00c9a4dd3)
Andrew Tridgell [Fri, 15 Mar 2002 09:19:51 +0000 (09:19 +0000)]
this tdb was being opened without locking, which is unsafe for shared
databases
(This used to be commit
1394e6ed318af5fc740aa5622919f9fd26d5a8d2)
Andrew Tridgell [Fri, 15 Mar 2002 09:19:07 +0000 (09:19 +0000)]
lower the debug level of failing to map a file
(This used to be commit
ad9965414d4d1fd8a031e3169b8f19d66cdad8be)
Gerald Carter [Fri, 15 Mar 2002 08:14:10 +0000 (08:14 +0000)]
syncing up printing code with SAMBA_2_2 (already done some merges
in the reverse).
* add in new printer change notify code from SAMBA_2_2
* add in se_map_standard() from 2.2 in _spoolss_open_printer_ex()
* sync up the _print_queue_struct in smb.h (why did someone change the
user/file names in fs_user/fs_file (or vice-versa) ? )
* sync up some cli_spoolss_XXX functions
(This used to be commit
5760315c1de4033fdc22684c940f18010010924f)
Andrew Bartlett [Thu, 14 Mar 2002 22:52:19 +0000 (22:52 +0000)]
Actually include some *information* in the mangle debug messages.
In particular this shows the filename, prefix and counters involved.
The unicode -> unix converion only occours for the error case.
Andrew Bartlett
(This used to be commit
9c8de8c6cf44ead0719efa48a34c9c9d54402ac6)
Jim McDonough [Thu, 14 Mar 2002 17:56:33 +0000 (17:56 +0000)]
Add paged search requests to net ads user and net ads group commands, allowing more than 1000 (or whatever the query limit is on the server) objects to be returned. Printers will come next.
(This used to be commit
9c447920dfbae2e2d2343600401c1d860dad863b)
Jim McDonough [Thu, 14 Mar 2002 17:48:26 +0000 (17:48 +0000)]
This adds the Paged Result Control to ads searching. The new function, ads_do_paged_search, is the same as ads_do_search, but it also contains a count of records returned in this page, and a cookie for resuming, to be passed back. The cookie must start off NULL, and when it returns as NULL, the search is done.
(This used to be commit
9afba67f9a56699e34735e1e425f97b2464f2402)
Tim Potter [Thu, 14 Mar 2002 02:48:03 +0000 (02:48 +0000)]
Remove studly gaps from prs_werror() calls so the same debug text is
logged. This makes it much easier to use grep on log files when searching
for errors.
(This used to be commit
ab1ebd377931166f2ecded784a0182102d4c1ca2)
Jeremy Allison [Thu, 14 Mar 2002 02:15:08 +0000 (02:15 +0000)]
Now we have reliable signals take SIGTERM inband.
Jeremy.
(This used to be commit
cad82926a8baf7605cef81f0e0d4daa8e527e6ee)
Tim Potter [Thu, 14 Mar 2002 01:53:04 +0000 (01:53 +0000)]
getpid() -> sys_getpid()
(This used to be commit
a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)
Tim Potter [Thu, 14 Mar 2002 01:48:59 +0000 (01:48 +0000)]
Backed out enumprinters stuff - leave it for another day.
(This used to be commit
d7efc5dd3dd712e7138b5c79eea9756125757175)
Jeremy Allison [Thu, 14 Mar 2002 01:05:34 +0000 (01:05 +0000)]
Use sys_usleep not usleep.
Jeremy.
(This used to be commit
8587dd95f850b4c6d2f015fe97ef98759ee8c236)
Jeremy Allison [Thu, 14 Mar 2002 00:58:53 +0000 (00:58 +0000)]
Get the current directory after becoming root.
Jeremy.
(This used to be commit
f032c6f710cb0edcf02f25db81c83478b9a8ab1e)
Tim Potter [Wed, 13 Mar 2002 22:55:47 +0000 (22:55 +0000)]
Fixed bodgy printf arguments in debug statment.
Who would have guessed it - we now use floating point maths in Samba.
(This used to be commit
6a053fa770b69f21fef52966a0b577b7ac9e817e)
Jeremy Allison [Wed, 13 Mar 2002 20:49:57 +0000 (20:49 +0000)]
Ensure we attempt to lock at least once. Only sleep if time param set.
Jeremy.
(This used to be commit
62b80d5c65ae8cf35347ee5c3d21ce1702c6449e)
Jeremy Allison [Wed, 13 Mar 2002 20:28:19 +0000 (20:28 +0000)]
include/smb_macros.h: Don't round up an allocation if the size is zero.
"One of these locks is not like the others... One of these locks is not
quite the same" :-). When is a zero timeout lock not zero ? When it's
being processed by Windows 2000 of course.. This code change, ugly though
it is - completely fixes the foxpro/access multi-user file system database
problems that people have been having. I used a *wonderful* test program
donated by "Gerald Drouillard" <gerald@drouillard.ca> which allowed me
to completely reproduce this problem, and to finally determine the correct
fix. This also explains why Windows 2000 is *so slow* when responding to
the smbtorture lock tests. I *love* it when all these things come together
and finally make sense :-).
Jeremy.
(This used to be commit
8aa9860ea2ea7f5aed4b6aa12794fffdfa81b0d0)
Andrew Tridgell [Wed, 13 Mar 2002 06:43:52 +0000 (06:43 +0000)]
detect SIZELIMIT_EXCEEDED in ldap queries and truncate
the problem is, how the heck do we properly handle these? Jerry?
It seems that the Win2000 ADS server only returns a max of 1000 records!
(This used to be commit
93389647203395da0e894c2e57348081e755884a)
Andrew Bartlett [Wed, 13 Mar 2002 01:51:01 +0000 (01:51 +0000)]
Ensure we never use "" as a domain name (Win9X apparently does this for 'net use' duirng login).
Picked up from a post to a TNG list by Volker.
Andrew Bartlett
(This used to be commit
f81882fc9510aadd7d1db77753b307800ab50f9b)
Jeremy Allison [Wed, 13 Mar 2002 01:29:30 +0000 (01:29 +0000)]
Add "Creator Group" - was in 2.2.x and I'm syncing up the two.
Jeremy.
(This used to be commit
bcf38961a7786c5cf1eb7568b87c19712c3ea9cc)
Andrew Bartlett [Wed, 13 Mar 2002 01:26:59 +0000 (01:26 +0000)]
Fix typo in copyright
(This used to be commit
54e69ed20adc74fdfe007a9642dcb3a55c02d856)
Andrew Bartlett [Wed, 13 Mar 2002 01:25:36 +0000 (01:25 +0000)]
I don't need my name on this twice :-)
(This used to be commit
764b99a3906d6299650f984860a586f37b18326d)
Andrew Bartlett [Wed, 13 Mar 2002 01:21:02 +0000 (01:21 +0000)]
Move the directory creation process outside the 'installbin.sh' script, and
into its own. The 'installdirs' makefile entry didn't do anything on my laptop,
so it has been replaced with the section from installbin.sh.
This also fixes the bug that we ignored the setting of $(PRIVATEDIR) when
making the directories.
Finally, link pam_winbind with .po objects only, not a mix of .o and .po
(as per Don Mccall's request).
Andrew Bartlett
(This used to be commit
c7a883df28da9dd6fb88198df22c4d78bf8acd8b)
Jeremy Allison [Wed, 13 Mar 2002 00:47:26 +0000 (00:47 +0000)]
Remove a stub function I forgot to fill in.
Jeremy.
(This used to be commit
d08cbcbc5d4fc3ec9554145de6b0b0a64dfbb8d1)
Andrew Tridgell [Wed, 13 Mar 2002 00:30:26 +0000 (00:30 +0000)]
if we know that the SID is local then don't try via winbindd
(This used to be commit
1a8f3ba3ab7717c481e3fb4f1ea8938461160d09)
Andrew Tridgell [Wed, 13 Mar 2002 00:19:40 +0000 (00:19 +0000)]
fixed mapping of SIDs for local users
(This used to be commit
df9e345366078ccaa94df7c2f2e33b292605e88a)
Andrew Tridgell [Tue, 12 Mar 2002 20:17:34 +0000 (20:17 +0000)]
fixed 2 reconnection bugs in the ADS backend support
(This used to be commit
1aaa2091d54e7e50cf75927d658e57776792d6ae)