Gerald Carter [Thu, 22 May 2003 17:07:41 +0000 (17:07 +0000)]
fix bug #108; sambaSambaAccount string attributes are case insensitive; don't try to change a string that only differs in case
Gerald Carter [Thu, 22 May 2003 15:27:27 +0000 (15:27 +0000)]
fixes bugs 85 & 99 (XP domain logons); don't enable the lsa_query_info2 unless we are trying to be an ADS DC
Gerald Carter [Thu, 22 May 2003 14:53:02 +0000 (14:53 +0000)]
updating version
Tim Potter [Thu, 22 May 2003 00:49:24 +0000 (00:49 +0000)]
Merge of head(1) portability patch.
John Terpstra [Wed, 21 May 2003 17:14:08 +0000 (17:14 +0000)]
Fix typo.
Gerald Carter [Wed, 21 May 2003 16:12:07 +0000 (16:12 +0000)]
fix for UNICODE plaintext passwords (bug #59) and fix smbclient to send the unicode plain text password if negoitated
John Terpstra [Wed, 21 May 2003 06:59:12 +0000 (06:59 +0000)]
A few small edits to the locking file. Source of info: Eric Roseme's whitepaper.
<eric.roseme@hp.com>
Andrew Tridgell [Wed, 21 May 2003 05:20:54 +0000 (05:20 +0000)]
merge LANMAN1/LANMAN2.1 fixes from head
Tim Potter [Wed, 21 May 2003 00:08:05 +0000 (00:08 +0000)]
We don't support level 0 and do support level 5 for the enumprinters command.
Gerald Carter [Tue, 20 May 2003 22:54:58 +0000 (22:54 +0000)]
really make sure to include the version in the lanman string; tested spnego using smbclient
Gerald Carter [Tue, 20 May 2003 21:15:49 +0000 (21:15 +0000)]
better handling of --with-expsam (includes pdb_nisplussam now)
Gerald Carter [Tue, 20 May 2003 18:30:37 +0000 (18:30 +0000)]
remove WITH_TDB_SAM & USE_SMBPASS_DB
Gerald Carter [Tue, 20 May 2003 18:26:06 +0000 (18:26 +0000)]
wrap pdb_[nisplussam|xml|mysql] in --with-expsam option & some formatting fixes
Jim McDonough [Tue, 20 May 2003 14:55:01 +0000 (14:55 +0000)]
Fix bug #95: net did not build when ldap was installed, but --without-ads
was specified.
Jim McDonough [Tue, 20 May 2003 13:51:43 +0000 (13:51 +0000)]
Fix bug #96: Use DNS decompression to properly parse cldap netlogon
packets, otherwise repeated components will not decode correctly.
Thanks to aliguori@us.ibm.com for the fix, and lukeh@padl.com for pointing
us to the right docs.
Jim McDonough [Tue, 20 May 2003 13:49:53 +0000 (13:49 +0000)]
Fix bug #98: DNS compression is required for proper building of the
netlogon for ads packet. repeated DNS components will not be properly
encoded otherwise.
John Terpstra [Tue, 20 May 2003 06:24:48 +0000 (06:24 +0000)]
More edits - added example.
Jeremy Allison [Mon, 19 May 2003 18:00:44 +0000 (18:00 +0000)]
FreeBSD5 ACL fix.
Jeremy.
Alexander Bokovoy [Mon, 19 May 2003 09:09:37 +0000 (09:09 +0000)]
Fix macros for next and opaque quota ops. Spotted by metze
Tim Potter [Mon, 19 May 2003 00:42:28 +0000 (00:42 +0000)]
Updates for AIX winbind client from Stephen Roylance.
John Terpstra [Sun, 18 May 2003 21:14:16 +0000 (21:14 +0000)]
Fixups and more edits.
John Terpstra [Sun, 18 May 2003 08:00:54 +0000 (08:00 +0000)]
More Edits.
Alexander Bokovoy [Sat, 17 May 2003 05:37:20 +0000 (05:37 +0000)]
This was actually a24 release (fixed changelog entry), add note about VFS API changes
Jeremy Allison [Sat, 17 May 2003 00:46:28 +0000 (00:46 +0000)]
Cope with cumulative permissions sets. This code is #ifdef'ed out at the
moment as I don't think cumulative permission sets make sense in POSIX even
though that's the way Windows works....
Jeremy.
Jeremy Allison [Fri, 16 May 2003 18:30:22 +0000 (18:30 +0000)]
Patch from "Esh, Andrew" <Andrew_Esh@adaptec.com> to fix core dump bug
in add groupmem code.
Jeremy.
Andrew Bartlett [Fri, 16 May 2003 14:15:09 +0000 (14:15 +0000)]
Well spotted typo by Marco Berger <MARCOB@voelcker.com>
Andrew Bartlett
Andrew Bartlett [Fri, 16 May 2003 12:15:04 +0000 (12:15 +0000)]
David Lee <t.d.lee@durham.ac.uk> provides some corrections to the comments
in the UTMP code.
Andrew Bartlett
Simo Sorce [Fri, 16 May 2003 10:48:58 +0000 (10:48 +0000)]
another bugfix from Alex Deiter <tiamat@komi.mts.ru>
thanks
Simo Sorce [Fri, 16 May 2003 07:59:52 +0000 (07:59 +0000)]
Fix from Alex Deiter <tiamat@komi.mts.ru>
Reversed check.
Simo Sorce [Fri, 16 May 2003 06:20:57 +0000 (06:20 +0000)]
add metze's patch for smb_register functions
Simo Sorce [Fri, 16 May 2003 06:20:33 +0000 (06:20 +0000)]
add idmap_winbind unless I made a better way to solve SID type for domain
SIDs
Tim Potter [Fri, 16 May 2003 01:57:57 +0000 (01:57 +0000)]
Clarify a comment: The secure channel connection must be opened on the
same session (TCP connection) as the one the challenge was requested
from.
Jeremy Allison [Thu, 15 May 2003 19:43:21 +0000 (19:43 +0000)]
Patch from Luke Howard <lukeh@PADL.COM> to recognise local groups.
Jeremy.
Jeremy Allison [Thu, 15 May 2003 18:25:03 +0000 (18:25 +0000)]
Fix for winbindd segfault (finally I think this is the correct one :-)
from "Roylance, Stephen D." <SROYLANCE@PARTNERS.ORG>.
Jeremy.
Jeremy Allison [Thu, 15 May 2003 17:37:52 +0000 (17:37 +0000)]
Fix from Steve G <linux_4ever@yahoo.com>. Ensure sigemptyset is called on
the sa_mask to prevent valgrind complaints.
Jeremy.
Jeremy Allison [Thu, 15 May 2003 17:23:35 +0000 (17:23 +0000)]
Patch from "Alex Deiter" <tiamat@komi.mts.ru> to fix incorrect error check.
Jeremy.
Jeremy Allison [Thu, 15 May 2003 17:21:32 +0000 (17:21 +0000)]
Ensure sys_adminlog code won't coredump with incorrect client params.
Jeremy.
Jelmer Vernooij [Thu, 15 May 2003 08:47:28 +0000 (08:47 +0000)]
Patch from Luke Howard <lukeh@PADL.COM> that fixes some weird handling of
modules in auth/
Tim Potter [Thu, 15 May 2003 04:17:54 +0000 (04:17 +0000)]
Merge of incorrect emacs mode fix.
Jeremy Allison [Wed, 14 May 2003 21:28:54 +0000 (21:28 +0000)]
Ok, try and fix this correctly... Simplify the nasty loop logic.
Jeremy.
Jeremy Allison [Wed, 14 May 2003 20:48:48 +0000 (20:48 +0000)]
Fix winbindd coredump. Remember to set a ** pointer to null before
searching and not finding otherwise we return a valid looking pointer
that was whatever crap was on the stack.
Jeremy.
Gerald Carter [Wed, 14 May 2003 20:41:33 +0000 (20:41 +0000)]
preparing for release of 3.0alpha24
Gerald Carter [Wed, 14 May 2003 20:22:48 +0000 (20:22 +0000)]
fix quota build on non-64bit systems
Gerald Carter [Wed, 14 May 2003 19:35:20 +0000 (19:35 +0000)]
working on 3.0alpha24
Gerald Carter [Wed, 14 May 2003 18:36:54 +0000 (18:36 +0000)]
readding reverted changes during idmap merge (noticed by Andrew b.)
Alexander Bokovoy [Wed, 14 May 2003 14:38:11 +0000 (14:38 +0000)]
Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm.
Alexander Bokovoy [Wed, 14 May 2003 10:59:01 +0000 (10:59 +0000)]
Prefix VFS API macros with SMB_ for consistency and to avoid problems with VFS_ macros at system side. We currently have one clash with AIX and its VFS_LOCK. Compiled and tested -- no new functionality or code, just plain rename of macros for yet-unreleased VFS API version. Needs to be done before a24 is out
Gerald Carter [Wed, 14 May 2003 05:28:16 +0000 (05:28 +0000)]
fix group mapping in LDAP under new schema
Gerald Carter [Wed, 14 May 2003 04:49:01 +0000 (04:49 +0000)]
s/primaryGroupSID/sambaPrimaryGroupSID/
Gerald Carter [Wed, 14 May 2003 04:41:43 +0000 (04:41 +0000)]
ignore manpage.[refs|links]
cvs2svn Import User [Wed, 14 May 2003 04:41:20 +0000 (04:41 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Gerald Carter [Wed, 14 May 2003 04:41:19 +0000 (04:41 +0000)]
ignore manpage.[refs|links]
Gerald Carter [Wed, 14 May 2003 04:40:04 +0000 (04:40 +0000)]
perl script to convert from sambaAccount to sambaSamAccount; requires Net::LDAP::LDIF
Gerald Carter [Wed, 14 May 2003 04:39:55 +0000 (04:39 +0000)]
syncing LDAP schema changes with Samba_3_0
Gerald Carter [Wed, 14 May 2003 04:37:40 +0000 (04:37 +0000)]
perl script to convert from sambaAccount to sambaSamAccount; requires Net::LDAP::LDIF
Gerald Carter [Wed, 14 May 2003 03:32:20 +0000 (03:32 +0000)]
*****LDAP schema changes*****
New objectclass named sambaSamAccount which uses attribute
prefaced with the phrase 'samba' to prevent future name clashes.
Change in functionality of the 'ldap filter' parameter. This always
defaults to "(uid=%u)" now and is and'd with the approriate objectclass
depending on whether you are using ldapsam_compat or ldapsam
conversion script for migrating from sambaAccount to
sambaSamAccount will come next.
Tim Potter [Wed, 14 May 2003 01:14:06 +0000 (01:14 +0000)]
Move some #ifdefs and function prototypes around to avoid a compiler
warning when we have a working version of snprintf()
Tim Potter [Wed, 14 May 2003 01:10:46 +0000 (01:10 +0000)]
Move some #ifdefs and function prototypes around to avoid a compiler
warning when we have a working version of snprintf()
Tim Potter [Wed, 14 May 2003 00:59:26 +0000 (00:59 +0000)]
Fix pointer return bug in get_unix_attributes()
Tim Potter [Wed, 14 May 2003 00:58:41 +0000 (00:58 +0000)]
Fix pointer return bug in get_unix_attributes()
Tim Potter [Wed, 14 May 2003 00:46:43 +0000 (00:46 +0000)]
spelling
Tim Potter [Wed, 14 May 2003 00:38:58 +0000 (00:38 +0000)]
spelling
Tim Potter [Wed, 14 May 2003 00:27:12 +0000 (00:27 +0000)]
spelling
Tim Potter [Wed, 14 May 2003 00:26:32 +0000 (00:26 +0000)]
spelling
Gerald Carter [Tue, 13 May 2003 21:01:41 +0000 (21:01 +0000)]
fix up packaging for RH9
Andrew Bartlett [Tue, 13 May 2003 15:29:23 +0000 (15:29 +0000)]
Restore a number of fixes that idra removed when he merged his
idmap-and-the-rest from HEAD.
These are correctness fixes that were already in 3.0, and a memory leak fix.
The pdb_ldap changes are held back at jerry's request (he is also playing
with pdb_ldap ATM).
Andrew Bartlett
John Terpstra [Tue, 13 May 2003 06:13:44 +0000 (06:13 +0000)]
More info on Unix permissions.
Andrew Bartlett [Tue, 13 May 2003 06:13:36 +0000 (06:13 +0000)]
Fix non-constant initialiser for Sun CC.
John Terpstra [Tue, 13 May 2003 06:13:20 +0000 (06:13 +0000)]
More info on Unix permissions.
Tim Potter [Tue, 13 May 2003 04:38:09 +0000 (04:38 +0000)]
Add pythoncheck to make check target.
Tim Potter [Tue, 13 May 2003 04:35:58 +0000 (04:35 +0000)]
Sync up with 3.0 version.
Andrew Bartlett [Tue, 13 May 2003 01:00:25 +0000 (01:00 +0000)]
Try to fix up some code in pdb_smbpasswd that assumed we still had a 'uid'.
This is to get non-unix accounts going for the build farm.
Andrew Bartlett
Andrew Bartlett [Mon, 12 May 2003 21:56:52 +0000 (21:56 +0000)]
Fix up the build-farm testsuite again - I forgot to move some files into the
template dir, and idra's checkin removed smbpasswd_nua.
Andrew Bartlett
Jeremy Allison [Mon, 12 May 2003 21:29:01 +0000 (21:29 +0000)]
Fix compiler warnings.
Jeremy.
Jeremy Allison [Mon, 12 May 2003 21:27:54 +0000 (21:27 +0000)]
Fix obvious compiler warnings.
Jeremy.
Gerald Carter [Mon, 12 May 2003 20:10:28 +0000 (20:10 +0000)]
copied form HEAD to get the compile going.
Simo, please fix this tomorrow or let me know
what needs to be done.
jerry
Simo Sorce [Mon, 12 May 2003 18:12:31 +0000 (18:12 +0000)]
And finally IDMAP in 3_0
We really need idmap_ldap to have a good solution with ldapsam, porting
it from the prvious code is beeing made, the code is really simple to do
so I am confident it is not a problem to commit this code in.
Not committing it would have been worst.
I really would have been able to finish also the group code, maybe we can
put it into a followin release after 3.0.0 even if it may be an upgrade
problem.
The code has been tested and seem to work right, more testing is needed for
corner cases.
Currently winbind pdc (working only for users and not for groups) is
disabled as I was not able to make a complete group code replacement that
works somewhat in a week (I have a complete patch, but there are bugs)
Simo.
Gerald Carter [Mon, 12 May 2003 16:08:11 +0000 (16:08 +0000)]
fixing typos in debug statements
Gerald Carter [Mon, 12 May 2003 16:06:05 +0000 (16:06 +0000)]
fixing typos in debug statements
Alexander Bokovoy [Mon, 12 May 2003 16:03:16 +0000 (16:03 +0000)]
Eliminate NULL pointers from VFS interface. All hooks now really callable, producing either correct result or returning error if the feature isn't supported in the configuration
Alexander Bokovoy [Mon, 12 May 2003 09:01:50 +0000 (09:01 +0000)]
GCC accepts unnamed initalization of sub-structure. Let's see how AIX behave with this. Previous fix was incorrect.
Tim Potter [Mon, 12 May 2003 07:18:36 +0000 (07:18 +0000)]
Re-enable secure channel for net rpc vampire.
Jump out of sam entry processing loop if the return value from
cli_netlogon_sam_sync() isn't OK or STATUS_MORE_ENTRIES.
Tim Potter [Mon, 12 May 2003 07:16:21 +0000 (07:16 +0000)]
Fix two bugs that were stopping net rpc vampire from working over secure
channel:
- If the domain name passed to create_rpc_bind_req() is empty, use
lp_workgroup()
- Correctly set the auth_padding field when the send_size is a multiple
of 8 bytes
I've tested with nt4sp6 and win2ksp0 and it seems to work, although
there are no password hashes transferred from win2k. The empty
passwords are being protected by the secure channel encryption though.
Richard Sharpe [Mon, 12 May 2003 06:57:32 +0000 (06:57 +0000)]
A small patch from metze to fix builds on some platforms ...
http://lists.samba.org/pipermail/samba-technical/attachments/
20030512/
0332258a/vfs-fix-01.obj
John Terpstra [Mon, 12 May 2003 05:15:08 +0000 (05:15 +0000)]
Added info on File and Directory info.
John Terpstra [Mon, 12 May 2003 05:14:19 +0000 (05:14 +0000)]
Adding more info on File and Directory conventions / differences.
Alexander Bokovoy [Mon, 12 May 2003 03:13:41 +0000 (03:13 +0000)]
Fix a wrong define check.
Alexander Bokovoy [Mon, 12 May 2003 02:53:17 +0000 (02:53 +0000)]
Wrap into WITH_QUOTAS yet another place in trans2
Alexander Bokovoy [Mon, 12 May 2003 02:45:29 +0000 (02:45 +0000)]
Forgot to actually change default for quotas to -no- in configure.in
Alexander Bokovoy [Mon, 12 May 2003 02:41:41 +0000 (02:41 +0000)]
Forgot to actually change default for quotas to -no- in configure.in
Alexander Bokovoy [Mon, 12 May 2003 02:23:50 +0000 (02:23 +0000)]
Better isolate quota stuff
Alexander Bokovoy [Mon, 12 May 2003 02:01:31 +0000 (02:01 +0000)]
Small fix for HAVE_SYS_QUOTAS usage, spotted by build farm
Andrew Bartlett [Mon, 12 May 2003 01:49:03 +0000 (01:49 +0000)]
Fix up a bit of my sloppy C.
Alexander Bokovoy [Mon, 12 May 2003 01:43:59 +0000 (01:43 +0000)]
Small fix for HAVE_SYS_QUOTAS usage, spotted by build farm
Alexander Bokovoy [Mon, 12 May 2003 01:20:17 +0000 (01:20 +0000)]
Add NT quota support. Patch from Stefan (metze) Metzemacher
1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab
2. Disabled by default and when requested, will be probed and enabled only on Linux where it works
3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far
Documentation to follow
Andrew Bartlett [Mon, 12 May 2003 00:18:45 +0000 (00:18 +0000)]
Give up on the idea of avoiding lp_load() in ntlm_auth....
Also, we might be given a 0 length challenge, so don't smb_panic() for
smb_xmalloc() of zero size.
Andrew Bartlett
Andrew Bartlett [Mon, 12 May 2003 00:17:44 +0000 (00:17 +0000)]
Make it possible to actually use --user-SID and --group-SID on a standard command line.
Andrew Bartlett
Andrew Bartlett [Sun, 11 May 2003 23:49:36 +0000 (23:49 +0000)]
Fix compile.
Alexander Bokovoy [Sun, 11 May 2003 23:44:26 +0000 (23:44 +0000)]
Add new files needed for VFS fixes.
1. idmap.h is used for unid_t only, agreed by Simo
2. sysquotas.h is used to add quota support to VFS layer and is needed for future NT quota commit
3. vfs_macros.h provides convenient macros to access VFS API.
Alexander Bokovoy [Sun, 11 May 2003 23:34:18 +0000 (23:34 +0000)]
Fix VFS layer:
1. Finally work with cascaded modules with private data storage per module
2. Convert VFS API to macro calls to simplify cascading
3. Add quota support to VFS layer (prepare to NT quota support)
Patch by Stefan (metze) Metzemacher, with review of Jelmer and me
Tested in past few weeks. Documentation to new VFS API for third-party developers to follow