kai/samba.git
20 years agofix bug #108; sambaSambaAccount string attributes are case insensitive; don't try...
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

20 years agofixes bugs 85 & 99 (XP domain logons); don't enable the lsa_query_info2 unless we...
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

20 years agoupdating version
Gerald Carter [Thu, 22 May 2003 14:53:02 +0000 (14:53 +0000)]
updating version

20 years agoMerge of head(1) portability patch.
Tim Potter [Thu, 22 May 2003 00:49:24 +0000 (00:49 +0000)]
Merge of head(1) portability patch.

20 years agoFix typo.
John Terpstra [Wed, 21 May 2003 17:14:08 +0000 (17:14 +0000)]
Fix typo.

20 years agofix for UNICODE plaintext passwords (bug #59) and fix smbclient to send the unicode...
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

20 years agoA few small edits to the locking file. Source of info: Eric Roseme's whitepaper.
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>

20 years agomerge LANMAN1/LANMAN2.1 fixes from head
Andrew Tridgell [Wed, 21 May 2003 05:20:54 +0000 (05:20 +0000)]
merge LANMAN1/LANMAN2.1 fixes from head

20 years agoWe don't support level 0 and do support level 5 for the enumprinters command.
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.

20 years agoreally make sure to include the version in the lanman string; tested spnego using...
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

20 years agobetter handling of --with-expsam (includes pdb_nisplussam now)
Gerald Carter [Tue, 20 May 2003 21:15:49 +0000 (21:15 +0000)]
better handling of --with-expsam (includes pdb_nisplussam now)

20 years agoremove WITH_TDB_SAM & USE_SMBPASS_DB
Gerald Carter [Tue, 20 May 2003 18:30:37 +0000 (18:30 +0000)]
remove WITH_TDB_SAM & USE_SMBPASS_DB

20 years agowrap pdb_[nisplussam|xml|mysql] in --with-expsam option & some formatting fixes
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

20 years agoFix bug #95: net did not build when ldap was installed, but --without-ads
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.

20 years agoFix bug #96: Use DNS decompression to properly parse cldap netlogon
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.

20 years agoFix bug #98: DNS compression is required for proper building of the
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.

20 years agoMore edits - added example.
John Terpstra [Tue, 20 May 2003 06:24:48 +0000 (06:24 +0000)]
More edits - added example.

20 years agoFreeBSD5 ACL fix.
Jeremy Allison [Mon, 19 May 2003 18:00:44 +0000 (18:00 +0000)]
FreeBSD5 ACL fix.
Jeremy.

20 years agoFix macros for next and opaque quota ops. Spotted by metze
Alexander Bokovoy [Mon, 19 May 2003 09:09:37 +0000 (09:09 +0000)]
Fix macros for next and opaque quota ops. Spotted by metze

20 years agoUpdates for AIX winbind client from Stephen Roylance.
Tim Potter [Mon, 19 May 2003 00:42:28 +0000 (00:42 +0000)]
Updates for AIX winbind client from Stephen Roylance.

20 years agoFixups and more edits.
John Terpstra [Sun, 18 May 2003 21:14:16 +0000 (21:14 +0000)]
Fixups and more edits.

20 years agoMore Edits.
John Terpstra [Sun, 18 May 2003 08:00:54 +0000 (08:00 +0000)]
More Edits.

20 years agoThis was actually a24 release (fixed changelog entry), add note about VFS API changes
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

20 years agoCope with cumulative permissions sets. This code is #ifdef'ed out at the
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.

20 years agoPatch from "Esh, Andrew" <Andrew_Esh@adaptec.com> to fix core dump bug
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.

20 years agoWell spotted typo by Marco Berger <MARCOB@voelcker.com>
Andrew Bartlett [Fri, 16 May 2003 14:15:09 +0000 (14:15 +0000)]
Well spotted typo by Marco Berger <MARCOB@voelcker.com>

Andrew Bartlett

20 years agoDavid Lee <t.d.lee@durham.ac.uk> provides some corrections to the comments
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

20 years agoanother bugfix from Alex Deiter <tiamat@komi.mts.ru>
Simo Sorce [Fri, 16 May 2003 10:48:58 +0000 (10:48 +0000)]
another bugfix from Alex Deiter <tiamat@komi.mts.ru>
thanks

20 years agoFix from Alex Deiter <tiamat@komi.mts.ru>
Simo Sorce [Fri, 16 May 2003 07:59:52 +0000 (07:59 +0000)]
Fix from Alex Deiter <tiamat@komi.mts.ru>

Reversed check.

20 years agoadd metze's patch for smb_register functions
Simo Sorce [Fri, 16 May 2003 06:20:57 +0000 (06:20 +0000)]
add metze's patch for smb_register functions

20 years agoadd idmap_winbind unless I made a better way to solve SID type for domain
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

20 years agoClarify a comment: The secure channel connection must be opened on the
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.

20 years agoPatch from Luke Howard <lukeh@PADL.COM> to recognise local groups.
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.

20 years agoFix for winbindd segfault (finally I think this is the correct one :-)
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.

20 years agoFix from Steve G <linux_4ever@yahoo.com>. Ensure sigemptyset is called on
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.

20 years agoPatch from "Alex Deiter" <tiamat@komi.mts.ru> to fix incorrect error check.
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.

20 years agoEnsure sys_adminlog code won't coredump with incorrect client params.
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.

20 years agoPatch from Luke Howard <lukeh@PADL.COM> that fixes some weird handling of
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/

20 years agoMerge of incorrect emacs mode fix.
Tim Potter [Thu, 15 May 2003 04:17:54 +0000 (04:17 +0000)]
Merge of incorrect emacs mode fix.

20 years agoOk, try and fix this correctly... Simplify the nasty loop logic.
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.

20 years agoFix winbindd coredump. Remember to set a ** pointer to null before
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.

20 years agopreparing for release of 3.0alpha24
Gerald Carter [Wed, 14 May 2003 20:41:33 +0000 (20:41 +0000)]
preparing for release of 3.0alpha24

20 years agofix quota build on non-64bit systems
Gerald Carter [Wed, 14 May 2003 20:22:48 +0000 (20:22 +0000)]
fix quota build on non-64bit systems

20 years agoworking on 3.0alpha24
Gerald Carter [Wed, 14 May 2003 19:35:20 +0000 (19:35 +0000)]
working on 3.0alpha24

20 years agoreadding reverted changes during idmap merge (noticed by Andrew b.)
Gerald Carter [Wed, 14 May 2003 18:36:54 +0000 (18:36 +0000)]
readding reverted changes during idmap merge (noticed by Andrew b.)

20 years agoEvolve quotas configure check more. Patch from Stefan (metze) Metzemacher. Now we...
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.

20 years agoPrefix VFS API macros with SMB_ for consistency and to avoid problems with VFS_ macro...
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

20 years agofix group mapping in LDAP under new schema
Gerald Carter [Wed, 14 May 2003 05:28:16 +0000 (05:28 +0000)]
fix group mapping in LDAP under new schema

20 years agos/primaryGroupSID/sambaPrimaryGroupSID/
Gerald Carter [Wed, 14 May 2003 04:49:01 +0000 (04:49 +0000)]
s/primaryGroupSID/sambaPrimaryGroupSID/

20 years agoignore manpage.[refs|links]
Gerald Carter [Wed, 14 May 2003 04:41:43 +0000 (04:41 +0000)]
ignore manpage.[refs|links]

20 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
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'.

20 years agoignore manpage.[refs|links]
Gerald Carter [Wed, 14 May 2003 04:41:19 +0000 (04:41 +0000)]
ignore manpage.[refs|links]

20 years agoperl script to convert from sambaAccount to sambaSamAccount; requires Net::LDAP:...
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

20 years agosyncing LDAP schema changes with Samba_3_0
Gerald Carter [Wed, 14 May 2003 04:39:55 +0000 (04:39 +0000)]
syncing LDAP schema changes with Samba_3_0

20 years agoperl script to convert from sambaAccount to sambaSamAccount; requires Net::LDAP:...
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

20 years ago*****LDAP schema changes*****
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.

20 years agoMove some #ifdefs and function prototypes around to avoid a compiler
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()

20 years agoMove some #ifdefs and function prototypes around to avoid a compiler
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()

20 years agoFix pointer return bug in get_unix_attributes()
Tim Potter [Wed, 14 May 2003 00:59:26 +0000 (00:59 +0000)]
Fix pointer return bug in get_unix_attributes()

20 years agoFix 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()

20 years agospelling
Tim Potter [Wed, 14 May 2003 00:46:43 +0000 (00:46 +0000)]
spelling

20 years agospelling
Tim Potter [Wed, 14 May 2003 00:38:58 +0000 (00:38 +0000)]
spelling

20 years agospelling
Tim Potter [Wed, 14 May 2003 00:27:12 +0000 (00:27 +0000)]
spelling

20 years agospelling
Tim Potter [Wed, 14 May 2003 00:26:32 +0000 (00:26 +0000)]
spelling

20 years agofix up packaging for RH9
Gerald Carter [Tue, 13 May 2003 21:01:41 +0000 (21:01 +0000)]
fix up packaging for RH9

20 years agoRestore a number of fixes that idra removed when he merged his
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

20 years agoMore info on Unix permissions.
John Terpstra [Tue, 13 May 2003 06:13:44 +0000 (06:13 +0000)]
More info on Unix permissions.

20 years agoFix non-constant initialiser for Sun CC.
Andrew Bartlett [Tue, 13 May 2003 06:13:36 +0000 (06:13 +0000)]
Fix non-constant initialiser for Sun CC.

20 years agoMore info on Unix permissions.
John Terpstra [Tue, 13 May 2003 06:13:20 +0000 (06:13 +0000)]
More info on Unix permissions.

20 years agoAdd pythoncheck to make check target.
Tim Potter [Tue, 13 May 2003 04:38:09 +0000 (04:38 +0000)]
Add pythoncheck to make check target.

20 years agoSync up with 3.0 version.
Tim Potter [Tue, 13 May 2003 04:35:58 +0000 (04:35 +0000)]
Sync up with 3.0 version.

20 years agoTry to fix up some code in pdb_smbpasswd that assumed we still had a 'uid'.
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

20 years agoFix up the build-farm testsuite again - I forgot to move some files into the
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

20 years agoFix compiler warnings.
Jeremy Allison [Mon, 12 May 2003 21:29:01 +0000 (21:29 +0000)]
Fix compiler warnings.
Jeremy.

20 years agoFix obvious compiler warnings.
Jeremy Allison [Mon, 12 May 2003 21:27:54 +0000 (21:27 +0000)]
Fix obvious compiler warnings.
Jeremy.

20 years agocopied form HEAD to get the compile going.
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

20 years agoAnd finally IDMAP in 3_0
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.

20 years agofixing typos in debug statements
Gerald Carter [Mon, 12 May 2003 16:08:11 +0000 (16:08 +0000)]
fixing typos in debug statements

20 years agofixing typos in debug statements
Gerald Carter [Mon, 12 May 2003 16:06:05 +0000 (16:06 +0000)]
fixing typos in debug statements

20 years agoEliminate NULL pointers from VFS interface. All hooks now really callable, producing...
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

20 years agoGCC accepts unnamed initalization of sub-structure. Let's see how AIX behave with...
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.

20 years agoRe-enable secure channel for net rpc vampire.
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.

20 years agoFix two bugs that were stopping net rpc vampire from working over secure
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.

20 years agoA small patch from metze to fix builds on some platforms ...
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

20 years agoAdded info on File and Directory info.
John Terpstra [Mon, 12 May 2003 05:15:08 +0000 (05:15 +0000)]
Added info on File and Directory info.

20 years agoAdding more info on File and Directory conventions / differences.
John Terpstra [Mon, 12 May 2003 05:14:19 +0000 (05:14 +0000)]
Adding more info on File and Directory conventions / differences.

20 years agoFix a wrong define check.
Alexander Bokovoy [Mon, 12 May 2003 03:13:41 +0000 (03:13 +0000)]
Fix a wrong define check.

20 years agoWrap into WITH_QUOTAS yet another place in trans2
Alexander Bokovoy [Mon, 12 May 2003 02:53:17 +0000 (02:53 +0000)]
Wrap into WITH_QUOTAS yet another place in trans2

20 years agoForgot to actually change default for quotas to -no- in configure.in
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

20 years agoForgot 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

20 years agoBetter isolate quota stuff
Alexander Bokovoy [Mon, 12 May 2003 02:23:50 +0000 (02:23 +0000)]
Better isolate quota stuff

20 years agoSmall fix for HAVE_SYS_QUOTAS usage, spotted by build farm
Alexander Bokovoy [Mon, 12 May 2003 02:01:31 +0000 (02:01 +0000)]
Small fix for HAVE_SYS_QUOTAS usage, spotted by build farm

20 years agoFix up a bit of my sloppy C.
Andrew Bartlett [Mon, 12 May 2003 01:49:03 +0000 (01:49 +0000)]
Fix up a bit of my sloppy C.

20 years agoSmall fix for HAVE_SYS_QUOTAS usage, spotted by build farm
Alexander Bokovoy [Mon, 12 May 2003 01:43:59 +0000 (01:43 +0000)]
Small fix for HAVE_SYS_QUOTAS usage, spotted by build farm

20 years agoAdd NT quota support. Patch from Stefan (metze) Metzemacher
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

20 years agoGive up on the idea of avoiding lp_load() in ntlm_auth....
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

20 years agoMake it possible to actually use --user-SID and --group-SID on a standard command...
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

20 years agoFix compile.
Andrew Bartlett [Sun, 11 May 2003 23:49:36 +0000 (23:49 +0000)]
Fix compile.

20 years agoAdd new files needed for VFS fixes.
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.

20 years agoFix VFS layer:
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