1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-28 09:49:30 +03:00
Commit Graph

174 Commits

Author SHA1 Message Date
27e8f16188 Merge from 3.0:
>cosmetic fix when DESTDIR=/ (default)

>fixed for /sbin/mount.smbfs link when using $DESTDIR; bug 525
-
cf6ac7995a cosmetic fix when DESTDIR=/ (default) -
66074d3b09 split some security related functions in their own files.
(no need to include all of smbd files to use some basic sec functions)

also minor compile fixes
-
c6a61ffcbd * sync more files from 3.0
* set version string to "CVS 3.1.0alpha1"
-
1a9145015d removing unused files -
c17a7dc9a1 sync 3.0 into HEAD for the last time -
99feae7b5b ading new files from 3.0 -
adb98e7b7c trying to get HEAD building again. If you want the code
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE
-
421940d4e9 Merge: ignore autogenerated file. -
000fe6b2f0 remove convert_smbpasswd and addtosmbpass from tree; people can get them from 2.2. if they still need them -
dc95726cbe Add PAC_DATA as valid return type for make proto. -
4c6d461a85 Some progress towards gums and tdbsam2
genparser works fine, and it is a marvelous tool to store objects in tdb :)
-
7c00fff475 We now use <anchor/> instead of just <anchor> (strict XML syntax) -
1585385729 autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
findsmb - use @PERL@
-
c32c1bccc2 Fix to findsmb by Waider -
9ac196dad4 small merges from SAMBA_3_0; mostly typos, renames, etc... -
d0bebea521 Patch from ab, to make findsmb omit -r most of the time.
(original mail follows)
--
From:	Alexander Bokovoy <a.bokovoy@sam-solutions.net>
Greetings!

I propose to make an optional argument '-r' for findsmb utility to pass
'-r' option to nmblookup optionally and default to omit it. The reason is
to have findsmb working more user-friendly in contemporary office
environments where Windows 95/98 boxes are rare and also to allow usage of
the utility under non-priviledged accounts when Windows95/98 boxes are in
minority or even absent in network neighbourhood.

An attached patch provides this change for HEAD together with
documentation changes.

--
/ Alexander Bokovoy
-
cfe2d01b7d add and escape before $( in regex string so it is not interpreted as the
perl variable for "real gid of this process"
-
4029dae906 forgont genstruct.pl is needed to build new include files for genparse
sorry
-
52fdb787d4 fix broken incremental tar - merge from 2.2
found by "Jacob Anawalt" <anawaltaj@hotmail.com>
-
6dfa460986 make vfs recycle use vfs facilities correctly!
WARNING: every vfs module maintainer should look at these changes to understand how to properly write a vfs module in head!!

also make installmodules work correctly when the directory structure is not yet in place.

Simo.
-
d777bba508 Remove obsolete scripts and put in module install/uninstall -
82b8f749a3 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.
-
65c4a1060b Be less verbose -
bf5a84efb3 Update find_missing_doc.pl:
- Report references in smb.conf that point to non-existent entries
 - Report entries that are not referenced in the list
 - Report entries that are documented, but don't exist in loadparm.c
 - Report entries that are in loadparm.c, but are not documented
-
3f78923a6f An example of a group creation command that can handle failures
of groupadd.

Volker
-
f9018f4560 Don't report missing "-valid" -
77152b4033 Add script to find undocumented smb.conf options -
8812223e2a simple perl script for retreiving cvs log messages for a file
after a given date.  I use it to help update the WHATSNEW.txt for a
release.

	./cvslog.pl SAMBA_2_2 '>2002-06-18' configure.in

The output is a little messy right now, but I plan to clean that up.
-
9ffca4824c Merge from APPLIANCE_HEAD:
>When creating an automatically generated prototype make sure the
>destination directory exists.
-
935996e1c7 fixed man install
samba-patches 961
-
2a30c243ec done! printer_info_2, devicemode, sec_desc, & printer data all enumerate
and display correctly in regedit.exe.

Not sure about REG_SZ values in PrinterDriverData.  If we store these
in UNICODE, I'll have to fix up a few things.

REG_BINARY & REG_DWORD are fine.
-
e62ae94823 another intermediate checkin on the way to enumerating forms
via the registry.  There is a seg fault here which shouldn't
bother anyone until I can get it fixed.  I just need
a check point in case I need to roll back to this version later on.
-
a43d9788fa virtual registry framework with initial printing hooks. -
91ad9041e9 used findstatic.pl to make some variables static and remove some dead
code
-
2947b7624f much better findstatic script -
7c035d473c a useful script for finding global variables or functions that could
be static

very very slow ... I leave it as an exercise for the reader to make
this O(n) instead of O(n^2)
-
c28668068b A few things in this commit:
cleanup some of the code in net_rpc_join re const warnings and
fstrings.

Passdb:

Make the %u and %U substituions in passdb work.
This is done by declaring these paramters to be 'const' and doing
the substitution manually.  I'm told this is us going full circle,
but I can't really see a better way.

Finally these things actually seem to work properly...

Make the lanman code use the pdb's recorded values for homedir etc
rather than the values from lp_*()

Add code to set the plaintext password in the passdb, where it can
decide how to store/set it.  For use with a future 'ldap password
change' option, or somthing like that...

Add pdb_unix, so as to remove the 'not in passdb' special cases from the
local_lookup_*() code.  Quite small, as it uses the new 'struct passwd ->
SAM_ACCOUNT' code that is now in just one place.  (also used by pdb_smbpasswd)

Other:
Fix up the adding of [homes] at session setup time to actually pass
the right string, that is the unix homedir, not the UNC path.

Fix up [homes] so that for winbind users is picks the correct name.
(bad interactions with the default domain code previously)

Change the rpc_server/srv_lsa_nt.c code to match NT when for the
SATUS_NONE_MAPPED reply:  This was only being triggered on
no queries, now it is on the 'no mappings' (ie all mappings failed).
Checked against Win2k.

Policy Question:  Should SID -> unix_user.234/unix_group.364 be
considered a mapping or not?  Currently it isn't.

Andrew Bartlett
-
5b682b2e04 Added findsmb to .cvsignore list. -
7382c3013d merge from SAMBA_2_2 -
cc241cb240 merge from SAMBA_2_2 -
9b2777d3bc Added another return type. -
5bf5bffdd5 Use headername when closing off include file guards. -
4af0c7a93f make install should also install the default dat files from codepages
directory so we don't keep getting these stupid error messages about
incorrect size for valid.dat upcase.dat and lowcase.dat
-
c7a883df28 Move the directory creation process outside the 'installbin.sh' script, and
into its own.  The 'installdirs' makefile entry didn't do anything on my laptop,
so it has been replaced with the section from installbin.sh.

This also fixes the bug that we ignored the setting of $(PRIVATEDIR) when
making the directories.

Finally, link pam_winbind with .po objects only, not a mix of .o and .po
(as per Don Mccall's request).

Andrew Bartlett
-
6d33b30929 we definately don't want RCS $id tags in Samba. They make merging much
harder.
-
d082d3a9fc Add ADS_MODLIST to allowed types -
e72c6fb36e support double functions -
8ef13cabdd This is the current patch from Luke Leighton <lckl@samba-tng.org> to add a
degree of seperation betwen reading/writing the raw NamedPipe SMB packets
and the matching operations inside smbd's RPC components.

This patch is designed for no change in behaviour, and my tests hold that to be
true.  This patch does however allow for the future loadable modules interface
to specify function pointers in replacement of the fixed state.

The pipes_struct has been split into two peices, with smb_np_struct taking the
information that should be generic to where the data ends up.

Some other minor changes are made: we get another small helper function in
util_sock.c and some of the original code has better failure debugs and
variable use. (As per on-list comments).

Andrew Bartlett
-
05a90a2884 much better ADS error handling system -