jra/samba/.git
23 years agomake proto
Tim Potter [Fri, 4 May 2001 07:36:51 +0000 (07:36 +0000)]
make proto
(This used to be commit a56badc206abb88ae1e648004c168db71c862340)

23 years agoMerge of struct acct_info from TNG.
Tim Potter [Fri, 4 May 2001 07:36:09 +0000 (07:36 +0000)]
Merge of struct acct_info from TNG.
(This used to be commit 2eb28b3d516325725678a67f8b0030aec8ec61d7)

23 years agoAdded queryaliasmem function.
Tim Potter [Fri, 4 May 2001 07:35:25 +0000 (07:35 +0000)]
Added queryaliasmem function.

Moved fetch_domain_sid() calls out of harms way so they didn't spam out
queries on SAMR pipe.
(This used to be commit 982195c89d2ea0e66c24f6426f50c7d2f35800e0)

23 years agoTidyup of server vs servername, username vs user to remove compiler
Tim Potter [Fri, 4 May 2001 07:34:16 +0000 (07:34 +0000)]
Tidyup of server vs servername, username vs user to remove compiler
warnings.
(This used to be commit d4f6ce9422ae53fb5b0cc72407131d5a9e1bd36d)

23 years agoRenamed unknown field to access mask in open alias parsing functions.
Tim Potter [Fri, 4 May 2001 07:33:10 +0000 (07:33 +0000)]
Renamed unknown field to access mask in open alias parsing functions.
(This used to be commit d384cae5707889f34ac19ccd80737ab6eb5fdb98)

23 years agoAdded some missing winbind parameters. Yes they're already documented.
Tim Potter [Fri, 4 May 2001 07:32:28 +0000 (07:32 +0000)]
Added some missing winbind parameters.  Yes they're already documented.
(-:
(This used to be commit 657f95c89e593e6cdfc6fb9c7a9e67f9a518c1a5)

23 years agoZero fnum when initialising a cli_state.
Tim Potter [Fri, 4 May 2001 07:28:41 +0000 (07:28 +0000)]
Zero fnum when initialising a cli_state.
(This used to be commit 5a387f59c441d355fe4535eae5c2c924ae9dd451)

23 years agoAdded cli_samr_query_aliasmem() and cli_samr_open_alias() functions.
Tim Potter [Fri, 4 May 2001 07:27:52 +0000 (07:27 +0000)]
Added cli_samr_query_aliasmem() and cli_samr_open_alias() functions.
(This used to be commit 0b3bc4375b8984fc16c8972d2b62762c1657f675)

23 years agorenamed unknown field to access mask in open alias structures.
Tim Potter [Fri, 4 May 2001 07:26:46 +0000 (07:26 +0000)]
renamed unknown field to access mask in open alias structures.
(This used to be commit 4d0ac3c71d930ab9cf88bd688c23c72ce5a53179)

23 years agoAdded a SMB_ASSERT() so that two cli_state structures aren't opened
Tim Potter [Fri, 4 May 2001 07:25:43 +0000 (07:25 +0000)]
Added a SMB_ASSERT() so that two cli_state structures aren't opened
on different pipes.  This seriously confuses NT.  Unfortunately HEAD
branch is limited to one rpc pipe per connection as the fnum is stored
inside the cli_state structure.  It should really be broken out into
it's own structure so multiple pipes can be opened on one TCP/IP socket.

What a good idea!  But look over here! I've already done it in another
workarea but it will require a day or two to refactor some of the internal
samba rpc client stuff (i.e netlogon requests) so it will remain uncommitted
for another while.
(This used to be commit 657804f3be2b621c8ee15bdb905879e208f9ca2f)

23 years agoAdded cmd_samr_enum_dom_groups() function.
Tim Potter [Fri, 4 May 2001 04:17:39 +0000 (04:17 +0000)]
Added cmd_samr_enum_dom_groups() function.
(This used to be commit 23427a57da8b18506bbd970e5d7491c0917f6d06)

23 years agoAdded cli_samr_enum_dom_groups() function.
Tim Potter [Fri, 4 May 2001 04:16:59 +0000 (04:16 +0000)]
Added cli_samr_enum_dom_groups() function.
(This used to be commit 5a3b7d8b1302fd11321c4a65161de169b41f5d9e)

23 years agoMore usability fixes.
Tim Potter [Fri, 4 May 2001 04:15:48 +0000 (04:15 +0000)]
More usability fixes.
(This used to be commit 3434e0bf7fe5cdc8478518c6b1311dda7a7d3e81)

23 years agoAllow ctrl-d to exit rpcclient.
Tim Potter [Fri, 4 May 2001 01:04:23 +0000 (01:04 +0000)]
Allow ctrl-d to exit rpcclient.

Don't try to run anything if user just presses return at rpcclient prompt.
(This used to be commit 37cdf37fee8414183c4ecb49e68a468ad235787d)

23 years agoMerge from TNG branch.
Tim Potter [Fri, 4 May 2001 00:43:20 +0000 (00:43 +0000)]
Merge from TNG branch.
(This used to be commit 1e7b1c71b9c409859bcf0aeb3d5785acc4aee027)

23 years agoFixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.h
Jeremy Allison [Thu, 3 May 2001 19:47:30 +0000 (19:47 +0000)]
Fixed SHM_R/SHM_W warnings by moving sys/ipc.h and sys/shm.h into includes.h
and using autoconf tests.
Added "restrict acl with mask" parameter.
Jeremy.
(This used to be commit 7792e32ba7fd734cc68b354f31c382ac11521fe8)

23 years agoMerging Gerald's "no printer driver" fix from 2.2.
Jeremy Allison [Thu, 3 May 2001 02:51:08 +0000 (02:51 +0000)]
Merging Gerald's "no printer driver" fix from 2.2.
Jeremy.
(This used to be commit 409b1e4d1b996b26eee80bf5cb4edd962e4a4c76)

23 years agoMerging Gerald's PDC SAM name fix.
Jeremy Allison [Thu, 3 May 2001 02:50:11 +0000 (02:50 +0000)]
Merging Gerald's PDC SAM name fix.
Jeremy.
(This used to be commit d31799850440c6c2267a4edb217d447df75aab5a)

23 years agoHad to add a "pam password change" parameter (defaults to "off") and inlined
Jeremy Allison [Wed, 2 May 2001 23:32:09 +0000 (23:32 +0000)]
Had to add a "pam password change" parameter (defaults to "off") and inlined
the pam password change code to ensure that existing and working password
chat scripts don't break with 2.2.1. PAM password changing has to be explicitly
requested.
Allowed wildcards in pam password change matching (matches password chat
script matching). Had to add const (sorry Tim :-) to ms_fnmatch() to
stop warnings. Don't worry - the const changes are isolated and don't
cause any other warnings :-).
Jeremy.
(This used to be commit 47b4d82536c09bffe3a0d9917fa31d935f1be7d8)

23 years agoFix noticed by John Trostel - we need to return our account SID for level 5.
Jeremy Allison [Wed, 2 May 2001 20:32:17 +0000 (20:32 +0000)]
Fix noticed by John Trostel - we need to return our account SID for level 5.
Jeremy.
(This used to be commit acf32f277d1a45f49fa3bf6af82850e35df9ae5a)

23 years agoRemove embedded '/*' in comment.
Jeremy Allison [Wed, 2 May 2001 08:14:00 +0000 (08:14 +0000)]
Remove embedded '/*' in comment.
Jeremy.
(This used to be commit 9a85dc9cdbc6409e25a528be4be960d4eb3ac117)

23 years agouse O_EXCL for fcntl_lock.c test in case some fool runs on /tmp
Andrew Tridgell [Wed, 2 May 2001 07:58:40 +0000 (07:58 +0000)]
use O_EXCL for fcntl_lock.c test in case some fool runs on /tmp
(This used to be commit 4d3d7a0d673b80f1de411a5fb5a23ae06cf80f43)

23 years agoadded sys/wait.h to fcntl_lock test
Andrew Tridgell [Wed, 2 May 2001 06:54:52 +0000 (06:54 +0000)]
added sys/wait.h to fcntl_lock test
(This used to be commit ed151605e57b7db3457cdf0c87f71c86e84c8f5b)

23 years agoadded error msgs to fcntl_lock test
Andrew Tridgell [Wed, 2 May 2001 06:52:25 +0000 (06:52 +0000)]
added error msgs to fcntl_lock test
(This used to be commit db5d38736d0d91acb55f4e4a67f33a2c0b5fdca3)

23 years agoFixup smbcacls. Don't return memory already freed, don't free memory allocated
Jeremy Allison [Tue, 1 May 2001 23:07:30 +0000 (23:07 +0000)]
Fixup smbcacls. Don't return memory already freed, don't free memory allocated
with talloc.
Jeremy.
(This used to be commit 0ae0d024f5898f7e47e4b1d4487b15447096780c)

23 years agoRuntime check for broken PAM systems with no appdata_ptr support. This
Jeremy Allison [Tue, 1 May 2001 18:25:20 +0000 (18:25 +0000)]
Runtime check for broken PAM systems with no appdata_ptr support. This
should eventually be an autoconf test with a #ifdef workaround. I *HATE* pam :-).
Jeremy.
(This used to be commit 52a9226a5aaa769e960619c2bd0a561dd9b0493d)

23 years agoStop coredump on pam password change with pam_pwdb.so module on error.
Jeremy Allison [Tue, 1 May 2001 18:19:15 +0000 (18:19 +0000)]
Stop coredump on pam password change with pam_pwdb.so module on error.
Jeremy.
(This used to be commit d9b960b4a5997e4cd09e3da9ea4754cbae1e29b3)

23 years agoAdded Andrew Bartlett's fixes to my changes to his original patch (at the
Jeremy Allison [Tue, 1 May 2001 17:19:42 +0000 (17:19 +0000)]
Added Andrew Bartlett's fixes to my changes to his original patch (at the
court of king caractacus, was just passing by... :-).
Jeremy.
(This used to be commit acc3e7a057ad7fb0c2fb1cafff0c623ec0524d04)

23 years agoadded more complete C99 snprintf test
Andrew Tridgell [Tue, 1 May 2001 04:16:28 +0000 (04:16 +0000)]
added more complete C99 snprintf test
(This used to be commit 4d7565342d5b53dd038bf25dd6c6afc7132ba2aa)

23 years agofixed some uninitialised variables
Andrew Tridgell [Tue, 1 May 2001 04:05:53 +0000 (04:05 +0000)]
fixed some uninitialised variables
(This used to be commit 5d899e51a4fc4e872da550b88ef603dbd2d8391f)

23 years agofixed comment-in-comment
Andrew Tridgell [Tue, 1 May 2001 04:02:15 +0000 (04:02 +0000)]
fixed comment-in-comment
(This used to be commit 4c456c82642649a6dfaadf578488119d195c5b6b)

23 years agoAllow pam code to compile on Solaris (which doesn't have PAM_AUTHTOK_RECOVER_ERR).
Jeremy Allison [Tue, 1 May 2001 01:26:15 +0000 (01:26 +0000)]
Allow pam code to compile on Solaris (which doesn't have PAM_AUTHTOK_RECOVER_ERR).
Jeremy.
(This used to be commit 6b2dd14205a4170c11067c4f851db11ab9154fce)

23 years agoAdded code from "Nigel Williams" <nigel@veritas.com> (yes, the same famous
Jeremy Allison [Tue, 1 May 2001 01:01:19 +0000 (01:01 +0000)]
Added code from "Nigel Williams" <nigel@veritas.com> (yes, the same famous
Nigel Williams who did NIS/GINA !) to implement add/modify/delete shares
for Win2k. Needs testing as I made a few mods to the original code.
Jeremy.
(This used to be commit 9b3dd801765fad28c0f9d58e5af2537cfccdd4ee)

23 years agoFixing consts in pam code.
Jeremy Allison [Mon, 30 Apr 2001 23:14:44 +0000 (23:14 +0000)]
Fixing consts in pam code.
Jeremy.
(This used to be commit c4d3df4f145dc28d1b285fad64c787cebb613e70)

23 years agoFixed password entry caching bug pointed out by Elrond.
Jeremy Allison [Mon, 30 Apr 2001 22:56:52 +0000 (22:56 +0000)]
Fixed password entry caching bug pointed out by Elrond.
Jeremy.
(This used to be commit dc31b47deda188cb88288a8f33dc09faed9b2c41)

23 years agoEnsure correct password change script gets selected --with-pam.
Jeremy Allison [Mon, 30 Apr 2001 22:12:38 +0000 (22:12 +0000)]
Ensure correct password change script gets selected --with-pam.
Jeremy.
(This used to be commit 6703f621ea798bd1877bd3baa523307ee288dccd)

23 years agoBased on an original PAM patch by Andrew Bartlett, re-written by me to
Jeremy Allison [Mon, 30 Apr 2001 21:05:58 +0000 (21:05 +0000)]
Based on an original PAM patch by Andrew Bartlett, re-written by me to
remove global static PAM variables, and to tidy up the PAM internals code.
Now looks like the rest of Samba.
Still needs testing.
Jeremy.
(This used to be commit 1648ac64a75de74d1a1575eb49cccc4f75488bfa)

23 years agomake clean should remove PROGS
Andrew Tridgell [Sun, 29 Apr 2001 04:54:56 +0000 (04:54 +0000)]
make clean should remove PROGS
(This used to be commit 783728fa8c6527e1dfc4434a587d5753886ad8ec)

23 years agoAdding developer mode option.
John Terpstra [Sat, 28 Apr 2001 21:34:43 +0000 (21:34 +0000)]
Adding developer mode option.
(This used to be commit 6473085645cc0ecfcb982f6e40bfde606424dc7b)

23 years agofixed %u/%U example
Andrew Tridgell [Sat, 28 Apr 2001 14:11:09 +0000 (14:11 +0000)]
fixed %u/%U example
(This used to be commit 40e7834bb9c7440feba250832c3b85757ae4c9f9)

23 years ago- fixed some compiler warnings
Andrew Tridgell [Sat, 28 Apr 2001 14:01:02 +0000 (14:01 +0000)]
- fixed some compiler warnings
- fixed slprintf and vsprintf macros
(This used to be commit c986a3c51e8cdbc1230edbe0f4a91138c4ada29d)

23 years agodon't need slprintf.c any more
Andrew Tridgell [Sat, 28 Apr 2001 13:52:50 +0000 (13:52 +0000)]
don't need slprintf.c any more
(This used to be commit 025285e179924024f069a31a65b124bd45a249af)

23 years ago- added test for vasprintf
Andrew Tridgell [Sat, 28 Apr 2001 13:49:34 +0000 (13:49 +0000)]
- added test for vasprintf
- cleaned up GNUC printf attribute macros
- added enum handling in mkproto
- removed non-vararg code
- made slprintf and vslprintf just macros for snprintf and vsnprintf
- don't need slprintf code any more
(This used to be commit c7aeb2254dfc3cd0aa0b6c0bdd426f9323be0ddf)

23 years agouse asprintf for hideunreadable option
Andrew Tridgell [Sat, 28 Apr 2001 12:43:15 +0000 (12:43 +0000)]
use asprintf for hideunreadable option
(This used to be commit 338d5ca8addb3079e0ab4a68338596d6e3b17ddb)

23 years agoadded asprintf test
Andrew Tridgell [Sat, 28 Apr 2001 12:35:00 +0000 (12:35 +0000)]
added asprintf test
(This used to be commit 8bda86c0bfd3693420e334a10d19bed61b131bae)

23 years agogot asprintf defn right
Andrew Tridgell [Sat, 28 Apr 2001 12:27:37 +0000 (12:27 +0000)]
got asprintf defn right
(This used to be commit 531ab0917004cc1dbbdc4a2b6b8d41f354dd2da7)

23 years agofew cleanups to bring in line with 2.2
Gerald Carter [Sat, 28 Apr 2001 01:07:27 +0000 (01:07 +0000)]
few cleanups to bring in line with 2.2
(This used to be commit 0feaac00a1847af41464d4ce35821ff851cded9c)

23 years agoremoving the references to rpc_client_proto.h
Gerald Carter [Sat, 28 Apr 2001 00:35:05 +0000 (00:35 +0000)]
removing the references to rpc_client_proto.h
(This used to be commit e7ef88dfeef658928f1a2dd79f3d142417be2015)

23 years agorpcclient merge from 2.2 (including Jeremy's non-void return fix)
Gerald Carter [Sat, 28 Apr 2001 00:32:56 +0000 (00:32 +0000)]
rpcclient merge from 2.2 (including Jeremy's non-void return fix)
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)

23 years agorpcclient/rpcclient.c: Non-void return in void function.
Jeremy Allison [Sat, 28 Apr 2001 00:05:11 +0000 (00:05 +0000)]
rpcclient/rpcclient.c: Non-void return in void function.
smbd/sec_ctx.c: Fixed potential memory leak spotted by
Kenichi Okuyama@Tokyo Research Lab, IBM-Japan, Co.
utils/nmblookup.c: gcc warning on Solaris fix.
Jeremy.
(This used to be commit 1be60597cd62af2b30a1496d06ea5704e87d3b7d)

23 years agoMore gcc compile on solaris tidyups.
Jeremy Allison [Fri, 27 Apr 2001 22:42:10 +0000 (22:42 +0000)]
More gcc compile on solaris tidyups.
Jeremy.
(This used to be commit 956201c4fb6e604407911b9709574f0c24dcb84f)

23 years agoMismatched format and args.
Jeremy Allison [Fri, 27 Apr 2001 22:19:25 +0000 (22:19 +0000)]
Mismatched format and args.
Jeremy.
(This used to be commit d57feb2c85f973ad22098054b8d6d049869e2a69)

23 years agoMore debug %d -> %u issues.
Jeremy Allison [Fri, 27 Apr 2001 22:17:10 +0000 (22:17 +0000)]
More debug %d -> %u issues.
Jeremy.
(This used to be commit 6fcb600dcd23c61d1a7d2ce8c2b7b2eea2e58623)

23 years agoMore %d (uid_t) stuff...
Jeremy Allison [Fri, 27 Apr 2001 22:02:23 +0000 (22:02 +0000)]
More %d (uid_t) stuff...
Jeremy.
(This used to be commit 73b425121a8c99af3ed7adbdcff3f6f0cec92ac7)

23 years agoMore acl -> the_acl, %d with uid_t issues.
Jeremy Allison [Fri, 27 Apr 2001 21:49:22 +0000 (21:49 +0000)]
More acl -> the_acl, %d with uid_t issues.
Jeremy.
(This used to be commit 30edd7fdf1d791d76351a7cc23a83f97386c3087)

23 years agoDon't use variables called "acl" as it's the name of a function in Solaris.
Jeremy Allison [Fri, 27 Apr 2001 21:20:20 +0000 (21:20 +0000)]
Don't use variables called "acl" as it's the name of a function in Solaris.
Jeremy.
(This used to be commit 277eb517e25eb3910057336b2bee18875dffe6cc)

23 years agoTidy up args to DEBUG Statements - found by gcc on Solaris.
Jeremy Allison [Fri, 27 Apr 2001 21:14:18 +0000 (21:14 +0000)]
Tidy up args to DEBUG Statements - found by gcc on Solaris.
Jeremy.
(This used to be commit a60ecb4e53a6c8a3a6a37a89042ae943202263fe)

23 years agoFixes for problems in NFS server code from Michael Gerdts <Michael.Gerdts@usa.alcatel...
Jeremy Allison [Fri, 27 Apr 2001 19:56:15 +0000 (19:56 +0000)]
Fixes for problems in NFS server code from Michael Gerdts <Michael.Gerdts@usa.alcatel.com>.
Jeremy.
(This used to be commit 2fd5e0bf141807d31f6f1a817d271548d0ccfadc)

23 years agoPatch from Frédéric Blanc <el_blaf@yahoo.fr> to correctly uninstall
Jeremy Allison [Fri, 27 Apr 2001 19:03:29 +0000 (19:03 +0000)]
Patch from Frédéric Blanc <el_blaf@yahoo.fr> to correctly uninstall
codepages.
Jeremy.
(This used to be commit 231f1f44c314d5d614c9f2745a108839a26cfc0d)

23 years agoFix from matthew.hart@veritas.com - bad error return from linux_oplock_receive_message().
Jeremy Allison [Fri, 27 Apr 2001 18:03:12 +0000 (18:03 +0000)]
Fix from matthew.hart@veritas.com - bad error return from linux_oplock_receive_message().
Jeremy.
(This used to be commit b35ca2c6b13877bc6e09c7c4179d9529a7d3e0b3)

23 years agoAdded Herb's comment fix.
Jeremy Allison [Fri, 27 Apr 2001 17:32:46 +0000 (17:32 +0000)]
Added Herb's comment fix.
Jeremy.
(This used to be commit f4f4aae675f55d3319aca8489621afc92aaf8de1)

23 years agofix a bug in printer name handling that jerry reported.
Jean-François Micouleau [Fri, 27 Apr 2001 17:08:33 +0000 (17:08 +0000)]
fix a bug in printer name handling that jerry reported.

names can be \\server -> print server
\\server\printer -> printer
printer -> printer

J.F.
(This used to be commit ec576722b79e3c5384dd40c532d4233dd6b1b9a8)

23 years agoC99 test for snprintf
Andrew Tridgell [Fri, 27 Apr 2001 13:09:55 +0000 (13:09 +0000)]
C99 test for snprintf
(This used to be commit fcd100eec51034cc4ea1e781e971b6dd65801b31)

23 years agoadded much better snprintf code, plus new function asprintf
Andrew Tridgell [Fri, 27 Apr 2001 02:45:08 +0000 (02:45 +0000)]
added much better snprintf code, plus new function asprintf
(This used to be commit 10327ad11f9a97bf536dc772c9577d8f6809c829)

23 years agoadded test for C99 compliant vsnprintf
Andrew Tridgell [Fri, 27 Apr 2001 02:35:42 +0000 (02:35 +0000)]
added test for C99 compliant vsnprintf
(This used to be commit 9ebd90904e512c49cc80c584ab3d5902340ddcae)

23 years agofixed typo
Andrew Tridgell [Fri, 27 Apr 2001 02:11:47 +0000 (02:11 +0000)]
fixed typo
(This used to be commit ed9d93c9c3c42b13b021e5e8f84f4d865cd28724)

23 years agoFixed REPLACE_GETPASS test.
Jeremy Allison [Thu, 26 Apr 2001 18:36:38 +0000 (18:36 +0000)]
Fixed REPLACE_GETPASS test.
Jeremy.
(This used to be commit 3cfcaaca5ba54ada898680ac9943086316d262b4)

23 years agoremoved references to SMBRUN
Gerald Carter [Thu, 26 Apr 2001 13:25:46 +0000 (13:25 +0000)]
removed references to SMBRUN
(This used to be commit 822511eb3c8daa89e96b3fab7573555312415262)

23 years agoremoved SMBRUN references
Gerald Carter [Thu, 26 Apr 2001 02:24:45 +0000 (02:24 +0000)]
removed SMBRUN references
(This used to be commit bab7bb2d4e3d1706315ff30cc406588b9dec59a1)

23 years agoSync with default perm changes in 2.2.
Jeremy Allison [Wed, 25 Apr 2001 23:25:58 +0000 (23:25 +0000)]
Sync with default perm changes in 2.2.
Jeremy.
(This used to be commit f02e67a096b3bcf84615c4a6949c5e6283e07af0)

23 years agoconverted the passdb smbpasswd implementation to using talloc
Gerald Carter [Wed, 25 Apr 2001 22:12:13 +0000 (22:12 +0000)]
converted the passdb smbpasswd implementation to using talloc
for memory allocation.  This fixes a long standing seg fault
(i knew i would get around to it one day :) )

Tested with NT4 and Win2k.  Needs a little more testing with the
"create the machine account on the fly" code for NT4.

Simo, this is probably going to break the tdb passdb code.
Can you look at that when you get a chance and see what you think?
(This used to be commit 1c13110873e456748dc09fd51749f664643fe888)

23 years agoRe-ran autoheader; autoconf to fix pam_smb build.
Jeremy Allison [Wed, 25 Apr 2001 19:03:57 +0000 (19:03 +0000)]
Re-ran autoheader; autoconf to fix pam_smb build.
Jeremy.
(This used to be commit c6f25e84d3e15319d263386c101727d787cf0679)

23 years agoFixed %U and %D substitutions. %U is lowercase user name, %D is uppercase
Jeremy Allison [Wed, 25 Apr 2001 18:39:31 +0000 (18:39 +0000)]
Fixed %U and %D substitutions. %U is lowercase user name, %D is uppercase
domain name.
Jeremy.
(This used to be commit 5f005952f6d8c281cf91ac0855e83342a2fd7e45)

23 years agoadded solaris wrapper from tng
Andrew Tridgell [Wed, 25 Apr 2001 06:45:27 +0000 (06:45 +0000)]
added solaris wrapper from tng
(This used to be commit d854d01d1197300f637eb38c243f8b0b80cf24ba)

23 years agomerge some of the nsswitch code from tng to head
Andrew Tridgell [Wed, 25 Apr 2001 05:47:50 +0000 (05:47 +0000)]
merge some of the nsswitch code from tng to head
the libnss_winbind.so from head now works with
the winbindd from tng
(This used to be commit 67ccfd2826548a6ca22562f9fb3ae156a57bd7db)

23 years agomerge from 2_2
Andrew Tridgell [Wed, 25 Apr 2001 01:52:54 +0000 (01:52 +0000)]
merge from 2_2
(This used to be commit b9137b613dc8cb45cbebfc6e57e20fde0517347a)

23 years agoMore paranioa fixes against nmbd lengths.
Jeremy Allison [Wed, 25 Apr 2001 01:07:33 +0000 (01:07 +0000)]
More paranioa fixes against nmbd lengths.
Jeremy.
(This used to be commit 53f35a71c6fc46814eca914573506622d7db4e08)

23 years agoFix bad length in dgram.
Jeremy Allison [Tue, 24 Apr 2001 23:51:57 +0000 (23:51 +0000)]
Fix bad length in dgram.
Jeremy.
(This used to be commit 8bd27845f0d8b19409ba79c028ce54732d7276e1)

23 years agoAdded Steve Langasek <vorlon@netexpress.net> pam_smbpass support
John Terpstra [Tue, 24 Apr 2001 21:13:48 +0000 (21:13 +0000)]
Added Steve Langasek <vorlon@netexpress.net> pam_smbpass support
(This used to be commit 550cc5c182e88f742ac2052d80208da5f98e2543)

23 years agoAdded Steve Langasek <vorlon@netexpress.net> pam_smbpass PAM module code.
John Terpstra [Tue, 24 Apr 2001 20:00:12 +0000 (20:00 +0000)]
Added Steve Langasek <vorlon@netexpress.net> pam_smbpass PAM module code.
Note: Still have to add build stuff - not ready yet.
(This used to be commit 1de7022f98b64b15503aaf48c8d729789fc49781)

23 years agosyncing up with 2.2
Gerald Carter [Tue, 24 Apr 2001 19:10:40 +0000 (19:10 +0000)]
syncing up with 2.2
(This used to be commit ff4cdb5a346bd864d169f18a10f318f13f1afcd8)

23 years agosyncing up changes in 2.2
Gerald Carter [Tue, 24 Apr 2001 19:09:42 +0000 (19:09 +0000)]
syncing up changes in 2.2
(This used to be commit ffbbe67dbfde7f7ce4bb70becfc696c395dbf6b2)

23 years agofix typo
Herb Lewis [Tue, 24 Apr 2001 18:53:15 +0000 (18:53 +0000)]
fix typo
(This used to be commit ed2dfae0e503367671c54ad8f1f49ac3af0b1c6a)

23 years agoPatch for nmbd core dump in printing debug packets. No length check.
Jeremy Allison [Tue, 24 Apr 2001 18:01:40 +0000 (18:01 +0000)]
Patch for nmbd core dump in printing debug packets. No length check.
Jeremy.
(This used to be commit eacb96396d57d6b622b750d64b3686e6fbeaf68c)

23 years agodon't allow both add and delete user to be set at the same time
Herb Lewis [Tue, 24 Apr 2001 16:44:28 +0000 (16:44 +0000)]
don't allow both add and delete user to be set at the same time
(This used to be commit 9db84de46a3823878c2a9356ac4ae4fd179d5847)

23 years agoset "vfs object" and "vfs options" to be setable by SWAT on advanced page
Herb Lewis [Tue, 24 Apr 2001 16:24:36 +0000 (16:24 +0000)]
set "vfs object" and "vfs options" to be setable by SWAT on advanced page
change "host msdfs" to be strictly a global parameter on advanced page
change "printer admin" to be on printers page not share page (caught by
Ingo Kilian <ikilian@web.de> )
(This used to be commit 93034985e02bdb9a00a9c509b851442561f4ad68)

23 years agoupdating changes with 2.2 (comment lines in ./configure --help)
Gerald Carter [Tue, 24 Apr 2001 14:31:45 +0000 (14:31 +0000)]
updating changes with 2.2 (comment lines in ./configure --help)
(This used to be commit cf9e34c79be4c09b84d648134933b9007a06dc92)

23 years agoadded Mandrake support from 2.2
Gerald Carter [Tue, 24 Apr 2001 05:08:50 +0000 (05:08 +0000)]
added Mandrake support from 2.2
(This used to be commit 9f8cb4906f98403d4a8f2577197720d72bdf6b4f)

23 years agorow of asteriks that indicates new entry must start at beginning of line.
Herb Lewis [Mon, 23 Apr 2001 23:44:25 +0000 (23:44 +0000)]
row of asteriks that indicates new entry must start at beginning of line.
(This used to be commit df4a31580c537b2008db76a2009d21f7f9ac7285)

23 years agoFix "proc num out of range" error. Missing rpc call.
Jeremy Allison [Mon, 23 Apr 2001 23:31:09 +0000 (23:31 +0000)]
Fix "proc num out of range" error. Missing rpc call.
Jeremy.
(This used to be commit 6248fb22926d72fddaecad5af117af1bdd08fda3)

23 years agoFixed memory leak in new session code.
Jeremy Allison [Mon, 23 Apr 2001 23:07:31 +0000 (23:07 +0000)]
Fixed memory leak in new session code.
Jeremy.
(This used to be commit 43b69e5d6e78a30563d7c1d03c7e920d529487b5)

23 years agoAdded "obey pam restrictions" parameter - default to "off".
Jeremy Allison [Mon, 23 Apr 2001 20:43:20 +0000 (20:43 +0000)]
Added "obey pam restrictions" parameter - default to "off".
Only set this to "on" if you know you have your PAM set up correctly.....
NB. Doesn't apply to plaintext password authentication, which must use
pam when compiled in.
Jeremy.
(This used to be commit 59aa99f3901d098b7afbe675021bda53b62ee496)

23 years agoFix more free twice bugs.
Jeremy Allison [Mon, 23 Apr 2001 06:22:02 +0000 (06:22 +0000)]
Fix more free twice bugs.
Jeremy.
(This used to be commit 4db22afeed659a871a4a1f719d5fa1f2df07e24d)

23 years agoFix for bug in code for pam_session failure - pam_end called twice.
Jeremy Allison [Mon, 23 Apr 2001 06:09:27 +0000 (06:09 +0000)]
Fix for bug in code for pam_session failure - pam_end called twice.
Jeremy.
(This used to be commit c4048fcdb6ff3a890b69be8ef4832e9bd958cfec)

23 years agoAdded smb_ prefix to all Samba wrapper pam functions.
Jeremy Allison [Mon, 23 Apr 2001 04:15:35 +0000 (04:15 +0000)]
Added smb_ prefix to all Samba wrapper pam functions.
Fixed off by one bug using StrnCpy instead of strdup().
Jeremy.
(This used to be commit d4b1c0be2e700c86a4338bb497777f97e3c960a7)

23 years agoCommit of a modified version of Andrew Bartlett's patch that removes the
Jeremy Allison [Sun, 22 Apr 2001 07:20:24 +0000 (07:20 +0000)]
Commit of a modified version of Andrew Bartlett's patch that removes the
horrid utmp hostname parameter - now uses the client name instead.
Also tidies up some of the unencrypted password checking when PAM
is compiled in.
FIXME ! An pam_accountcheck() is being called even when smb encrypted
passwords are negotiated. Is this the correct thing to do when winbindd
is running ! This needs *SEVERE* testing....
Jeremy.
(This used to be commit 071c799f479dd25efdb9c41745fc8f2beea7b568)

23 years agoFinally got name & SID returns correct.
Jeremy Allison [Sun, 22 Apr 2001 06:13:14 +0000 (06:13 +0000)]
Finally got name & SID returns correct.
Jeremy.
(This used to be commit 2a5b513c4459782fa95756f1483235c186ba4a08)

23 years agoa couple of minor merges from 2_2
Andrew Tridgell [Sun, 22 Apr 2001 03:16:04 +0000 (03:16 +0000)]
a couple of minor merges from 2_2
(This used to be commit 67aa587eb2ee9044574ee212dfd7d52895f868c0)

23 years agomerging from 2.2 to head
Andrew Tridgell [Sun, 22 Apr 2001 02:54:04 +0000 (02:54 +0000)]
merging from 2.2 to head
(This used to be commit bfcc6f88271025760732271f03933839b1cbe0de)

23 years agoJF pointed out we were returning the wrong info for Domain member with info
Jeremy Allison [Sat, 21 Apr 2001 23:06:59 +0000 (23:06 +0000)]
JF pointed out we were returning the wrong info for Domain member with info
levels 3 and 5. I *hate* LSAQueryInfoPolicy() :-).
Jeremy.
(This used to be commit 37581bdf1e1f24dabe67befdc27f54f516d3f08e)