ira/wip.git
19 years agoAlso add the matching example pdb module.
Andrew Bartlett [Fri, 22 Feb 2002 02:57:49 +0000 (02:57 +0000)]
Also add the matching example pdb module.
(This used to be commit fbfb7ee896469e79043fab02481bacd2621a302d)

19 years agoAdd the pdb_plugin module from Jelmer Vernooij <jelmer@nl.linux.org>.
Andrew Bartlett [Fri, 22 Feb 2002 02:47:53 +0000 (02:47 +0000)]
Add the pdb_plugin module from Jelmer Vernooij <jelmer@nl.linux.org>.

This allow the user to select
'passdb backend = plugin : /path/to/plugin.so : pluging args'

And load any arbitary plugin.  Apparently Jelmer has a mysql plugin in the
works - hence this patch.

We probably need to rework the interface a bit before 3.0 (add versioning of
some kind) but this is a good start.

Andrew Bartlett
(This used to be commit d6d18b70f0c377344b0b3d9df5a11d209793bfe0)

19 years agorerun autoconf
Andrew Bartlett [Fri, 22 Feb 2002 01:54:54 +0000 (01:54 +0000)]
rerun autoconf
(This used to be commit 0ba24c91bf3f6e56e2bd32a6c4c1bbc23cb48527)

19 years agoTry to catch the compilers that don't handle immidiate structures as well as we
Andrew Bartlett [Fri, 22 Feb 2002 01:54:17 +0000 (01:54 +0000)]
Try to catch the compilers that don't handle immidiate structures as well as we
would like.  We use them to initialise other struct (lookup) tables, so test
that as well.

Also try not to segfault during our snprintf tests - test both with a 0 len
buffer and without any buffer at all.

Andrew Bartlett
(This used to be commit 2d80ab7122f34d3bf31cddd26a63929f9c2ced77)

19 years agomerge from 2.2
Gerald Carter [Thu, 21 Feb 2002 17:30:58 +0000 (17:30 +0000)]
merge from 2.2
(This used to be commit 505119f0a7c6f10fd7e580edfe1bd0fb6ec36428)

19 years agoadded a cli_qfilename() test to the trans2 tests
Andrew Tridgell [Thu, 21 Feb 2002 04:27:16 +0000 (04:27 +0000)]
added a cli_qfilename() test to the trans2 tests
(This used to be commit 81fb8845e5c9a321f113258a737ce5c6e799e505)

19 years agothis fixes the security tab on mapped drives for unicode clients.
Andrew Tridgell [Thu, 21 Feb 2002 04:26:32 +0000 (04:26 +0000)]
this fixes the security tab on mapped drives for unicode clients.

Jeremy, this is wrong in 2.2.x
(This used to be commit 367358c7389555f413b3c690c012ef067859fc22)

19 years agoadded cli_qfilename(), used in trans2 torture test
Andrew Tridgell [Thu, 21 Feb 2002 04:25:17 +0000 (04:25 +0000)]
added cli_qfilename(), used in trans2 torture test
(This used to be commit d37905f20397911e4f74e672ebdee28f1ddf3c2c)

19 years agomerge from 2.2
Gerald Carter [Thu, 21 Feb 2002 00:55:01 +0000 (00:55 +0000)]
merge from 2.2
(This used to be commit 63ab947fd9dd17a4c370402e74b389458bbd3a60)

19 years agomerge from 2.2
Gerald Carter [Wed, 20 Feb 2002 23:36:23 +0000 (23:36 +0000)]
merge from 2.2
(This used to be commit 25fb4a8d110bcdcbe7822a833cab9cfdec8a1fb2)

19 years agoenable large readwrite by default
Andrew Tridgell [Wed, 20 Feb 2002 22:54:23 +0000 (22:54 +0000)]
enable large readwrite by default

this should improve performance with w2k clients and seems to work
fine
(This used to be commit 67a3135e044b40467d0d06d271ed981768700b95)

19 years agoThis fixes a bug (spotted by Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>)
Andrew Bartlett [Wed, 20 Feb 2002 22:34:35 +0000 (22:34 +0000)]
This fixes a bug (spotted by Rafal Szczesniak <mimir@diament.ists.pwr.wroc.pl>)
where we pass the client's name.  We should pass the servers name.

Andrew Bartlett
(This used to be commit aeecb7a06b006e69879f00699f4b8b6497553d19)

19 years agoThanks to David Edward Shapiro <David.Edward.Shapiro@btitele.com> for spotting
Andrew Bartlett [Wed, 20 Feb 2002 21:36:12 +0000 (21:36 +0000)]
Thanks to David Edward Shapiro <David.Edward.Shapiro@btitele.com> for spotting
this!

(groupname and domain name paramaters swapped, giving 'interesting' results...)

Andrew Bartlett
(This used to be commit 5aed3759d8edbe59df8c1ea70827c4b931393134)

19 years agoConverted remaining spoolss rpcclient functions to werror/needed/offered.
Tim Potter [Wed, 20 Feb 2002 18:41:07 +0000 (18:41 +0000)]
Converted remaining spoolss rpcclient functions to werror/needed/offered.
I couldn't test some of these because I didn't know the right magic
arguments to pass to rpcclient (familiar anyone? (-:) so there may be some
bugs lurking.
(This used to be commit 029e2b307d91171168040e71d2e5d5e0d01b7633)

19 years agofixed the gssapi lib configure test to not do the test twice
Andrew Tridgell [Wed, 20 Feb 2002 05:33:47 +0000 (05:33 +0000)]
fixed the gssapi lib configure test to not do the test twice
(This used to be commit 1ce762e96b8d4c39488b59fa73456fe6f2012567)

19 years agoPatch from Hasch@t-online.de (Juergen Hasch) to add UTF-8 as an explict
Andrew Bartlett [Tue, 19 Feb 2002 23:02:39 +0000 (23:02 +0000)]
Patch from Hasch@t-online.de (Juergen Hasch) to add UTF-8 as an explict
character set for conversion.  To be used in Winbind and the 'net ads'
commands.

Andrew Bartlett
(This used to be commit fa9d3060ff7510e176d7608b49075379500f55c4)

19 years agomerge from 2.2 and regenerate
Gerald Carter [Tue, 19 Feb 2002 16:59:27 +0000 (16:59 +0000)]
merge from 2.2 and regenerate
(This used to be commit b1cbc23d82cfca1179d6be1e11b8bea2d0acdc9e)

19 years agomerge from 2.2
Gerald Carter [Tue, 19 Feb 2002 16:47:59 +0000 (16:47 +0000)]
merge from 2.2
(This used to be commit 8b357e6551c3a91aa7017ae8dcf38558f15f1c0b)

19 years agoin dos_unmangle() the only function call was to *mangle()*. Adding the
Andrew Bartlett [Tue, 19 Feb 2002 06:13:16 +0000 (06:13 +0000)]
in dos_unmangle() the only function call was to *mangle()*.  Adding the
'un' dramaticly increses the functionality of this code :-).

Andrew Bartlett
(This used to be commit 15b9b63db57901fbfa3d62b64212742f361ee519)

19 years agoConverted {cmd,cli}_spoolss_getprinter() to WERROR and offered/neede.
Tim Potter [Tue, 19 Feb 2002 02:12:01 +0000 (02:12 +0000)]
Converted {cmd,cli}_spoolss_getprinter() to WERROR and offered/neede.
(This used to be commit fccfa034e92bca145b8e0639e405f6af5bb1a50b)

19 years agomake proto
Tim Potter [Tue, 19 Feb 2002 02:11:01 +0000 (02:11 +0000)]
make proto
(This used to be commit 98d3ea19b0755cf59102c479ddbbfe62bd653d74)

19 years ago merge from 2.2
Gerald Carter [Tue, 19 Feb 2002 02:10:08 +0000 (02:10 +0000)]
 merge from 2.2
(This used to be commit 9e96cbe24149c8d0ed4f3a1f1d5ea736ba5dca56)

19 years agoConverted cmd_spoolss_enumprinterdrivers() to use new
Tim Potter [Tue, 19 Feb 2002 01:06:55 +0000 (01:06 +0000)]
Converted cmd_spoolss_enumprinterdrivers() to use new
cli_spoolss_enumprinterdrivers() function.
(This used to be commit ae38fcf62c4b9503d4df02761dadb1bb7d166a9c)

19 years agoAdded cli_spoolss_initialise() function.
Tim Potter [Tue, 19 Feb 2002 01:06:14 +0000 (01:06 +0000)]
Added cli_spoolss_initialise() function.

Converted cli_spoolss_enumprinterdrivers() to pass offered and *needed as
parameters and return a WERROR.
(This used to be commit b595c258295ecc4824fe89ba1136c778a1700e28)

19 years agowe definately don't want RCS $id tags in Samba. They make merging much
Andrew Tridgell [Mon, 18 Feb 2002 22:12:21 +0000 (22:12 +0000)]
we definately don't want RCS $id tags in Samba. They make merging much
harder.
(This used to be commit 6d33b30929e323276e7fc21012983d691a4f8827)

19 years agofixed a memory leak thanks to dleducq@arkoon.net
Andrew Tridgell [Mon, 18 Feb 2002 11:39:36 +0000 (11:39 +0000)]
fixed a memory leak thanks to dleducq@arkoon.net
(This used to be commit e84c7400175c86c4c79922182115ea1f0948186c)

19 years agoserialise all domain auth requests
Andrew Tridgell [Mon, 18 Feb 2002 11:07:57 +0000 (11:07 +0000)]
serialise all domain auth requests

this is needed because W2K will send a TCP reset to any open
connections that have not done a negprot when a second connection is
made. This meant that under heavy netlogon load a Samba domain member
would fail authentications.

Jeremy, you may wish to port this to 2.2.x
(This used to be commit eb196070e62b45b113e5712f27198c50c5c95657)

19 years agoreverted tims patch that broke configure
Andrew Tridgell [Mon, 18 Feb 2002 10:23:02 +0000 (10:23 +0000)]
reverted tims patch that broke configure

why does anything but smbd care about sec_init() anyway??
(This used to be commit 569505b77140c2688aeab4df058b864464f23c1d)

19 years agoWhoops, typo.
Tim Potter [Sun, 17 Feb 2002 18:56:30 +0000 (18:56 +0000)]
Whoops, typo.
(This used to be commit e7abb79fb304b34aeb369dc6deafa96dfd1e02f3)

19 years agoRemove dynconfig.{o,po} in clean target.
Tim Potter [Sun, 17 Feb 2002 18:38:01 +0000 (18:38 +0000)]
Remove dynconfig.{o,po} in clean target.
(This used to be commit 9c1c25db792d58f451df3736f1b875c493e7d67c)

19 years agoDo a smb_panic() if sec_initial_[ug]id() or non_root_mode() is called
Tim Potter [Sun, 17 Feb 2002 18:32:59 +0000 (18:32 +0000)]
Do a smb_panic() if sec_initial_[ug]id() or non_root_mode() is called
without before sec_init().  This should avoid the formation of another
magic function club.  (-:
(This used to be commit 1b941e2c637e41049932945607149094342359c5)

19 years agoint -> uint32
Tim Potter [Sun, 17 Feb 2002 18:30:01 +0000 (18:30 +0000)]
int -> uint32
(This used to be commit 5efe39af0c89e549bb8211a39a949f80f6d1bf78)

19 years agodont strdup() possibly null values.
Andrew Bartlett [Sat, 16 Feb 2002 22:11:49 +0000 (22:11 +0000)]
dont strdup() possibly null values.
(This used to be commit 0511589088dc3e990f7b1a38a06489814c49ec1b)

19 years agoint -> uint32 fixes from andreas
Tim Potter [Sat, 16 Feb 2002 19:46:42 +0000 (19:46 +0000)]
int -> uint32 fixes from andreas
(This used to be commit 84c811ca57f7e1b7d9ee498d95b3b21bea47eb5e)

19 years agoAdded some splint annotations from andreas.
Tim Potter [Sat, 16 Feb 2002 19:44:18 +0000 (19:44 +0000)]
Added some splint annotations from andreas.
(This used to be commit 60e84540fd8c27975066f7c7984d30bc88f6da5f)

19 years agoAdded comment in lp_string() about debugging memory problems.
Tim Potter [Sat, 16 Feb 2002 19:34:58 +0000 (19:34 +0000)]
Added comment in lp_string() about debugging memory problems.
(This used to be commit 98e97fac17b766a6da658daa1ec40ffaf6f5bb2e)

19 years agoRemoved some random crap that isn't used anymore.
Tim Potter [Sat, 16 Feb 2002 01:16:13 +0000 (01:16 +0000)]
Removed some random crap that isn't used anymore.
(This used to be commit 3fb3bc0a1546dadb24231065b422349bd199e1bf)

19 years agoTry not to malloc -1 bytes (apx 4GB) when the data is already in error.
Andrew Bartlett [Fri, 15 Feb 2002 23:11:13 +0000 (23:11 +0000)]
Try not to malloc -1 bytes (apx 4GB) when the data is already in error.

Andrew Bartlett
(This used to be commit ad1faf8fa4019cb57fbb7f311f6d4943359bcd45)

19 years agoBack out 1.16.2.3:
Martin Pool [Fri, 15 Feb 2002 22:20:08 +0000 (22:20 +0000)]
Back out 1.16.2.3:

receive_smb: You might think that we ought to set smb_read_error here,
but apparently that breaks the recursive main loop in oplock.c.
Global variables suck. :-/
(This used to be commit b6d5d02aa1bf0caa28343dc87444f049c5fd8ce5)

19 years agoSubject:
Andrew Bartlett [Fri, 15 Feb 2002 22:18:52 +0000 (22:18 +0000)]
Subject:
         [PATCH] net ads error
    Date:
         Fri, 15 Feb 2002 20:03:32 +0200
   From:
         Alexander Bokovoy <a.bokovoy@sam-solutions.net>
     To:
         samba-technical@samba.org

Greetings!

Attached patch fixes a problem with non-working 'net ads -Uuser%pass'
in CVS HEAD.
(This used to be commit a21a951ff9493a6e33e4ff8388a95facdeacf7b4)

19 years agomerge from APPLIANCE_HEAD
Gerald Carter [Fri, 15 Feb 2002 18:59:34 +0000 (18:59 +0000)]
merge from APPLIANCE_HEAD
(This used to be commit 696d439515016e4c2bc5ad085e443abe43c95136)

19 years agoWinbind cleanup.
Andrew Bartlett [Fri, 15 Feb 2002 13:28:59 +0000 (13:28 +0000)]
Winbind cleanup.

This patch fixes the segfaults I introduced in the previous conneciton caching
patch.  It cleans up the connection cache a *lot* - in particular it adds
significant robustness to the operation.

If a the DC goes down, we no longer fail the next operation - the code checks
if the connection died during one of its own operations on the socket, and
restarts the conneciton as required.

There is still a memory leak in here somewhere - but this code also cleans up a
number of these.

Also added is the abilty to sepecify the domain of the 'get around restrict anonymous'
user that winbind uses.

Andrew Bartlett
(This used to be commit 92cbefdf2783bf9dbbb2179c1b2f7cdb802d84a9)

19 years agoMerge of smbclient print crash bug fix from app head.
Tim Potter [Fri, 15 Feb 2002 02:46:13 +0000 (02:46 +0000)]
Merge ... smbclient print crash bug fix from app head.
(This used to be commit a56298d56ae67a764e9b9a43c1c568b7125e1c18)

19 years agomerge from 2.2
Gerald Carter [Wed, 13 Feb 2002 16:44:49 +0000 (16:44 +0000)]
merge from 2.2
(This used to be commit 50fa21c995d33601920b3b56a3e03b09262e7fd9)

19 years agoFix LDAP modification operation. Cut and paste error: was LDAP_MOD_ADD, should be...
Jim McDonough [Wed, 13 Feb 2002 15:00:39 +0000 (15:00 +0000)]
Fix LDAP modification operation.  Cut and paste error: was LDAP_MOD_ADD, should be LDAP_MOD_REPLACE.  Caught by Alexey Kotovich.
(This used to be commit be48a05ed95f0f4ed02ffb996cb1ecc10811d9a0)

19 years agomerge from 2.2
Gerald Carter [Tue, 12 Feb 2002 22:31:18 +0000 (22:31 +0000)]
merge from 2.2
(This used to be commit e18a7c26476e05f95850ac2bbeb42c2588115741)

19 years agomerge from 2.2
Gerald Carter [Tue, 12 Feb 2002 19:16:14 +0000 (19:16 +0000)]
merge from 2.2
(This used to be commit 09fc979172327d6396642e824f6d482c6f986850)

19 years agoAdd ADS_MODLIST to allowed types
Jim McDonough [Tue, 12 Feb 2002 18:23:34 +0000 (18:23 +0000)]
Add ADS_MODLIST to allowed types
(This used to be commit d082d3a9fc2d6eddf82b1583eb1cbfcf5965f1a0)

19 years agotalloc'ify ads modify functions.
Jim McDonough [Tue, 12 Feb 2002 18:22:47 +0000 (18:22 +0000)]
talloc'ify ads modify functions.
(This used to be commit e097666499564ffe28836876a7a191149c14f199)

19 years agotalloc'ify ads modify functions. Also add more complete berval support.
Jim McDonough [Tue, 12 Feb 2002 18:22:33 +0000 (18:22 +0000)]
talloc'ify ads modify functions.  Also add more complete berval support.
(This used to be commit 1f186c60ad957c0e8157a6fd903857121c65a2e0)

19 years agoAdd ability to extend ads modification list on the fly. Added ADS_MODLIST type.
Jim McDonough [Mon, 11 Feb 2002 15:48:34 +0000 (15:48 +0000)]
Add ability to extend ads modification list on the fly.  Added ADS_MODLIST type.
(This used to be commit 3f7ba70615008d74a145a94aa087cae08efab343)

19 years agoUpdate for new ads modlist structure passing
Jim McDonough [Mon, 11 Feb 2002 15:48:01 +0000 (15:48 +0000)]
Update for new ads modlist structure passing
(This used to be commit 6169b668fe955f298c7323c5d64f6c7b303aaac0)

19 years agoAdd ability to extend ads modification list on the fly. Also add some malloc checks...
Jim McDonough [Mon, 11 Feb 2002 15:47:02 +0000 (15:47 +0000)]
Add ability to extend ads modification list on the fly.  Also add some malloc checks and return ADS_ERROR(LDAP_NO_MEMORY) if they fail.
(This used to be commit 81d76f05d8b886a86eb421d1bd8737ec7d05cbde)

19 years agomerge from 2.2
Gerald Carter [Mon, 11 Feb 2002 13:57:44 +0000 (13:57 +0000)]
merge from 2.2
(This used to be commit bb574aab8f3f4ac2f7ae919790481a419f8173cb)

19 years agofixes from 2,2
Gerald Carter [Mon, 11 Feb 2002 13:49:02 +0000 (13:49 +0000)]
fixes from 2,2
(This used to be commit 46bd77a02a47c26c4981472c8cea09e64c2ef4d2)

19 years agoA few small winbind updates:
Andrew Bartlett [Mon, 11 Feb 2002 01:29:07 +0000 (01:29 +0000)]
A few small winbind updates:

Add a connection cache to the netlogon pipe.  This makes a *massive* difference
to the time-per-auth.  Also fix up *some* of the memory leaks in other
connection caches.

Add some debugging messages for the is_connected() code.  I'm thinking we
should get a client implementation of SMBecho and call it here - as it would
allow us to always know the DC is around before we start.

Down the debug level for some of the pam_winbind code - I'll probably down it
further when I'm finished debugging.

Andrew Bartlett
(This used to be commit 49d3e476662220775ef8da7db01ea17e77e11b0b)

19 years agodoc merge from 2.2
Gerald Carter [Sat, 9 Feb 2002 14:05:09 +0000 (14:05 +0000)]
doc merge from 2.2
(This used to be commit 2df8df4cd9b271ac91245bd44d6384483c1a4524)

19 years agoFix up some braindamage in the testsuite.
Andrew Bartlett [Sat, 9 Feb 2002 11:47:55 +0000 (11:47 +0000)]
Fix up some braindamage in the testsuite.

(if you remove the smbpasswd file, you wont be able to change the passwords
contained therein... :-)

Andrew Bartlett
(This used to be commit dd8388330e5ad0ae1a82f876e3a95fba854d1528)

19 years agoBring printing in HEAD inline with 2.2.x and app-head.
Jeremy Allison [Sat, 9 Feb 2002 04:10:24 +0000 (04:10 +0000)]
Bring printing in HEAD inline with 2.2.x and app-head.
Jeremy.
(This used to be commit 771ef92fc6e43725b7cc351079998a8acb74abef)

19 years agopreparing for release of 3.0-alpha15
Samba Release Account [Sat, 9 Feb 2002 03:51:35 +0000 (03:51 +0000)]
preparing for release of 3.0-alpha15
(This used to be commit b9c843532508ea5fd4633dd7d82452fd89d63eab)

19 years agoDo the reverse DNS lookup, but only if 'hostname lookups = yes'
Andrew Bartlett [Sat, 9 Feb 2002 03:29:36 +0000 (03:29 +0000)]
Do the reverse DNS lookup, but only if 'hostname lookups = yes'

Andrew Bartlett
(This used to be commit dfecd6a4534743a3e140eafc9836911286793951)

19 years agomerge from APPLIANCE_HEAD
Gerald Carter [Fri, 8 Feb 2002 21:51:40 +0000 (21:51 +0000)]
merge from APPLIANCE_HEAD
(This used to be commit e734c1971d2841b2cfe37414fe4893f4a66b22a9)

19 years agoFix up some of the DEBUG lines in winbind_pam.c
Andrew Bartlett [Fri, 8 Feb 2002 06:43:55 +0000 (06:43 +0000)]
Fix up some of the DEBUG lines in winbind_pam.c
(This used to be commit dfc8883305abf7630e6446a0b865bae99ec2f5a4)

19 years agosmbsh need CC not SHLD
Herb Lewis [Thu, 7 Feb 2002 20:20:05 +0000 (20:20 +0000)]
smbsh need CC not SHLD
(This used to be commit 690c1fae9ce0ad6a8adef42ed5a7d8cfedab261d)

19 years agoquite errors about unnecessary const casting - don't build libnss_wins.so
Herb Lewis [Thu, 7 Feb 2002 20:09:17 +0000 (20:09 +0000)]
quite errors about unnecessary const casting - don't build libnss_wins.so
(This used to be commit 8ae0abb174aec0c76d6900b08914535d0a2d425c)

19 years agowhen a trusted domain is down an ADS server will return a success on a
Andrew Tridgell [Thu, 7 Feb 2002 02:44:37 +0000 (02:44 +0000)]
when a trusted domain is down an ADS server will return a success on a
get trusted domains query but leave the domain SID blank - we need to
fail the add of the trusted domain in winbindd in that case
(This used to be commit 24c7e7a3849df3a3378f7e7f20099de048f0b7bd)

19 years agoI added two lines of comments regarding the include= parameter. Someone
Christopher R. Hertel [Wed, 6 Feb 2002 22:51:07 +0000 (22:51 +0000)]
I added two lines of comments regarding the include= parameter.  Someone
here at the UofM was burned today because they had left that line in its
default location.
(This used to be commit fd4d3496e142574e2bd25faab5c8f1534a21558f)

19 years agoTry to get this finally working. (Note to self: *always* check build farm...)
Andrew Bartlett [Wed, 6 Feb 2002 20:31:26 +0000 (20:31 +0000)]
Try to get this finally working.  (Note to self: *always* check build farm...)
:-)

Andrew Bartlett
(This used to be commit 542e0e37455e6bcd8e0c248b3bb6ede8306d1656)

19 years agoFix ldapmod list overrun check. Also better document and format ldap control for...
Jim McDonough [Wed, 6 Feb 2002 02:28:46 +0000 (02:28 +0000)]
Fix ldapmod list overrun check.  Also better document and format ldap control for permissive modify.
(This used to be commit 01e7f7c3d9006883b71e43d917d32e325cff7a15)

19 years ago0x is the traditional prefix for displaying hex numbers.
Tim Potter [Wed, 6 Feb 2002 02:22:33 +0000 (02:22 +0000)]
0x is the traditional prefix for displaying hex numbers.
(This used to be commit f424b691ea76819e90f10919b0506bb2216ecd0e)

19 years agono longer need separate build o32 smbwrapper
Herb Lewis [Wed, 6 Feb 2002 00:56:43 +0000 (00:56 +0000)]
no longer need separate build o32 smbwrapper
(This used to be commit a9316754c7ef6244e69bec25ca20dad0019f77e1)

19 years agofix for IRIX toolroot builds
Herb Lewis [Wed, 6 Feb 2002 00:53:00 +0000 (00:53 +0000)]
fix for IRIX toolroot builds
(This used to be commit dc3fb2e6dcd92efd7468bd8121fbc49e3dadb8ea)

19 years agoFix use of uninitialsed variable in PAM code
Andrew Bartlett [Tue, 5 Feb 2002 23:45:29 +0000 (23:45 +0000)]
Fix use of uninitialsed variable in PAM code
(This used to be commit 6c08c233e6675056c0ee0bbc4ecdcbc205950f54)

19 years agoSee if we can get slightly valid C for the non-PAM case here.
Andrew Bartlett [Tue, 5 Feb 2002 21:05:04 +0000 (21:05 +0000)]
See if we can get slightly valid C for the non-PAM case here.

Andrew Bartlett
(This used to be commit 59afc3d6daad2770219dba1ca113869967eefc23)

19 years agoDrastic impromvents to pam_winbind.
Andrew Bartlett [Tue, 5 Feb 2002 09:40:36 +0000 (09:40 +0000)]
Drastic impromvents to pam_winbind.

This adds code to do generic PAM -> NTSTATUS and NTSTATUS -> PAM error
conversions, and uses them to make the error handling in pam_winbind sane.

In particular, pam_winbind now uses PAM error codes, not silly '-1, -2 ...'
stuff, and logs the NTSTATUS error that winbind now sends over the pipe.

Added code to wbinfo to display these - makes a big difference in debugging
winbindd.

The main change here is the code to allow pam_winbind password changing to
correctly stack - This code ripped from pam_unix, and the copyright attached.
(Same as for all pam modules, including pam_winbind)

Andrew Bartlett
(This used to be commit dc1a72f896b83bc1ad3c7bf6c12c36ace3967280)

19 years agogot rid of a silly '*' in printout
Andrew Tridgell [Tue, 5 Feb 2002 06:42:35 +0000 (06:42 +0000)]
got rid of a silly '*' in printout
(This used to be commit 22be40b6b8c034c143ce5d804628bc12cb1cc3dd)

19 years ago- only show 1 cleanup msg per client
Andrew Tridgell [Tue, 5 Feb 2002 03:55:20 +0000 (03:55 +0000)]
- only show 1 cleanup msg per client
- show client count in progress
(This used to be commit 10ee1d22e606847d40fb013c694ed5733ef6b87b)

19 years agofixed the directory removal for when the dir doesn't exit
Andrew Tridgell [Tue, 5 Feb 2002 03:02:14 +0000 (03:02 +0000)]
fixed the directory removal for when the dir doesn't exit
(This used to be commit 2c67b266cc4848dff6066fcbc875ab5f91113179)

19 years agoFix stupid typo !
Jeremy Allison [Tue, 5 Feb 2002 02:40:16 +0000 (02:40 +0000)]
Fix stupid typo !
Jeremy.
(This used to be commit d1e911afd08971c6cf5429bda929663a5dd8f63d)

19 years agorewrote smbtorture to use the new dbench 2 format and methods
Andrew Tridgell [Tue, 5 Feb 2002 01:31:47 +0000 (01:31 +0000)]
rewrote smbtorture to use the new dbench 2 format and methods
(This used to be commit 36f816a5e12a80f0184f43cbd44ef5fac53fcb81)

19 years agocheck for empty parameters in qpathinfo
Andrew Tridgell [Tue, 5 Feb 2002 01:31:16 +0000 (01:31 +0000)]
check for empty parameters in qpathinfo
(This used to be commit c78b16c1f850562b65acb6143e55b1aefc075753)

19 years agosupport double functions
Andrew Tridgell [Tue, 5 Feb 2002 01:30:50 +0000 (01:30 +0000)]
support double functions
(This used to be commit e72c6fb36ebd3ea8fc6b6d8e1b1a9ff1ccb3ade9)

19 years agofixed a bug in qpathinfo client code
Andrew Tridgell [Tue, 5 Feb 2002 01:30:02 +0000 (01:30 +0000)]
fixed a bug in qpathinfo client code
(This used to be commit 22f348a1f9501cc00d46d6c6064f71198558c0ee)

19 years agoremoved several parameters ("client code page", "valid chars",
Gerald Carter [Mon, 4 Feb 2002 14:15:29 +0000 (14:15 +0000)]
removed several parameters ("client code page", "valid chars",
"code page directory", "character set", et. al.)
(This used to be commit 6ff236249559f8a11381cab9cc1757b26764a39d)

19 years agoAdd the new smbprint shell script, smbprint-new.sh that is supposed to fix some probl...
Richard Sharpe [Mon, 4 Feb 2002 02:24:29 +0000 (02:24 +0000)]
Add the new smbprint shell script, smbprint-new.sh that is supposed to fix some problems under *BSD and etc ...
(This used to be commit 6bd91973bbacc718de5d32a6819cc7e6ae98dd6f)

19 years agobetter debug messages!
Simo Sorce [Mon, 4 Feb 2002 00:59:23 +0000 (00:59 +0000)]
better debug messages!
(This used to be commit e3bb6867454307ae592115e205d32ddd53988678)

19 years agoA new simpiler syntax demands a new simpiler HOWTO. (This can all be reverted
Andrew Bartlett [Sun, 3 Feb 2002 03:51:01 +0000 (03:51 +0000)]
A new simpiler syntax demands a new simpiler HOWTO.  (This can all be reverted
if new simpiler syntax was a bad idea...).

Andrew Bartlett
(This used to be commit 717f45ca3ca85ca47f6d7b9379c17480f0bf82e4)

19 years agoMake smbgroupedit a little easier on the user.
Andrew Bartlett [Sun, 3 Feb 2002 03:25:26 +0000 (03:25 +0000)]
Make smbgroupedit a little easier on the user.

We now have error messages for most of the failure cases, and the
'sid' arguments for delete and change can now take the nt group name
as a string.

Also fix up all the internal functions to be static, keeping the
namespace clean.

Andrew Bartlett
(This used to be commit f1687587010a2390b65bd5efa37cc199b67587f8)

19 years agoChange ADS_ERROR family of macros - removed semicolon from the end, since they were...
Jim McDonough [Sat, 2 Feb 2002 22:09:03 +0000 (22:09 +0000)]
Change ADS_ERROR family of macros - removed semicolon from the end, since they were only being used correctly in one location, and all other assumed the semicolon wasn't there.  Amazing that none of them mattered syntactically, until today.
(This used to be commit 6515c3e8ef546975657e45fce7f147fe4a08e9ca)

19 years agoUpdate for function name changes, plus do some of the optional attributes on printer...
Jim McDonough [Sat, 2 Feb 2002 22:07:22 +0000 (22:07 +0000)]
Update for function name changes, plus do some of the optional attributes on printer modify, now that the ldap control is working.
(This used to be commit 76afc886a89e8c0d5a169435dde42b00db522060)

19 years agomerge in some changes from Alexey Kotovich. Return ADS_STATUS instead of BOOLs....
Jim McDonough [Sat, 2 Feb 2002 22:06:10 +0000 (22:06 +0000)]
merge in some changes from Alexey Kotovich.  Return ADS_STATUS instead of BOOLs.  Add support for bervals in mod lists.  Also put undocumented AD ldap control in to allow modifications when an attribute does not yet exist.
(This used to be commit 1a2d27b21e61be5a314f7d6c4ea0dff06a5307be)

19 years agomerge from 2.2
Gerald Carter [Sat, 2 Feb 2002 15:44:37 +0000 (15:44 +0000)]
merge from 2.2
(This used to be commit 473a89cde2e60c359cb435c714dc98974489a118)

19 years agomerge from 2.2 and regen
Gerald Carter [Sat, 2 Feb 2002 06:08:43 +0000 (06:08 +0000)]
merge from 2.2 and regen
(This used to be commit 7b7e4190739bd7df422e3f239fd89373edb97ee5)

19 years agomerge from 2.2
Gerald Carter [Sat, 2 Feb 2002 04:58:57 +0000 (04:58 +0000)]
merge from 2.2
(This used to be commit a60be0216eb3d0c76f93ec3a3edd861861cb1a4e)

19 years agoAdd support for net ads printer to publish, remove, or display printer info in the...
Jim McDonough [Sat, 2 Feb 2002 02:06:03 +0000 (02:06 +0000)]
Add support for net ads printer to publish, remove, or display printer info in the directory.  Only publishes required fields right now.
(This used to be commit 1d326f8b7e68bcad6c35488f77b05c598ebaad5d)

19 years agoMinor bug fixes, plus support to remove a printer. Commented out optional attributes...
Jim McDonough [Sat, 2 Feb 2002 02:04:01 +0000 (02:04 +0000)]
Minor bug fixes, plus support to remove a printer.  Commented out optional attributes until a method for checking for their existence is done.
(This used to be commit 538c19a6983e0423b94f743184263cd8ef9c701e)

19 years agoupdate from 2.2
Simo Sorce [Fri, 1 Feb 2002 23:20:08 +0000 (23:20 +0000)]
update from 2.2
(This used to be commit 8bb2a7446ed69020086aaedf2889795dd38ef9d4)

19 years agoAdd ads printer information
Jim McDonough [Fri, 1 Feb 2002 17:42:41 +0000 (17:42 +0000)]
Add ads printer information
(This used to be commit a844d9af21d8047629129c5e842db7acbc059932)

19 years agoFix build errors on non-ldap systems...change function parms from LDAPMod ** to void **
Jim McDonough [Fri, 1 Feb 2002 17:13:39 +0000 (17:13 +0000)]
Fix build errors on non-ldap systems...change function parms from LDAPMod ** to void **
(This used to be commit 9467792843fdd9bc55e92bfaa2f2205279074297)

19 years agoFix file header description and copyright (from cut-and-paste laziness)
Jim McDonough [Fri, 1 Feb 2002 16:58:01 +0000 (16:58 +0000)]
Fix file header description and copyright (from cut-and-paste laziness)
(This used to be commit 146c731c35beecd3ae8e093e52d94af0e2efcd69)