samba.git
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/
(This used to be commit 4b6785a6c0fe0aebb1cc69bfc9937d19bc692642)

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.
(This used to be commit 9d973bdfb70333684912ad18d15fcffc4b67dd29)

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.
(This used to be commit c19599a5624ac7ea63b529bf7d36cdcd7c8ef89f)

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.
(This used to be commit 5d3ac0e39b2b3c60de7c1fe562e4da1f508a2884)

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
(This used to be commit 92298223b58ca9840badaf2a3f6481eed122fd27)

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
(This used to be commit 227ac953386d0040c661cde85a5b23e10529fb0c)

20 years agoworking on 3.0alpha24
Gerald Carter [Wed, 14 May 2003 19:35:20 +0000 (19:35 +0000)]
working on 3.0alpha24
(This used to be commit a0e5f5960c3ffedb162a60f5fe4c8cf1fee9613d)

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.)
(This used to be commit c6d836c61cb3e122dcc41b874ed5a03a130b6a4c)

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.
(This used to be commit 3786695c72e6ff6a52a527382ac77142e236971b)

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
(This used to be commit c2689ed118b490e49497a76ed6a2251262018769)

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
(This used to be commit 0714dda7cc4a1df73e1b9d11daae80a1f46583de)

20 years agos/primaryGroupSID/sambaPrimaryGroupSID/
Gerald Carter [Wed, 14 May 2003 04:49:01 +0000 (04:49 +0000)]
s/primaryGroupSID/sambaPrimaryGroupSID/
(This used to be commit 925c60f5e2f5301da90fc26dddc1bad610eea0d0)

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

20 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
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'.(This used to be commit b47b930e0bcce54cc6eeced7e74b7cc38dc85735)

20 years agoignore manpage.[refs|links]
Gerald Carter [Wed, 14 May 2003 04:41:19 +0000 (04:41 +0000)]
ignore manpage.[refs|links]
(This used to be commit 15676b50e1b6d2f24d0207116c133bca4a2cbaf8)

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
(This used to be commit 5b6f22f7c986bc423246adeecc0d5a4bd5f307c6)

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
(This used to be commit a1326ea34831bf49942f7bcb954999091c3ea820)

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
(This used to be commit 9cde1aa32aed55a3d7cb28881c6acd9800b02065)

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.
(This used to be commit 998586e65271daa919e47e1206c0007454cbca66)

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()
(This used to be commit 080a943e24f1dd02ebdf31ec3e76a1c3d19834df)

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()
(This used to be commit 4836c0c0fcbf4be5f52bba60cc8843e8551b59b8)

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()
(This used to be commit 04e2fe104dfa4508b59276ecd7bee201d453462e)

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()
(This used to be commit 7aa54f0a7f3bcfb5d9560ca3bb88e1549b7ce421)

20 years agospelling
Tim Potter [Wed, 14 May 2003 00:46:43 +0000 (00:46 +0000)]
spelling
(This used to be commit 865c11275685c85124b506c9bbd2a8bde2e760b9)

20 years agospelling
Tim Potter [Wed, 14 May 2003 00:38:58 +0000 (00:38 +0000)]
spelling
(This used to be commit 249a6974702d050644d6d61f33f0034ce2a689ee)

20 years agospelling
Tim Potter [Wed, 14 May 2003 00:27:12 +0000 (00:27 +0000)]
spelling
(This used to be commit 1b4f904277b5e9331cdf4491163f856aa78d0453)

20 years agospelling
Tim Potter [Wed, 14 May 2003 00:26:32 +0000 (00:26 +0000)]
spelling
(This used to be commit 6097b050d082c7c88dca5416389617306e6dab0c)

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
(This used to be commit 9a52b08bfc9e5004030ee03676811543b55be6d5)

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
(This used to be commit c7d5e336bd91514a02974044742b058be387e490)

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.
(This used to be commit f8762d3308e142dbd5462be876df5a3e400c763d)

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.
(This used to be commit c2948b9248016388f9b7c5595b0e1aba7e1ace8d)

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.
(This used to be commit 94a3d8e8ad0bb0df2ed29d0c6dceb403197c5e6c)

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.
(This used to be commit 7149dc65c7e22d53110c5e8bbab8ba96963ade76)

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.
(This used to be commit b02ea3c137ebab506599ca4168bd50f77e1c995e)

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
(This used to be commit 3daf7cba2393af768b253c419152ea305204f3d8)

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
(This used to be commit a7b34564ae4615c2585a82aa248a9cf92905254d)

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

20 years agoFix obvious compiler warnings.
Jeremy Allison [Mon, 12 May 2003 21:27:54 +0000 (21:27 +0000)]
Fix obvious compiler warnings.
Jeremy.
(This used to be commit 2a6d0c2481c3c34351e57c30a85004babdbf99b0)

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
(This used to be commit 90e35640bcde1b7dfc6e68eed6ccb257f309fd0d)

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.
(This used to be commit 0e58085978f984436815114a2ec347cf7899a89d)

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
(This used to be commit bd660f45df4df686f58a181f002ca1d88e7c1015)

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
(This used to be commit f59bcb51cfe4e268ba43245d401d212aefdf2b72)

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
(This used to be commit af0a17349e6986eef2e2fd07b4b9f0bcd33bbe1f)

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.
(This used to be commit 13e1bbd803111361bcd9c28b5086277c912c59a6)

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.
(This used to be commit 47d8ee3679292ece5d86df11bc56c9b4d71f3d11)

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.
(This used to be commit a8c11e855611c91e94787387c62ac629232cacfa)

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
(This used to be commit 5d643b9d03135effa5c8fd84bf1e54a7bd075e2a)

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.
(This used to be commit 75cb9a32f6822adbd689cc7a1f74feb8e966084a)

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.
(This used to be commit f03a13c0be5d33dd6548de7cd5b8d4e397793701)

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.
(This used to be commit f1c4f65ae019c61f4a8178bee094dd66506dbcae)

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
(This used to be commit fea5d85d947965bd4789ab31607fd48d78403696)

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
(This used to be commit 7c2395d7cd98b23d58a024a54e5058101fc9d322)

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
(This used to be commit 73cf63a27f4ff53546171aec18952324d1ed983c)

20 years agoBetter isolate quota stuff
Alexander Bokovoy [Mon, 12 May 2003 02:23:50 +0000 (02:23 +0000)]
Better isolate quota stuff
(This used to be commit 73de13159c57de21a59d2e32216812f5d9d2292e)

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
(This used to be commit 01cff3e2e4e2724ed112fa62a775055192a2207b)

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.
(This used to be commit f67cc24acf37a9f46427c993574ecf261d7aec1a)

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
(This used to be commit ee5fa840686a1d9789688e7c0f1c3ca8d0175e94)

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
(This used to be commit 4bf022ce9e45be85609426762ba2644ac2031326)

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
(This used to be commit 4842de04cf2e1528e726dfad070dfe3a82f46fa2)

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
(This used to be commit dd14da756640ba36834a05b9da4759a809c0bb37)

20 years agoFix compile.
Andrew Bartlett [Sun, 11 May 2003 23:49:36 +0000 (23:49 +0000)]
Fix compile.
(This used to be commit ca2e453c7838b6d0ed2d0a45124d162073bbbf99)

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.
(This used to be commit 1dd578635913c8340cfc565d7e0c8c5086070084)

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
(This used to be commit 91984ef5caa2d13c5d52e1f535bd3bbbae1ec978)

20 years agoRolling in VL's changes.
John Terpstra [Sun, 11 May 2003 19:58:15 +0000 (19:58 +0000)]
Rolling in VL's changes.
(This used to be commit b58e30a4019bad2614833de43f49e460b76459a6)

20 years agoRolling in VL's changes.
John Terpstra [Sun, 11 May 2003 19:57:51 +0000 (19:57 +0000)]
Rolling in VL's changes.
(This used to be commit 02244dac83623dabe927f79780cf4b7313022495)

20 years agoSet the password for a newly created trustdom account. Tested against
Volker Lendecke [Sun, 11 May 2003 16:59:06 +0000 (16:59 +0000)]
Set the password for a newly created trustdom account. Tested against
PDCs running NT4SP1, NT4SP6 and Samba 3.0.

Volker
(This used to be commit 2143446043b2c29027cf69554caddf41274df709)

20 years agoWhen we have a NT4SP0 PDC trust us, we first have to check the
Volker Lendecke [Sun, 11 May 2003 13:20:27 +0000 (13:20 +0000)]
When we have a NT4SP0 PDC trust us, we first have to check the
password. On NT4, NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT means
the password was correct. So the PDC believed that he had his trust
account correctly added. Later the auth2 naturally failed.

BTW, setting up an interdom trust account is not what I would call
well documented and easy to handle... Working on that now :-)

Volker
(This used to be commit e4e44cf3b18231ec5d7326fb42edec741caa147b)

20 years agoOk, this is a hack. On a netsec bind reply I did not see anything
Volker Lendecke [Sun, 11 May 2003 08:08:25 +0000 (08:08 +0000)]
Ok, this is a hack. On a netsec bind reply I did not see anything
useful in the auth verifier yet. So this patch ignores it.

Really checking this would be a lot more intrusive: in rpc_api_pipe we
would have to distinguish between binds and normal requests, or have
more state in the netsec info of cli_state, which is also somewhat
hackish.

Volker
(This used to be commit 8de04fcf680a9bc5054965577eb500e0541ffe66)

20 years agoExtending Samba Access Control Info
John Terpstra [Sun, 11 May 2003 07:45:07 +0000 (07:45 +0000)]
Extending Samba Access Control Info
(This used to be commit d85ffb3e70189648cd2d0c8113dc3d8085ff80bc)

20 years agoUpdating Global definitions.
John Terpstra [Sun, 11 May 2003 07:41:48 +0000 (07:41 +0000)]
Updating Global definitions.
(This used to be commit 18b62570c4b0b84ebe665395f08ca7c23e4c126a)

20 years agoExtending Access Control Docs
John Terpstra [Sun, 11 May 2003 07:41:23 +0000 (07:41 +0000)]
Extending Access Control Docs
(This used to be commit c0a1069463ea7239ca603deb5c568151439fea3f)

20 years agoAs discussed on samba-technical - move to 'primaryGroupSid' insted of
Andrew Bartlett [Sun, 11 May 2003 05:59:34 +0000 (05:59 +0000)]
As discussed on samba-technical - move to 'primaryGroupSid' insted of
primaryGroupID (rid).  This is consistant with the move from 'rid' to ntSid
for the primary user identifier.

Also cope with legacy installations where primaryGroupID might have been
stored as 0.

Andrew Bartlett
(This used to be commit 0e432817cb927b41af7b49fb0b5081ffdb46f85e)

20 years agoUsing /dev/urandom for determining an ldap server backoff is a waste of system
Andrew Bartlett [Sun, 11 May 2003 02:26:53 +0000 (02:26 +0000)]
Using /dev/urandom for determining an ldap server backoff is a waste of system
entropy - use sys_random() instead.

Andrew Bartlett
(This used to be commit 640462a365235aa7ce6f817778f022530a25d909)

20 years agoCompletion of Stand-Alone server docs.
John Terpstra [Sat, 10 May 2003 20:55:14 +0000 (20:55 +0000)]
Completion of Stand-Alone server docs.
(This used to be commit e2eb7f128ef802bde742acfd13bc093a05d31200)

20 years agoCompletion of Stand-Alone server docs.
John Terpstra [Sat, 10 May 2003 20:54:41 +0000 (20:54 +0000)]
Completion of Stand-Alone server docs.
(This used to be commit 44dbed231743b5caea319c448b2700bb02cc8303)

20 years agoFix typos in StandAloneServer
John Terpstra [Sat, 10 May 2003 15:37:26 +0000 (15:37 +0000)]
Fix typos in StandAloneServer
Remove admonition in ServerType - Until someone gives me a replacement for it
I consider it a non-issue.
(This used to be commit 147676b44a4b393276497419f0bc80bff8fe425a)

20 years agoForgot one file.
Jelmer Vernooij [Sat, 10 May 2003 14:48:46 +0000 (14:48 +0000)]
Forgot one file.
(This used to be commit 71f6fb16ba9c75b96aea9b0b18f4b73b0d11a5ac)

20 years agoRemove latest module_dummy patch from metze and me.
Jelmer Vernooij [Sat, 10 May 2003 12:57:03 +0000 (12:57 +0000)]
Remove latest module_dummy patch from metze and me.
(This used to be commit 32c8796f2a2b598daa17835394d143bd266aa7bf)

20 years agoReverse latest module_dummy patch from metze and me.
Jelmer Vernooij [Sat, 10 May 2003 12:56:20 +0000 (12:56 +0000)]
Reverse latest module_dummy patch from metze and me.
(This used to be commit 9dc8f7b4d46b3d1adf4b22cec2b62600dcb3c899)

20 years agoReverse previous patch from Stefan and me after comments by Andrew Bartlett
Jelmer Vernooij [Sat, 10 May 2003 11:49:51 +0000 (11:49 +0000)]
Reverse previous patch from Stefan and me after comments by Andrew Bartlett
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)

20 years agoReverse previous patch from Stefan and me after comments by Andrew Bartlett.
Jelmer Vernooij [Sat, 10 May 2003 11:47:29 +0000 (11:47 +0000)]
Reverse previous patch from Stefan and me after comments by Andrew Bartlett.
(This used to be commit d31509fe88da8727521586dced1da2c73bfee2bc)

20 years agoPatch from metze and me that adds dummy smb_register_*() functions
Jelmer Vernooij [Sat, 10 May 2003 10:56:20 +0000 (10:56 +0000)]
Patch from metze and me that adds dummy smb_register_*() functions
(This used to be commit 367a5cad1edf6a49783806d5a8b59a62d8856706)

20 years agoPatch from metze and me that adds dummy smb_register_*() functions so
Jelmer Vernooij [Sat, 10 May 2003 10:53:48 +0000 (10:53 +0000)]
Patch from metze and me that adds dummy smb_register_*() functions so
that is now possible to, for example, load a module which contains
an auth method into a binary without the auth/ subsystem built in.
(This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)

20 years agoFixes for typos and other stuff resulting from VL's feedback.
John Terpstra [Sat, 10 May 2003 05:26:48 +0000 (05:26 +0000)]
Fixes for typos and other stuff resulting from VL's feedback.
(This used to be commit 59d17982b7062e6a34e9382fb0056a913b28e23e)

20 years agoTypos and fixes resulting from VL feedback.
John Terpstra [Sat, 10 May 2003 05:26:05 +0000 (05:26 +0000)]
Typos and fixes resulting from VL feedback.
(This used to be commit ab1ff35187924c31a8fa503c0d02c6b54605da4f)

20 years agoFix from Tom.Lackemann@falconstor.com to correctly set the flags based
Jeremy Allison [Sat, 10 May 2003 02:05:27 +0000 (02:05 +0000)]
Fix from Tom.Lackemann@falconstor.com to correctly set the flags based
on the security entries sent.
Jeremy.
(This used to be commit 748ae44d55f54291da3fe6ba2d60285d6da3d415)

20 years agoFix from Tom.Lackemann@falconstor.com to correctly set the flags based
Jeremy Allison [Sat, 10 May 2003 02:05:24 +0000 (02:05 +0000)]
Fix from Tom.Lackemann@falconstor.com to correctly set the flags based
on the security entries sent.
Jeremy.
(This used to be commit 45953d59f707b58e66b980512afc7f929d360ad5)

20 years agoOptimisation. We don't need to do 2 strlen's when we're setting the stat
Jeremy Allison [Sat, 10 May 2003 00:35:38 +0000 (00:35 +0000)]
Optimisation. We don't need to do 2 strlen's when we're setting the stat
struct in the correct place.
Jeremy.
(This used to be commit 4cd8b276715f7e019fcee8fc3ebb2855610c4751)

20 years agoOptimisation. We don't need to do 2 strlen's when we're setting the stat
Jeremy Allison [Sat, 10 May 2003 00:35:23 +0000 (00:35 +0000)]
Optimisation. We don't need to do 2 strlen's when we're setting the stat
struct in the correct place.
Jeremy.
(This used to be commit 98729bc9a60f77dbc107c42f4f7a60ed96e2102f)

20 years agoFix for possible segfault in readline handler. Found by vitalyb@mail333.com.
Jeremy Allison [Sat, 10 May 2003 00:32:13 +0000 (00:32 +0000)]
Fix for possible segfault in readline handler. Found by vitalyb@mail333.com.
Jeremy.
(This used to be commit ec36cb4f6f59dac2f459d831f960152603e12633)

20 years agoFix for possible segfault in readline handler. Found by vitalyb@mail333.com.
Jeremy Allison [Sat, 10 May 2003 00:30:47 +0000 (00:30 +0000)]
Fix for possible segfault in readline handler. Found by vitalyb@mail333.com.
Jeremy.
(This used to be commit 151b7d0d88e14dd17c28e522a3e1e8f64a4a2a87)

20 years agoFix typo.
John Terpstra [Sat, 10 May 2003 00:03:58 +0000 (00:03 +0000)]
Fix typo.
(This used to be commit 7bec28f23c5bef8516e798a0808585ed1a30517e)

20 years agosyncing README to go along with scripts
Gerald Carter [Fri, 9 May 2003 21:52:49 +0000 (21:52 +0000)]
syncing README to go along with scripts
(This used to be commit 94780f0947f7ad7d5bc83e61681148637b59d7ab)

20 years agosyncing import/export smbpasswd file scripts from 2.2
Gerald Carter [Fri, 9 May 2003 21:51:57 +0000 (21:51 +0000)]
syncing import/export smbpasswd file scripts from 2.2
(This used to be commit ee1374cabf38c3d99e66a45316e232d1c2cfbe6a)

20 years agoremoving total print jobs since it is not used anymore
Gerald Carter [Fri, 9 May 2003 21:49:24 +0000 (21:49 +0000)]
removing total print jobs since it is not used anymore
(This used to be commit 6138093aa0ded3719f73ed3efbd7172131ca0fa3)

20 years agoremoving total print jobs since it is not used anymore
Gerald Carter [Fri, 9 May 2003 21:47:32 +0000 (21:47 +0000)]
removing total print jobs since it is not used anymore
(This used to be commit b87be0dddfcace95527b9a05f8f81cd6d2e86d39)

20 years agoMakefile changes to allow new NTLMv2 patch to work.
Andrew Bartlett [Fri, 9 May 2003 15:25:20 +0000 (15:25 +0000)]
Makefile changes to allow new NTLMv2 patch to work.
(This used to be commit 0c1946e51c7cd18907eb65c93042758196fe74c9)

20 years agoCleanups. My NTLMv2 changes also changed the preference from using an implicit
Andrew Bartlett [Fri, 9 May 2003 15:02:11 +0000 (15:02 +0000)]
Cleanups.  My NTLMv2 changes also changed the preference from using an implicit
structure-memcpy for DATA_BLOB parameters to using a pointer to that DATA_BLOB.

auth_sam calls some of these functions, so I've cleaned it all up to use this
format now.

Also clean up some debug statements to make them easier to read.

Andrew Bartlett
(This used to be commit 0c355c274a6ac084e4bf15a15613dfc007d6c5fc)

20 years agoFinally get NTLMv2 working on the client!
Andrew Bartlett [Fri, 9 May 2003 14:42:20 +0000 (14:42 +0000)]
Finally get NTLMv2 working on the client!

With big thanks to tpot for the ethereal disector, and for the base code
behind this, we now fully support NTLMv2 as a client.

In particular, we support it with direct domain logons (tested with ntlm_auth
--diagnostics), with 'old style' session setups, and with NTLMSSP.

In fact, for NTLMSSP we recycle one of the parts of the server's reply directly...

(we might need to parse for unicode issues later).

In particular, a Win2k domain controller now supplies us with a session key
for this password, which means that doman joins, and non-spnego SMB signing
are now supported with NTLMv2!

Andrew Bartlett
(This used to be commit 9f6a26769d345d319ec167cd0e82a45e1207ed81)

20 years agoFix bug #4 for net rap. Allow more than 50 chars for long form listings of users...
Jim McDonough [Fri, 9 May 2003 13:06:11 +0000 (13:06 +0000)]
Fix bug #4 for net rap.  Allow more than 50 chars for long form listings of users and groups.
(This used to be commit 27ca9bde6ba1a21326d89ab1dab52f7053fff9a4)