Andrew Bartlett [Wed, 2 Apr 2003 13:49:51 +0000 (13:49 +0000)]
error_string, not error_message...
Andrew Bartlett [Wed, 2 Apr 2003 13:34:53 +0000 (13:34 +0000)]
Clean up ntlm_auth a bit, and add a --diagnositics swtich, to check that
the returned session key is the one that we expect to get for that each
of login.
Andrew Bartlett
Jelmer Vernooij [Wed, 2 Apr 2003 12:28:46 +0000 (12:28 +0000)]
Renegerate docs after John's changes
Jelmer Vernooij [Wed, 2 Apr 2003 11:06:42 +0000 (11:06 +0000)]
Add const
Simo Sorce [Wed, 2 Apr 2003 10:36:02 +0000 (10:36 +0000)]
THE Idmap patch :-)
includes a --with-idmap=no switch to disable idmap usage if you find
problems.
cosmetic fixes and param aliases to separate winbind from idamp roles.
A temporarily remote idmap winbind compatibility backend.
As I have time I will further change code to not call directly winbind
(partly done but not tested) and a specilized module will be built in place
for the current glue hack.
The patch has been tested locally in my limited time, the patch is simple and
clear and should not reserve problems, if any just disable it.
As usual, comments and fisex are welcome :-)
Simo.
Andrew Bartlett [Wed, 2 Apr 2003 08:28:32 +0000 (08:28 +0000)]
Fix a crash bug if LDAP doesn't fill in ld_error.
Andrew Bartlett
C VS: ----------------------------------------------------------------------
John Terpstra [Wed, 2 Apr 2003 05:23:36 +0000 (05:23 +0000)]
Update to current projdoc level.
John Terpstra [Wed, 2 Apr 2003 05:22:55 +0000 (05:22 +0000)]
Fixing typos. Who put them typos in there? Argh!
Jeremy Allison [Wed, 2 Apr 2003 02:26:01 +0000 (02:26 +0000)]
Subtle changes to message handling after ENUMJOBS.
Jeremy.
John Terpstra [Wed, 2 Apr 2003 00:05:38 +0000 (00:05 +0000)]
And yet another doco update. Yet more to follow soon.
John Terpstra [Wed, 2 Apr 2003 00:04:36 +0000 (00:04 +0000)]
More of the documentation overhaul. More to follow.
Andrew Bartlett [Wed, 2 Apr 2003 00:03:52 +0000 (00:03 +0000)]
OHKAWA Yuichi (kuri@makino.ecei.tohoku.ac.jp) points out that using
decoded.length after it's been zero'ed out by data_blob_free() doesn't
give you the original length...
Andrew Bartlett
Jelmer Vernooij [Tue, 1 Apr 2003 19:48:15 +0000 (19:48 +0000)]
- Update documentation of 'wins server' (add info about tags, namespaces)
Jelmer Vernooij [Tue, 1 Apr 2003 17:06:16 +0000 (17:06 +0000)]
Use <note> instead of <emphasis>NOTE</emphasis> (gives much nicer output)
Gerald Carter [Tue, 1 Apr 2003 14:58:42 +0000 (14:58 +0000)]
fix potential handle leak in _spoolss_open_printer_ex(); final fix for CR2102; reviewed by jra
Jelmer Vernooij [Tue, 1 Apr 2003 11:25:34 +0000 (11:25 +0000)]
Fix build of shared xml/mysql modules
Andrew Tridgell [Tue, 1 Apr 2003 11:12:42 +0000 (11:12 +0000)]
changed the order of checking whether a SID is a UID or a GID in posix
acls. This is needed because sid_to_uid always claims that the sid is
a user, due ot a change I made some months back.
This change was suggested by Chere Zhou, but is really an interim
measure. Chere is looking at a longer term solution.
Andrew Tridgell [Tue, 1 Apr 2003 10:56:23 +0000 (10:56 +0000)]
reversed the sense of the TCON test, now that we know that win2003
fixes this. This means that TCON fails on win2000, but passes on Samba
and win2003
Jelmer Vernooij [Mon, 31 Mar 2003 21:48:59 +0000 (21:48 +0000)]
Update some info and typos in PAM-Authentication-And-Samba
Jelmer Vernooij [Mon, 31 Mar 2003 21:42:19 +0000 (21:42 +0000)]
More doc updates:
- Move information about compiling with ADS support to appendix about compiling
- Make DOMAIN_MEMBER NT4-domain only (because current ADS info was incomplete and becoming an ADS domain member is documented more properly in ADS-HOWTO)
Jelmer Vernooij [Mon, 31 Mar 2003 21:08:23 +0000 (21:08 +0000)]
Update NT_Security for 3.0
Jelmer Vernooij [Mon, 31 Mar 2003 21:01:05 +0000 (21:01 +0000)]
Add basic documentation on editreg
Jelmer Vernooij [Mon, 31 Mar 2003 20:53:18 +0000 (20:53 +0000)]
Add very basic documentation for ntlm_auth
Jelmer Vernooij [Mon, 31 Mar 2003 20:37:31 +0000 (20:37 +0000)]
Remove useless popt options
Gerald Carter [Mon, 31 Mar 2003 17:39:21 +0000 (17:39 +0000)]
fix potential smbd crash when we fail to alloacte a policy handle for a printer open; CR 2102 (reviewed by jreilly)
Alexander Bokovoy [Mon, 31 Mar 2003 16:27:11 +0000 (16:27 +0000)]
Fix vfs to work with P_LIST-ed lp_vfsobj() -- the traversal is reversed. Based on patch from Metze
Jelmer Vernooij [Mon, 31 Mar 2003 15:32:13 +0000 (15:32 +0000)]
- Put -valid param back in
- Update info on some of the HOWTO docs
Jelmer Vernooij [Mon, 31 Mar 2003 15:06:58 +0000 (15:06 +0000)]
'preload modules = ' is already documented
-valid is not a config option
Jelmer Vernooij [Mon, 31 Mar 2003 15:06:34 +0000 (15:06 +0000)]
- Support absolute paths in vfs and charset modules
- Fix typo in Makefile.in
- Fix compatibility with older vfs modules (from patch by metze)
- Build some modules shared by default and some static (and fall
back to static when dlopen() is not available)
Jelmer Vernooij [Mon, 31 Mar 2003 12:29:50 +0000 (12:29 +0000)]
Fix formatting of back traces - pathc by metze
Volker Lendecke [Mon, 31 Mar 2003 11:05:19 +0000 (11:05 +0000)]
Hey, we're making progress with the docs ;-)
Volker
Volker Lendecke [Mon, 31 Mar 2003 11:02:22 +0000 (11:02 +0000)]
3 things:
* Remove 'ldap del only sam attr' after asking Lars Mueller from SuSE first.
It is replaced by 'ldap delete dn'
* Fix a typo in docs.
* Document 'set primary group script'. Alexander, could you check the
file in smbdotconf/ please? Thanks.
Volker
Volker Lendecke [Mon, 31 Mar 2003 10:44:21 +0000 (10:44 +0000)]
Waider's cosmetic change to print out the database type when
downloading stuff.
Volker
Andrew Bartlett [Mon, 31 Mar 2003 08:14:37 +0000 (08:14 +0000)]
Fix a botched merge from appliance-head...
We have an extra NULL here, which is (if I understand correctly) related
to a optional 'charset conversion' function.
In any case, as this is a variable args length function, the compiler
didn't pick it up.
Would it be possible to change applicance_head (or even HEAD) in such
a way that this extra arg would cause a warning?
Finding this by testing is getting painful...
Andrew Bartlett
Tim Potter [Mon, 31 Mar 2003 05:51:41 +0000 (05:51 +0000)]
Tidyup of winbindd client OS specific autoconf code.
Tim Potter [Mon, 31 Mar 2003 05:47:59 +0000 (05:47 +0000)]
Placeholder for winbind aix client.
Tim Potter [Mon, 31 Mar 2003 05:46:32 +0000 (05:46 +0000)]
autoconf change to compile winbindd for AIX. The client side code
is still under development.
Tim Potter [Mon, 31 Mar 2003 04:36:01 +0000 (04:36 +0000)]
Cleanup of winbind client side code.
Mostly this consists of untangling the existing code and moving it in
to operating system specific files. The winbind client code for all
supported operating systems is now in nsswitch/winbind_nss_OSNAME.[ch]
to make things a bit clearer.
Andrew Bartlett [Mon, 31 Mar 2003 02:30:49 +0000 (02:30 +0000)]
NT4 is particularly fussy about getting this right.
Andrew Bartlett
Tim Potter [Mon, 31 Mar 2003 01:44:42 +0000 (01:44 +0000)]
Break the current build dependency on perl. Perl is required for
include/tdbsam2_parse_info.h which is included by sam/gumm_tdb.c which
doesn't seem to be used anywhere.
It would be nice to have the tdbsam2 stuff hidden behind a --with
configuration parameter so it doesn't interfere with normal builds.
(One of the build farm machines doesn't have perl installed).
Andrew Bartlett [Mon, 31 Mar 2003 01:30:19 +0000 (01:30 +0000)]
Success is not a level-0 issue...
Andrew Bartlett
Andrew Bartlett [Mon, 31 Mar 2003 01:08:59 +0000 (01:08 +0000)]
Don't try and dlsym or dlclose a NULL pointer.
The new modules system does not always dlopen() it's modules, and when it
does, it keeps them open for the life of the server, not the life of the
connection.
This caused a segfault on every tree disconnect!
Andrew Bartlett
Gerald Carter [Mon, 31 Mar 2003 01:00:34 +0000 (01:00 +0000)]
add a few error checks in EnumPrinterData()
Andrew Bartlett [Mon, 31 Mar 2003 00:32:13 +0000 (00:32 +0000)]
smbpasswd -> net
Tim Potter [Sun, 30 Mar 2003 23:44:22 +0000 (23:44 +0000)]
distclean fixups from Paul Green.
Gerald Carter [Sun, 30 Mar 2003 23:03:27 +0000 (23:03 +0000)]
update copyright notice since it we are now almost 4 months into 2003
Jelmer Vernooij [Sun, 30 Mar 2003 21:23:01 +0000 (21:23 +0000)]
Fix installation of auth and charset modules (reported by Stephan Kulow)
Volker Lendecke [Sun, 30 Mar 2003 16:46:28 +0000 (16:46 +0000)]
This sets the domain for the user in vampire. Otherwise
we end up with an empty domain field, which a workstation
does not really like in sam_logon..
Volker
Volker Lendecke [Sun, 30 Mar 2003 16:40:13 +0000 (16:40 +0000)]
This fixes group updates in LDAP the same way as user updates
are handled, though we assume that always everything needs to
be updated in LDAP. PDB_IS_* is not done yet for groups.
Do we need it?
Volker
Volker Lendecke [Sun, 30 Mar 2003 16:36:21 +0000 (16:36 +0000)]
This changes our handling of invalid service types that the
client requested on tconx. We now return the same error
code like NT4SP6 and W2kSP3 return.
TCONDEV is a little test for this.
Volker
Jelmer Vernooij [Sun, 30 Mar 2003 12:42:18 +0000 (12:42 +0000)]
- Point users at the HOWTO Collection instead of 'README' in modules/mysql.c
- Make passdb work with absolute paths (passdb backend = /path/to/smbpasswd.so works now). vfs, rpc and charset will follow
Jelmer Vernooij [Sun, 30 Mar 2003 11:22:22 +0000 (11:22 +0000)]
- Regenerate docs
- Document 'preload modules'
Andrew Tridgell [Sun, 30 Mar 2003 09:45:44 +0000 (09:45 +0000)]
added simple tests for SMBchkpath and SMBioctl
Andrew Bartlett [Sun, 30 Mar 2003 02:52:47 +0000 (02:52 +0000)]
Don't modify the incoming packet when checking the signiture.
Andrew Bartlett
Andrew Tridgell [Sun, 30 Mar 2003 00:00:10 +0000 (00:00 +0000)]
fixed the -B option as well
Andrew Tridgell [Sat, 29 Mar 2003 23:55:54 +0000 (23:55 +0000)]
fixed the -U option in nmblookup
please remember to *test* your changes before committing them. This is
especially the case when you receive patches from outside the team -
before you commit you must make sure that the patch actually works.
Andrew Tridgell [Sat, 29 Mar 2003 23:30:53 +0000 (23:30 +0000)]
updated the TCON test so that win2000 passes. Samba now fails this
test.
It is an interesting test because it shows that win2000 completely
ignores the TID and VUID fields in a SMBwriteX. In Samba it is hard to
do this as we check the VUID and TID fields before we call the SMB
specific reply functions.
The test also shows that the list of open files must be global to the
socket, not specific to a tcon.
Gerald Carter [Sat, 29 Mar 2003 12:49:54 +0000 (12:49 +0000)]
sync packagaing with SAMBA_3_0
Andrew Tridgell [Sat, 29 Mar 2003 12:44:42 +0000 (12:44 +0000)]
added a simple test for the old SMBtcon interface
Richard Sharpe [Fri, 28 Mar 2003 21:41:27 +0000 (21:41 +0000)]
More patches from coolo. One of these functions needs to be moved
elsewhere so other code can use it.
Richard Sharpe [Fri, 28 Mar 2003 21:12:11 +0000 (21:12 +0000)]
Fix some uncleanness with testsmbc.c
Richard Sharpe [Fri, 28 Mar 2003 21:07:44 +0000 (21:07 +0000)]
Some fixes to URL syntax from coolo.
Gerald Carter [Fri, 28 Mar 2003 15:42:57 +0000 (15:42 +0000)]
fix CIDR hosts allow/deny notation
Andrew Bartlett [Fri, 28 Mar 2003 10:02:43 +0000 (10:02 +0000)]
Merge from HEAD - get better error strings from the ldap server in pdb_ldap.
Andrew Bartlett
Andrew Bartlett [Fri, 28 Mar 2003 05:24:21 +0000 (05:24 +0000)]
Allow the new modules system to function with builtin vfs modules.
If we don't have a vfs path set, just pass the original file name.
In future, we need to seperate the default path as a seperate paramater.
Andrew Bartlett
Gerald Carter [Fri, 28 Mar 2003 02:02:32 +0000 (02:02 +0000)]
don't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbpass replacement test
Gerald Carter [Fri, 28 Mar 2003 02:00:19 +0000 (02:00 +0000)]
fix up IPC/LPT:/A: devicetype in tcon_and_X
Andrew Tridgell [Fri, 28 Mar 2003 01:05:32 +0000 (01:05 +0000)]
it is possible for some of the real time signals to be used by glibc,
which then changes SIGRTMIN. It is also possible for bash to leave
some real time signals blocked at startup. This fixes both problems.
Andrew Tridgell [Fri, 28 Mar 2003 00:28:55 +0000 (00:28 +0000)]
its VFS_NETATALK_OBJ not VFS_NETATALK
Andrew Tridgell [Fri, 28 Mar 2003 00:21:01 +0000 (00:21 +0000)]
removed a duplicate lump of module stuff in configure.in
Jelmer Vernooij [Thu, 27 Mar 2003 23:36:16 +0000 (23:36 +0000)]
Compile @VFS_STATIC@ into smbd and vfstest
Jelmer Vernooij [Thu, 27 Mar 2003 23:31:15 +0000 (23:31 +0000)]
Also rebuild smbd/vfs.o after reconfiguring
Jelmer Vernooij [Thu, 27 Mar 2003 23:02:43 +0000 (23:02 +0000)]
Doc updates from John + some minor fixes by me
Alexander Bokovoy [Thu, 27 Mar 2003 18:56:42 +0000 (18:56 +0000)]
Reflect current conversion status
Alexander Bokovoy [Thu, 27 Mar 2003 18:28:55 +0000 (18:28 +0000)]
1. Fix generate-file-list.sh to produce a list sorted by parameter name, not parameter section.
2. Convert base parameters to new meta-information scheme
Jelmer Vernooij [Thu, 27 Mar 2003 16:33:59 +0000 (16:33 +0000)]
Put backwards compatibility support for old modules in a seperate function
Alexander Bokovoy [Thu, 27 Mar 2003 15:27:19 +0000 (15:27 +0000)]
Add new framework for smb.conf(5). Please read README before trying to compile.
I will commit more meta-information updates during week-end.
Volker Lendecke [Thu, 27 Mar 2003 14:30:10 +0000 (14:30 +0000)]
This is no functional change. It just makes pdb_ldap.c a bit
easier to understand by moving the logic for init_ldap_from_sam
and friends around.
Volker
Alexander Bokovoy [Thu, 27 Mar 2003 14:22:03 +0000 (14:22 +0000)]
Tidy XML formating
Volker Lendecke [Thu, 27 Mar 2003 14:12:42 +0000 (14:12 +0000)]
Fix schema error not detected by OpenLDAP 2.0.23 but by 2.1.16.
Volker
Andrew Bartlett [Thu, 27 Mar 2003 12:54:50 +0000 (12:54 +0000)]
local_gid_to_sid() could use pdb_ldap, which for now requires ROOT.
Jelmer Vernooij [Thu, 27 Mar 2003 12:08:46 +0000 (12:08 +0000)]
Use the new modules system in VFS. If a module can't be loaded with the
new modules system, we still fall back to the old system.
Christopher R. Hertel [Thu, 27 Mar 2003 05:11:25 +0000 (05:11 +0000)]
The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
Jeremy Allison [Wed, 26 Mar 2003 22:15:37 +0000 (22:15 +0000)]
Fix DOS del command with widelinks = False.
Jeremy.
Jelmer Vernooij [Wed, 26 Mar 2003 20:16:48 +0000 (20:16 +0000)]
Remove LDAP_LIBS and just use LIBS again as before. I'll
fix this better later.
Jeremy Allison [Wed, 26 Mar 2003 19:42:51 +0000 (19:42 +0000)]
Add defines for platforms that need them.
Jeremy.
Jeremy Allison [Wed, 26 Mar 2003 19:31:44 +0000 (19:31 +0000)]
Fix extra NULL arg added during app-head merge.
Jeremy.
Alexander Bokovoy [Wed, 26 Mar 2003 15:06:45 +0000 (15:06 +0000)]
Document results of smb.conf(5) inspection. We have 13 undocumented parameters for HEAD
Jelmer Vernooij [Wed, 26 Mar 2003 13:49:23 +0000 (13:49 +0000)]
Use SAFE_FREE() instead of plain free() - pointed out by metze
Jelmer Vernooij [Wed, 26 Mar 2003 13:43:29 +0000 (13:43 +0000)]
Use execinfo.h to get prototypes for backtrace_symbols (fixes
some warnings)
Jelmer Vernooij [Wed, 26 Mar 2003 13:30:26 +0000 (13:30 +0000)]
Fix $LDAP_LIBS
Jelmer Vernooij [Wed, 26 Mar 2003 12:53:28 +0000 (12:53 +0000)]
Output backtrace to logfile in smb_panic(), as suggested by mbp
(only on systems that support it, of course)
Jelmer Vernooij [Wed, 26 Mar 2003 11:09:12 +0000 (11:09 +0000)]
- Patch from John to update PDC-HOWTO, add ServerType and CUPS (not finished yet)
- Regenerate docs
- Update docs-status
Jelmer Vernooij [Tue, 25 Mar 2003 23:53:34 +0000 (23:53 +0000)]
Don't do $(MAKE) modules_clean twice in a row - it breaks the build...
Jelmer Vernooij [Tue, 25 Mar 2003 23:26:39 +0000 (23:26 +0000)]
Give PARAMS_OBJ more priority
Jelmer Vernooij [Tue, 25 Mar 2003 23:03:03 +0000 (23:03 +0000)]
Fix two typos
Jelmer Vernooij [Tue, 25 Mar 2003 22:57:29 +0000 (22:57 +0000)]
Do $(MAKE) modules_clean when compiling dynconfig.o. It's not the
most elegant solution, but it works.
Jelmer Vernooij [Tue, 25 Mar 2003 22:51:38 +0000 (22:51 +0000)]
Add notes about the rebuilding of files
Jelmer Vernooij [Tue, 25 Mar 2003 22:37:43 +0000 (22:37 +0000)]
Always rebuild modules after running ./configure (to prevent
undefined symbol errors)
Jelmer Vernooij [Tue, 25 Mar 2003 22:15:57 +0000 (22:15 +0000)]
Add example version identifier