Andrew Bartlett [Tue, 22 Apr 2003 07:28:41 +0000 (07:28 +0000)]
Make our 'get DNS domain name' code try a bit harder - if gethostname() doesn't
include a domain portion, do a gethostbyname() lookup on that name.
Use this name in our PolicyPrimaryDomainInformation reply (_lsa_query_info2)
that Win2k uses when trying to trust us as a trusted domain.
(We need to do a better mapping between our Netbios and Win2k domain names,
but this will do for now - particularly annoying is the way this possibly needs
to map with our kerberos realm).
Andrew Bartlett
John Terpstra [Tue, 22 Apr 2003 06:22:20 +0000 (06:22 +0000)]
Updating from HEAD.
John Terpstra [Tue, 22 Apr 2003 06:20:47 +0000 (06:20 +0000)]
Updating docs from HEAD.
Gerald Carter [Tue, 22 Apr 2003 05:57:49 +0000 (05:57 +0000)]
default new groups to domain groups
Andrew Bartlett [Tue, 22 Apr 2003 05:32:01 +0000 (05:32 +0000)]
Fix up bugs in the new 'store sec_channel type' code - we were always joining
as a BDC.
Andrew Bartlett
Gerald Carter [Tue, 22 Apr 2003 05:14:21 +0000 (05:14 +0000)]
support referencing group by sid in all operations; allow group name to be changed
Gerald Carter [Tue, 22 Apr 2003 03:15:32 +0000 (03:15 +0000)]
wrap pdb_enum_group_mapping() in [un]become_root() so LDAP queries can get the credentials from secrets.tdb
Gerald Carter [Tue, 22 Apr 2003 02:52:15 +0000 (02:52 +0000)]
removing some ifdef'd out code
Jeremy Allison [Tue, 22 Apr 2003 01:12:52 +0000 (01:12 +0000)]
Tidyups of some dubious logic discovered whilst trying to track down a
strange oplock related issue on the PSA.
Jeremy.
Jeremy Allison [Mon, 21 Apr 2003 23:23:24 +0000 (23:23 +0000)]
Fixup a few typos for Jerry.
Jeremy.
cvs2svn Import User [Mon, 21 Apr 2003 22:21:38 +0000 (22:21 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
John Terpstra [Mon, 21 Apr 2003 22:21:37 +0000 (22:21 +0000)]
Updates.
John Terpstra [Mon, 21 Apr 2003 20:00:38 +0000 (20:00 +0000)]
Merged the two browsing documents into one. Added locking module to global.ent file.
Gerald Carter [Mon, 21 Apr 2003 19:43:25 +0000 (19:43 +0000)]
* fix segfault when no vfs objects defined
* add "sid=..." to 'net groupmap add'
Gerald Carter [Mon, 21 Apr 2003 19:42:18 +0000 (19:42 +0000)]
remove smbgroupedit from packaging scripts
Andrew Bartlett [Mon, 21 Apr 2003 17:26:37 +0000 (17:26 +0000)]
Use the -W domain option to select the SID to show
Andrew Bartlett [Mon, 21 Apr 2003 17:25:54 +0000 (17:25 +0000)]
Make it easier to select which domain to show the sid for.
John Terpstra [Mon, 21 Apr 2003 16:25:38 +0000 (16:25 +0000)]
Replacing file with correct version.
Jelmer Vernooij [Mon, 21 Apr 2003 16:21:45 +0000 (16:21 +0000)]
More docs are up to date now...
Jelmer Vernooij [Mon, 21 Apr 2003 16:16:50 +0000 (16:16 +0000)]
Add question about scope id's
Jelmer Vernooij [Mon, 21 Apr 2003 16:16:31 +0000 (16:16 +0000)]
Move information about locking to seperate chapter and
information about scope id's to the faq
Jelmer Vernooij [Mon, 21 Apr 2003 16:04:54 +0000 (16:04 +0000)]
Add new part 'Troubleshooting'
Jelmer Vernooij [Mon, 21 Apr 2003 15:19:34 +0000 (15:19 +0000)]
Create ../textdocs, ../htmldocs or ../manpages if they don't exist already
Jelmer Vernooij [Mon, 21 Apr 2003 15:19:16 +0000 (15:19 +0000)]
Fix syntax error
Jelmer Vernooij [Mon, 21 Apr 2003 14:59:38 +0000 (14:59 +0000)]
Remove obsolete information from Speed.sgml and move client-specific
info to Other-Clients.sgml
John Terpstra [Mon, 21 Apr 2003 14:39:16 +0000 (14:39 +0000)]
More updates - still a work in progress.
Andrew Bartlett [Mon, 21 Apr 2003 14:15:56 +0000 (14:15 +0000)]
The 'net' syntax has changed, so update the testsuite.
Andrew Bartlett [Mon, 21 Apr 2003 14:09:03 +0000 (14:09 +0000)]
Merge from HEAD - save the type of channel used to contact the DC.
This allows us to join as a BDC, without appearing on the network as one
until we have the database replicated, and the admin changes the configuration.
This also change the SID retreval order from secrets.tdb, so we no longer
require a 'net rpc getsid' - the sid fetch during the domain join is sufficient.
Also minor fixes to 'net'.
Andrew Bartlett
Andrew Bartlett [Mon, 21 Apr 2003 13:10:35 +0000 (13:10 +0000)]
Add const, static and fix a double free() (merge from HEAD).
Andrew Bartlett [Mon, 21 Apr 2003 13:05:51 +0000 (13:05 +0000)]
Merge whitespace and const from HEAD
Andrew Bartlett [Mon, 21 Apr 2003 13:04:39 +0000 (13:04 +0000)]
Header updates for smb signing merge
Andrew Bartlett [Mon, 21 Apr 2003 13:00:39 +0000 (13:00 +0000)]
Merge SMB signing, cli buffer clobber and NTLMSSP signing tweaks from HEAD.
Andrew Bartlett [Mon, 21 Apr 2003 12:17:02 +0000 (12:17 +0000)]
For NTLM2 (not yet even close to real implementation) we must use the
server hash for checking the server's signiture.
Andrew Bartlett
Andrew Bartlett [Mon, 21 Apr 2003 11:47:27 +0000 (11:47 +0000)]
Remove unused (#ifdef'ed) code.
Andrew Bartlett [Mon, 21 Apr 2003 11:45:46 +0000 (11:45 +0000)]
Use fstrcpy/pstrcpy when that's what we really mean...
Andrew Bartlett
Richard Sharpe [Mon, 21 Apr 2003 06:59:43 +0000 (06:59 +0000)]
Correct comments about breadth first, as the registry tree is stored in a
depth first fashion in the file.
Also add some more infrastructure needed to handle storing these trees.
Richard Sharpe [Mon, 21 Apr 2003 05:18:13 +0000 (05:18 +0000)]
Start the outline of the code to store a registry tree ...
Richard Sharpe [Mon, 21 Apr 2003 04:08:42 +0000 (04:08 +0000)]
Some comments about the format of the on-disk reg file, as well as
partially implement some routines to construct a default ACL and SEC DESC
etc.
Jelmer Vernooij [Mon, 21 Apr 2003 01:56:13 +0000 (01:56 +0000)]
Default to "passdb.xml" as default output filename instead of "-"
Jelmer Vernooij [Mon, 21 Apr 2003 01:55:37 +0000 (01:55 +0000)]
Default to "passdb.xml" as default output filename instead of "-"
Jelmer Vernooij [Mon, 21 Apr 2003 01:04:17 +0000 (01:04 +0000)]
- Fix modules build of pdb_mysql and pdb_xml
- Fix typo in script/installswat.sh
Jelmer Vernooij [Mon, 21 Apr 2003 00:38:39 +0000 (00:38 +0000)]
Pdb modules are in $libdir/pdb not $libdir/passdb
Jelmer Vernooij [Mon, 21 Apr 2003 00:38:16 +0000 (00:38 +0000)]
Pdb modules are in $libdir/pdb not $libdir/passdb
Richard Sharpe [Sun, 20 Apr 2003 21:52:55 +0000 (21:52 +0000)]
Add a -f command-line flag to specify printing all paths or only terminal
paths.
Richard Sharpe [Sun, 20 Apr 2003 21:43:07 +0000 (21:43 +0000)]
Well, we can now add keys and values and delete keys and values ...
Lots more to do, like handling regular expressions for keys, and input of
the security descriptors, etc. However, I now have to work on writing the
in-memory tree out to a file in a format that Windows can understand.
Richard Sharpe [Sun, 20 Apr 2003 20:09:39 +0000 (20:09 +0000)]
Add code to delete values ...
This needs a lot more testing and debugging, but it does delete values.
Next to see if it can add values ...
Richard Sharpe [Sun, 20 Apr 2003 18:14:28 +0000 (18:14 +0000)]
Begin the code that handles key values ... Delete a key value and add a
key value, and tidy up processing of key values when reading in the registry
file ...
Richard Sharpe [Sun, 20 Apr 2003 16:31:11 +0000 (16:31 +0000)]
Complete most of the coding for adding keys. We can now add a key.
Next, we have to add the code for adding values etc.
Richard Sharpe [Sun, 20 Apr 2003 08:55:10 +0000 (08:55 +0000)]
The code is a bit of a mess right now.
Added code to add keys to the in-momory key tree.
Added code to convert SID strings to SIDs in memory format.
Added code to construct initial security descriptors and to inherit
security descriptors.
A couple of more hours should see the code to add keys and values complete.
Then I have to start on the code to write out a registry :-(
Volker Lendecke [Sun, 20 Apr 2003 08:13:29 +0000 (08:13 +0000)]
Merge a trivial fix across from HEAD. Not that this
would work now...
Volker
Richard Sharpe [Sun, 20 Apr 2003 04:53:55 +0000 (04:53 +0000)]
More functionality, esp around adding keys and inheritance of security
descriptors etc ...
Richard Sharpe [Sun, 20 Apr 2003 02:30:24 +0000 (02:30 +0000)]
MOre functionality ... got to test it.
John Terpstra [Sun, 20 Apr 2003 00:26:50 +0000 (00:26 +0000)]
More update stuff - not finished (ofcourse!)
John Terpstra [Sat, 19 Apr 2003 22:38:47 +0000 (22:38 +0000)]
Fix typo.
John Terpstra [Sat, 19 Apr 2003 22:32:53 +0000 (22:32 +0000)]
Updates and additions.
Richard Sharpe [Sat, 19 Apr 2003 22:08:25 +0000 (22:08 +0000)]
Some more work added ...
Volker Lendecke [Sat, 19 Apr 2003 18:45:03 +0000 (18:45 +0000)]
Address gcc warnings.
I could not fix the "passing arg 5 of `ldap_search_s'" completely with
gcc -Wall. A non-developer compile does not complain though.
Volker
Volker Lendecke [Sat, 19 Apr 2003 18:44:11 +0000 (18:44 +0000)]
Address gcc warnings.
I could not fix the "passing arg 5 of `ldap_search_s'" completely with
gcc -Wall. A non-developer compile does not complain though.
Volker
Richard Sharpe [Sat, 19 Apr 2003 18:36:54 +0000 (18:36 +0000)]
Squelch some warnings, and move a bit of code around to make some future
things easier ... now on to more functionality.
Hope Jerry fixes the breakage, BTW :-)
John Terpstra [Sat, 19 Apr 2003 16:27:30 +0000 (16:27 +0000)]
Added smbgroupedit to PROGS2
Simo Sorce [Sat, 19 Apr 2003 15:40:32 +0000 (15:40 +0000)]
some readline completion exancements
still need working, does not complete remote names yet
Simo Sorce [Sat, 19 Apr 2003 15:32:16 +0000 (15:32 +0000)]
use gid_t for gids not uid_t
Simo Sorce [Sat, 19 Apr 2003 15:31:40 +0000 (15:31 +0000)]
use gid_t for gids not uid_t
Simo Sorce [Sat, 19 Apr 2003 15:29:39 +0000 (15:29 +0000)]
fixes
fix debug, add "idmap" string to the list of classes
fix idmap, check init failures, and enhance debugging
fix idmap_tdb, _do_ init uid and gid low,high states (too bad I missed that
before)
fix smbd/uid.c, use gid_t for gids and uid_t for uids
Jelmer Vernooij [Sat, 19 Apr 2003 14:59:58 +0000 (14:59 +0000)]
Regenerate docs
Gerald Carter [Sat, 19 Apr 2003 06:04:17 +0000 (06:04 +0000)]
[merge from SAMBA_3_0]
Merging smbgroupedit into 'net groupmap'. Not entirely done.
Need to check on where the privilege code is sitting
and update the docs.
Examples:
root# bin/net help groupmap
net groupmap add
Create a new group mapping
net groupmap modify
Update a group mapping
net groupmap delete
Remove a group mapping
net groupmap list
List current group map
# bin/net groupmap add
Usage: net groupmap add rid=<int> name=<string> type=<domain|local|builtin> [comment=<string>]
# bin/net groupmap delete
Usage: net groupmap delete name=<string|SID>
# bin/net groupmap modify
Usage: net groupmap modify name=<string|SID> [comment=<string>] [type=<domain|local>]
Gerald Carter [Sat, 19 Apr 2003 05:53:55 +0000 (05:53 +0000)]
Merging smbgroupedit into 'net groupmap'. Not entirely done.
Need to check on where the privilege code is sitting
and update the docs.
Examples:
root# bin/net help groupmap
net groupmap add
Create a new group mapping
net groupmap modify
Update a group mapping
net groupmap delete
Remove a group mapping
net groupmap list
List current group map
# bin/net groupmap add
Usage: net groupmap add rid=<int> name=<string> type=<domain|local|builtin> [comment=<string>]
# bin/net groupmap delete
Usage: net groupmap delete name=<string|SID>
# bin/net groupmap modify
Usage: net groupmap modify name=<string|SID> [comment=<string>] [type=<domain|local>
Gerald Carter [Fri, 18 Apr 2003 22:19:51 +0000 (22:19 +0000)]
uidPool and gidPool don't use cn anymore (but we don't use thsi anyways)
Gerald Carter [Fri, 18 Apr 2003 22:19:04 +0000 (22:19 +0000)]
uidPool and gidPool don't use cn anymore (but we don't use thsi anyways)
Jelmer Vernooij [Fri, 18 Apr 2003 20:23:11 +0000 (20:23 +0000)]
'vfs object' is a list not a string (we have cascaded VFS modules in 3_0 as
well now)
Richard Sharpe [Fri, 18 Apr 2003 19:32:58 +0000 (19:32 +0000)]
More minor edits to add features ...
Gerald Carter [Fri, 18 Apr 2003 14:56:29 +0000 (14:56 +0000)]
fix byte ordering when using CIDR notation in hosts allow/deny; spotted by Eloy Paris
Gerald Carter [Fri, 18 Apr 2003 14:55:43 +0000 (14:55 +0000)]
fix byte ordering when using CIDR notation in hosts allow/deny; spotted by Eloy Paris
Volker Lendecke [Fri, 18 Apr 2003 08:36:12 +0000 (08:36 +0000)]
Survive a samdump with an alias that has no description
Volker
Volker Lendecke [Fri, 18 Apr 2003 08:35:08 +0000 (08:35 +0000)]
Survive a samdump with an alias that has no description
Volker
Gerald Carter [Fri, 18 Apr 2003 03:35:39 +0000 (03:35 +0000)]
fixing torture build by merging code from HEAD
Jelmer Vernooij [Thu, 17 Apr 2003 20:13:08 +0000 (20:13 +0000)]
Do not use lp_parm_bool() and lp_parm_ulong() yet. They're only in HEAD
Jelmer Vernooij [Thu, 17 Apr 2003 20:01:22 +0000 (20:01 +0000)]
Remove SamBackend variable (is already gone in HEAD)
Jelmer Vernooij [Thu, 17 Apr 2003 19:56:52 +0000 (19:56 +0000)]
Add notes on Japanese charsets from Monyo
Jelmer Vernooij [Thu, 17 Apr 2003 19:23:06 +0000 (19:23 +0000)]
Regenerate docs
Jelmer Vernooij [Thu, 17 Apr 2003 19:15:22 +0000 (19:15 +0000)]
Regenerate docs
Jelmer Vernooij [Thu, 17 Apr 2003 19:12:40 +0000 (19:12 +0000)]
Always use DSSSL stylesheet
Jelmer Vernooij [Thu, 17 Apr 2003 19:12:05 +0000 (19:12 +0000)]
Fix syntax errors
Jelmer Vernooij [Thu, 17 Apr 2003 18:58:53 +0000 (18:58 +0000)]
Update SGML layout.
Richard Sharpe [Thu, 17 Apr 2003 17:53:27 +0000 (17:53 +0000)]
Adding editreg.c ...
Jelmer Vernooij [Thu, 17 Apr 2003 17:25:24 +0000 (17:25 +0000)]
Fix syntax errors
John Terpstra [Thu, 17 Apr 2003 16:08:22 +0000 (16:08 +0000)]
Edits in progress.
Simo Sorce [Thu, 17 Apr 2003 14:25:52 +0000 (14:25 +0000)]
seem that someone changed the semanthic of unix_strlower without fixing all
places where it was used, this caused me segfaults in the last week :(
add more debugging in idmap to chase down a problem
John Terpstra [Thu, 17 Apr 2003 12:28:15 +0000 (12:28 +0000)]
Merge from HEAD.
John Terpstra [Thu, 17 Apr 2003 12:08:03 +0000 (12:08 +0000)]
Small edits.
John Terpstra [Thu, 17 Apr 2003 12:07:32 +0000 (12:07 +0000)]
Adding Mimir's edits.
cvs2svn Import User [Thu, 17 Apr 2003 08:09:21 +0000 (08:09 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Richard Sharpe [Thu, 17 Apr 2003 08:09:20 +0000 (08:09 +0000)]
More updates ...
Richard Sharpe [Thu, 17 Apr 2003 06:20:29 +0000 (06:20 +0000)]
Updates to editreg.c to provide more functionality ...
Hopefully more coming ...
Jeremy Allison [Wed, 16 Apr 2003 21:09:48 +0000 (21:09 +0000)]
Fixes for multi-PDU schannel - based on Volker's code. This code needs
tidying up. Samsync still doesn't work due to bad parsing of net_io_sam_alias_info
with a blank description. Still working on this....
Jeremy.
Alexander Bokovoy [Wed, 16 Apr 2003 20:52:33 +0000 (20:52 +0000)]
Fix typos
Andrew Bartlett [Wed, 16 Apr 2003 18:45:42 +0000 (18:45 +0000)]
I've changed 'net rpc join', so I should doco it...
Andrew Bartlett
Alexander Bokovoy [Wed, 16 Apr 2003 17:21:30 +0000 (17:21 +0000)]
Fix a typo spotted when working on PDF version
Jim McDonough [Wed, 16 Apr 2003 16:57:01 +0000 (16:57 +0000)]
Move PAC decoding over from HEAD.
Jeremy Allison [Wed, 16 Apr 2003 15:54:00 +0000 (15:54 +0000)]
Fixes to make SCHANNEL work against a W2K DC. Still need to fix
multi-PDU encode/decode with SCHANNEL. Also need to test against WNT DC.
Jeremy.