samba.git
19 years agoMoved conv functions to separate file.
Tim Potter [Tue, 26 Mar 2002 11:12:16 +0000 (11:12 +0000)]
Moved conv functions to separate file.

Converted remaining functions to methods.
(This used to be commit 1e894487f59a0c00347fdf28ddea892b40473a6d)

19 years ago#include "py_conv.h"
Tim Potter [Tue, 26 Mar 2002 11:09:35 +0000 (11:09 +0000)]
#include "py_conv.h"
(This used to be commit 2c935bc1eab20fd72f0bd4577c0e2140d6fcc3d3)

19 years agoAdded ports and conversion routines.
Tim Potter [Tue, 26 Mar 2002 11:09:07 +0000 (11:09 +0000)]
Added ports and conversion routines.
(This used to be commit eff595d068d40ad833d96e545b9918f91669a13c)

19 years agoRegenerated patch.
Tim Potter [Tue, 26 Mar 2002 11:08:25 +0000 (11:08 +0000)]
Regenerated patch.
(This used to be commit 34cc49d92988a0d4871b6586776b5d2c9d94de94)

19 years agoPort related functions.
Tim Potter [Tue, 26 Mar 2002 11:08:09 +0000 (11:08 +0000)]
Port related functions.
(This used to be commit 5dc7e350ec784996f7c8bc824624cd0b8347a3b0)

19 years agoSamba structure <-> Python dictionary helper functions.
Tim Potter [Tue, 26 Mar 2002 11:07:45 +0000 (11:07 +0000)]
Samba structure <-> Python dictionary helper functions.
(This used to be commit 6c8a2ad16774f67f82d95056817ace5c80928893)

19 years agoMoved form related functions as methods in the policy handle object.
Tim Potter [Tue, 26 Mar 2002 06:25:47 +0000 (06:25 +0000)]
Moved form related functions as methods in the policy handle object.
(This used to be commit 7c4bcc48aa9ff3227673522f32170bcefb0b7208)

19 years agoAppend $(srcdir) to include directories.
Tim Potter [Tue, 26 Mar 2002 06:23:28 +0000 (06:23 +0000)]
Append $(srcdir) to include directories.
(This used to be commit ff526275669a4464ad274fac1b381945adb21719)

19 years agoPass $(srcdir) to setup.py
Tim Potter [Tue, 26 Mar 2002 06:22:21 +0000 (06:22 +0000)]
Pass $(srcdir) to setup.py
(This used to be commit 1926828c5d9f4adf5498268abbe129e8b9f57a9d)

19 years agoRenamed internal methods so as not to clash with symbols within Samba.
Tim Potter [Tue, 26 Mar 2002 06:20:51 +0000 (06:20 +0000)]
Renamed internal methods so as not to clash with symbols within Samba.

Set up and use winbind separator in config object.

Implemented:

 - uid to sid
 - gid to sid
 - sid to uid
 - sid to gid

Added RID constants.
(This used to be commit 9afd17f1541446a9c5252cd4d0d4d13c800ecac8)

19 years agoOpenPrinter() merge from 2.2
Gerald Carter [Tue, 26 Mar 2002 03:15:30 +0000 (03:15 +0000)]
OpenPrinter() merge from 2.2
(This used to be commit 619397cc90549d4602ecddc25ee50eb247c913ee)

19 years agoRemoved unused variable.
Jeremy Allison [Tue, 26 Mar 2002 03:07:51 +0000 (03:07 +0000)]
Removed unused variable.
Jeremy.
(This used to be commit 4eb29ac559faf29b348a4097a33f9cbf4cf9d057)

19 years agoTests for insane open semantics.
Jeremy Allison [Tue, 26 Mar 2002 00:40:18 +0000 (00:40 +0000)]
Tests for insane open semantics.
Jeremy.
(This used to be commit 6d6842abfa1f7a317b3aa6b285ed737bf7056e82)

19 years agoMatched W2K *insane* open semantics....
Jeremy Allison [Tue, 26 Mar 2002 00:38:12 +0000 (00:38 +0000)]
Matched W2K *insane* open semantics....
Jeremy.
(This used to be commit 6819e81da490914d2db91c4d2419d408b8d4c818)

19 years agoAdded 5 *NASTY* non-io open tests....
Jeremy Allison [Tue, 26 Mar 2002 00:07:48 +0000 (00:07 +0000)]
Added 5 *NASTY* non-io open tests....
Jeremy.
(This used to be commit 15cb6267e2f86b6e244d4a9f7a8633205f10114c)

19 years agoadd {push,pull}_ucs2{allocate,talloc}() functions.
Andrew Bartlett [Mon, 25 Mar 2002 07:41:42 +0000 (07:41 +0000)]
add {push,pull}_ucs2{allocate,talloc}() functions.

Andrew Bartlett
(This used to be commit ce7990b4a4f251536dd26be5a62c12711df57787)

19 years agoRoll back proto.h changes -- to hard to do them portably. Leave
Martin Pool [Mon, 25 Mar 2002 01:29:55 +0000 (01:29 +0000)]
Roll back proto.h changes -- to hard to do them portably.  Leave
Herb's installdat change in.
(This used to be commit 39a6b12fdc6a45cd51d3c11785bffeedd9fc78cd)

19 years agoSpelling fixes.
Tim Potter [Sun, 24 Mar 2002 23:25:05 +0000 (23:25 +0000)]
Spelling fixes.
(This used to be commit a5ac2ac4ada48ee3be061a32ba40bd8c4b3b3865)

19 years agoSet default recycle directory permissions as 0770. Unlink on rename
Jeremy Allison [Sat, 23 Mar 2002 20:48:45 +0000 (20:48 +0000)]
Set default recycle directory permissions as 0770. Unlink on rename
fail.
Jeremy.
(This used to be commit 42981c819a07dd35296ecc1ee733ea587f69bcce)

19 years agoDocumentation updates.
Andrew Bartlett [Sat, 23 Mar 2002 09:30:05 +0000 (09:30 +0000)]
Documentation updates.
(This used to be commit 9a9e4e92ae079eb906dcc7123df092f4917b5dad)

19 years agoExtra parinoa and DEBUG()s for the make_user_info_map() code.
Andrew Bartlett [Sat, 23 Mar 2002 09:01:30 +0000 (09:01 +0000)]
Extra parinoa and DEBUG()s for the make_user_info_map() code.
(This used to be commit aa5f125bc0efeee99254e03f36426420db676527)

19 years agoCorrectly store the hostname of the remote machine if so configured. If the
Andrew Bartlett [Sat, 23 Mar 2002 09:00:27 +0000 (09:00 +0000)]
Correctly store the hostname of the remote machine if so configured.  If the
reverse DNS fails, then store the IP.
(This used to be commit d97771aa80b48fbdb9cae3e9712e35fcc895b148)

19 years agorerun autoconf
Andrew Bartlett [Sat, 23 Mar 2002 08:46:14 +0000 (08:46 +0000)]
rerun autoconf
(This used to be commit 32a8513619c29b1797a69849b73e62705a0f7c0b)

19 years agoMake a number of the lookup tables 'const'. I'm told this assists in sharing
Andrew Bartlett [Sat, 23 Mar 2002 08:45:03 +0000 (08:45 +0000)]
Make a number of the lookup tables 'const'.  I'm told this assists in sharing
memory between users of shared libs.

Andrew Bartlett
(This used to be commit 41dd5a4d292bb08fa313f6220014cd9b4490237b)

19 years agoUpdate some of the DEBUG()s in Get_Pwnam_internal()
Andrew Bartlett [Sat, 23 Mar 2002 08:40:15 +0000 (08:40 +0000)]
Update some of the DEBUG()s in Get_Pwnam_internal()

Andrew Bartlett
(This used to be commit 20f6f9e3a221da60aae0de166f17085053e27286)

19 years agoPatch from Hasch@t-online.de (Juergen Hasch) to add allocate and talloc
Andrew Bartlett [Sat, 23 Mar 2002 08:39:04 +0000 (08:39 +0000)]
Patch from Hasch@t-online.de (Juergen Hasch) to add allocate and talloc
push/pull utf8 functions.  To be used for international ADS support.

Andrew Bartlett
(This used to be commit 9ab144810efeb0b086257143b01ca47ee5718861)

19 years agoMinor fixes:
Andrew Bartlett [Sat, 23 Mar 2002 08:32:25 +0000 (08:32 +0000)]
Minor fixes:

- Fix warnings in loadparm.c
- Remove the unused 'passdb modules path' paramater

- Make pdb_ldap use $ termination rather than the workstation trust account
  flag becouse some 'machine' accounts appear as normal accounts at creation
  time.  Also covers domains etc.

Andrew Bartlett
(This used to be commit 8c82a3daf777bcd4cd4388d30222e370fe800819)

19 years agoVarious winbind updates:
Andrew Bartlett [Sat, 23 Mar 2002 08:28:19 +0000 (08:28 +0000)]
Various winbind updates:

- pam_winbind updates from vance, fixing a typo and making some the options
  work properly.

- Extra parinoia in the winbind connection loop

- Allow pam_winbind to compile on HP-UX (Don Mcall, more work to do).

- Fix up configure.in to use the same method for building the test .so
  as the Makefile uses.

Andrew Bartlett
(This used to be commit 8e705dd9215b1cb3f44d6348094679d7dc6a7fbd)

19 years agoJoin as a server trust account if the server role is either PDC or BDC.
Andrew Bartlett [Sat, 23 Mar 2002 08:03:55 +0000 (08:03 +0000)]
Join as a server trust account if the server role is either PDC or BDC.
(This used to be commit 0784ab67addb3422a2d17363b4c3328d2e4b1008)

19 years agoForgot torture hacks...
Jeremy Allison [Sat, 23 Mar 2002 02:59:20 +0000 (02:59 +0000)]
Forgot torture hacks...
Jeremy.
(This used to be commit ba6c3d65a53278b5a4c49d437373cfe613a2f80f)

19 years agoFix the mp3 rename bug - also tidy up our open code and remove the special
Jeremy Allison [Sat, 23 Mar 2002 02:57:44 +0000 (02:57 +0000)]
Fix the mp3 rename bug - also tidy up our open code and remove the special
cases for rename and unlink. Had to add desired_access into the share mode record.
Jeremy.
(This used to be commit 3b1b8ac43535fb0839c5474fa55bf7150f6cde31)

19 years agoStomped on some header file version numbers that have crept back in.
Tim Potter [Fri, 22 Mar 2002 06:24:38 +0000 (06:24 +0000)]
Stomped on some header file version numbers that have crept back in.
(This used to be commit e66bdf1229ba84f64c19e817e2c4081dbbf0bee8)

19 years agoMake debug statment less confusing.
Tim Potter [Fri, 22 Mar 2002 05:43:08 +0000 (05:43 +0000)]
Make debug statment less confusing.
(This used to be commit 301a7f56dd3e7160147da656ff521671d04fe291)

19 years agocut and paste inserted spaces instead of tab. Some versions of make don't
Herb Lewis [Fri, 22 Mar 2002 02:39:35 +0000 (02:39 +0000)]
cut and paste inserted spaces instead of tab. Some versions of make don't
like this
(This used to be commit c86d266d6eb665a6182f10d8acf80aadb3b6e39e)

19 years agoAdded enumerate trusted domains and check secret.
Tim Potter [Fri, 22 Mar 2002 00:10:53 +0000 (00:10 +0000)]
Added enumerate trusted domains and check secret.

Added configuration dictionary to retrieve smb.conf parameters.
(This used to be commit 4d31151977f358c50986131dbd311c3ee69e9286)

19 years agoadd a -n maxloops option so this can be run in a script and end after a
Herb Lewis [Fri, 22 Mar 2002 00:09:09 +0000 (00:09 +0000)]
add a -n maxloops option so this can be run in a script and end after a
certain number of iterations.
(This used to be commit bdac7cb9c5bdd52db06b2507d8660bc1c9debea5)

19 years agomake install should also install the default dat files from codepages
Herb Lewis [Thu, 21 Mar 2002 23:42:54 +0000 (23:42 +0000)]
make install should also install the default dat files from codepages
directory so we don't keep getting these stupid error messages about
incorrect size for valid.dat upcase.dat and lowcase.dat
(This used to be commit 4af0c7a93f626dde33fd737618c2b786f83046c7)

19 years agoMissed a couple of fetch/store_ints.
Jeremy Allison [Thu, 21 Mar 2002 23:41:28 +0000 (23:41 +0000)]
Missed a couple of fetch/store_ints.
Jeremy.
(This used to be commit 51189e62a7f20db1835a54c7af1e39f4712c0b95)

19 years agoMake winbindd_idmap tdb endian independent. This is very important for
Jeremy Allison [Thu, 21 Mar 2002 23:39:17 +0000 (23:39 +0000)]
Make winbindd_idmap tdb endian independent. This is very important for
sharing between machines with rsync.
Finally removed tdb_store_int/tdb_fetch_int.
Now only tdb_store_int32/tdb_fetch_int32 which are endian independent
are allowed.
Jeremy.
(This used to be commit 1c4a00dcc13f4a7c5876a5cf63ca730190d1132e)

19 years agoWhen upgrading from an old idmap tdb, remember to overwrite the reverse
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)

19 years agomerge fix for core dump when called with no args from 2.2
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)

19 years agoFix stupid typo !
Jeremy Allison [Thu, 21 Mar 2002 21:23:22 +0000 (21:23 +0000)]
Fix stupid typo !
Jeremy.
(This used to be commit d0b58f66edeac516bde2dff79ab5cf529c37954b)

19 years agoadd .proto.check
Herb Lewis [Thu, 21 Mar 2002 14:09:02 +0000 (14:09 +0000)]
add .proto.check
(This used to be commit 3e602671e2b75b29e85b66cdf4f60fe70cc52701)

19 years agoupdate usage message with other options. Add a -d debuglevel option
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)

19 years agomust use native endian index when creating default valid.dat table so it
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)

19 years agoreturn . and .. first in readdir - this fixes masktest on IRIX which
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)

19 years agoThere is no reason we can't join a domain with secuirty=user. In fact we
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)

19 years agomake net ads info work with -S
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)

19 years agoCompile fix for --with-profiling-data
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)

19 years agoDon't leak memory on failure.
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)

19 years agoMake sure to initaliase SAM_ACCOUNT pointers to NULL, otherwise pdb_init_sam()
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)

19 years agofixed the secondary group mappings for ADS users
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)

19 years agomerge from APPLIANCE_HEAD
Gerald Carter [Wed, 20 Mar 2002 23:09:34 +0000 (23:09 +0000)]
merge from APPLIANCE_HEAD
(This used to be commit 9282aa02d44ae7a7688e8399b397aae35f73ddd1)

19 years agoEnsure we don't do lp_servicename()'s in tdb traverse as this
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)

19 years agoPrint queue entries *must* have queue names, not numbers - numbers are
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)

19 years agoJohn's patch changed the size of a structure stored in the tdb - we
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)

19 years agoHEAD only fix for truncate from Alexander Bokovoy <a.bokovoy@sam-solutions.net>.
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)

19 years agoMake ldapsam compile again.
Andrew Bartlett [Wed, 20 Mar 2002 12:05:10 +0000 (12:05 +0000)]
Make ldapsam compile again.
(This used to be commit 520c8626dc238a1e338635981d1b41950f2219b6)

19 years agoBUFFER_SIZE Should be 128k if large read write tests are to work.
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)

19 years agoAdd assertions that kill() is never accidentally passed a non-positive
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)

19 years agoActually use flags passed in PYTHON_CFLAGS variable.
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)

19 years agoAdded enum domain users and enum domain groups.
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)

19 years agoPass $(CFLAGS) and $(CPPFLAGS) to python compile instead of $(FLAGS)
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)

19 years agoAdded name_to_sid and sid_to_name functions.
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)

19 years agoRemove nsswitch from include directories.
Tim Potter [Wed, 20 Mar 2002 04:51:40 +0000 (04:51 +0000)]
Remove nsswitch from include directories.
(This used to be commit 19dd8ba8267320c0f219639abe3aa701b69e5c56)

19 years agoCache call to winbind separator.
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)

19 years agoresetprinter merge from SAMBA_2_2
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)

19 years agoIgnore autogenerated setup.py
Tim Potter [Wed, 20 Mar 2002 03:32:44 +0000 (03:32 +0000)]
Ignore autogenerated setup.py
(This used to be commit b06fc0cc84a0ba7cfb19c601682351b11a27364c)

19 years agoInitial version.
Tim Potter [Wed, 20 Mar 2002 03:29:03 +0000 (03:29 +0000)]
Initial version.
(This used to be commit d35770d06f7bc396cf32337a4e1104b5fe8a3ca8)

19 years agoCorrectly increment offset in cli_smbwrite.
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)

19 years agoAllow a zero rid in pdb_smbpasswd. When given a zero rid the pdb backend
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)

19 years agoTest against W2K that we're doing large read/writes correctly (we are).
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)

19 years agoEnsure we get a real fd when opening for set file allocation.
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)

19 years agoMerge of Richard's lookupsid fix.
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)

19 years agoFix for debug typo.
Jeremy Allison [Wed, 20 Mar 2002 00:49:44 +0000 (00:49 +0000)]
Fix for debug typo.
(This used to be commit 5b43519219991fe14c8ce1993c16557bf5ceccb4)

19 years agoRemove the "stat open" code - make it inline. This should fix the
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)

19 years agoMerge from app-head:
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)

19 years agoPatch to configure.in and Makefile.in for Python extensions.
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)

19 years agoMerge JohnR's fix.
Jeremy Allison [Tue, 19 Mar 2002 23:33:32 +0000 (23:33 +0000)]
Merge JohnR's fix.
Jeremy.
(This used to be commit d5fd1fd859cec3076d2f01ed234314ea8d80a753)

19 years agothe beginning of a test to determine and display a servers properties
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)

19 years agosetup.py for samba python wrappers
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)

19 years agomake "net ads user" and "net ads group" also use the new paged interface
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)

19 years agoupdated winbindd to used paged ldap searches for all ldap queries
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)

19 years agoadded a ads_do_search_all() call, which is a more convenient interface
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)

19 years agosecond step to gain free uid<->rid mapping
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)

19 years agofixed paged controls on my box. The problem seems to be incorrect
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)

19 years agoTake out autobuild dependency on proto.h; breaks some proprietary Makes.
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)

19 years agoRefactor for systems like Solaris that cannot handle wildcards on the
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)

19 years agoChange the Makefile to rebuild proto.h as necessary -- note that this
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)

19 years agoFix a double-free bug in wbinfo -t's call in winbindd.
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)

19 years agoDon't try to sort a list of zero length in internal_resolve_name()
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)

19 years agoSync up the VFS changes from 2.2.x.
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)

19 years agoMerge in JohnR's page count fixes.
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)

19 years agoSync up vfs changes from 2.2.x.
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)

19 years agoops forgot this :-)
Simo Sorce [Tue, 19 Mar 2002 00:06:24 +0000 (00:06 +0000)]
ops forgot this :-)
(This used to be commit fdb88eb06af09171af2027a90ef6f3ac872beaee)

19 years agomore verbose checking in talloc and util_pw
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)

19 years agoStart to switch away from the alghorithmic uid->rid mapping model
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)

19 years agoAllow us to see the difference between these two errors. (We need to chase
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)

19 years agopreparing for release of 3.0-alpha17
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)

19 years agoFix ability to compile with CUPS support.
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)