1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/source3
Andrew Bartlett d9d7f023d8 This commit is number 4 of 4.
In particular this commit focuses on:

Actually adding the 'const' to the passdb interface, and the flow-on changes.

Also kill off the 'disp_info' stuff, as its no longer used.

While these changes have been mildly tested, and are pretty small, any
assistance in this is appreciated.

----

These changes introduces a large dose of 'const' to the Samba tree.
There are a number of good reasons to do this:

	- I want to allow the SAM_ACCOUNT structure to move from wasteful
	pstrings and fstrings to  allocated strings.  We can't do that if
	people are modifying these outputs, as they may well make
	assumptions about getting pstrings and fstrings

	- I want --with-pam_smbpass to compile with a slightly sane
	volume of warnings, currently its  pretty bad, even in 2.2
	where is compiles at all.

	- Tridge assures me that he no longer opposes 'const religion'
	based on the ability to  #define const the problem away.

	- Changed Get_Pwnam(x,y) into two variants (so that the const
	parameter can work correctly): - Get_Pwnam(const x) and
	Get_Pwnam_Modify(x).

	- Reworked smbd/chgpasswd.c to work with these mods, passing
	around a 'struct passwd' rather  than the modified username

---

This finishes this line of commits off, your tree should now compile again :-)

Andrew Bartlett
(This used to be commit c95f5aeb93)
2001-10-29 07:35:11 +00:00
..
aparser replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down 2001-09-10 11:08:57 +00:00
auth This commit is number 4 of 4. 2001-10-29 07:35:11 +00:00
bin Ok, I know it's a language thing and it shouldn't matter.... but a kerberos 2001-10-21 20:51:27 +00:00
client Remove xstrdup since it was added to lib/util.c. Caused compile failure 2001-10-24 17:58:03 +00:00
codepages removed old unused files 2001-10-03 13:05:59 +00:00
groupdb Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
include This commit is number 2 of 4. 2001-10-29 07:24:49 +00:00
intl get rid of compiler warnings (casts and delete unused variables) 2001-10-23 19:10:30 +00:00
lib This commit is number 4 of 4. 2001-10-29 07:35:11 +00:00
libsmb This commit is number 4 of 4. 2001-10-29 07:35:11 +00:00
locking Move from timestamp to gen count file id's for finding oplocked files 2001-10-20 21:59:34 +00:00
msdfs get rid of compiler warnings (casts and delete unused variables) 2001-10-23 19:10:30 +00:00
nmbd Fixed WINS re-registration bug. Don't ask..... :-(. It was in my code :-). 2001-10-08 19:39:07 +00:00
nsswitch This commit is number 4 of 4. 2001-10-29 07:35:11 +00:00
pam_smbpass samba-bugs@samba.org -> samba@samba.org 2001-10-26 23:12:32 +00:00
param added basic NTLMSSP support in smbd. This is still quite rough, and 2001-10-17 08:54:19 +00:00
passdb This commit is number 4 of 4. 2001-10-29 07:35:11 +00:00
po added de.msg from Andreas Moroder 2001-10-28 12:16:00 +00:00
popt more compiler warnings 2001-10-23 20:39:38 +00:00
printing Merge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD. 2001-10-18 20:15:12 +00:00
profile Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 2001-10-02 04:29:50 +00:00
rpc_client the next step in the intl changeover. This should get us compiling agian, 2001-10-14 12:10:29 +00:00
rpc_parse This commit is number 4 of 4. 2001-10-29 07:35:11 +00:00
rpc_server This commit is number 4 of 4. 2001-10-29 07:35:11 +00:00
rpcclient Converted a bunch of functions to use sscanf %i instead of atoi to 2001-10-29 05:38:02 +00:00
script always install swat language files 2001-10-15 05:15:31 +00:00
smbd This commit is number 4 of 4. 2001-10-29 07:35:11 +00:00
smbwrapper charset_initialise() doesn't exist anymore. 2001-10-17 00:11:02 +00:00
tdb Don't core dump when using spinlocks on a read-only tdb. Unfortunately this 2001-10-16 22:10:23 +00:00
tests Update to work with no crypt available, just like it will in Samba. 2001-08-07 19:48:54 +00:00
torture the next step in the intl changeover. This should get us compiling agian, 2001-10-14 12:10:29 +00:00
ubiqx Again, just syncronizing. The a function name was changed in the sll 2000-06-08 17:42:20 +00:00
utils more compiler warnings 2001-10-23 20:39:38 +00:00
web the next step in the intl changeover. This should get us compiling agian, 2001-10-14 12:10:29 +00:00
.cvsignore Add .headers.stamp 2001-09-24 01:04:52 +00:00
acconfig.h initial kerberos/ADS/SPNEGO support in libsmb and smbclient. To 2001-10-11 07:42:52 +00:00
aclocal.m4 Added SWAT i18n feature: 2001-09-24 15:55:09 +00:00
architecture.doc first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 1999-12-13 13:27:58 +00:00
change-log global change from samba.anu.edu.au to samba.org 1998-11-21 13:20:31 +00:00
config.guess Updated to latest from gnu.org. 2001-07-03 18:34:41 +00:00
config.sub Updated to latest from gnu.org. 2001-07-03 18:34:41 +00:00
configure Fix popt library checking 2001-10-23 17:12:30 +00:00
configure.developer Change ./configure.developer to stay in effect across a 2001-09-25 05:08:05 +00:00
configure.in Fix popt library checking 2001-10-23 17:12:30 +00:00
configure.nodebug.developer computer too slow to compile with debug info (100mins), but i need all the 2000-03-09 22:22:38 +00:00
install-sh merge from the autoconf2 branch to the main branch 1998-07-29 03:08:05 +00:00
internals.doc The big character set handling changeover! 2001-07-04 07:15:53 +00:00
Makefile.in Fix up the Makefile for now (thanks herb). 2001-10-27 12:59:46 +00:00
parsing.doc Added info about parsing debug messages. 1998-10-27 21:07:52 +00:00
smbadduser JHT ==> Removed linefeed that caused problems. 1997-10-13 12:13:11 +00:00