samba.git
22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

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

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 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)

22 years agoAdded dos_errstr() function. Not all errors in list yet.
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)

22 years agoRenamed get_nt_error_msg() to nt_errstr().
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)

22 years agoFix build for non-ads case
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)

22 years agoDon't use // even temporarily, lest ye forget it and check it in...
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)

22 years agoChange new style join function name for clarity in net_rpc.c
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)

22 years agoChange net rpc join several ways: \n\t1) expose \n\t2) eliminate oldstyle subcommand...
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)

22 years agoExpose net_ads_join to allow for auto-transport-detection for net join
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)

22 years agoAdd autodetect for net join, as well as some more help updates
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)

22 years agoSome help cleanups. Formatting and consistency issues. Line up text nicely, and...
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)

22 years agoif our lock spin code fails then return the first error code, not the
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)

22 years agothe SEC_DOMAIN tests also apply to SEC_ADS
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)

22 years agonicer output from "net rpc user add"
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)

22 years agoenable locking on the winbindd cache tdb so it can be backed up and
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)

22 years agoadded a -h usage option to winbindd
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)

22 years agothis tdb was being opened without locking, which is unsafe for shared
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)

22 years agolower the debug level of failing to map a file
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)

22 years agosyncing up printing code with SAMBA_2_2 (already done some merges
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)

22 years agoActually include some *information* in the mangle debug messages.
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)

22 years agoAdd paged search requests to net ads user and net ads group commands, allowing more...
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)

22 years agoThis adds the Paged Result Control to ads searching. The new function, ads_do_paged_...
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)

22 years agoRemove studly gaps from prs_werror() calls so the same debug text is
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)

22 years agoNow we have reliable signals take SIGTERM inband.
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)

22 years agogetpid() -> sys_getpid()
Tim Potter [Thu, 14 Mar 2002 01:53:04 +0000 (01:53 +0000)]
getpid() -> sys_getpid()
(This used to be commit a3cea5e9ae3b53ecbc45e61a39cbce0ca1b916aa)

22 years agoBacked out enumprinters stuff - leave it for another day.
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)

22 years agoUse sys_usleep not usleep.
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)

22 years agoGet the current directory after becoming root.
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)

22 years agoFixed bodgy printf arguments in debug statment.
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)

22 years agoEnsure we attempt to lock at least once. Only sleep if time param set.
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)

22 years agoinclude/smb_macros.h: Don't round up an allocation if the size is zero.
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)

22 years agodetect SIZELIMIT_EXCEEDED in ldap queries and truncate
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)

22 years agoEnsure we never use "" as a domain name (Win9X apparently does this for 'net use...
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)

22 years agoAdd "Creator Group" - was in 2.2.x and I'm syncing up the two.
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)

22 years agoFix typo in copyright
Andrew Bartlett [Wed, 13 Mar 2002 01:26:59 +0000 (01:26 +0000)]
Fix typo in copyright
(This used to be commit 54e69ed20adc74fdfe007a9642dcb3a55c02d856)

22 years agoI don't need my name on this twice :-)
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)

22 years agoMove the directory creation process outside the 'installbin.sh' script, and
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)

22 years agoRemove a stub function I forgot to fill in.
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)

22 years agoif we know that the SID is local then don't try via winbindd
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)

22 years agofixed mapping of SIDs for local users
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)

22 years agofixed 2 reconnection bugs in the ADS backend support
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)

22 years agoSorry, forgot to commit this last night.
John Terpstra [Tue, 12 Mar 2002 19:29:16 +0000 (19:29 +0000)]
Sorry, forgot to commit this last night.
(This used to be commit 8e2f4bb35be5bf5db379c8e047cd2882e26f433e)

22 years agoget the test for disconnection the right way around!
Andrew Tridgell [Tue, 12 Mar 2002 18:47:27 +0000 (18:47 +0000)]
get the test for disconnection the right way around!
(This used to be commit ed80311b41f9869084d1e510cd8fd4213c3a1c19)

22 years agoYet another build fix for popt. I gotta get me one of these picky systems...
Jim McDonough [Tue, 12 Mar 2002 17:30:09 +0000 (17:30 +0000)]
Yet another build fix for popt.  I gotta get me one of these picky systems...
(This used to be commit 19546bdd5541785dc8430f8ffa2afcdb42015b96)

22 years agoMissing comma from systems that have ACLs.
Jim McDonough [Tue, 12 Mar 2002 16:32:25 +0000 (16:32 +0000)]
Missing comma from systems that have ACLs.
(This used to be commit 96e4282dca757e8621d23a54fb7203c93d2d41fc)

22 years agoAack. Don't change too much. vfs.c still won't build, but this should fix some other...
Jim McDonough [Tue, 12 Mar 2002 15:21:04 +0000 (15:21 +0000)]
Aack.  Don't change too much. vfs.c still won't build, but this should fix some other build stuff I screwed up.
(This used to be commit 4490ad340cff1ea2a5b519150ad5c49bcea23766)

22 years agoUpdate samba.pam from 2.2.4pre branch.
John Terpstra [Tue, 12 Mar 2002 06:52:35 +0000 (06:52 +0000)]
Update samba.pam from 2.2.4pre branch.
Fixups for incorrect man page location by installman.sh
- Note: FHS standard for man pages if /usr/share/man/XX
where XX is the language mneumonic
(This used to be commit e3e0a5aca9593f18e5f218b54641048cd823ac03)

22 years agoFix up location of libsmbclient.so so it always goes to /usr/lib.
John Terpstra [Tue, 12 Mar 2002 06:48:48 +0000 (06:48 +0000)]
Fix up location of libsmbclient.so so it always goes to /usr/lib.
(This used to be commit e508b07fe766c679d6fc2a940bec72b9b2a61b01)

22 years agoIt builds the RPMS, now for the testing...
John Terpstra [Tue, 12 Mar 2002 06:18:00 +0000 (06:18 +0000)]
It builds the RPMS, now for the testing...
(This used to be commit 917a5f2cdb861dca1708585f6b7ff51f576ca497)

22 years agoCleaning things up for test deployment.
John Terpstra [Tue, 12 Mar 2002 05:28:09 +0000 (05:28 +0000)]
Cleaning things up for test deployment.
(This used to be commit 675a78d09a693004cf959fd6cec62b6b72c67194)

22 years agoAdded wins entry.
John Terpstra [Tue, 12 Mar 2002 04:18:51 +0000 (04:18 +0000)]
Added wins entry.
(This used to be commit a4be3b7b93ac95d16c01519a57fd9c57b20ffcae)

22 years agoHack, hack, where is my sledge hammer?
John Terpstra [Tue, 12 Mar 2002 04:17:48 +0000 (04:17 +0000)]
Hack, hack, where is my sledge hammer?
(This used to be commit b07aa46d83810009d5d690f81cf82932dd67f04c)

22 years agoRemoved unused var.
Jeremy Allison [Tue, 12 Mar 2002 02:33:31 +0000 (02:33 +0000)]
Removed unused var.
Jeremy.
(This used to be commit 45bf5f6c050bbe69209a5c80141ef8e54354f5ea)

22 years agoEnsure, if we're a PDC or BDC, that the SID stored for the domain name
Jeremy Allison [Tue, 12 Mar 2002 02:26:33 +0000 (02:26 +0000)]
Ensure, if we're a PDC or BDC, that the SID stored for the domain name
and the machine name are identical.
Jeremy.
(This used to be commit 87e6b08964d13d6613342c9be21871a2e776e2e6)

22 years agoStill hacking at it.
John Terpstra [Tue, 12 Mar 2002 01:01:04 +0000 (01:01 +0000)]
Still hacking at it.
(This used to be commit 153091597cd4f2e26a3aa80c32bba27bc358b0b2)

22 years agoMerge of enumprinters vs getprinter naming patch from 2.2
Tim Potter [Tue, 12 Mar 2002 00:16:03 +0000 (00:16 +0000)]
Merge ... enumprinters vs getprinter naming patch from 2.2
(This used to be commit dfd51bc8d0714473880bf50369f7994304c1d83f)

22 years agoAdded POSIX ACL layer into the vfs.
Jeremy Allison [Tue, 12 Mar 2002 00:08:08 +0000 (00:08 +0000)]
Added POSIX ACL layer into the vfs.
Jeremy.
(This used to be commit 7d59445b6962547a8938928a9371651a09e26516)

22 years agoAdded tdbbackup.
Tim Potter [Tue, 12 Mar 2002 00:05:22 +0000 (00:05 +0000)]
Added tdbbackup.
(This used to be commit a41750f86af2840e207be310d2036fad7bfb7cf3)

22 years agoRemoved bogus calles to D() debugging function. Perhaps these should
Tim Potter [Mon, 11 Mar 2002 23:59:20 +0000 (23:59 +0000)]
Removed bogus calles to D() debugging function.  Perhaps these should
be replaced by DEBUG() calls?
(This used to be commit 33dd07d1fc6946e53d3bdaad025adfc20abfab77)

22 years agoalways make winbindd try for the PDC first before trying for a BDC
Andrew Tridgell [Mon, 11 Mar 2002 22:25:14 +0000 (22:25 +0000)]
always make winbindd try for the PDC first before trying for a BDC

this prevents propogation delays in the SAM between the PDC and BDCs
(This used to be commit 967cb3ed0c3190f3e95a227e4d998a7312b5990b)

22 years agoImplemented default ACL patch (set inherit acls = true on a per share basis).
Jeremy Allison [Mon, 11 Mar 2002 21:57:12 +0000 (21:57 +0000)]
Implemented default ACL patch (set inherit acls = true on a per share basis).
Based on code donated by Olaf Fr±czyk <olaf@cbk.poznan.pl>. Further commit
will change to sending via vfs interface.
Jeremy.
(This used to be commit d85133e2697eb22f1573c78447b57791ae63dd6b)

22 years agoAnother program converted to popt...smbstatus this time.
Jim McDonough [Mon, 11 Mar 2002 21:37:01 +0000 (21:37 +0000)]
Another program converted to popt...smbstatus this time.
(This used to be commit 00d3a064f16101fecebaeaaabaf841f0a5c91523)

22 years agoMore temp. changes. - Bear with me, this will soon be resolved.
John Terpstra [Mon, 11 Mar 2002 21:35:38 +0000 (21:35 +0000)]
More temp. changes. - Bear with me, this will soon be resolved.
(This used to be commit cb38843ac753992be0c6a109a8de175b73fe7db2)

22 years agoTransient change - not final - don;t want to lose this between systems and testers.
John Terpstra [Mon, 11 Mar 2002 19:37:01 +0000 (19:37 +0000)]
Transient change - not final - don;t want to lose this between systems and testers.
NOTE: This is not useable for now.
(This used to be commit 0fe968378a94e70c8a7c4b15bf2516ded1edd52c)