1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

1383 Commits

Author SHA1 Message Date
Gerald Carter
8bfe26b62d metze's autogenerate patch for version.h
(This used to be commit ae452e51b02672a56adf18aa7a7e365eeaba9272)
2003-08-20 17:13:38 +00:00
Gerald Carter
caa5b47390 missing backtic
(This used to be commit bf271aadcfa77f13754202b8ca04e473be819dde)
2003-08-19 22:59:45 +00:00
Alexander Bokovoy
ec8b32df56 Ignore modules/*.c in make proto
(This used to be commit eaf883abc0a35dc648fca497248281ac68246341)
2003-08-19 21:52:33 +00:00
Jelmer Vernooij
fd4c40a00d Create symlinks for modules that register multiple functions (fixes bug #91 )
(This used to be commit 3000a99b2dc4fbffe4f20b92b22b9658d6620b65)
2003-08-13 04:11:50 +00:00
Gerald Carter
6810e37aee removing outdated scripts
(This used to be commit b47b6f5825753b4ad130cdd372dbd023f78d3fd9)
2003-07-16 04:53:57 +00:00
Gerald Carter
eb2b683022 fix cache coherency bug in print handle print_info_2 cache.
Needs to be rewritten to use a reference counter, but this
will work for now.

also the memory allocation in the printing code needs to be cleaned
up to use talloc exclusively.
(This used to be commit 3d293027563b36411b7f84ed9d8f47f926271c6f)
2003-07-14 19:51:34 +00:00
Jelmer Vernooij
46d115148c Move find_missing_doc.pl to the docs system
(This used to be commit 087e9af450109d749bfcc3016494d920b6028bf1)
2003-07-09 18:51:18 +00:00
Jelmer Vernooij
dd663f3f6f Update for docbook XML
(This used to be commit a61804b5ebc48ac9b9eb5f9b82d47fb4cf78f944)
2003-07-09 18:31:03 +00:00
Gerald Carter
16ff7b26f6 Large set of changes to add UNIX account/group management
to winbindd.  See README.idmap-and-winbind-changes for details.
(This used to be commit 1111bc7b0c7165e1cdf8d90eb49f4c368d2eded6)
2003-07-09 16:44:47 +00:00
Jelmer Vernooij
2e31bdaeb1 Add smb_event_id to list of return types (patch from metze)
(This used to be commit 95c4c801fe80a4d8fce366e63b7f92cbf24930e5)
2003-07-04 21:24:31 +00:00
Gerald Carter
93bcb9963b merge of the netsamlogon caching code from APPLIANCE_HEAD
This replaces the universal group caching code (was originally
based on that code).  Only applies to the the RPC code.

One comment: domain local groups don't show up in 'getent group'
that's easy to fix.

Code has been tested against 2k domain but doesn't change anything
with respect to NT4 domains.

netsamlogon caching works pretty much like the universal group
caching code did but has had much more testing and puts winbind
mostly back in sync between branches.
(This used to be commit aac01dc7bc95c20ee21c93f3581e2375d9a894e1)
2003-06-21 04:05:01 +00:00
Tim Potter
4e8052640e More fixes for builddir != srcdir.
- Use absolute directories for $builddir and $srcdir in the Makefile

 - Don't try and combine source files in $builddir and $srcdir to build
   proto.h.  It's just too hard to get it right across all targets we
   wish to compile on.  Use a hand created prototype for the single
   function in smbd/build_options.c that we need.  This allows us to ditch
   all the extra sed work that was causing problems: \t not portable - hah!

 - Fix bogus delheaders target to remove the correct files

This appears to work quite nicely now.  Let's see how it goes on the
buildfarm machines.
(This used to be commit 456184463d35c18840c39cb3483b7136247ea764)
2003-05-27 02:35:53 +00:00
Tim Potter
53e8a1cf6d Ignore autogenerated file.
(This used to be commit de8180a28024a312c4d5bb97e274122d631580c2)
2003-05-26 07:02:02 +00:00
Tim Potter
1f84a14b0b Bug 83: fixes for building when $srcdir != $builddir from David Lee
<t.d.lee@durham.ac.uk>
(This used to be commit e48a8b5e9c1a75c6e4bffe022d0e25edae89bc58)
2003-05-23 01:59:43 +00:00
Andrew Bartlett
df31340b5d Fix for format string warning from vance
(This used to be commit 0369d4432b9700626b6853dae8c93770bb1bcd59)
2003-04-29 03:04:05 +00:00
Andrew Bartlett
53004910eb Patch by Vance Lankhaar <vlankhaar@linux.ca> to automaticly regenerate the
build options, so we will always have the right values for how and when
an smbd was built.

In particular, this is indended to address bitrot caused by configure.in
changes.

Andrew Bartlett
(This used to be commit 2be258071c71986ba9af01e9a09ec49909a620dd)
2003-04-23 14:19:03 +00:00
Jelmer Vernooij
858137d0dd - Fix modules build of pdb_mysql and pdb_xml
- Fix typo in script/installswat.sh
(This used to be commit 8d2aec7a73d41a9d32c10abd1c8833ebfd41dd77)
2003-04-21 01:04:17 +00:00
Jelmer Vernooij
fbc62e3bfc Use XML format instead of SGML format (merge from HEAD)
(This used to be commit 858017b16f8e6f1efd8e7df5c0e2c7fd08091ae3)
2003-04-15 17:04:10 +00:00
Tim Potter
7a3a921748 Merge: add PAC_DATA as valid return type.
(This used to be commit a9df8ec5879cd0d47db86f5a5f7b0bd7e9d6b824)
2003-04-14 05:27:04 +00:00
Gerald Carter
89393d93b0 autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
findsmb - use @PERL@
(This used to be commit f869db787b555dc99e30d82493666c8a388f8f81)
2003-02-10 17:31:25 +00:00
Andrew Bartlett
6789cc3de6 Merge from HEAD - fix to findsmb by Waider
(This used to be commit 28258224ded31e9a0a4304170ce98534ddfa0dfa)
2003-01-29 13:14:18 +00:00
Gerald Carter
99cdb46208 *lots of small merges form HEAD
*sync up configure.in
*don't build torture tools in make all
*make sure to remove torture tools as part of make clean
(This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
2003-01-15 18:57:41 +00:00
Gerald Carter
e4819ee88b more unused files
(This used to be commit d223ea87ae202574714da5c4eadbe281f8699a80)
2003-01-15 16:32:06 +00:00
Gerald Carter
c9fce34d00 remving more unused files
(This used to be commit e3f9b68deecb61274ead2086a0ed977d5318b09c)
2003-01-15 16:29:38 +00:00
Herb Lewis
1cee6e571e fix broken incremental tar - merge from 2.2
found by "Jacob Anawalt" <anawaltaj@hotmail.com>
(This used to be commit cfef980566f195c060c0d2fa22983427e8d6570c)
2002-12-10 21:56:21 +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
Gerald Carter
72948b91a0 * fixing RedHat spec file for 3.0
* updating Makefile & configure script to use CONFIGDIR & VFSLIBDIR
* set LIBDIR to ${prefix}/lib/samba when --with-fhs is enabled
* make installdirs take an arbitrary number of arguements
(This used to be commit f0d09cf676bc335e8fde9fe730730f2949411a54)
2002-11-26 23:18:35 +00:00
cvs2svn Import User
ed3d7fd7b5 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 2662e351f2f8802a3bf13df3e7e3f0c1497fdb1c) 2002-11-15 13:53:03 +00:00
Jelmer Vernooij
97bec3fc3e Remove obsolete scripts and put in module install/uninstall
(This used to be commit d777bba5082ebdf78d314b0d7b4196a4d6413e1f)
2002-11-13 20:38:56 +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
Jelmer Vernooij
66d95b8f45 Sync with HEAD
(This used to be commit a3d9fd65eb64ecd575fd07d0279c139093417c96)
2002-10-28 19:37:02 +00:00
Jelmer Vernooij
5b29a8f6ef Be less verbose
(This used to be commit 65c4a1060b57b1fa18f125d7ef92eb2cec0e1edf)
2002-10-02 18:38:04 +00:00
Jelmer Vernooij
f15c47d24d 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
(This used to be commit bf5a84efb36410bc07e7de91f4a926a60083bb7a)
2002-10-02 18:36:38 +00:00
Volker Lendecke
dc262e3f39 An example of a group creation command that can handle failures
of groupadd.

Volker
(This used to be commit 3f78923a6feefffae6203d27a765b2a8cf3c5c24)
2002-09-27 09:47:02 +00:00
Jelmer Vernooij
1ceb135b6c Don't report missing "-valid"
(This used to be commit f9018f4560c205033d25e6294534be4b7a79f6c1)
2002-08-20 17:57:07 +00:00
Jelmer Vernooij
4c8b313a23 Add script to find undocumented smb.conf options
(This used to be commit 77152b4033f13abcdb86c7835f3112fa422a420d)
2002-08-19 14:55:06 +00:00
Gerald Carter
ea27af285a 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.
(This used to be commit 8812223e2a37b0d0f143fcc74c6ba85ac8081ffb)
2002-07-29 16:22:37 +00:00
Tim Potter
c74a8d72f9 Merge from APPLIANCE_HEAD:
>When creating an automatically generated prototype make sure the
>destination directory exists.
(This used to be commit 9ffca4824c9fa76ab288f59b4b57a3cdc99a93b8)
2002-07-29 03:26:31 +00:00
Andrew Tridgell
03e9a50305 fixed man install
samba-patches 961
(This used to be commit 935996e1c7e742da5961e0eaaf4b3cf5a40b9547)
2002-07-28 05:57:23 +00:00
Gerald Carter
a12ed7f506 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.
(This used to be commit 2a30c243ec28734bbc721dfc01b743faa6f73788)
2002-07-24 08:58:03 +00:00
Gerald Carter
6dd9f24d05 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.
(This used to be commit e62ae94823461e142978a786b2860ea97906cfb3)
2002-07-20 13:23:57 +00:00
Gerald Carter
06ae9ac5d9 virtual registry framework with initial printing hooks.
(This used to be commit a43d9788fa8823d678ee72470421b980165ec2b0)
2002-07-18 23:00:24 +00:00
Andrew Tridgell
9930b0b065 used findstatic.pl to make some variables static and remove some dead
code
(This used to be commit 91ad9041e9507d36eb3f40c23c5d4df61f139ef0)
2002-07-01 09:12:41 +00:00
Andrew Tridgell
fe082a8ff5 much better findstatic script
(This used to be commit 2947b7624f921032bcd2cc5507747b2f7ef190de)
2002-06-24 06:27:30 +00:00
Andrew Tridgell
2154ebce84 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)
(This used to be commit 7c035d473c7175163ad5db0373ed2fe6c739b968)
2002-06-13 07:06:19 +00:00
Andrew Bartlett
58e1fe62cc 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
(This used to be commit c28668068b5a3b3cf3c4317e5fb32ec9957f3e34)
2002-05-18 05:52:52 +00:00
Tim Potter
0502d0ad6b Added findsmb to .cvsignore list.
(This used to be commit 5b682b2e04d054a2843269373abddc764c4c0cdd)
2002-05-10 03:17:44 +00:00
Gerald Carter
3de73897e7 merge from SAMBA_2_2
(This used to be commit 7382c3013d7b630ba7229a1d12104b8f7edfd9ca)
2002-05-09 13:52:06 +00:00
Gerald Carter
dd83af65d7 merge from SAMBA_2_2
(This used to be commit cc241cb240db6956baf3d5c6b6d01a0a165a6ef5)
2002-05-09 04:12:15 +00:00