tprouty/samba.git
16 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.

16 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.

16 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.

16 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

16 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.

16 years agoSome more static definitions ...
Richard Sharpe [Fri, 9 May 2003 07:42:23 +0000 (07:42 +0000)]
Some more static definitions ...

16 years agoAdd some static ...
Richard Sharpe [Fri, 9 May 2003 07:03:10 +0000 (07:03 +0000)]
Add some static ...

16 years agoMore edits. Hackety Hack.
John Terpstra [Fri, 9 May 2003 06:48:33 +0000 (06:48 +0000)]
More edits. Hackety Hack.

16 years agoSome more fixes for syntax problems on AIX etc ...
Richard Sharpe [Fri, 9 May 2003 06:23:15 +0000 (06:23 +0000)]
Some more fixes for syntax problems on AIX etc ...

16 years agoFix up a bunch of compiler warnings ...
Richard Sharpe [Fri, 9 May 2003 05:39:50 +0000 (05:39 +0000)]
Fix up a bunch of compiler warnings ...

16 years agoFix some compiler warnings about const etc ...
Richard Sharpe [Fri, 9 May 2003 04:59:36 +0000 (04:59 +0000)]
Fix some compiler warnings about const etc ...

16 years agoFix nasty bug pointed out by samba-technical poster. If name is mangled
Jeremy Allison [Fri, 9 May 2003 01:06:43 +0000 (01:06 +0000)]
Fix nasty bug pointed out by samba-technical poster. If name is mangled
then we weren't always correctly detecting that it had a valid stat struct
and so might now return a 'file existed'. Finally realized this when installing
the W2K resource kit as a test case.
Jeremy.

16 years agoadd new %a strings
Gerald Carter [Thu, 8 May 2003 21:58:34 +0000 (21:58 +0000)]
add new %a strings

16 years agoadding warning about case sensitive parameter
Gerald Carter [Thu, 8 May 2003 21:56:51 +0000 (21:56 +0000)]
adding warning about case sensitive parameter

16 years agofix bug #47; revert registration of workgroup<1b> to 2.2 behavior
Gerald Carter [Thu, 8 May 2003 21:20:07 +0000 (21:20 +0000)]
fix bug #47; revert registration of workgroup<1b> to 2.2 behavior

16 years agofixed bug #75; add check for non-zero destlen
Gerald Carter [Thu, 8 May 2003 20:19:21 +0000 (20:19 +0000)]
fixed bug #75; add check for non-zero destlen

16 years agoAnother set of updates.
John Terpstra [Thu, 8 May 2003 07:40:57 +0000 (07:40 +0000)]
Another set of updates.

16 years agoSMB_QUERY_FILE_ALT_NAME_INFO and SMB_FILE_ALTERNATE_NAME_INFORMATION
Jeremy Allison [Wed, 7 May 2003 22:19:56 +0000 (22:19 +0000)]
SMB_QUERY_FILE_ALT_NAME_INFO and SMB_FILE_ALTERNATE_NAME_INFORMATION
are identical - noticed by "Dr. Tilo Levante" <tilo@levante.de>.
Jeremy.

16 years agoMake fchown, fchmod conditional for systems that don't have them.
Jeremy Allison [Wed, 7 May 2003 18:28:26 +0000 (18:28 +0000)]
Make fchown, fchmod conditional for systems that don't have them.
Jeremy.

16 years agoFix missing para marker.
John Terpstra [Wed, 7 May 2003 07:51:08 +0000 (07:51 +0000)]
Fix missing para marker.

16 years agoMore edits. Now working on BDC Documentation.
John Terpstra [Wed, 7 May 2003 07:44:38 +0000 (07:44 +0000)]
More edits. Now working on BDC Documentation.

16 years agoForce ASCII for client messages. Patch from David Lee <t.d.lee@durham.ac.uk>
Jeremy Allison [Wed, 7 May 2003 02:01:33 +0000 (02:01 +0000)]
Force ASCII for client messages. Patch from David Lee  <t.d.lee@durham.ac.uk>
Jeremy.

16 years agoMerge from distcc:
Martin Pool [Wed, 7 May 2003 01:18:06 +0000 (01:18 +0000)]
Merge from distcc:

  Put in a prototype for dummy_snprintf() to quiet compiler warnings.

  Move #endif to make sure VA_COPY, LDOUBLE, etc are defined even if
  the C library has some snprintf functions already.

16 years agoWe used to use the name "*",0x0 here, but some Windows
Jeremy Allison [Wed, 7 May 2003 01:00:12 +0000 (01:00 +0000)]
We used to use the name "*",0x0 here, but some Windows
servers don't answer that name. However we *know* they
have the name workgroup#1b (as we just looked it up).
So do the node status request on this name instead.
Found at LBL labs.
Jeremy.

16 years agoMore stuffing, this turkey will soon be done.
John Terpstra [Tue, 6 May 2003 23:57:37 +0000 (23:57 +0000)]
More stuffing, this turkey will soon be done.

16 years agoAdd metze's exit and idle event patch
Jelmer Vernooij [Tue, 6 May 2003 17:52:11 +0000 (17:52 +0000)]
Add metze's exit and idle event patch

16 years agoDomain Controller -> Domain Member Server.
Andrew Bartlett [Tue, 6 May 2003 14:27:06 +0000 (14:27 +0000)]
Domain Controller -> Domain Member Server.

16 years agouff, forgot to put back this one :-/
Simo Sorce [Tue, 6 May 2003 14:02:34 +0000 (14:02 +0000)]
uff, forgot to put back this one :-/

16 years agosort out some include dependencies
Simo Sorce [Tue, 6 May 2003 13:10:10 +0000 (13:10 +0000)]
sort out some include dependencies
split out privileges from rpc_lsa.h

16 years agoadd mapping.h here
Simo Sorce [Tue, 6 May 2003 10:00:02 +0000 (10:00 +0000)]
add mapping.h here

16 years agorestore structures from previous erroneous commit
Simo Sorce [Tue, 6 May 2003 09:36:51 +0000 (09:36 +0000)]
restore structures from previous erroneous commit

16 years agoHackety, hackety, hack. More edits.
John Terpstra [Tue, 6 May 2003 06:03:58 +0000 (06:03 +0000)]
Hackety, hackety, hack. More edits.

16 years agoFix typo.
John Terpstra [Mon, 5 May 2003 19:20:14 +0000 (19:20 +0000)]
Fix typo.

16 years agoTurn off using lsa_qos.
Rafal Szczesniak [Mon, 5 May 2003 08:43:43 +0000 (08:43 +0000)]
Turn off using lsa_qos.

Rafal

16 years agoMore updates.
John Terpstra [Mon, 5 May 2003 06:46:13 +0000 (06:46 +0000)]
More updates.

16 years agoFixing Syntax Problems.
John Terpstra [Mon, 5 May 2003 04:58:35 +0000 (04:58 +0000)]
Fixing Syntax Problems.

16 years agoA good reason to use make variables instead of autoconf substitutions
Tim Potter [Mon, 5 May 2003 04:09:56 +0000 (04:09 +0000)]
A good reason to use make variables instead of autoconf substitutions
directly - fixed problem where the last line of the link command was
'\ @LDAP_LIBS@'.  If @LDAP_LIBS@ is zero then the backslash
incorrectly includes the next line of the Makefile in the current
target.

This should fix a bucketload of build farm failures.

16 years agoFixed typo introduced when reverting patch from revision 1.19
Tim Potter [Mon, 5 May 2003 03:34:19 +0000 (03:34 +0000)]
Fixed typo introduced when reverting patch from revision 1.19

16 years agoAIX doesn't append $SHLIB_EXT to NSS libraries.
Tim Potter [Mon, 5 May 2003 01:52:08 +0000 (01:52 +0000)]
AIX doesn't append $SHLIB_EXT to NSS libraries.

Also merged a little bit of abartlet's recent configure.in change of
duplicated IRIX stuff.

16 years agoUpdatting docs further. More to come.
John Terpstra [Mon, 5 May 2003 00:08:31 +0000 (00:08 +0000)]
Updatting docs further. More to come.

16 years agomove some things around
Simo Sorce [Sun, 4 May 2003 23:41:51 +0000 (23:41 +0000)]
move some things around

16 years agoMore updates.
John Terpstra [Sun, 4 May 2003 08:29:46 +0000 (08:29 +0000)]
More updates.

16 years agoUpdate.
John Terpstra [Sun, 4 May 2003 01:25:15 +0000 (01:25 +0000)]
Update.

16 years agoRe-arrangement of Chapters 3-8, merges, updates - first installment only.
John Terpstra [Sat, 3 May 2003 05:51:54 +0000 (05:51 +0000)]
Re-arrangement of Chapters 3-8, merges, updates - first installment only.

16 years agofixes to *_util.c files
Simo Sorce [Sat, 3 May 2003 01:29:18 +0000 (01:29 +0000)]
fixes to *_util.c files
add winbindd_passdb backend
this makes it possible to have nua accounts on security = user servers to
show up in unic through nss_winbind.so

the problem is that we do not have group support, so nss group support is
not very good at this time (read: totally absent)

we NEED group support in passdb

16 years agoexclude tdbsam2.h generation until it will be used
Simo Sorce [Fri, 2 May 2003 18:24:30 +0000 (18:24 +0000)]
exclude tdbsam2.h generation until it will be used

16 years agofix pam_smbpass
Simo Sorce [Fri, 2 May 2003 17:44:59 +0000 (17:44 +0000)]
fix pam_smbpass
typos

16 years agoremove testing debug line
Simo Sorce [Fri, 2 May 2003 17:31:30 +0000 (17:31 +0000)]
remove testing debug line

16 years agoAdd note on LDAP_EXOP_X_MODIFY_PASSWD. ldap passwd sync documentation should be
Jelmer Vernooij [Fri, 2 May 2003 15:04:12 +0000 (15:04 +0000)]
Add note on LDAP_EXOP_X_MODIFY_PASSWD. ldap passwd sync documentation should be
complete now.

16 years agoAdd note about 'ldap trust ids'.
Jelmer Vernooij [Fri, 2 May 2003 14:54:25 +0000 (14:54 +0000)]
Add note about 'ldap trust ids'.

16 years agoUpdate LDAP documentation for 3.0
Jelmer Vernooij [Fri, 2 May 2003 14:52:48 +0000 (14:52 +0000)]
Update LDAP documentation for 3.0

16 years agoshouldn't wellknown group be well.. ..WKN_GRP ?
Simo Sorce [Fri, 2 May 2003 08:03:25 +0000 (08:03 +0000)]
shouldn't wellknown group be well.. ..WKN_GRP ?
make a new sam_Account contain our domain by default, windows will complain
on logon otherwise.
fix stupid typo in idmap_util.c

16 years agoFix uninitialized blobs reported by Luke Howard.
Jeremy Allison [Thu, 1 May 2003 18:11:59 +0000 (18:11 +0000)]
Fix uninitialized blobs reported by Luke Howard.
Jeremy.

16 years agoFix for bugid 51 from Dragan Krnic.
Jeremy Allison [Thu, 1 May 2003 17:48:07 +0000 (17:48 +0000)]
Fix for bugid 51 from Dragan Krnic.
Jeremy.

16 years agofix wrong debug messages in idmap_util.c
Simo Sorce [Thu, 1 May 2003 16:02:55 +0000 (16:02 +0000)]
fix wrong debug messages in idmap_util.c
correctly handle allocated rids in tdbsam

16 years agoMove external links into new chapter "Further Resources"
Jelmer Vernooij [Thu, 1 May 2003 14:43:13 +0000 (14:43 +0000)]
Move external links into new chapter "Further Resources"

16 years agoinit wellknown in pdbedit too
Simo Sorce [Thu, 1 May 2003 14:32:24 +0000 (14:32 +0000)]
init wellknown in pdbedit too
add group mapping mappings to idmap at startup

16 years agoproper wellknown sids initialization at startup
Simo Sorce [Thu, 1 May 2003 14:08:00 +0000 (14:08 +0000)]
proper wellknown sids initialization at startup

16 years ago*id_to_*id call reshape to return NTSTATUS errors
Simo Sorce [Thu, 1 May 2003 11:47:48 +0000 (11:47 +0000)]
*id_to_*id call reshape to return NTSTATUS errors
plus internal fixes
1st stage

16 years agoFix disk quotas support on HP/UX (patch by David Nixon)
Jelmer Vernooij [Thu, 1 May 2003 11:02:26 +0000 (11:02 +0000)]
Fix disk quotas support on HP/UX (patch by David Nixon)

16 years agoApparently we do support RA=2.
Tim Potter [Thu, 1 May 2003 02:00:32 +0000 (02:00 +0000)]
Apparently we do support RA=2.

16 years agoDon't crash if the underlying VFS doesn't support ACL's
Jelmer Vernooij [Thu, 1 May 2003 01:35:23 +0000 (01:35 +0000)]
Don't crash if the underlying VFS doesn't support ACL's

16 years agoUse ints for the version numbers in the smb_register_*() functions (patch by metze)
Jelmer Vernooij [Thu, 1 May 2003 00:51:54 +0000 (00:51 +0000)]
Use ints for the version numbers in the smb_register_*() functions (patch by metze)

16 years agoFleshed out the description of restrict anonymous parameter.
Tim Potter [Thu, 1 May 2003 00:43:18 +0000 (00:43 +0000)]
Fleshed out the description of restrict anonymous parameter.

16 years agoAdded missing documentation for 'max reported print jobs' parameter.
Tim Potter [Thu, 1 May 2003 00:31:56 +0000 (00:31 +0000)]
Added missing documentation for 'max reported print jobs' parameter.

16 years agoFix ulink in winbind section
Alexander Bokovoy [Wed, 30 Apr 2003 22:57:58 +0000 (22:57 +0000)]
Fix ulink in winbind section

16 years agoRebuild docs
Alexander Bokovoy [Wed, 30 Apr 2003 22:52:23 +0000 (22:52 +0000)]
Rebuild docs

16 years agosmall fixes
Alexander Bokovoy [Wed, 30 Apr 2003 22:36:16 +0000 (22:36 +0000)]
small fixes

16 years ago'add machine script' is used to create unix accounts for machine accounts
Jelmer Vernooij [Wed, 30 Apr 2003 22:19:40 +0000 (22:19 +0000)]
'add machine script' is used to create unix accounts for machine accounts

16 years agoFix FAQ build
Alexander Bokovoy [Wed, 30 Apr 2003 21:47:54 +0000 (21:47 +0000)]
Fix FAQ build

16 years agoDocbook XML conversion: XSLT and build infrastructure
Alexander Bokovoy [Wed, 30 Apr 2003 21:39:49 +0000 (21:39 +0000)]
Docbook XML conversion: XSLT and build infrastructure

16 years agoRemove strip-links.pl, not needed anymore
Alexander Bokovoy [Wed, 30 Apr 2003 21:27:38 +0000 (21:27 +0000)]
Remove strip-links.pl, not needed anymore

16 years agoDocbook XML conversion: projdoc
Alexander Bokovoy [Wed, 30 Apr 2003 21:26:24 +0000 (21:26 +0000)]
Docbook XML conversion: projdoc

16 years agoDocbook XML conversion: manpages
Alexander Bokovoy [Wed, 30 Apr 2003 21:23:00 +0000 (21:23 +0000)]
Docbook XML conversion: manpages

16 years agoDocbook XML conversion: faq
Alexander Bokovoy [Wed, 30 Apr 2003 21:20:11 +0000 (21:20 +0000)]
Docbook XML conversion: faq

16 years agoDocbook XML conversion: devdoc
Alexander Bokovoy [Wed, 30 Apr 2003 21:17:53 +0000 (21:17 +0000)]
Docbook XML conversion: devdoc

16 years agoRefactor existing sock_exec() and socketpair_tcp() functions into their own
Paul Green [Wed, 30 Apr 2003 17:35:56 +0000 (17:35 +0000)]
Refactor existing sock_exec() and socketpair_tcp() functions into their own
source file. I will be making changes to sock_exec to work on VOS, which
has a blocking connect() call, but first I want to get it in its own source
file so that it can be called from a test program.

16 years agocorrectly initiazlize idmap tdb when creationg new
Simo Sorce [Wed, 30 Apr 2003 16:35:17 +0000 (16:35 +0000)]
correctly initiazlize idmap tdb when creationg new
few fixes to *id_to_*id functions, we don't set the mapping for algoritmic
RIDs, they are resolved in the classic way
eliminate getpw* calls from tdbsam

16 years agopam_smbpass will need at least IDMAP.
Andrew Bartlett [Wed, 30 Apr 2003 13:57:28 +0000 (13:57 +0000)]
pam_smbpass will need at least IDMAP.

16 years agoGet pam_smbpass to compile again (it probably won't link or run, but at least
Andrew Bartlett [Wed, 30 Apr 2003 13:56:02 +0000 (13:56 +0000)]
Get pam_smbpass to compile again (it probably won't link or run, but at least
it compiles and lets the build farm get on it's way)

16 years agoauto-init for utility functions
Simo Sorce [Wed, 30 Apr 2003 00:44:45 +0000 (00:44 +0000)]
auto-init for utility functions

16 years agoforgot to remove getpwnam
Simo Sorce [Tue, 29 Apr 2003 23:52:53 +0000 (23:52 +0000)]
forgot to remove getpwnam

16 years agoThis is a nice rewrite:
Simo Sorce [Tue, 29 Apr 2003 22:06:16 +0000 (22:06 +0000)]
This is a nice rewrite:

SAM_ACCOUNT does not have anymore uid and gid fields
all the code that used them has been fixed to use the proper idmap calls

fix to idmap_tdb for first time idmap.tdb initialization.

auth_serversupplied_info structure has now an uid and gid field

few other fixes to make the system behave correctly with idmap

tested only with tdbsam, but smbpasswd and nisplus should be ok

have not tested ldap !

16 years agoremove convert_smbpasswd and addtosmbpass from tree; people can get them from 2.2...
Gerald Carter [Tue, 29 Apr 2003 15:24:52 +0000 (15:24 +0000)]
remove convert_smbpasswd and addtosmbpass from tree; people can get them from 2.2. if they still need them

16 years agoAdding further change to accommodate the add machine script facility.
John Terpstra [Tue, 29 Apr 2003 15:18:57 +0000 (15:18 +0000)]
Adding further change to accommodate the add machine script facility.

16 years agoAdd reference to use of the add machine script for on-the-fly machine account creation.
John Terpstra [Tue, 29 Apr 2003 15:16:44 +0000 (15:16 +0000)]
Add reference to use of the add machine script for on-the-fly machine account creation.

16 years agoadding ifdef'd code to add alias membership for vampire
Gerald Carter [Tue, 29 Apr 2003 14:43:16 +0000 (14:43 +0000)]
adding ifdef'd code to add alias membership for vampire

16 years agoSome passdb backends really don't like having no primary group - so always
Andrew Bartlett [Tue, 29 Apr 2003 14:38:45 +0000 (14:38 +0000)]
Some passdb backends really don't like having no primary group - so always
set one - new accounts -> domain users, unless otherwise specified.

This moves that logic from pdb_set_sam_sids() into pdb_init_sam_new(), which
is called by all the 'new account' creators. (pdb_set_sam_sids() now only
deals with the mapping from an existing account)

Andrew Bartlett

16 years agoChange order of parameters to smb_register_passdb()
Jelmer Vernooij [Tue, 29 Apr 2003 14:09:50 +0000 (14:09 +0000)]
Change order of parameters to smb_register_passdb()

16 years agoadd version back to lanman string in sessetup reply
Gerald Carter [Tue, 29 Apr 2003 13:29:14 +0000 (13:29 +0000)]
add version back to lanman string in sessetup reply

16 years agoMerge Samba 3.0 pdb_ldap from 3.0 into HEAD, so as to allow idra to continue
Andrew Bartlett [Tue, 29 Apr 2003 12:54:46 +0000 (12:54 +0000)]
Merge Samba 3.0 pdb_ldap from 3.0 into HEAD, so as to allow idra to continue
his IDMAP work.

This version also works properly (the HEAD version had suffered from bitrot),
and should be a good basis to change into the new IDMAP rules.

It also includes UTF8 conversions.

Included also are the schema changes, and a note about the now very old scripts
in examples/LDAP (they don't work for this, or even the previous schema).

Andrew Bartlett

16 years agoforgot to add the file where things moved
Simo Sorce [Tue, 29 Apr 2003 11:40:52 +0000 (11:40 +0000)]
forgot to add the file where things moved

16 years agoconsolidate idmap code in one place
Simo Sorce [Tue, 29 Apr 2003 10:54:13 +0000 (10:54 +0000)]
consolidate idmap code in one place

16 years agoMerge 3.0's change to how we add users onto HEAD, including a few other bits
Andrew Bartlett [Tue, 29 Apr 2003 10:26:51 +0000 (10:26 +0000)]
Merge 3.0's change to how we add users onto HEAD, including a few other bits
of sync-up for the rpc_server/srv_samr_nt.c

Andrew Bartlett

16 years agoonly call the add_script if the getpwnam_alloc() fails
Gerald Carter [Tue, 29 Apr 2003 05:37:42 +0000 (05:37 +0000)]
only call the add_script if the getpwnam_alloc() fails

16 years agodon't implement any group mapping functions in the guest sam module
Gerald Carter [Tue, 29 Apr 2003 05:32:00 +0000 (05:32 +0000)]
don't implement any group mapping functions in the guest sam module

16 years agoremoving printing = SOFTQ since no one knows what it is
Gerald Carter [Tue, 29 Apr 2003 05:30:42 +0000 (05:30 +0000)]
removing printing = SOFTQ since no one knows what it is

16 years agook next_rid out as well local_*id_to*id functions
Simo Sorce [Tue, 29 Apr 2003 03:31:00 +0000 (03:31 +0000)]
ok next_rid out as well local_*id_to*id functions
reverted user making function, did not pass the abartlet test :-)
idmap is now fully integrated, we only miss user creation and removal of uid
and gid from SAM_ACCOUNT

16 years agoswat need idmap now
Simo Sorce [Mon, 28 Apr 2003 23:58:55 +0000 (23:58 +0000)]
swat need idmap now

16 years agonew helper functions to create users
Simo Sorce [Mon, 28 Apr 2003 23:36:54 +0000 (23:36 +0000)]
new helper functions to create users