1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source
Andrew Bartlett e7634f81c5 This commit is number 3 of 4.
In particular this commit focuses on:

Changing the Get_Pwnam code so that it can work in a const-enforced
environment.

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

----

These changes allow for 'const' in 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
0001-01-01 00:00:00 +00:00
..
aparser replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down 0001-01-01 00:00:00 +00:00
auth This commit is number 3 of 4. 0001-01-01 00:00:00 +00:00
bin Ok, I know it's a language thing and it shouldn't matter.... but a kerberos 0001-01-01 00:00:00 +00:00
client Remove xstrdup since it was added to lib/util.c. Caused compile failure 0001-01-01 00:00:00 +00:00
codepages removed old unused files 0001-01-01 00:00:00 +00:00
groupdb Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 0001-01-01 00:00:00 +00:00
include This commit is number 2 of 4. 0001-01-01 00:00:00 +00:00
intl get rid of compiler warnings (casts and delete unused variables) 0001-01-01 00:00:00 +00:00
lib This commit is number 3 of 4. 0001-01-01 00:00:00 +00:00
libsmb more compiler warnings 0001-01-01 00:00:00 +00:00
locking Move from timestamp to gen count file id's for finding oplocked files 0001-01-01 00:00:00 +00:00
msdfs get rid of compiler warnings (casts and delete unused variables) 0001-01-01 00:00:00 +00:00
nmbd Fixed WINS re-registration bug. Don't ask..... :-(. It was in my code :-). 0001-01-01 00:00:00 +00:00
nsswitch Hey where did those 4 character tabs come from? 0001-01-01 00:00:00 +00:00
pam_smbpass samba-bugs@samba.org -> samba@samba.org 0001-01-01 00:00:00 +00:00
param added basic NTLMSSP support in smbd. This is still quite rough, and 0001-01-01 00:00:00 +00:00
passdb This commit is number 3 of 4. 0001-01-01 00:00:00 +00:00
po added de.msg from Andreas Moroder 0001-01-01 00:00:00 +00:00
popt more compiler warnings 0001-01-01 00:00:00 +00:00
printing Merge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD. 0001-01-01 00:00:00 +00:00
profile Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 0001-01-01 00:00:00 +00:00
rpc_client the next step in the intl changeover. This should get us compiling agian, 0001-01-01 00:00:00 +00:00
rpc_parse Fixed the bug with member servers in a Samba PDC hosted domain not allowing 0001-01-01 00:00:00 +00:00
rpc_server This commit is number 3 of 4. 0001-01-01 00:00:00 +00:00
rpcclient Converted a bunch of functions to use sscanf %i instead of atoi to 0001-01-01 00:00:00 +00:00
script always install swat language files 0001-01-01 00:00:00 +00:00
smbd This commit is number 3 of 4. 0001-01-01 00:00:00 +00:00
smbwrapper charset_initialise() doesn't exist anymore. 0001-01-01 00:00:00 +00:00
tdb Don't core dump when using spinlocks on a read-only tdb. Unfortunately this 0001-01-01 00:00:00 +00:00
tests Update to work with no crypt available, just like it will in Samba. 0001-01-01 00:00:00 +00:00
torture the next step in the intl changeover. This should get us compiling agian, 0001-01-01 00:00:00 +00:00
ubiqx Again, just syncronizing. The a function name was changed in the sll 0001-01-01 00:00:00 +00:00
utils more compiler warnings 0001-01-01 00:00:00 +00:00
web the next step in the intl changeover. This should get us compiling agian, 0001-01-01 00:00:00 +00:00
.cvsignore Add .headers.stamp 0001-01-01 00:00:00 +00:00
acconfig.h initial kerberos/ADS/SPNEGO support in libsmb and smbclient. To 0001-01-01 00:00:00 +00:00
aclocal.m4 Added SWAT i18n feature: 0001-01-01 00:00:00 +00:00
architecture.doc first pass at updating head branch to be to be the same as the SAMBA_2_0 branch 0001-01-01 00:00:00 +00:00
change-log global change from samba.anu.edu.au to samba.org 0001-01-01 00:00:00 +00:00
config.guess Updated to latest from gnu.org. 0001-01-01 00:00:00 +00:00
config.sub Updated to latest from gnu.org. 0001-01-01 00:00:00 +00:00
configure Fix popt library checking 0001-01-01 00:00:00 +00:00
configure.developer Change ./configure.developer to stay in effect across a 0001-01-01 00:00:00 +00:00
configure.in Fix popt library checking 0001-01-01 00:00:00 +00:00
configure.nodebug.developer computer too slow to compile with debug info (100mins), but i need all the 0001-01-01 00:00:00 +00:00
install-sh merge from the autoconf2 branch to the main branch 0001-01-01 00:00:00 +00:00
internals.doc The big character set handling changeover! 0001-01-01 00:00:00 +00:00
Makefile.in Fix up the Makefile for now (thanks herb). 0001-01-01 00:00:00 +00:00
parsing.doc Added info about parsing debug messages. 0001-01-01 00:00:00 +00:00
smbadduser JHT ==> Removed linefeed that caused problems. 0001-01-01 00:00:00 +00:00