1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

1222 Commits

Author SHA1 Message Date
Jeremy Allison
d047db2807 Fixup of ordered cleanup of get_dc_list - bug found by Dominik 'Aeneas' Schnitzer <dominik@schnitzer.at>
Jeremy.
(This used to be commit 15185ac437a6a0f53711bef035879173dbb492c6)
2002-12-01 00:45:07 +00:00
Tim Potter
f3e3a56ea9 Merge a bunch of trivial changes from HEAD. The difference remaining
should actual functional differences between HEAD and 3.0.

 - Mostly reformatting
 - Removal of unecessary #include "smb.h"
 - Merge of dyn_DRIVERFILE removal
 - Silly bug fix for python code
(This used to be commit d3998307adc50ba50defe610cb656c73799ae3b9)
2002-11-29 02:58:59 +00:00
Jeremy Allison
296c93923c Test was reversed for ERRmoredata in cli_read.
Jeremy.
(This used to be commit fff7f3cbe248982bcd70abb1da6624186bab42d2)
2002-11-27 19:11:46 +00:00
Jeremy Allison
e65e16fdf6 Test was reversed for ERRmoredata in cli_read.
Jeremy.
(This used to be commit 1a36ac60bef8de5368860478c268ba1671bb4825)
2002-11-27 19:09:48 +00:00
Jeremy Allison
edc4c1f643 Ensure data is not used uninitialised.
Jeremy.
(This used to be commit 3c2d396aa8d674970b2cc043fd32d2648fcd004e)
2002-11-26 17:40:25 +00:00
Jeremy Allison
44c8c16546 Fix bug in tdb_fetch tidyup.
Jeremy.
(This used to be commit 88d081e06428f02bcde8ceed8d86835c9222c3a9)
2002-11-26 17:03:16 +00:00
cvs2svn Import User
0d26e0ee42 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 96535956090c2f6d4d91631b1980ae916dd35316) 2002-11-26 11:57:31 +00:00
Andrew Bartlett
65643516d7 Having waited for *way* too long, this is mimir's namecache and trusted domain
cache code.

This uses gencache, mimir's new caching code that stores at text-based cache
of various data.

Mimir has done a *lot* of work on this patch, and it is finally time to
get it in CVS.

Andrew Bartlett
(This used to be commit 47f3bfe9564e7f3aff60cefaefd599e0abb30a31)
2002-11-26 11:57:30 +00:00
Gerald Carter
3ab6fcc5c6 [merge from APP_HEAD]
90% fix for CR 1076.  The password server parameter will no take things
like

        password server = DC1 *

which means to contact DC1 first and the go to auto lookup if it
fails.


jerry
(This used to be commit 016ef8b36b30846311a5321803298f8e28719244)
2002-11-23 14:52:34 +00:00
Gerald Carter
191dff2d27 [merge from APP_HEAD]
90% fix for CR 1076.  The password server parameter will no take things
like

        password server = DC1 *

which means to contact DC1 first and the go to auto lookup if it
fails.


jerry
(This used to be commit c31a17889e3e4daf7c1e807038efc2c0fba78be3)
2002-11-23 14:27:56 +00:00
Jeremy Allison
f023d6129b Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
(This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)
2002-11-23 02:52:38 +00:00
Jeremy Allison
de474974ea Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
(This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
2002-11-23 02:52:36 +00:00
Jim McDonough
5939005588 get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This should fix the build.
(This used to be commit a89187ccc95cc54e39518413bd4fff92c7223108)
2002-11-21 01:01:58 +00:00
Jim McDonough
3e1846d0de get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This should fix the build.
(This used to be commit 929874d2744509bba743d99b9c707e7626845fa0)
2002-11-21 00:58:50 +00:00
Gerald Carter
8713f45a06 merge get_friendly_nt_err_msg() from app_head
(This used to be commit af21e7738404f073fe2e22b282322e3facdfeb82)
2002-11-21 00:12:14 +00:00
Gerald Carter
e955763315 merge get_friendly_nt_err_msg() from app_head
(This used to be commit 3ea73f158ebfca0561d7928e5d6c0939c0734585)
2002-11-21 00:10:28 +00:00
Gerald Carter
f2e3b68ce6 fix segfault
(This used to be commit 36bcb312e95f46d196575ed3535679deeddd89b0)
2002-11-15 17:57:25 +00:00
Gerald Carter
53c1b22adc fix segfault
(This used to be commit 32ca3afa5486b1b04118e9f144bfdf4b3702d118)
2002-11-15 17:56:46 +00:00
Andrew Bartlett
098c08ccab Merge from HEAD
- make configure check for the location of Heimdal KRB5 on suse systems
	- fix libsmbclient for new global_myname()
(This used to be commit 111b0405cf8c95da5c927f31e5db7fd51c590b1f)
2002-11-13 07:04:00 +00:00
Andrew Bartlett
2b41c63b61 Try to bring libsmbclient in line with the new global_myname stuff
(This used to be commit e424b08050b44b1b52abd2af76b1b4dc8b100095)
2002-11-13 06:38:33 +00:00
Jeremy Allison
2f194322d4 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-11-12 23:20:50 +00:00
Jeremy Allison
250c980119 Removed global_myworkgroup, global_myname, global_myscope. Added liberal
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-11-12 23:15:52 +00:00
Simo Sorce
115f859a85 sync with head
was:
consolidate alla error mapping functions in one file
(This used to be commit 2c9e8b79d94e3276e9eb9bd676af0a68ee3908ff)
2002-11-10 04:34:03 +00:00
Simo Sorce
10968f47cf consolidate error mapping functions into a single file
(This used to be commit 80086728f2b0d5d56a8ed9e427cba36898d68fc7)
2002-11-10 04:16:59 +00:00
Andrew Bartlett
c19598f2a6 Merge from HEAD:
- change auth_sam to use the initialisation flags to determine if
	 the password attributes are set

 - add const to secrets.c, cliconnect.c

 - passdb:  fix spelling in pdb_ldap, add group mapping back to smbpasswd

 - SAMR: add debugs to show what fails for group enum.

Andrew Bartlett
(This used to be commit 4e74d00b3634abf52aa24bfaa6dbe88202aa57a1)
2002-11-08 23:08:59 +00:00
Gerald Carter
698fe3f07a patches from Urban
(This used to be commit 850b185a6e33fa924fa59cdd6316c9160ba65270)
2002-11-08 18:45:38 +00:00
Gerald Carter
4703553378 patches from Urban
(This used to be commit da269a73edb7f637b1e1f8b3dafe677f46f66f85)
2002-11-08 18:44:57 +00:00
Jeremy Allison
47955b2f6c Merge of scalable printing code fix... Needs testing.
Also tidied up some of Richard's code (I don't think he uses the compiler
flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like
I do :-) :-).
Jeremy.
(This used to be commit 10024ed06e9d91f24fdc78d59eef2f76bf395438)
2002-11-07 02:38:42 +00:00
Tim Potter
ab1cf8d1cf Merge of get_dc_list() api change from HEAD.
(This used to be commit 6ba7847ce2756fde94e530fd0bf2a055f3e27373)
2002-11-06 05:14:15 +00:00
Tim Potter
ea24bb2da8 Merge of get_dc_list() api change. This was slightly more intrusive
than the version in APPLIANCE so watch out for boogs.
(This used to be commit 1e054e3db654801fbb5580211529cdfdea9ed686)
2002-11-06 01:29:07 +00:00
Richard Sharpe
6214457499 The fixes from Tom plus a minor update from me.
(This used to be commit 6db6a48711f51ee6add32953506cd5db33939a1b)
2002-11-04 02:01:48 +00:00
Richard Sharpe
2eac34d4d9 Revert that stupid one line change.
(This used to be commit 095af10ff2e549b82c646df5ed20cf05352a3994)
2002-11-01 05:29:11 +00:00
Richard Sharpe
689d510ef6 Add more code to the profiles program and add Makefile.in support.
(This used to be commit daefe52a56a7b977b8e561f8f668c42183de413b)
2002-11-01 05:06:19 +00:00
Andrew Bartlett
35ac9d287f Try to catch up on the code I've put into HEAD that should be in 3.0:
- vorlan's hosts allow with DNS names patch
 - use x_fileno() in debug.c, not the struct directly.
 - check for server timeout on password change (was reporting success)
 - better error/status loggin in both the pam_winbind client and winbindd_pam
server code.
 - (pdb_ldap) don't set the ldap version twice - we do it on every bind anyway.
(This used to be commit 9fa1863d8e7788eda83911ca2610754486b33069)
2002-10-26 02:20:59 +00:00
Andrew Bartlett
dbfc2f42a2 Make sure that we always return False if the password change never returns.
(A stuck 'unix passowrd sync' was gettting reported as 'success', causing
all sorts of fun)

Andrew Bartlett
(This used to be commit b0d5745bb53b16e92160a6bdd2b984afb0e982ee)
2002-10-26 00:59:21 +00:00
Jeremy Allison
389a16d9d5 Added new error codes. Fix up connection code to retry in the same way
that app-head does.
Jeremy.
(This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-17 17:10:29 +00:00
Jeremy Allison
c53eb2ed54 Added new error codes. Fix up connection code to retry in the same way
that app-head does.
Jeremy.
(This used to be commit ec7953f20145799f6286a295472df4826bfdfb8f)
2002-10-17 17:10:24 +00:00
Jeremy Allison
ebc7fd0a3c Added cli_set_timeout() call.
Jeremy.
(This used to be commit 9225054179b6642ae8be790d35e6590aefa46dd3)
2002-10-15 21:30:06 +00:00
Jeremy Allison
598ebaa2b3 Added cli_set_timeout() call.
Jeremy.
(This used to be commit 94a5c589945ffd4719f7509c162cf994f7914312)
2002-10-15 21:29:37 +00:00
Jeremy Allison
bb2dc1a633 Added unknown info level.
Jeremy.
(This used to be commit 7634a58ec83ed7b40fe8ac95b0486b1ac00c59e4)
2002-10-09 22:50:31 +00:00
Jeremy Allison
ac71311ff2 Added "unknown info level".
Jeremy.
(This used to be commit afecd1aa52b98f123b226ff172d5ef5768cbb44f)
2002-10-09 22:50:10 +00:00
Gerald Carter
9c1b62c0fd merge of working dsrolegetprimdominfo() client code from APP_HEAD
(This used to be commit 028477e35208e76fedbc7c743426fd9be94b7cf0)
2002-10-04 19:33:41 +00:00
Gerald Carter
d2ea6d5ae7 merge of working dsrolegetprimdominfo() client code from APP_HEAD
(This used to be commit f70caa25e4ee198151b915cf2bc0a26b2d0e243d)
2002-10-04 19:11:36 +00:00
Andrew Bartlett
ad8a22e570 Updates from Samba HEAD:
- Fix segfaults in the 'net ads' commands when no password is provided
 - Readd --with-ldapsam for 2.2 compatability.  This conditionally compiles the
   old options, but the actual code is available on all ldap systems.
 - Fix shadow passwords (as per work with vl)
 - Fix sending plaintext passwords to unicode servers (again vl)
 - Add a bit of const to secrets.c functions
 - Fix some spelling and grammer by vance.
 - Document the -r option in smbgroupedit.

There are more changes in HEAD, I'm only merging the changes I've been involved
with.

Andrew Bartlett
(This used to be commit 83973c389355a5cc9ca74af467dfd8b5dabd2c8f)
2002-10-01 13:10:57 +00:00
Jeremy Allison
8147df0b6b Cope with rw errors and timeout to peer.
Jeremy.
(This used to be commit d8d351eb01ea7c84828dbc96224d7b13d643b558)
2002-10-01 06:50:38 +00:00
Jeremy Allison
5567ef53cb Cope with rw errors and timeout to peer.
Jeremy.
(This used to be commit 736a7bab487d7e217eed452e2089adb6b4164ad5)
2002-10-01 06:50:25 +00:00
Jeremy Allison
88fad685d4 Tidy up client error processing.
Jeremy.
(This used to be commit aea64f1c300b1ec5ec1c5d637f456f025ec12821)
2002-10-01 02:11:35 +00:00
Jeremy Allison
3e2a384e76 Tidy up client error processing.
Jeremy.
(This used to be commit 983e6d137eaada5cea1235e0cf051bc314b6f9d8)
2002-10-01 02:11:26 +00:00
Jeremy Allison
549f70f8ee Fixed typo.
Jeremy.
(This used to be commit e2d66c5d238a057175d9316b4491ca26066f34fe)
2002-10-01 01:43:09 +00:00
Jeremy Allison
5cec60b31b Added error string for server timeout on client call.
Jeremy.
(This used to be commit 28d2eb934318818a3b0527e391987ea139dbf4a3)
2002-10-01 01:41:20 +00:00