1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
Commit Graph

11786 Commits

Author SHA1 Message Date
Jelmer Vernooij
e76eaf0f17 Fix syntax error 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
b0d5e1b177 Remove obsolete information from Speed.sgml and move client-specific
info to Other-Clients.sgml
0001-01-01 00:00:00 +00:00
John Terpstra
63589f958b More updates - still a work in progress. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
61255a2b36 For NTLM2 (not yet even close to real implementation) we must use the
server hash for checking the server's signiture.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
c11465b285 Remove unused (#ifdef'ed) code. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
e8aa615591 Use fstrcpy/pstrcpy when that's what we really mean...
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Richard Sharpe
f993f7187c 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.
0001-01-01 00:00:00 +00:00
Richard Sharpe
03fce4ed0f Start the outline of the code to store a registry tree ... 0001-01-01 00:00:00 +00:00
Richard Sharpe
043374a3c0 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.
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
aa4c11370b Default to "passdb.xml" as default output filename instead of "-" 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
9822af500c Pdb modules are in $libdir/pdb not $libdir/passdb 0001-01-01 00:00:00 +00:00
Richard Sharpe
0741369c59 Add a -f command-line flag to specify printing all paths or only terminal
paths.
0001-01-01 00:00:00 +00:00
Richard Sharpe
562b36510c 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.
0001-01-01 00:00:00 +00:00
Richard Sharpe
02e6782243 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 ...
0001-01-01 00:00:00 +00:00
Richard Sharpe
53ea4c0de8 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 ...
0001-01-01 00:00:00 +00:00
Richard Sharpe
266fc6c9f2 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.
0001-01-01 00:00:00 +00:00
Richard Sharpe
fc691a9a5e 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 :-(
0001-01-01 00:00:00 +00:00
Richard Sharpe
b8e85afefb More functionality, esp around adding keys and inheritance of security
descriptors etc ...
0001-01-01 00:00:00 +00:00
Richard Sharpe
e3c4f8c913 MOre functionality ... got to test it. 0001-01-01 00:00:00 +00:00
John Terpstra
5d72c6cfca More update stuff - not finished (ofcourse!) 0001-01-01 00:00:00 +00:00
John Terpstra
a4f89aabfa Fix typo. 0001-01-01 00:00:00 +00:00
John Terpstra
9b35377f0c Updates and additions. 0001-01-01 00:00:00 +00:00
Richard Sharpe
31ded623b1 Some more work added ... 0001-01-01 00:00:00 +00:00
Volker Lendecke
dcbbbd66a9 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
0001-01-01 00:00:00 +00:00
Richard Sharpe
c7d39a7426 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 :-)
0001-01-01 00:00:00 +00:00
Simo Sorce
625eee8e03 some readline completion exancements
still need working, does not complete remote names yet
0001-01-01 00:00:00 +00:00
Simo Sorce
dd8009bf59 use gid_t for gids not uid_t 0001-01-01 00:00:00 +00:00
Simo Sorce
bc95de4ebb 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
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
4f1865f7c2 Regenerate docs 0001-01-01 00:00:00 +00:00
Gerald Carter
0fd28bc3a8 [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>]
0001-01-01 00:00:00 +00:00
Gerald Carter
4c92994dfd uidPool and gidPool don't use cn anymore (but we don't use thsi anyways) 0001-01-01 00:00:00 +00:00
Richard Sharpe
882799ca11 More minor edits to add features ... 0001-01-01 00:00:00 +00:00
Gerald Carter
c2580e15d6 fix byte ordering when using CIDR notation in hosts allow/deny; spotted by Eloy Paris 0001-01-01 00:00:00 +00:00
Volker Lendecke
408a94b64d Survive a samdump with an alias that has no description
Volker
0001-01-01 00:00:00 +00:00
Jelmer Vernooij
571e14bd07 Add notes on Japanese charsets from Monyo 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
381f75134a Regenerate docs 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
13a4cd540a Regenerate docs 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
aee2c48c72 Always use DSSSL stylesheet 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
c7f18b38e6 Fix syntax errors 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
934dbcb1ae Update SGML layout. 0001-01-01 00:00:00 +00:00
Jelmer Vernooij
0a55ff6738 Fix syntax errors 0001-01-01 00:00:00 +00:00
John Terpstra
c1dea19852 Edits in progress. 0001-01-01 00:00:00 +00:00
Simo Sorce
6393105bda 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
0001-01-01 00:00:00 +00:00
John Terpstra
f75624dad4 Small edits. 0001-01-01 00:00:00 +00:00
John Terpstra
c77c4e57dc Adding Mimir's edits. 0001-01-01 00:00:00 +00:00
Richard Sharpe
410451f947 More updates ... 0001-01-01 00:00:00 +00:00
Richard Sharpe
22d1819011 Updates to editreg.c to provide more functionality ...
Hopefully more coming ...
0001-01-01 00:00:00 +00:00
Alexander Bokovoy
eefe0322e2 Fix typos 0001-01-01 00:00:00 +00:00
Andrew Bartlett
b12164729d I've changed 'net rpc join', so I should doco it...
Andrew Bartlett
0001-01-01 00:00:00 +00:00
Alexander Bokovoy
63767ab985 Fix a typo spotted when working on PDF version 0001-01-01 00:00:00 +00:00