samba.git
22 years agoDon't force winbind to use non-local DC's.
Volker Lendecke [Mon, 29 Oct 2001 15:00:45 +0000 (15:00 +0000)]
Don't force winbind to use non-local DC's.

Volker

22 years agoclear errno before a call, tdbsam will not update it.
Simo Sorce [Mon, 29 Oct 2001 13:31:01 +0000 (13:31 +0000)]
clear errno before a call, tdbsam will not update it.
just a hack to make things work.

22 years agoanother few changes to the new mangle code
Simo Sorce [Mon, 29 Oct 2001 13:21:29 +0000 (13:21 +0000)]
another few changes to the new mangle code

22 years agochange some more functions to the new mangle interface.
Simo Sorce [Mon, 29 Oct 2001 13:19:22 +0000 (13:19 +0000)]
change some more functions to the new mangle interface.

22 years ago- fix string len for an ucs2_to_dos function as any ucs2 char may be up to 4 dos...
Simo Sorce [Mon, 29 Oct 2001 11:37:42 +0000 (11:37 +0000)]
- fix string len for an ucs2_to_dos function as any ucs2 char may be up to 4 dos hars...
- addedd ascii compatibility functions

22 years agoMore spelling and grammer from Vance. <vance@digital-host.net>
Andrew Bartlett [Mon, 29 Oct 2001 08:26:45 +0000 (08:26 +0000)]
More spelling and grammer from Vance. <vance@digital-host.net>

Thanks!

Andrew Bartlett

22 years agoThis patch applied, except without the structure changes to nmblib.c
Andrew Bartlett [Mon, 29 Oct 2001 08:12:44 +0000 (08:12 +0000)]
This patch applied, except without the structure changes to nmblib.c

Andrew Bartlett.

From kai@cmail.ru Mon Oct 29 18:50:42 2001
Date: Fri, 19 Oct 2001 17:26:06 +0300
From: Andrew V. Samoilov <kai@cmail.ru>
To: samba-technical@lists.samba.org
Subject: [patch]: makes some arrays const to be shared between processes

Hi!

This patch makes some arrays const. So these arrays go to text/rodata
segment and are shared between all of the processes which use shared
library with these arrays.

Regards,
Andrew V. Samoilov.

P.S. Please cc your answer to kai@cmail.ru,
I don't subscribed to this list.

ChangeLog:
* cliconnect.c (prots): Make const.
* clierror.c (rap_errmap): Likewise.
* nmblib.c (nmb_header_opcode_names): Likewise.
(lookup_opcode_name): Make opcode_namep const. Eliminate i.
* nterr.c (nt_err_code_struct): Typedef const.
* smberr.c (err_code_struct): Make const.
(err_classes): Likewise.

22 years agoThis commit is number 4 of 4.
Andrew Bartlett [Mon, 29 Oct 2001 07:35:11 +0000 (07:35 +0000)]
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

22 years agoThis commit is number 3 of 4.
Andrew Bartlett [Mon, 29 Oct 2001 07:28:32 +0000 (07:28 +0000)]
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

22 years agoThis commit is number 2 of 4.
Andrew Bartlett [Mon, 29 Oct 2001 07:24:49 +0000 (07:24 +0000)]
This commit is number 2 of 4.

In particular this commit focuses on:

The guts of the moving about inside passdb.

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

----

These changes allow for the introduction of  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

passdb/

- Kill off disp_info stuff, it isn't used any more - Kill off
support for writing to the old smbpasswd format, it isn't relevent
to Samba 3.0

- Move around and modify the pdb_...() helper functions, adding
one that sets the last changed  time to 'now' and that sets the
must change time appropriately.

- Remove the ugly forced update of the LCT- value in
pdb_smbpasswd.  - Remove the implicit modification of the ACB
flags when both NT and LM passwords are set.

- Removed substation in pdb_getsampwnam output, as a single
password change will render them  inoperable in any case (they
will be substituted and stored)

- Added a default RID to the init_sam_from_pw() function, based on
our rid algorithm.

- Added checks that an smbpasswd stored user has a uid-based RID.

- Fail to store tdb based users without a RID

lib/
    - Change the substituion code to use global_myname if there is
      no connection (and therefore no called name) at the present time.

22 years agoThis commit is number 1 of 4.
Andrew Bartlett [Mon, 29 Oct 2001 07:15:51 +0000 (07:15 +0000)]
This commit is number 1 of 4.

In particular this commit focusses on:

Adding the new 'pass changed now' helper function.

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

22 years agoConverted a bunch of functions to use sscanf %i instead of atoi to
Tim Potter [Mon, 29 Oct 2001 05:38:02 +0000 (05:38 +0000)]
Converted a bunch of functions to use sscanf %i instead of atoi to
allow hex or decimal rids to be specified.

22 years agoHey where did those 4 character tabs come from?
Tim Potter [Mon, 29 Oct 2001 04:57:20 +0000 (04:57 +0000)]
Hey where did those 4 character tabs come from?

22 years agoDon't reference tallocated memory that has already been disposed of. The
Tim Potter [Mon, 29 Oct 2001 04:50:17 +0000 (04:50 +0000)]
Don't reference tallocated memory that has already been disposed of.  The
cli_samr_query_userinfo function used to do this.

22 years agoFixed confusing debug message - it was always printing uid 0 instead of the
Tim Potter [Mon, 29 Oct 2001 03:46:09 +0000 (03:46 +0000)]
Fixed confusing debug message - it was always printing uid 0 instead of the
correct uid.

22 years agofix a logic bug on max size of a returned string,
Simo Sorce [Sun, 28 Oct 2001 19:19:57 +0000 (19:19 +0000)]
fix a logic bug on max size of a returned string,
this fixes also the bug with file renaming.

22 years agoadded de.msg from Andreas Moroder
Motonobu Takahashi [Sun, 28 Oct 2001 12:16:00 +0000 (12:16 +0000)]
added de.msg from Andreas Moroder

22 years agoFix up the Makefile for now (thanks herb).
Andrew Bartlett [Sat, 27 Oct 2001 12:59:46 +0000 (12:59 +0000)]
Fix up the Makefile for now (thanks herb).

I understand that Vance is reworking the build_options stuff, so maybe we can
have better way of regenerating this in future.

Andrew Bartlett

22 years agosmbd/notify_hash.c: Merged Herb's fix.
Jeremy Allison [Sat, 27 Oct 2001 07:17:21 +0000 (07:17 +0000)]
smbd/notify_hash.c: Merged Herb's fix.
lib/debug.c: Fix for potential null pointer access.
Jeremy.

22 years agoRaise simultaneous open pipes from 64 to 1024 for large print server
Jeremy Allison [Sat, 27 Oct 2001 07:16:48 +0000 (07:16 +0000)]
Raise simultaneous open pipes from 64 to 1024 for large print server
environments.
Jeremy.

22 years agoAdded some connection checking code. Doesn't work yet though.
Tim Potter [Sat, 27 Oct 2001 04:48:22 +0000 (04:48 +0000)]
Added some connection checking code.  Doesn't work yet though.

22 years agoA few spelling fixes from Vance. <vance@digital-host.net>
Andrew Bartlett [Fri, 26 Oct 2001 23:54:25 +0000 (23:54 +0000)]
A few spelling fixes from Vance.  <vance@digital-host.net>

Thanks!

22 years agosamba-bugs@samba.org -> samba@samba.org
Andrew Bartlett [Fri, 26 Oct 2001 23:12:32 +0000 (23:12 +0000)]
samba-bugs@samba.org -> samba@samba.org

The rest of this is still broken however...

22 years agoRestore the intended behaviour for .headers.stamp
Andrew Bartlett [Fri, 26 Oct 2001 23:03:33 +0000 (23:03 +0000)]
Restore the intended behaviour for .headers.stamp

We don't want a 'make headers' (aka make proto) to force a rebuild
of the entire tree.

Andrew Bartlett

22 years agoFixed compile warning.
Tim Potter [Fri, 26 Oct 2001 22:58:32 +0000 (22:58 +0000)]
Fixed compile warning.

22 years agoAdded || -> && fix from "Orwig, Paul" <PORWIG@PacificLife.com>.
Jeremy Allison [Wed, 24 Oct 2001 23:52:29 +0000 (23:52 +0000)]
Added || -> && fix from "Orwig, Paul" <PORWIG@PacificLife.com>.
Jeremy.

22 years agoRemove xstrdup since it was added to lib/util.c. Caused compile failure
Jim McDonough [Wed, 24 Oct 2001 17:58:03 +0000 (17:58 +0000)]
Remove xstrdup since it was added to lib/util.c.  Caused compile failure

22 years agoUpdated copyright notice.
Tim Potter [Wed, 24 Oct 2001 00:55:26 +0000 (00:55 +0000)]
Updated copyright notice.

22 years agoRenamed global_vfs_ops to default_vfs_ops and made static.
Tim Potter [Wed, 24 Oct 2001 00:45:41 +0000 (00:45 +0000)]
Renamed global_vfs_ops to default_vfs_ops and made static.

Make a copy of the default ops structure rather than following a pointer.

This fixes the audit VFS example module!

22 years agoRemoved unused function.
Tim Potter [Wed, 24 Oct 2001 00:36:49 +0000 (00:36 +0000)]
Removed unused function.

22 years agoMade default vfs ops static so we can use this symbol in actual modules.
Tim Potter [Wed, 24 Oct 2001 00:35:55 +0000 (00:35 +0000)]
Made default vfs ops static so we can use this symbol in actual modules.

22 years agoDon't get stuck in an infinite loop in vfs_connect.
Tim Potter [Tue, 23 Oct 2001 22:13:25 +0000 (22:13 +0000)]
Don't get stuck in an infinite loop in vfs_connect.

22 years agomore compiler warnings
Herb Lewis [Tue, 23 Oct 2001 20:39:38 +0000 (20:39 +0000)]
more compiler warnings

22 years ago.headers.stamp not getting touched if file already existed.
Herb Lewis [Tue, 23 Oct 2001 20:32:24 +0000 (20:32 +0000)]
.headers.stamp not getting touched if file already existed.

Not sure what the original intent was with the [ -f $@ ] test but this
prevented the touch from happening. Could whoever originally added this
target check this out?

22 years agoget rid of compiler warnings (casts and delete unused variables)
Herb Lewis [Tue, 23 Oct 2001 19:10:30 +0000 (19:10 +0000)]
get rid of compiler warnings (casts and delete unused variables)

22 years agoIRIX compiler dies not like casts in macro args
Herb Lewis [Tue, 23 Oct 2001 18:15:18 +0000 (18:15 +0000)]
IRIX compiler dies not like casts in macro args

22 years agoRemove setbuffer which caused build errors
Jim McDonough [Tue, 23 Oct 2001 17:49:28 +0000 (17:49 +0000)]
Remove setbuffer which caused build errors

22 years agoget rid of compiler warnings
Herb Lewis [Tue, 23 Oct 2001 17:39:03 +0000 (17:39 +0000)]
get rid of compiler warnings

22 years agoFix popt library checking
Jim McDonough [Tue, 23 Oct 2001 17:12:30 +0000 (17:12 +0000)]
Fix popt library checking

22 years agoReplace getopt_long with popt for parsing commandline options
Jim McDonough [Tue, 23 Oct 2001 14:16:59 +0000 (14:16 +0000)]
Replace getopt_long with popt for parsing commandline options

22 years agoAdd popt for parsing commandline options
Jim McDonough [Tue, 23 Oct 2001 14:16:22 +0000 (14:16 +0000)]
Add popt for parsing commandline options

22 years agoops, some testing code in compat function let only mangled name come back.
Simo Sorce [Mon, 22 Oct 2001 23:25:11 +0000 (23:25 +0000)]
ops, some testing code in compat function let only mangled name come back.

22 years agoserver support for RAP session list function
Jim McDonough [Mon, 22 Oct 2001 18:14:42 +0000 (18:14 +0000)]
server support for RAP session list function

22 years agolets try the new mangling code
Simo Sorce [Mon, 22 Oct 2001 06:53:28 +0000 (06:53 +0000)]
lets try the new mangling code
all the calls go through a compatibility interface will
change that soon
a new mangle.tdb file will be set in the lock directory
it contains a static mapping longname<->manglename

22 years agoa quick fix to get rpcclient working again. This just disables
Andrew Tridgell [Mon, 22 Oct 2001 06:48:35 +0000 (06:48 +0000)]
a quick fix to get rpcclient working again. This just disables
NTLMSSP in cli_establish_connection()

What we really need to do is kill off the pwd_cache code. It is horrible,
and assumes the challenge comes in the negprot reply.

22 years agosamr querydispinfo can change level, start index and max entries.
Jean-François Micouleau [Mon, 22 Oct 2001 06:30:18 +0000 (06:30 +0000)]
samr querydispinfo can change level, start index and max entries.
added level 4 decoding.

J.F.

22 years agoallow the samr commands to work back and the help too ;-)
Jean-François Micouleau [Mon, 22 Oct 2001 06:13:38 +0000 (06:13 +0000)]
allow the samr commands to work back and the help too ;-)

J.F.

22 years ago- fixed link order of krb5 libs
Andrew Tridgell [Mon, 22 Oct 2001 05:04:33 +0000 (05:04 +0000)]
- fixed link order of krb5 libs
- accept a wide range of principal names in session setup

22 years agoFix for @ in pathname from Kian Win.
Jeremy Allison [Mon, 22 Oct 2001 02:50:20 +0000 (02:50 +0000)]
Fix for @ in pathname from Kian Win.
Jeremy.

22 years agoRenamed inbuilt xstrdup to smb_xstrdup.
Jeremy Allison [Mon, 22 Oct 2001 02:43:20 +0000 (02:43 +0000)]
Renamed inbuilt xstrdup to smb_xstrdup.
Jeremy.

22 years agoAdded xstrdup, removed static version from smbpasswd.c
Jeremy Allison [Mon, 22 Oct 2001 02:38:45 +0000 (02:38 +0000)]
Added xstrdup, removed static version from smbpasswd.c
Jeremy.

22 years agoAdded xmalloc - calls smb_panic on zero size or malloc fail.
Jeremy Allison [Mon, 22 Oct 2001 02:34:41 +0000 (02:34 +0000)]
Added xmalloc - calls smb_panic on zero size or malloc fail.
Added xmemdup - calls xmalloc.
Made data_blob() call xmemdup.
Defensive programming (I still hate the no error checking... :-).
Jeremy.

22 years agoOk, I know it's a language thing and it shouldn't matter.... but a kerberos
Jeremy Allison [Sun, 21 Oct 2001 20:51:27 +0000 (20:51 +0000)]
Ok, I know it's a language thing and it shouldn't matter.... but a kerberos
name is a "principal", not a principle. English majors will complain :-).
Jeremy.

22 years agoFix for fussy Solaris compiler.
Tim Potter [Sun, 21 Oct 2001 07:01:01 +0000 (07:01 +0000)]
Fix for fussy Solaris compiler.

22 years agopatch for neater output() function from vance
Andrew Tridgell [Sun, 21 Oct 2001 06:04:46 +0000 (06:04 +0000)]
patch for neater output() function from vance

22 years agoFix for compilation on non-krb5 systems
Andrew Bartlett [Sun, 21 Oct 2001 04:08:15 +0000 (04:08 +0000)]
Fix for compilation on non-krb5 systems

22 years agochange smbd to use HOST/hostname principle form until I work out how
Andrew Tridgell [Sun, 21 Oct 2001 03:27:13 +0000 (03:27 +0000)]
change smbd to use HOST/hostname principle form until I work out how
to use the other form in netjoin

smb_wct is a char, not a word

22 years agochange smbd to use HOST/hostname principle form until I work out how
Andrew Tridgell [Sun, 21 Oct 2001 03:26:24 +0000 (03:26 +0000)]
change smbd to use HOST/hostname principle form until I work out how
to use the other form in netjoin

22 years agomade smbclient cope better with arbitrary principle forms
Andrew Tridgell [Sun, 21 Oct 2001 03:25:34 +0000 (03:25 +0000)]
made smbclient cope better with arbitrary principle forms

22 years agosupport both old and new kerberos OIDs
Andrew Tridgell [Sun, 21 Oct 2001 00:11:22 +0000 (00:11 +0000)]
support both old and new kerberos OIDs

22 years agofixed the spnego detection code in session setup
Andrew Tridgell [Sun, 21 Oct 2001 00:10:16 +0000 (00:10 +0000)]
fixed the spnego detection code in session setup
this gets share mode working again

22 years agoConverted a bunch of 0x85 constants to SMBkeepalive.
Tim Potter [Sat, 20 Oct 2001 23:34:40 +0000 (23:34 +0000)]
Converted a bunch of 0x85 constants to SMBkeepalive.

22 years agoMove from timestamp to gen count file id's for finding oplocked files
Jeremy Allison [Sat, 20 Oct 2001 21:59:34 +0000 (21:59 +0000)]
Move from timestamp to gen count file id's for finding oplocked files
in a tdb.
Jeremy.

22 years agoUse asprintf, do bounds check, better rc logic
Jim McDonough [Sat, 20 Oct 2001 21:50:51 +0000 (21:50 +0000)]
Use asprintf, do bounds check, better rc logic

22 years agocrude fix for anonymous session setup with extended security
Andrew Tridgell [Sat, 20 Oct 2001 11:47:44 +0000 (11:47 +0000)]
crude fix for anonymous session setup with extended security
negotiated

22 years agobetter krb5 error handling (thanks andrewb!)
Andrew Tridgell [Sat, 20 Oct 2001 06:50:24 +0000 (06:50 +0000)]
better krb5 error handling (thanks andrewb!)

22 years agofinished auth when we get a valid kerberos ticket
Andrew Tridgell [Sat, 20 Oct 2001 06:31:25 +0000 (06:31 +0000)]
finished auth when we get a valid kerberos ticket

smbd now works with kerberos authentication if you use a MIT KDC and
smbclient. Next step is to make it work with a windows client

22 years agoadd non_root_mode() check
Andrew Tridgell [Sat, 20 Oct 2001 06:29:52 +0000 (06:29 +0000)]
add non_root_mode() check

22 years agoremoved an unused variable
Andrew Tridgell [Sat, 20 Oct 2001 06:28:11 +0000 (06:28 +0000)]
removed an unused variable

22 years agodon't need KRB5_DIR define
Andrew Tridgell [Sat, 20 Oct 2001 06:27:48 +0000 (06:27 +0000)]
don't need KRB5_DIR define

22 years agofixed LDSHFLAGS when using non-standard lib locations
Andrew Tridgell [Sat, 20 Oct 2001 01:23:27 +0000 (01:23 +0000)]
fixed LDSHFLAGS when using non-standard lib locations

22 years agoquick fix for krb5 compilation. I've told vance how to fix this module
Andrew Tridgell [Sat, 20 Oct 2001 00:48:28 +0000 (00:48 +0000)]
quick fix for krb5 compilation. I've told vance how to fix this module
properly and will wait for him to send a patch

22 years agoEnsure we mask off deny modes correctly on being set (this shouldn't have
Jeremy Allison [Fri, 19 Oct 2001 23:56:21 +0000 (23:56 +0000)]
Ensure we mask off deny modes correctly on being set (this shouldn't have
caused problems but is tidier).
Fix debug statement in locking.c
Jeremy.

22 years agoAdded include guards around file.
Jeremy Allison [Fri, 19 Oct 2001 22:01:55 +0000 (22:01 +0000)]
Added include guards around file.
Jeremy

22 years agoAdd RAP net share add support
Jim McDonough [Fri, 19 Oct 2001 19:13:11 +0000 (19:13 +0000)]
Add RAP net share add support

22 years agoprint in a human readable format when the password expired.
Jean-François Micouleau [Fri, 19 Oct 2001 17:30:05 +0000 (17:30 +0000)]
print in a human readable format when the password expired.

J.F.

22 years agoAdd build of net utility
Jim McDonough [Fri, 19 Oct 2001 17:00:11 +0000 (17:00 +0000)]
Add build of net utility

22 years agoAdd command-line remote management utility
Jim McDonough [Fri, 19 Oct 2001 16:51:26 +0000 (16:51 +0000)]
Add command-line remote management utility

22 years agoAdd additional client RAP calls
Jim McDonough [Fri, 19 Oct 2001 16:50:15 +0000 (16:50 +0000)]
Add additional client RAP calls

22 years agoAdd rap.h for net utility and libsmb
Jim McDonough [Fri, 19 Oct 2001 16:46:34 +0000 (16:46 +0000)]
Add rap.h for net utility and libsmb

22 years agoAdd header for common RAP definitions
Jim McDonough [Fri, 19 Oct 2001 16:34:10 +0000 (16:34 +0000)]
Add header for common RAP definitions

22 years agoFixed issues with changenotify only being called once in VC++.
Jeremy Allison [Fri, 19 Oct 2001 09:41:35 +0000 (09:41 +0000)]
Fixed issues with changenotify only being called once in VC++.
Jeremy.

22 years agoTidy up debug in notify code.
Jeremy Allison [Fri, 19 Oct 2001 08:37:32 +0000 (08:37 +0000)]
Tidy up debug in notify code.
Jeremy.

22 years agoFixed some memory leaks introduced by connection handling rewrite, as well
Tim Potter [Fri, 19 Oct 2001 08:22:52 +0000 (08:22 +0000)]
Fixed some memory leaks introduced by connection handling rewrite, as well
as one memory leak that has been there for ages!

Changed the way talloc is used in get{pw,gr}nam routines.

22 years agoConverted some more functions to create and dispose of a talloc context on a
Tim Potter [Fri, 19 Oct 2001 01:46:43 +0000 (01:46 +0000)]
Converted some more functions to create and dispose of a talloc context on a
per-call basis rather than per-connection.

Had a bit more of a reformatting fest.

Still need to run it through insure and handle downed connections.

22 years agoRestored old Bmpx code - actually used by OS/2.
Jeremy Allison [Fri, 19 Oct 2001 00:56:03 +0000 (00:56 +0000)]
Restored old Bmpx code - actually used by OS/2.
Jeremy.

22 years agoclient : Fixed error return.
Jeremy Allison [Fri, 19 Oct 2001 00:02:36 +0000 (00:02 +0000)]
client : Fixed error return.
uid.c: Added missing void.
Jeremy.

22 years agoMerge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD.
Jeremy Allison [Thu, 18 Oct 2001 20:15:12 +0000 (20:15 +0000)]
Merge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD.
Ensure make_conection() can only be called as root.
Jeremy.

22 years agoMerge Gerry's %G change from 2.2.2.
Jeremy Allison [Thu, 18 Oct 2001 18:52:01 +0000 (18:52 +0000)]
Merge Gerry's %G change from 2.2.2.
Jeremy.

22 years agogot rid of start_background_queue()
Andrew Tridgell [Thu, 18 Oct 2001 10:40:36 +0000 (10:40 +0000)]
got rid of start_background_queue()

THIS WAS A DISASTER!

it created hundreds of processes on the build farm machines, which we
can't kill.

22 years agothe beginnings of kerberos support in smbd. It doesn't work yet, but
Andrew Tridgell [Thu, 18 Oct 2001 10:26:06 +0000 (10:26 +0000)]
the beginnings of kerberos support in smbd. It doesn't work yet, but
it should give something for others to hack on and possibly find what
I'm doing wrong.

22 years agoRenamed vfs_init() to smbd_vfs_init() to allow vfs modules to compile.
Tim Potter [Thu, 18 Oct 2001 00:27:20 +0000 (00:27 +0000)]
Renamed vfs_init() to smbd_vfs_init() to allow vfs modules to compile.

22 years agoNow compiles under head branch.
Tim Potter [Thu, 18 Oct 2001 00:21:48 +0000 (00:21 +0000)]
Now compiles under head branch.

Funny, I don't remember using libtool in the original Makefile...

22 years agoremoved some debug code
Andrew Tridgell [Wed, 17 Oct 2001 10:46:46 +0000 (10:46 +0000)]
removed some debug code

22 years agoadded basic NTLMSSP support in smbd. This is still quite rough, and
Andrew Tridgell [Wed, 17 Oct 2001 08:54:19 +0000 (08:54 +0000)]
added basic NTLMSSP support in smbd. This is still quite rough, and
loses things like username mapping. I wanted to get this in then
discuss it a bit to see how we want to split up the existing
session setup code

22 years agoFixed inconsistent definitions of InBuf/OutBuf/last_char.
Jeremy Allison [Wed, 17 Oct 2001 01:38:23 +0000 (01:38 +0000)]
Fixed inconsistent definitions of InBuf/OutBuf/last_char.
Noticed by albert chin (china@thewrittenword.com) .
Jeremy.

22 years agocharset_initialise() doesn't exist anymore.
Tim Potter [Wed, 17 Oct 2001 00:11:02 +0000 (00:11 +0000)]
charset_initialise() doesn't exist anymore.

Why don't we build smbwrapper on a build farm machine to spot this sort of
thing earlier?

22 years agoOptimisation to send only to correct processid.
Jeremy Allison [Tue, 16 Oct 2001 23:52:14 +0000 (23:52 +0000)]
Optimisation to send only to correct processid.
Jeremy

22 years agovery simple asynchronous "lpq" thread patch
Jean-François Micouleau [Tue, 16 Oct 2001 23:16:00 +0000 (23:16 +0000)]
very simple asynchronous "lpq" thread patch

To speed up operations with the lpq command, it's now run in a separate
asynchronous process.

Opening the Printers folder on NT is now fast ;-) I think even faster than
with a ** server

Jeremy, you should look at that patch to include it in 2.2.3

J.F.

22 years agoFix some unicode string error.
Jean-François Micouleau [Tue, 16 Oct 2001 22:42:24 +0000 (22:42 +0000)]
Fix some unicode string error.

I'm wondering if I have to audit *all* the rpc code for that kind of
trouble ;-) Oh well I've done it twice already, I can do it a third time
;-)

J.F.