ira/wip.git
21 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 :-/

21 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

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

21 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

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

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

21 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

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

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

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

21 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

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

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

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

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

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

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

21 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

21 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

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

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

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

21 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'.

21 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

21 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

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

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

21 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

21 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"

21 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

21 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

21 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

21 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)

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

21 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

21 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)

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

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

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

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

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

21 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

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

21 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

21 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

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

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

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

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

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

21 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

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

21 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)

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

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

21 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 !

21 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

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

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

21 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

21 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

21 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()

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

21 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

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

21 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

21 years agoFixes from Ronan Waide <waider@waider.ie> for large RPC writes.
Jeremy Allison [Mon, 28 Apr 2003 18:43:46 +0000 (18:43 +0000)]
Fixes from Ronan Waide <waider@waider.ie> for large RPC writes.
Jeremy.

21 years agoUse NTSTATUS as return value for smb_register_*() functions and init_module()
Jelmer Vernooij [Mon, 28 Apr 2003 18:33:25 +0000 (18:33 +0000)]
Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.

21 years agoAdd example auth/ module
Jelmer Vernooij [Mon, 28 Apr 2003 17:15:21 +0000 (17:15 +0000)]
Add example auth/ module

21 years agoFix SGML/XML incompability before starting conversion to XML
Alexander Bokovoy [Mon, 28 Apr 2003 16:53:13 +0000 (16:53 +0000)]
Fix SGML/XML incompability before starting conversion to XML

21 years agoRemove uid and gid column
Jelmer Vernooij [Mon, 28 Apr 2003 14:17:52 +0000 (14:17 +0000)]
Remove uid and gid column

21 years agoAdd note on AIX
Jelmer Vernooij [Mon, 28 Apr 2003 14:16:10 +0000 (14:16 +0000)]
Add note on AIX

21 years agoIn HEAD, idra removed _nua and renamed it to 'idmap uid'
Andrew Bartlett [Mon, 28 Apr 2003 13:53:25 +0000 (13:53 +0000)]
In HEAD, idra removed _nua and renamed it to 'idmap uid'

21 years agoWe don't use 'non unix account range' any more
Andrew Bartlett [Mon, 28 Apr 2003 13:51:46 +0000 (13:51 +0000)]
We don't use 'non unix account range' any more

21 years agoBugs should go into bugzilla!
Jelmer Vernooij [Mon, 28 Apr 2003 13:31:10 +0000 (13:31 +0000)]
Bugs should go into bugzilla!

21 years agoUse entities and add overview of directories
Jelmer Vernooij [Mon, 28 Apr 2003 13:07:29 +0000 (13:07 +0000)]
Use entities and add overview of directories

21 years agoTypo in error message
Volker Lendecke [Mon, 28 Apr 2003 12:29:25 +0000 (12:29 +0000)]
Typo in error message

Volker

21 years agoMerge memory leak fixes in our trusted domain list from 3.0 to HEAD
Andrew Bartlett [Mon, 28 Apr 2003 09:14:31 +0000 (09:14 +0000)]
Merge memory leak fixes in our trusted domain list from 3.0 to HEAD

21 years agoMerge compile warning fixes from 3.0
Andrew Bartlett [Mon, 28 Apr 2003 09:02:21 +0000 (09:02 +0000)]
Merge compile warning fixes from 3.0

21 years agoMerge compile and other fixes from 3.0 to HEAD.
Andrew Bartlett [Mon, 28 Apr 2003 08:54:51 +0000 (08:54 +0000)]
Merge compile and other fixes from 3.0 to HEAD.

Including smbtorture bugfixes, and a better TCONDEV test.

Andrew Bartlett

21 years agoPerform lp_load() before popt to fix -W option.
Tim Potter [Mon, 28 Apr 2003 07:03:08 +0000 (07:03 +0000)]
Perform lp_load() before popt to fix -W option.

21 years agoMerge of -W fixes for bug #39:
Tim Potter [Mon, 28 Apr 2003 06:59:08 +0000 (06:59 +0000)]
Merge of -W fixes for bug #39:

>Replace workgroup global variable with lp_workgroup()
>
>Call lp_load() before parsing command line options so we can override
>the workgroup value with the -W switch.

21 years agoFix compiler warning.
Tim Potter [Mon, 28 Apr 2003 06:18:44 +0000 (06:18 +0000)]
Fix compiler warning.

21 years agoGetting ready for code that actually writes a registry file out.
Richard Sharpe [Mon, 28 Apr 2003 06:16:01 +0000 (06:16 +0000)]
Getting ready for code that actually writes a registry file out.

21 years agoTwo character tabs - I don't think so.
Tim Potter [Mon, 28 Apr 2003 05:40:46 +0000 (05:40 +0000)]
Two character tabs - I don't think so.

21 years agoReturn NT_STATUS_UNSUCCESSFUL if the sourcedata and echodata rpcs
Tim Potter [Mon, 28 Apr 2003 03:33:56 +0000 (03:33 +0000)]
Return NT_STATUS_UNSUCCESSFUL if the sourcedata and echodata rpcs
return unexpected data.

Closes bug #2.

21 years agoUpdate for new modules system
Jelmer Vernooij [Mon, 28 Apr 2003 01:21:28 +0000 (01:21 +0000)]
Update for new modules system

21 years agoReplace references to the old textdocs by references to chapters in
Jelmer Vernooij [Mon, 28 Apr 2003 00:58:10 +0000 (00:58 +0000)]
Replace references to the old textdocs by references to chapters in
the HOWTO Collection.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS:  Tag: SAMBA_3_0
CVS:  smb.conf.default
CVS: ----------------------------------------------------------------------

21 years agoUpdate for the new modules system. Also, use Makefile rather then Makefile.in
Jelmer Vernooij [Mon, 28 Apr 2003 00:49:49 +0000 (00:49 +0000)]
Update for the new modules system. Also, use Makefile rather then Makefile.in
because we don't generate Makefile from configure anymore.

21 years agoFix number of arguments to asprintf()
Jelmer Vernooij [Mon, 28 Apr 2003 00:29:00 +0000 (00:29 +0000)]
Fix number of arguments to asprintf()

21 years agoDocument 'nmblookup -M -- -'
Jelmer Vernooij [Sun, 27 Apr 2003 21:46:35 +0000 (21:46 +0000)]
Document 'nmblookup -M -- -'

21 years agoAdd 'smbiconv' program - a clone of the 'iconv' utility
Jelmer Vernooij [Sun, 27 Apr 2003 20:49:18 +0000 (20:49 +0000)]
Add 'smbiconv' program - a clone of the 'iconv' utility
that uses samba's internal iconv() functions. Useful for
testing purposes.

21 years agoRemove docs-status - all it's contents are in bugzilla now
Jelmer Vernooij [Sun, 27 Apr 2003 15:52:34 +0000 (15:52 +0000)]
Remove docs-status - all it's contents are in bugzilla now