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
Jelmer Vernooij [Tue, 25 Mar 2003 20:49:13 +0000 (20:49 +0000)]
Add documentation on unicode
Jelmer Vernooij [Tue, 25 Mar 2003 20:14:41 +0000 (20:14 +0000)]
Add info about dual daemon mode
Jelmer Vernooij [Tue, 25 Mar 2003 18:10:55 +0000 (18:10 +0000)]
Remove old check for TDB SAM (we now have --with-{static,shared}-modules=pdb_tdbsam)
Alexander Bokovoy [Tue, 25 Mar 2003 17:42:46 +0000 (17:42 +0000)]
Fix another opened-but-not-closed tag
Jelmer Vernooij [Tue, 25 Mar 2003 14:46:11 +0000 (14:46 +0000)]
- Support building all auth modules as .so's
- Change 2 variable names to avoid conflicts (patch by Stephan Kulow <coolo@kde.org>)
Jelmer Vernooij [Tue, 25 Mar 2003 13:59:55 +0000 (13:59 +0000)]
Don't use 'opt'
Jelmer Vernooij [Tue, 25 Mar 2003 13:40:34 +0000 (13:40 +0000)]
Make variables static to satisfy exotic compilers
Alexander Bokovoy [Tue, 25 Mar 2003 13:37:36 +0000 (13:37 +0000)]
Fixed opened-but-not-closed listitem/varlistentry for LDAPADMINDN
Jelmer Vernooij [Tue, 25 Mar 2003 12:27:09 +0000 (12:27 +0000)]
Print list of builtin modules in 'smbd -b'
Jelmer Vernooij [Tue, 25 Mar 2003 12:05:23 +0000 (12:05 +0000)]
Remove obsolete defines (because of new modules system). We need
a way to track which modules have been builtin
Jelmer Vernooij [Tue, 25 Mar 2003 10:37:58 +0000 (10:37 +0000)]
We need to 'preprocess' in popt_common_samba as well
Andrew Bartlett [Tue, 25 Mar 2003 10:29:22 +0000 (10:29 +0000)]
Fix debug (thanks metze)
Andrew Bartlett
Volker Lendecke [Tue, 25 Mar 2003 09:47:52 +0000 (09:47 +0000)]
Make auth.c compile again. I'm not sure what this does though...
Volker
Alexander Bokovoy [Tue, 25 Mar 2003 09:46:57 +0000 (09:46 +0000)]
Fix missing tag pairs
Andrew Bartlett [Tue, 25 Mar 2003 07:55:10 +0000 (07:55 +0000)]
Make these functions static, keep them out of proto.
Volker Lendecke [Tue, 25 Mar 2003 07:54:34 +0000 (07:54 +0000)]
Apply metze's change correctly this time. Playing 'patch' by
hand can be somewhat error-prone..
Volker
Gerald Carter [Tue, 25 Mar 2003 04:19:04 +0000 (04:19 +0000)]
win9x was suffered a case of the blues during a domain logon.
For some reason, explicitly setting the service type during the
tcon&X fixes this.
Jelmer Vernooij [Mon, 24 Mar 2003 23:03:46 +0000 (23:03 +0000)]
- Add support to auth/ for the new modules system
- Quite some small fixes (also fixes the build)
Jelmer Vernooij [Mon, 24 Mar 2003 19:53:02 +0000 (19:53 +0000)]
Fix two typos
Jelmer Vernooij [Mon, 24 Mar 2003 19:18:24 +0000 (19:18 +0000)]
When using --with-static-modules=subsystem, don't build modules that
can't be build
Jelmer Vernooij [Mon, 24 Mar 2003 18:47:18 +0000 (18:47 +0000)]
Add notes for packagers
Jelmer Vernooij [Mon, 24 Mar 2003 18:38:59 +0000 (18:38 +0000)]
Give error message when module doesn't seem to contain
pipe functions
Jelmer Vernooij [Mon, 24 Mar 2003 18:25:31 +0000 (18:25 +0000)]
Simplify modules interface and make it easier to build
complete subsystems as modules (--with-shared-modules=rpc,pdb_xml,pdb_ldap
works now, for example)
Jelmer Vernooij [Mon, 24 Mar 2003 16:16:13 +0000 (16:16 +0000)]
Add static to satisfy exotic compilers
Jelmer Vernooij [Mon, 24 Mar 2003 16:15:10 +0000 (16:15 +0000)]
Add mapping for Bad Network Path
Jelmer Vernooij [Mon, 24 Mar 2003 14:32:55 +0000 (14:32 +0000)]
Remove documentation for removed options
Jelmer Vernooij [Mon, 24 Mar 2003 14:32:11 +0000 (14:32 +0000)]
Don't use old usage() function, but the one from popt.
Remove some useless arguments
Jelmer Vernooij [Mon, 24 Mar 2003 14:20:28 +0000 (14:20 +0000)]
editreg, wrepld and ntlm_aut aren't documented yet..
Jelmer Vernooij [Mon, 24 Mar 2003 14:15:14 +0000 (14:15 +0000)]
Revoke some of the popt patch from metze I applied earlier today. It added
some double options and broke some parameters.
Jelmer Vernooij [Mon, 24 Mar 2003 14:14:10 +0000 (14:14 +0000)]
Document common arguments with entities
Jelmer Vernooij [Mon, 24 Mar 2003 12:47:21 +0000 (12:47 +0000)]
Add modules support to charset
Jelmer Vernooij [Mon, 24 Mar 2003 12:18:56 +0000 (12:18 +0000)]
Define POPT_TABLEEND if current popt.h doesn't contain it already
Jelmer Vernooij [Mon, 24 Mar 2003 11:31:01 +0000 (11:31 +0000)]
Fix init function name and return value
Jelmer Vernooij [Mon, 24 Mar 2003 11:25:34 +0000 (11:25 +0000)]
Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changes
Tim Potter [Mon, 24 Mar 2003 06:31:49 +0000 (06:31 +0000)]
Started working on python routines to add and delete domain users.
Unfortunately users get created with the ACB mask set to disabled and
must change password. The set_user_info2 call required to fix this
doesn't quite work yet...
Jelmer Vernooij [Sun, 23 Mar 2003 16:27:31 +0000 (16:27 +0000)]
Build the profiles.1 and smbtree.1 manpages
Jelmer Vernooij [Sun, 23 Mar 2003 16:26:53 +0000 (16:26 +0000)]
Document Tim's smbtree program
Volker Lendecke [Sun, 23 Mar 2003 14:19:13 +0000 (14:19 +0000)]
Implement abartlet's suggestion to add attribs to ldap if they
are 'SET' when adding the account.
I really don't like passing flags down to inner routines and
complicated if/else conditions, but this time he might be right. ;-)
Volker
Jelmer Vernooij [Sun, 23 Mar 2003 13:42:38 +0000 (13:42 +0000)]
Convert to popt.
Andrew Bartlett [Sun, 23 Mar 2003 13:18:05 +0000 (13:18 +0000)]
Fix compile.
Jelmer Vernooij [Sun, 23 Mar 2003 13:12:04 +0000 (13:12 +0000)]
Convert to popt.
Andrew Bartlett [Sun, 23 Mar 2003 13:03:25 +0000 (13:03 +0000)]
NTLM Authentication:
- Add a 'privileged' mode to Winbindd. This is achieved by means of a directory
under lockdir, that the admin can change the group access for.
- This mode is now required to access with 'CRAP' authentication feature.
- This *will* break the current SQUID helper, so I've fixed up our ntlm_auth
replacement:
- Update our NTLMSSP code to cope with 'datagram' mode, where we don't get a
challenge.
- Use this to make our ntlm_auth utility suitable for use in current Squid 2.5
servers.
- Tested - works for Win2k clients, but not Win9X at present. NTLMSSP updates
are needed.
- Now uses fgets(), not x_fgets() to cope with Squid environment (I think
somthing to do with non-blocking stdin).
- Add much more robust connection code to wb_common.c - it will not connect to
a server of a different protocol version, and it will automatically try and
reconnect to the 'privileged' pipe if possible.
- This could help with 'privileged' idmap operations etc in future.
- Add a generic HEX encode routine to util_str.c,
- fix a small line of dodgy C in StrnCpy_fn()
- Correctly pull our 'session key' out of the info3 from th the DC. This is
used in both the auth code, and in for export over the winbind pipe to
ntlm_auth.
- Given the user's challenge/response and access to the privileged pipe,
allow external access to the 'session key'. To be used for MSCHAPv2
integration.
Andrew Bartlett
Jelmer Vernooij [Sun, 23 Mar 2003 13:02:15 +0000 (13:02 +0000)]
Convert to popt.
Jelmer Vernooij [Sun, 23 Mar 2003 12:40:48 +0000 (12:40 +0000)]
Use popt_common for -s, -d and -V
Jelmer Vernooij [Sun, 23 Mar 2003 12:29:19 +0000 (12:29 +0000)]
Don't duplicate the default group mapping functions - use the ones
from passdb
Volker Lendecke [Sun, 23 Mar 2003 11:49:24 +0000 (11:49 +0000)]
This does two things:
* pdbedit -i -e sets all SAM_ACCOUNT elements
to CHANGED to satisfy the new pdb_ldap.c handling
* pdbedit -g transfers group mappings. I made this
separate from the user database, as current installations
have to live with a split backend.
So, if you are running 3_0 alphas with LDAP as a backend
and upgrade to the next 3_0 alpha, you should call
pdbedit -i tdbsam -e ldapsam -g
to transfer your group mapping database to LDAP.
You certainly have to have all your groups as posixGroup
objects in LDAP and adapt the LDAP schema before this
call.
Volker
Volker Lendecke [Sun, 23 Mar 2003 11:44:14 +0000 (11:44 +0000)]
The group mapping functions are not called
directly anymore, but instead through the passdb
interface. So we can make them static.
Volker
Volker Lendecke [Sun, 23 Mar 2003 09:04:25 +0000 (09:04 +0000)]
This adds 'ldap delete dn' as the recommended parameter
for the 'ldap del only sam attr' functionality. So
we are compatiple to the current SuSE patches as well
as to TNG... ;-)
Volker
Volker Lendecke [Sun, 23 Mar 2003 08:40:28 +0000 (08:40 +0000)]
Metzes change:
> Hi Volker,
>
> if 'displayName' is not available we should fallback to 'cn' for map->nt_name
> 'cn' is used as unix group name by nss_ldap.
>
> and if nt_name is not available we should fail (so does this patch)
Volker
Andrew Bartlett [Sun, 23 Mar 2003 01:33:13 +0000 (01:33 +0000)]
Patch from waider to update our samsync (net rpc vampire) code:
- Decode all the database names, even if we don't decode their contents
- Update the 'set' code to match rpc_server/srv_samr_nt.c in only recording
the difference between the old and new.
Andrew Bartlett
Jelmer Vernooij [Sun, 23 Mar 2003 01:09:43 +0000 (01:09 +0000)]
Don't declare variables after instructions
Jelmer Vernooij [Sun, 23 Mar 2003 00:47:35 +0000 (00:47 +0000)]
We don't need optarg when we have popt
Jelmer Vernooij [Sun, 23 Mar 2003 00:44:56 +0000 (00:44 +0000)]
Convert to popt.