Gerald Carter
737423f06e
OpenPrinter() merge from 2.2
...
(This used to be commit 619397cc90549d4602ecddc25ee50eb247c913ee)
2002-03-26 03:15:30 +00:00
Jeremy Allison
8f9d7ebb35
Removed unused variable.
...
Jeremy.
(This used to be commit 4eb29ac559faf29b348a4097a33f9cbf4cf9d057)
2002-03-26 03:07:51 +00:00
Jeremy Allison
414056e9f2
Tests for insane open semantics.
...
Jeremy.
(This used to be commit 6d6842abfa1f7a317b3aa6b285ed737bf7056e82)
2002-03-26 00:40:18 +00:00
Jeremy Allison
81a0d5b5e9
Matched W2K *insane* open semantics....
...
Jeremy.
(This used to be commit 6819e81da490914d2db91c4d2419d408b8d4c818)
2002-03-26 00:38:12 +00:00
Jeremy Allison
bca0b0fc36
Added 5 *NASTY* non-io open tests....
...
Jeremy.
(This used to be commit 15cb6267e2f86b6e244d4a9f7a8633205f10114c)
2002-03-26 00:07:48 +00:00
Andrew Bartlett
62098eade3
add {push,pull}_ucs2{allocate,talloc}() functions.
...
Andrew Bartlett
(This used to be commit ce7990b4a4f251536dd26be5a62c12711df57787)
2002-03-25 07:41:42 +00:00
Martin Pool
cf60c28ea8
Roll back proto.h changes -- to hard to do them portably. Leave
...
Herb's installdat change in.
(This used to be commit 39a6b12fdc6a45cd51d3c11785bffeedd9fc78cd)
2002-03-25 01:29:55 +00:00
Tim Potter
1d582af3c0
Spelling fixes.
...
(This used to be commit a5ac2ac4ada48ee3be061a32ba40bd8c4b3b3865)
2002-03-24 23:25:05 +00:00
Jeremy Allison
7104dbd245
Set default recycle directory permissions as 0770. Unlink on rename
...
fail.
Jeremy.
(This used to be commit 42981c819a07dd35296ecc1ee733ea587f69bcce)
2002-03-23 20:48:45 +00:00
Andrew Bartlett
9708356847
Documentation updates.
...
(This used to be commit 9a9e4e92ae079eb906dcc7123df092f4917b5dad)
2002-03-23 09:30:05 +00:00
Andrew Bartlett
bf281ae3e5
Extra parinoa and DEBUG()s for the make_user_info_map() code.
...
(This used to be commit aa5f125bc0efeee99254e03f36426420db676527)
2002-03-23 09:01:30 +00:00
Andrew Bartlett
1c92b99c80
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)
2002-03-23 09:00:27 +00:00
Andrew Bartlett
6cea14ebd5
rerun autoconf
...
(This used to be commit 32a8513619c29b1797a69849b73e62705a0f7c0b)
2002-03-23 08:46:14 +00:00
Andrew Bartlett
33dd512896
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)
2002-03-23 08:45:03 +00:00
Andrew Bartlett
d6d9d6debd
Update some of the DEBUG()s in Get_Pwnam_internal()
...
Andrew Bartlett
(This used to be commit 20f6f9e3a221da60aae0de166f17085053e27286)
2002-03-23 08:40:15 +00:00
Andrew Bartlett
fbdf45721b
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)
2002-03-23 08:39:04 +00:00
Andrew Bartlett
43ba0aa8d9
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)
2002-03-23 08:32:25 +00:00
Andrew Bartlett
657a24f476
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)
2002-03-23 08:28:19 +00:00
Andrew Bartlett
26588248cd
Join as a server trust account if the server role is either PDC or BDC.
...
(This used to be commit 0784ab67addb3422a2d17363b4c3328d2e4b1008)
2002-03-23 08:03:55 +00:00
Jeremy Allison
1bb3c9cd85
Forgot torture hacks...
...
Jeremy.
(This used to be commit ba6c3d65a53278b5a4c49d437373cfe613a2f80f)
2002-03-23 02:59:20 +00:00
Jeremy Allison
c90cd26e94
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)
2002-03-23 02:57:44 +00:00
Tim Potter
ce236d1dbf
Stomped on some header file version numbers that have crept back in.
...
(This used to be commit e66bdf1229ba84f64c19e817e2c4081dbbf0bee8)
2002-03-22 06:24:38 +00:00
Tim Potter
15bc8b1471
Make debug statment less confusing.
...
(This used to be commit 301a7f56dd3e7160147da656ff521671d04fe291)
2002-03-22 05:43:08 +00:00
Herb Lewis
b47fcfca3e
cut and paste inserted spaces instead of tab. Some versions of make don't
...
like this
(This used to be commit c86d266d6eb665a6182f10d8acf80aadb3b6e39e)
2002-03-22 02:39:35 +00:00
Tim Potter
64f18308b7
Added enumerate trusted domains and check secret.
...
Added configuration dictionary to retrieve smb.conf parameters.
(This used to be commit 4d31151977f358c50986131dbd311c3ee69e9286)
2002-03-22 00:10:53 +00:00
Herb Lewis
2e39a46942
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)
2002-03-22 00:09:09 +00:00
Herb Lewis
87eb1ffd55
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)
2002-03-21 23:42:54 +00:00
Jeremy Allison
cd94f6cb63
Missed a couple of fetch/store_ints.
...
Jeremy.
(This used to be commit 51189e62a7f20db1835a54c7af1e39f4712c0b95)
2002-03-21 23:41:28 +00:00
Jeremy Allison
67d21b5a4b
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)
2002-03-21 23:39:17 +00:00
Jeremy Allison
42955a4d81
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)
2002-03-21 23:19:17 +00:00
Herb Lewis
a3468c25a4
merge fix for core dump when called with no args from 2.2
...
(This used to be commit 8b38cca631a7434fcce0686c8e41c986a0a36a21)
2002-03-21 22:36:04 +00:00
Jeremy Allison
bffc69a877
Fix stupid typo !
...
Jeremy.
(This used to be commit d0b58f66edeac516bde2dff79ab5cf529c37954b)
2002-03-21 21:23:22 +00:00
Herb Lewis
21ea8c2835
add .proto.check
...
(This used to be commit 3e602671e2b75b29e85b66cdf4f60fe70cc52701)
2002-03-21 14:09:02 +00:00
Herb Lewis
aadc8a52fd
update usage message with other options. Add a -d debuglevel option
...
(This used to be commit 32d5dc824ab26c140feb8041314783caab622c65)
2002-03-21 14:03:41 +00:00
Herb Lewis
55058b074f
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)
2002-03-21 14:01:57 +00:00
Herb Lewis
1783dcd2f1
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)
2002-03-21 14:00:13 +00:00
Andrew Bartlett
73c45a4a6f
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)
2002-03-21 11:54:43 +00:00
Andrew Tridgell
3fd8f2d6e8
make net ads info work with -S
...
(This used to be commit 57645fd85b7789d7807a5ffb5b2572c6d5f9e3de)
2002-03-21 04:48:24 +00:00
Tim Potter
d3cc779010
Compile fix for --with-profiling-data
...
(This used to be commit 1ae07c42a449f4d4049c15f349f0829b73c12b5e)
2002-03-21 04:25:31 +00:00
Andrew Bartlett
0f08930b32
Don't leak memory on failure.
...
(This used to be commit 438f028fc45ee6c5b12fa960beabea4b5fdcff38)
2002-03-21 04:00:25 +00:00
Andrew Bartlett
93d25c293f
Make sure to initaliase SAM_ACCOUNT pointers to NULL, otherwise pdb_init_sam()
...
fails.
Andrew Bartlett
(This used to be commit 56009ffbaa00259d15f286248a7ab73c55371819)
2002-03-21 03:53:44 +00:00
Andrew Tridgell
e76d514f57
fixed the secondary group mappings for ADS users
...
(This used to be commit be399f5823bb8dfe6cc28d58aaeceb51f1b7382b)
2002-03-21 02:28:23 +00:00
Gerald Carter
9529a4827c
merge from APPLIANCE_HEAD
...
(This used to be commit 9282aa02d44ae7a7688e8399b397aae35f73ddd1)
2002-03-20 23:09:34 +00:00
Jeremy Allison
e67f1be9f0
Ensure we don't do lp_servicename()'s in tdb traverse as this
...
allocates lots of memory.
Jeremy.
(This used to be commit fbc8c6a1096ec829f48b403239f105065bf155b1)
2002-03-20 22:39:30 +00:00
Jeremy Allison
60a7d07d63
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)
2002-03-20 21:55:57 +00:00
Jeremy Allison
c770faac5f
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)
2002-03-20 21:08:19 +00:00
Jeremy Allison
2eab97160b
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)
2002-03-20 19:29:06 +00:00
Andrew Bartlett
b1062ece13
Make ldapsam compile again.
...
(This used to be commit 520c8626dc238a1e338635981d1b41950f2219b6)
2002-03-20 12:05:10 +00:00
Jeremy Allison
ea6099e30c
BUFFER_SIZE Should be 128k if large read write tests are to work.
...
Jeremy.
(This used to be commit 2be9b253ad40e125169725ea79e6723cb40c5e6a)
2002-03-20 07:20:38 +00:00
Martin Pool
75722fa183
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)
2002-03-20 06:57:03 +00:00