samba.git
21 years agoUse current 3.0 paramater names
Andrew Bartlett [Tue, 29 Apr 2003 01:05:51 +0000 (01:05 +0000)]
Use current 3.0 paramater names

21 years agoFixes from Ronan Waide <waider@waider.ie> for large RPC writes.
Jeremy Allison [Mon, 28 Apr 2003 18:42:34 +0000 (18:42 +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 17:48:48 +0000 (17:48 +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 authentication module
Jelmer Vernooij [Mon, 28 Apr 2003 17:14:49 +0000 (17:14 +0000)]
Add example authentication module

21 years agotesting commit
Gerald Carter [Mon, 28 Apr 2003 15:39:38 +0000 (15:39 +0000)]
testing commit

21 years agoreadding template files on SAMBA_3_0 branch; not cvs tag
Gerald Carter [Mon, 28 Apr 2003 15:39:22 +0000 (15:39 +0000)]
readding template files on SAMBA_3_0 branch; not cvs tag

21 years agoAdd cast for compiler
Andrew Bartlett [Mon, 28 Apr 2003 14:23:44 +0000 (14:23 +0000)]
Add cast for compiler

21 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Mon, 28 Apr 2003 13:53:26 +0000 (13:53 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

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 agoFix a confusing error message
Volker Lendecke [Mon, 28 Apr 2003 12:27:18 +0000 (12:27 +0000)]
Fix a confusing error message

Volker

21 years agoThe caller must always set the RID on the SAM_ACCOUNT, so don't try and guess
Andrew Bartlett [Mon, 28 Apr 2003 11:46:22 +0000 (11:46 +0000)]
The caller must always set the RID on the SAM_ACCOUNT, so don't try and guess
it from the UID.

Andrew Bartlett

21 years agoThe RID must be 'SET', not 'DEFAULT' or we won't set it into LDAP, and try
Andrew Bartlett [Mon, 28 Apr 2003 11:40:58 +0000 (11:40 +0000)]
The RID must be 'SET', not 'DEFAULT' or we won't set it into LDAP, and try
to make it up from the algorithm...

Andrew Bartlett

21 years agoGuenther Deschner <gd@suse.de> notes that I missed out setting the default
Andrew Bartlett [Mon, 28 Apr 2003 11:14:12 +0000 (11:14 +0000)]
Guenther Deschner <gd@suse.de> notes that I missed out setting the default
for the 'normal' case (not --with-ldapsam).

Andrew Bartlett

21 years agoA new pdb_ldap!
Andrew Bartlett [Mon, 28 Apr 2003 10:20:55 +0000 (10:20 +0000)]
A new pdb_ldap!

This patch removes 'non unix account range' (same as idra's change in HEAD),
and uses the winbind uid range instead.

More importanly, this patch changes the LDAP schema to use 'ntSid' instead
of 'rid' as the primary attribute.  This makes it in common with the group
mapping code, and should allow it to be used closely with a future idmap_ldap.

Existing installations can use the existing functionality by using the
ldapsam_compat backend, and users who compile with --with-ldapsam will get
this by default.

More importantly, this patch adds a 'sambaDomain' object to our schema -
which contains 2 'next rid' attributes, the domain name and the domain sid.
Yes, there are *2* next rid attributes.  The problem is that we don't 'own'
the entire RID space - we can only allocate RIDs that could be 'algorithmic'
RIDs.  Therefore, we use the fact that UIDs in 'winbind uid' range will be
mapped by IDMAP, not the algorithm.

Andrew Bartlett

21 years agoinet_pton isn't portable, so use interpret_addr2.
Andrew Bartlett [Mon, 28 Apr 2003 09:19:09 +0000 (09:19 +0000)]
inet_pton isn't portable, so use interpret_addr2.

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 agoMerge:
Tim Potter [Mon, 28 Apr 2003 07:05:50 +0000 (07:05 +0000)]
Merge:

> Perform lp_load() before popt to fix -W option.

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 agoReplace workgroup global variable with lp_workgroup()
Tim Potter [Mon, 28 Apr 2003 06:54:49 +0000 (06:54 +0000)]
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.

Fixes bug #39.

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

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 agoMerge:
Tim Potter [Mon, 28 Apr 2003 05:54:37 +0000 (05:54 +0000)]
Merge:

>Patch from waider to set exit code of last executed command specified
>as an argument to -c.

21 years agoWhitespace syncup.
Tim Potter [Mon, 28 Apr 2003 05:47:07 +0000 (05:47 +0000)]
Whitespace syncup.

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 agoMerge: we need a rule for t_snprintf
Tim Potter [Mon, 28 Apr 2003 05:29:10 +0000 (05:29 +0000)]
Merge: we need a rule for t_snprintf

21 years agoIgnore t_snprintf binary.
Tim Potter [Mon, 28 Apr 2003 05:28:48 +0000 (05:28 +0000)]
Ignore t_snprintf binary.

21 years agoMerge of a debuglevel downgrade from HEAD.
Tim Potter [Mon, 28 Apr 2003 05:26:59 +0000 (05:26 +0000)]
Merge of a debuglevel downgrade from HEAD.

21 years agoMerge stf updates from HEAD.
Tim Potter [Mon, 28 Apr 2003 05:20:01 +0000 (05:20 +0000)]
Merge stf updates from HEAD.

21 years agoMerge of const fixes from HEAD.
Tim Potter [Mon, 28 Apr 2003 05:18:30 +0000 (05:18 +0000)]
Merge of const fixes from HEAD.

21 years agoMerge from HEAD:
Tim Potter [Mon, 28 Apr 2003 03:36:01 +0000 (03:36 +0000)]
Merge from HEAD:

>Return NT_STATUS_UNSUCCESSFUL if the sourcedata and echodata rpcs
>return unexpected data.
>
>Closes bug #2.

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 the new modules system
Jelmer Vernooij [Mon, 28 Apr 2003 01:24:26 +0000 (01:24 +0000)]
Update for the new modules system

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

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 agoReplace references to the old textdocs by references to chapters in
Jelmer Vernooij [Mon, 28 Apr 2003 00:57:51 +0000 (00:57 +0000)]
Replace references to the old textdocs by references to chapters in
the HOWTO Collection.

21 years agoUpdate for the new modules system. Also, use Makefile rather then Makefile.in
Jelmer Vernooij [Mon, 28 Apr 2003 00:52:02 +0000 (00:52 +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 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 agoFix number of arguments to asprintf()
Jelmer Vernooij [Mon, 28 Apr 2003 00:28:25 +0000 (00:28 +0000)]
Fix number of arguments to asprintf()

21 years agoMake some more functions static
Jelmer Vernooij [Mon, 28 Apr 2003 00:28:01 +0000 (00:28 +0000)]
Make some more functions static

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

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 agoAdd 'smbiconv' program - a clone of the 'iconv' utility
Jelmer Vernooij [Sun, 27 Apr 2003 20:47:15 +0000 (20:47 +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:54:07 +0000 (15:54 +0000)]
Remove docs-status - all it's contents are in bugzilla now

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

21 years agoUpdate for 3.0 (Update information about the docs and ./configure)
Jelmer Vernooij [Sun, 27 Apr 2003 15:00:20 +0000 (15:00 +0000)]
Update for 3.0 (Update information about the docs and ./configure)

21 years agoUpdate for 3.0 (update information about the docs and ./configure)
Jelmer Vernooij [Sun, 27 Apr 2003 14:59:54 +0000 (14:59 +0000)]
Update for 3.0 (update information about the docs and ./configure)

21 years agoRemove documentation for unixsam and plugin.
Jelmer Vernooij [Sun, 27 Apr 2003 14:03:48 +0000 (14:03 +0000)]
Remove documentation for unixsam and plugin.

21 years agoprepare to get _nua out of the door (but back in from the window ;-)
Simo Sorce [Sun, 27 Apr 2003 12:47:41 +0000 (12:47 +0000)]
prepare to get _nua out of the door (but back in from the window ;-)

21 years agodefault remote idmap backend is null
Simo Sorce [Sun, 27 Apr 2003 12:25:53 +0000 (12:25 +0000)]
default remote idmap backend is null

21 years agomake winbind use idmap as well.
Simo Sorce [Sun, 27 Apr 2003 12:07:20 +0000 (12:07 +0000)]
make winbind use idmap as well.
change idmap_init call

removed ldap backend for winbind idmap, seem it had problems anyway and it
have to be reworked to work with idmap without calling winbind code.

simo

21 years agotypo
Simo Sorce [Sun, 27 Apr 2003 11:24:58 +0000 (11:24 +0000)]
typo

21 years agoFix typo - tdbbackup is man sect 8 not 1
John Terpstra [Sat, 26 Apr 2003 20:41:04 +0000 (20:41 +0000)]
Fix typo - tdbbackup is man sect 8 not 1

21 years agoFixed typo - tdbbackup is man sect 8 not 1
John Terpstra [Sat, 26 Apr 2003 20:40:13 +0000 (20:40 +0000)]
Fixed typo - tdbbackup is man sect 8 not 1

21 years agoPatch from Vorlon
John Terpstra [Sat, 26 Apr 2003 19:46:59 +0000 (19:46 +0000)]
Patch from Vorlon

21 years agoPatch from Vorlon.
John Terpstra [Sat, 26 Apr 2003 19:45:30 +0000 (19:45 +0000)]
Patch from Vorlon.

21 years agoPAtch from VORLON
John Terpstra [Sat, 26 Apr 2003 19:45:07 +0000 (19:45 +0000)]
PAtch from VORLON

21 years agoUpdate from HEAD.
John Terpstra [Sat, 26 Apr 2003 19:29:27 +0000 (19:29 +0000)]
Update from HEAD.

21 years agoAdding tdbbackup manpage to Makefile, fix typos, fix incorrect syntax on author entry.
John Terpstra [Sat, 26 Apr 2003 19:26:25 +0000 (19:26 +0000)]
Adding tdbbackup manpage to Makefile, fix typos, fix incorrect syntax on author entry.

21 years agoUpdate - jht
John Terpstra [Sat, 26 Apr 2003 18:49:43 +0000 (18:49 +0000)]
Update - jht

21 years agoAdded man page for tdbbackup
John Terpstra [Sat, 26 Apr 2003 18:45:54 +0000 (18:45 +0000)]
Added man page for tdbbackup

21 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
cvs2svn Import User [Sat, 26 Apr 2003 18:42:18 +0000 (18:42 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.

21 years agoAdded tdbbackup man page.
John Terpstra [Sat, 26 Apr 2003 18:42:17 +0000 (18:42 +0000)]
Added tdbbackup man page.

21 years agoremoving smbgroupedit man page
Gerald Carter [Sat, 26 Apr 2003 17:27:44 +0000 (17:27 +0000)]
removing smbgroupedit man page

21 years agoremoving smbgroupedit manpage
Gerald Carter [Sat, 26 Apr 2003 17:22:13 +0000 (17:22 +0000)]
removing smbgroupedit manpage

21 years agoround three of CIDR fixes; spotted by Tomoki AONO
Gerald Carter [Sat, 26 Apr 2003 16:18:39 +0000 (16:18 +0000)]
round three of CIDR fixes; spotted by Tomoki AONO

21 years agoround three of CIDR fixes; spotted by Tomoki AONO
Gerald Carter [Sat, 26 Apr 2003 16:18:20 +0000 (16:18 +0000)]
round three of CIDR fixes; spotted by Tomoki AONO

21 years agoenhancements
Simo Sorce [Sat, 26 Apr 2003 15:48:48 +0000 (15:48 +0000)]
enhancements

21 years agoadd idmap only parameter
Simo Sorce [Sat, 26 Apr 2003 14:43:33 +0000 (14:43 +0000)]
add idmap only parameter
make idmap not map SIDs outside the uid/gid range defined by default
this is to keep backward compatibility

21 years agoRemove the unpopular pdb_unix, which has served it's time well.
Andrew Bartlett [Sat, 26 Apr 2003 13:49:55 +0000 (13:49 +0000)]
Remove the unpopular pdb_unix, which has served it's time well.

Also get charset 'werid' for both --enable-developer options in configure.

Andrew Bartlett

21 years agoAfter a quick run with the 'weird' charset, squash a few bugs in our new
Andrew Bartlett [Sat, 26 Apr 2003 13:29:37 +0000 (13:29 +0000)]
After a quick run with the 'weird' charset, squash a few bugs in our new
'UF8-safe' LDAP code.

I hope I've caught all the places where we were pushing strings into or
out of LDAP now.

Andrew Bartlett

21 years agoAdd the weird charset in 3_0 and build it by default for ./configure --enable-developer
Jelmer Vernooij [Sat, 26 Apr 2003 11:49:05 +0000 (11:49 +0000)]
Add the weird charset in 3_0 and build it by default for ./configure --enable-developer

21 years agoFix the weird charset and build it by default for ./configure -enable-developer
Jelmer Vernooij [Sat, 26 Apr 2003 11:48:16 +0000 (11:48 +0000)]
Fix the weird charset and build it by default for ./configure -enable-developer

21 years agoFix the 'weird' charset module. Also, built it by default for
Jelmer Vernooij [Sat, 26 Apr 2003 11:38:42 +0000 (11:38 +0000)]
Fix the 'weird' charset module. Also, built it by default for
./configure --enable-developer

21 years agoThe net manpage is complete, say so in the VERSION section
Jelmer Vernooij [Sat, 26 Apr 2003 02:30:53 +0000 (02:30 +0000)]
The net manpage is complete, say so in the VERSION section

21 years ago--with-tdbsam is gone
Jelmer Vernooij [Sat, 26 Apr 2003 02:29:33 +0000 (02:29 +0000)]
--with-tdbsam is gone

21 years agoUse &author.jerry;, not &person.jerry;
Jelmer Vernooij [Sat, 26 Apr 2003 02:28:01 +0000 (02:28 +0000)]
Use &author.jerry;, not &person.jerry;

21 years agoMany fixes for typos and syntax, includes patch from Jesse Jacobs <jesse@eazy.homeip...
John Terpstra [Sat, 26 Apr 2003 01:39:37 +0000 (01:39 +0000)]
Many fixes for typos and syntax, includes patch from Jesse Jacobs <jesse@eazy.homeip.net>

21 years agoMany typos, syntax fixes, more. Multiple sources including mega patch from
John Terpstra [Sat, 26 Apr 2003 01:38:46 +0000 (01:38 +0000)]
Many typos, syntax fixes, more. Multiple sources including mega patch from
- Jesse Jacobs <jesse@eazy.homeip.net>

21 years agoback port from HEAD
Simo Sorce [Sat, 26 Apr 2003 01:15:57 +0000 (01:15 +0000)]
back port from HEAD

21 years agolet's suppose I want to specify exactly which SID a user should have ...
Simo Sorce [Sat, 26 Apr 2003 01:02:25 +0000 (01:02 +0000)]
let's suppose I want to specify exactly which SID a user should have ...

Simo.

21 years agoA RID can never be zero
Simo Sorce [Sat, 26 Apr 2003 01:01:14 +0000 (01:01 +0000)]
A RID can never be zero

21 years agoGet credentials before publishing printers.
Jim McDonough [Fri, 25 Apr 2003 21:51:26 +0000 (21:51 +0000)]
Get credentials before publishing printers.

21 years agoFixes for syntax errors.
John Terpstra [Fri, 25 Apr 2003 18:05:59 +0000 (18:05 +0000)]
Fixes for syntax errors.

21 years agoMerge from HEAD.
John Terpstra [Fri, 25 Apr 2003 16:02:59 +0000 (16:02 +0000)]
Merge from HEAD.

21 years agoUpdate from Rick Segeberg <landude@comcast.net>
John Terpstra [Fri, 25 Apr 2003 15:59:42 +0000 (15:59 +0000)]
Update from Rick Segeberg <landude@comcast.net>

21 years agoAdding edits from Vance Lankhaar.
John Terpstra [Fri, 25 Apr 2003 15:49:02 +0000 (15:49 +0000)]
Adding edits from Vance Lankhaar.

21 years agoUpdate from Rick Segeberg <landude@comcast.net>
John Terpstra [Fri, 25 Apr 2003 14:26:08 +0000 (14:26 +0000)]
Update from Rick Segeberg <landude@comcast.net>

21 years agoAs nobody really objected to this patch, I opted to create facts :-)
Volker Lendecke [Fri, 25 Apr 2003 12:42:57 +0000 (12:42 +0000)]
As nobody really objected to this patch, I opted to create facts :-)

This uses 'socket address' as the source address for nmbd. This way we
can again synchronize with the DMB if we have 'bind interfaces only'
to a virtual interface.

I'd love to see this in 2.2.9, but that is up to jerry or jra.

Volker

21 years agoAs nobody really objected to this patch, I opted to create facts :-)
Volker Lendecke [Fri, 25 Apr 2003 12:42:32 +0000 (12:42 +0000)]
As nobody really objected to this patch, I opted to create facts :-)

This uses 'socket address' as the source address for nmbd. This way we
can again synchronize with the DMB if we have 'bind interfaces only'
to a virtual interface.

I'd love to see this in 2.2.9, but that is up to jerry or jra.

Volker