1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/source/passdb
Andrew Bartlett c95f5aeb93 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
0001-01-01 00:00:00 +00:00
..
ldap.c This commit is number 4 of 4. 0001-01-01 00:00:00 +00:00
machine_sid.c Use lp_private_dir() not magic on the lp_smb_passwd_file() output. 0001-01-01 00:00:00 +00:00
nispass.c This commit is number 4 of 4. 0001-01-01 00:00:00 +00:00
pampass.c This commit is number 4 of 4. 0001-01-01 00:00:00 +00:00
pass_check.c Merge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD. 0001-01-01 00:00:00 +00:00
passdb.c This commit is number 4 of 4. 0001-01-01 00:00:00 +00:00
passgrp.c Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header. 0001-01-01 00:00:00 +00:00
pdb_ldap.c This commit is number 4 of 4. 0001-01-01 00:00:00 +00:00
pdb_nisplus.c This commit is number 4 of 4. 0001-01-01 00:00:00 +00:00
pdb_smbpasswd.c This commit is number 4 of 4. 0001-01-01 00:00:00 +00:00
pdb_tdb.c This commit is number 4 of 4. 0001-01-01 00:00:00 +00:00
secrets.c move to SAFE_FREE() 0001-01-01 00:00:00 +00:00
smbpasschange.c Large commit which restructures the local password storage API. 0001-01-01 00:00:00 +00:00
smbpassgroup.c This commit is number 3 of 4. 0001-01-01 00:00:00 +00:00