1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

9271 Commits

Author SHA1 Message Date
Gerald Carter
afc5f1aefb [print notify fixes from APP_HEAD]
* fixing change notify on print server handle
 * adding change notify support into smbcontrol for sending comment
   changes, etc...

All part of CR 1159/1160
(This used to be commit f1062e79de)
2002-11-26 00:46:31 +00:00
Gerald Carter
3ab6fcc5c6 [merge from APP_HEAD]
90% fix for CR 1076.  The password server parameter will no take things
like

        password server = DC1 *

which means to contact DC1 first and the go to auto lookup if it
fails.


jerry
(This used to be commit 016ef8b36b)
2002-11-23 14:52:34 +00:00
Jeremy Allison
f230981e2c Please compile with :
-g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
if you're using gcc. It really does help !
Jeremy.
(This used to be commit 7daa880503)
2002-11-23 02:58:31 +00:00
Jeremy Allison
de474974ea Lots of fixes for error paths where tdb_fetch() data need freeing.
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>.
Jeremy.
(This used to be commit 5d5762d178)
2002-11-23 02:52:36 +00:00
Jeremy Allison
46d5c060c6 jcmd really should run with a higher compiler warning level more often :-).
Jeremy.
(This used to be commit e93bd375b9)
2002-11-23 02:51:28 +00:00
John Terpstra
036451ec63 Added install-everything option.
(This used to be commit 0b342b8e90)
2002-11-22 19:03:28 +00:00
Andrew Bartlett
8213a05d67 Restrict anonymous=2 support merged from HEAD
(This used to be commit 8b156ed0db)
2002-11-22 02:53:42 +00:00
Jim McDonough
5939005588 get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This should fix the build.
(This used to be commit a89187ccc9)
2002-11-21 01:01:58 +00:00
Gerald Carter
8713f45a06 merge get_friendly_nt_err_msg() from app_head
(This used to be commit af21e77384)
2002-11-21 00:12:14 +00:00
Andrew Tridgell
91b7ac9fb9 merged the %U changes to 3.0
(This used to be commit 58fa6bfee8)
2002-11-20 00:53:24 +00:00
Jeremy Allison
faf1f0df4d Very curious. It turns out attribute matching on truncate only matters
when opening truncate with current SYSTEM|HIDDEN -> NONE. It's fine to
truncate on open with current NONE -> SYSTEM | HIDDEN.
Jeremy.
(This used to be commit 3bf21ca936)
2002-11-19 01:46:10 +00:00
Tim Potter
1c5ffbd0ac Merge from appliance:
>Fix memory leak in cli_ds_getprimarydominfo()
(This used to be commit ca689916da)
2002-11-19 01:12:44 +00:00
Tim Potter
09cc065c31 Merge from HEAD:
>Fix typo in docstring.

>Remove non-integer Pointer values, which are no longer supported.
(This used to be commit dcef3ae5ca)
2002-11-19 01:07:24 +00:00
Tim Potter
630a571454 Merge from HEAD:
>Rename unpack_* functions to be consistent
>
>Decode CP850 strings when unpacking
>
>Add variable giving default encoding name
(This used to be commit de26084f0d)
2002-11-19 01:06:10 +00:00
Jeremy Allison
6aa11bf089 Added OPEN test with HIDDEN/NORMAL attributes.
Jeremy.
(This used to be commit fc5774b075)
2002-11-18 23:13:25 +00:00
Tim Potter
e20b99f226 Bug fix from appliance - we must initialise the winbindd server state
before reading smb.conf parameters, not after.
(This used to be commit 7bdaa03f2f)
2002-11-18 22:50:57 +00:00
Tim Potter
6631577f8a Merge from HEAD:
>must add one to the extra_data size to transfer the 0 string terminator.
>This was causing "wbinfo --sequence" to access past the end of malloced
>memory.
(This used to be commit a3c4f013d6)
2002-11-18 22:49:02 +00:00
Jim McDonough
bf909c0c36 Don't pass a function to ADS_ERR_OK().
(This used to be commit dff4c93d85)
2002-11-18 20:45:46 +00:00
Jim McDonough
c73d1fc46e Revert changes to ADS_ERR_OK() as in head. Broke some compilers.
(This used to be commit a3ca6d5a19)
2002-11-18 20:41:41 +00:00
Jim McDonough
3bea5acd2e Next step of printer publishing.
net ads printer publish <printername> [servername]
Will retreive the DsSpooler and DsDriver info by rpc for a remote server
then publish it.

Next comes doing it within smbd
(This used to be commit efeaa8f4f4)
2002-11-18 20:23:05 +00:00
Jim McDonough
e4201bec14 Next step of printer publishing.
net ads printer publish <printername> [servername]
Will retreive the DsSpooler and DsDriver info by rpc for a remote server
then publish it.

Next comes doing it within smbd
(This used to be commit 8f047a4492)
2002-11-18 19:59:58 +00:00
Jelmer Vernooij
ac2ac71168 Merge in modules system from HEAD:
- Detect MySQL and XML libraries
 - Add modules rules to Makefile
 - Move working VFS modules to source/
(This used to be commit fadada3555)
2002-11-18 16:22:04 +00:00
Jeremy Allison
ae94f2eaa5 Samba janitor... Merging tridge's change to 3.0. Original commit
message :

the change in the way %U is handled to use current_user has broken
some basic usages like 'include = smb.conf.%U'

This changes fixes things again, by checking for reload after we setup
current_user in tconx.
(This used to be commit 64b2243ccd)
2002-11-18 06:12:47 +00:00
Andrew Bartlett
f7730e146f Merge from HEAD: Remove assumption that all solaris has -lsendfile
(This used to be commit 6520592453)
2002-11-16 01:08:46 +00:00
Andrew Bartlett
c64d762997 Updates from HEAD:
- const for PACKS() in lanman.c
 - change auth to 'account before password'
 - add help to net rpc {vampire,samsync}
 - configure updates for sun workshop cc
 - become_root() around pdb_ calls in auth_util for guest login.

Andrew Bartlett
(This used to be commit 43e90eb6e3)
2002-11-15 21:43:57 +00:00
Jeremy Allison
392e2b2a0a Fix from "Stefan (metze) Metzmacher" <metze@metzemix.de> for nmbd 1c group
release.
Jeremy.
(This used to be commit 7d9552e9c5)
2002-11-15 18:55:18 +00:00
Gerald Carter
f2e3b68ce6 fix segfault
(This used to be commit 36bcb312e9)
2002-11-15 17:57:25 +00:00
Gerald Carter
0899eed4ab enable enumeration of domain local groups using LDAP (and in a native mode domain)
(This used to be commit ff4b2411d1)
2002-11-15 17:57:21 +00:00
Andrew Bartlett
4b117b8917 Merge from HEAD:
- heimdal updates to configure
 - make DEBUG() const
 - add testsuite for:
   - preexec
   - preexec close
   - valid users
 - fix testsuite for 'invalid users'

Andrew Bartlett
(This used to be commit aa41fb8703)
2002-11-15 14:06:35 +00:00
cvs2svn Import User
ed3d7fd7b5 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 2662e351f2) 2002-11-15 13:53:03 +00:00
Tim Potter
6c0dafc0c0 A cool idea from mbp: create a big shared library of all Samba objects
which we can use to link against Samba unit test programs.  Now we can
compile and link unit tests without having to create 4MB executables
for each program

It's called libbigballofmud.so both to discourage casual usage and
also to reflect what the dependencies within Samba have become.
(This used to be commit a59f731256)
2002-11-15 00:33:55 +00:00
Tim Potter
e0d81b7728 A cool idea from mbp: create a big shared library of all Samba objects
which we can use to link against Samba unit test programs.  Now we can
compile and link unit tests without having to create 4MB executables
for each program

It's called libbigballofmud.so both to discourage casual usage and
also to reflect what the dependencies within Samba have become.
(This used to be commit fdce4be719)
2002-11-15 00:20:55 +00:00
Jelmer Vernooij
7c64e03d9d Remove #ifdef's for NISPLUS_SAM - there are no function name collisions anymore
(This used to be commit 32c93921b0)
2002-11-14 18:21:22 +00:00
Jelmer Vernooij
a7e4392687 Remove the #ifdef's for NISPLUS_SAM - there are no function name collisions anymore
(This used to be commit f6ef18df11)
2002-11-14 18:16:17 +00:00
Tim Potter
1237ae89c6 Quieten status message when linking libsmbclient.so
(This used to be commit 85946731dd)
2002-11-14 00:53:40 +00:00
Jelmer Vernooij
7cfe3919f3 small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't exist (e.g. in SuSE 8.1) (by Metze)
(This used to be commit da8794afe8)
2002-11-13 21:54:31 +00:00
Jelmer Vernooij
2aaf85730a small patch to makesure we fallback to <xfs/xqm.h> if <linux/xqm.h> doesn't exist (e.g. in SuSE 8.1) (by metze)
(This used to be commit 5f16343e0d)
2002-11-13 21:51:08 +00:00
Jeremy Allison
321f78b1b9 Fix smbwrapper from global* changes.
Jeremy.
(This used to be commit fcbf865162)
2002-11-13 21:47:59 +00:00
Jeremy Allison
38c6b90bf8 Fix smbwrapper from the global_* changes.
Jeremy.
(This used to be commit 6ab12ca80d)
2002-11-13 21:47:21 +00:00
Jelmer Vernooij
89d6a36b85 Add installmodules and uninstallmodules targets
(This used to be commit c656e7dce9)
2002-11-13 20:40:31 +00:00
Jelmer Vernooij
97bec3fc3e Remove obsolete scripts and put in module install/uninstall
(This used to be commit d777bba508)
2002-11-13 20:38:56 +00:00
Jelmer Vernooij
3653187a05 Add debug2html and *.so
(This used to be commit 2134e3b897)
2002-11-13 19:27:33 +00:00
Jelmer Vernooij
3dc6b9e5f0 Move 'weird' character set into new 'developer' module
(This used to be commit afbff33eba)
2002-11-13 19:07:34 +00:00
Jelmer Vernooij
ba7056a842 Load modules in lp_modules() after fork()
(This used to be commit 77afa4f167)
2002-11-13 19:04:17 +00:00
Jelmer Vernooij
994b3dbba2 add lp_modules()
(This used to be commit 344d8e521f)
2002-11-13 14:51:50 +00:00
Jelmer Vernooij
aff957e7f7 Don't crash when there are no arguments specified
(This used to be commit 0855e5810a)
2002-11-13 14:45:11 +00:00
Jelmer Vernooij
5988d5e92a Add a DEBUG() that gives the number of successfully loaded modules - useful for debugging
(This used to be commit 612ea35ab0)
2002-11-13 13:47:12 +00:00
Jelmer Vernooij
1a03a47249 Only add modules/pdb_xml.so and modules/pdb_mysql.so to the 'modules' target if
the libs they depend on are available
(This used to be commit 018a44055d)
2002-11-13 13:33:02 +00:00
Jelmer Vernooij
34cd7f1840 Don't build Makefile.in in examples/VFS/
(This used to be commit 98cb778cb7)
2002-11-13 13:23:02 +00:00
Jelmer Vernooij
828df6be66 Add make target 'modules' that currently builds vfs_audit, vfs_recycle and vfs_netatalk
(This used to be commit 4c05cbbe74)
2002-11-13 13:19:24 +00:00