ira/wip.git
21 years agofix and if () that should be an 'else if()'
Gerald Carter [Fri, 25 Apr 2003 02:26:53 +0000 (02:26 +0000)]
fix and if () that should be an 'else if()'
(This used to be commit b110c499fa2a483ee82dc471aff8b6d93f6a88cc)

21 years agoMinor cleanup of enum domain groups/aliases:
Tim Potter [Fri, 25 Apr 2003 01:52:52 +0000 (01:52 +0000)]
Minor cleanup of enum domain groups/aliases:

  - return NT_STATUS_NO_MEMORY instead of NT_STATUS_UNSUCESSFUL if a
    talloc fails

  - don't try and tallocate memory when the number of entries returned was
    zero

  - rename some cut&pasted variable names in enum domain aliases function
(This used to be commit cb94b2b2d141c3df1209b2b389b0cd6752ac2b6b)

21 years agoWhen calling cli_samr_enum_{dom,als}_groups in a while loop, the
Tim Potter [Fri, 25 Apr 2003 01:37:39 +0000 (01:37 +0000)]
When calling cli_samr_enum_{dom,als}_groups in a while loop, the
terminating condition should be result != STATUS_MORE_ENTRIES, not
result == NT_STATUS_OK otherwise we get stuck in an infinite loop
when there's any sign of trouble.
(This used to be commit 2266d281a4bb0a034461ba3e72513609f86e9a38)

21 years agoCorrections and edits from Jesse Jacobs <jesse@eazy.homeip.net>
John Terpstra [Thu, 24 Apr 2003 23:26:32 +0000 (23:26 +0000)]
Corrections and edits from Jesse Jacobs <jesse@eazy.homeip.net>
(This used to be commit 2b28e69ddfb017290674298b7497ce780d189976)

21 years agoUpdates: ADS typo fix, ProfileMgmt: Additional docs on how to disable roaming profiles.
John Terpstra [Thu, 24 Apr 2003 22:00:45 +0000 (22:00 +0000)]
Updates: ADS typo fix, ProfileMgmt: Additional docs on how to disable roaming profiles.
(This used to be commit efd8872989b13bd8daa814b6b91cab1fd30ff170)

21 years agoDon't store UID or GID
Jelmer Vernooij [Thu, 24 Apr 2003 21:04:44 +0000 (21:04 +0000)]
Don't store UID or GID
(This used to be commit b2d9d450493f6fc0ceb94dd0007cedf56371bb4b)

21 years agoMove pdb_mysql and pdb_xml from modules/ to passdb/, just like they are
Jelmer Vernooij [Thu, 24 Apr 2003 20:51:16 +0000 (20:51 +0000)]
Move pdb_mysql and pdb_xml from modules/ to passdb/, just like they are
in 3_0
(This used to be commit 9b969f877f8057930fb53da99ee8a0574b4f5531)

21 years agoComplain about duplicate charsets at debug level 0 instead of 2
Jelmer Vernooij [Thu, 24 Apr 2003 20:42:16 +0000 (20:42 +0000)]
Complain about duplicate charsets at debug level 0 instead of 2
(This used to be commit d29407d41eb2ed9cf370e278cb4c95c6c341a08d)

21 years agoDeclare static function before using it
Jelmer Vernooij [Thu, 24 Apr 2003 20:32:31 +0000 (20:32 +0000)]
Declare static function before using it
(This used to be commit d501946ef6e417b9d3fa4b492dd20991e3e56baf)

21 years agoGet rid of module_path_get_name()
Jelmer Vernooij [Thu, 24 Apr 2003 20:20:25 +0000 (20:20 +0000)]
Get rid of module_path_get_name()
(This used to be commit 9f9bdd97dbbabde7b2979c62dfdf150fae8670ec)

21 years agoUpdate from LanDude <landude@comcast.net>
John Terpstra [Thu, 24 Apr 2003 19:59:27 +0000 (19:59 +0000)]
Update from LanDude <landude@comcast.net>
(This used to be commit d8f8794d10c4add9b7b850341b98c29c67028c4a)

21 years agoCheck for absolute paths by only checking the first character of the module name.
Jelmer Vernooij [Thu, 24 Apr 2003 19:30:16 +0000 (19:30 +0000)]
Check for absolute paths by only checking the first character of the module name.
Don't use strchr_m, which caused race conditions.
(This used to be commit 9411e3336ebe781da2b418219dd5803fecfc42fe)

21 years agoFix length in findfirst2 responses, fix os/2 clients
Jim McDonough [Thu, 24 Apr 2003 18:59:13 +0000 (18:59 +0000)]
Fix length in findfirst2 responses, fix os/2 clients
(This used to be commit ce56ccf932e5ae89b7d46da31ec9b17551206491)

21 years agogroupmap delete should take a name or a SID
Gerald Carter [Thu, 24 Apr 2003 16:48:08 +0000 (16:48 +0000)]
groupmap delete should take a name or a SID
(This used to be commit 4c7ee6e6b82c69ead96bc90c75cbdfab19486bb5)

21 years agoMore code to do with constructing SK records and self relative SDs.
Richard Sharpe [Thu, 24 Apr 2003 07:05:22 +0000 (07:05 +0000)]
More code to do with constructing SK records and self relative SDs.
(This used to be commit 7105265238de850f5b7effef3be8fb3f5d383669)

21 years agoMore functions to compute the space taken up by SIDs, ACEs, ACLs, SEC
Richard Sharpe [Thu, 24 Apr 2003 06:27:49 +0000 (06:27 +0000)]
More functions to compute the space taken up by SIDs, ACEs, ACLs, SEC
DESCs etc, so we can store these in an output file.
(This used to be commit 7607a1c3cd5ffb69b8db0bfe50283bda97047c42)

21 years agoremove smbgroupedit entity
Gerald Carter [Thu, 24 Apr 2003 05:35:22 +0000 (05:35 +0000)]
remove smbgroupedit entity
(This used to be commit 5de29a84b3039cd951367ac78879ec8bfd4a08d1)

21 years agoFix for bad macro error.
John Terpstra [Thu, 24 Apr 2003 05:20:34 +0000 (05:20 +0000)]
Fix for bad macro error.
(This used to be commit 076882b91c3b08d4438499b185b8e8bc0f4ba716)

21 years agoPatch from Guenther Deschner to fix build with gcc 3.2
Jelmer Vernooij [Thu, 24 Apr 2003 03:55:22 +0000 (03:55 +0000)]
Patch from Guenther Deschner to fix build with gcc 3.2
(This used to be commit f56a18853235e9090fbf962aa981688dc2e15426)

21 years agoPatch from Stefan Metzmacher to add default parameters to the lp_parm()
Jelmer Vernooij [Thu, 24 Apr 2003 03:54:54 +0000 (03:54 +0000)]
Patch from Stefan Metzmacher to add default parameters to the lp_parm()
smb.conf parameters along with some other small fixes. Binary
compatible with older modules.
(This used to be commit aa07b12fda732ca19d8dc41cebc7bb09e2549a30)

21 years agoupdate net man page for groupmap options
Gerald Carter [Thu, 24 Apr 2003 03:01:56 +0000 (03:01 +0000)]
update net man page for groupmap options
(This used to be commit 465510e39f3366a2477ffb6e7fb121ed6c88d04a)

21 years agoAdded patch from Stephen Roylance.
John Terpstra [Thu, 24 Apr 2003 02:34:27 +0000 (02:34 +0000)]
Added patch from Stephen Roylance.
(This used to be commit 308e3848622de0da7f1b73369c0429ac54d672ef)

21 years agoupdating group mapping HOWTO.
Gerald Carter [Thu, 24 Apr 2003 01:59:53 +0000 (01:59 +0000)]
updating group mapping HOWTO.
(This used to be commit 4244e21971a21b8c8c80753e962eb2420fb1a1de)

21 years agoTidy up only.
John Terpstra [Thu, 24 Apr 2003 01:24:24 +0000 (01:24 +0000)]
Tidy up only.
(This used to be commit b87ebad1ae15bf59466da3ca7c39a31c4631031b)

21 years agofix SGML syntax errors
Gerald Carter [Thu, 24 Apr 2003 01:07:44 +0000 (01:07 +0000)]
fix SGML syntax errors
(This used to be commit 43e169ce23a037b1df152b6e3fe6cfe55192b3d3)

21 years agoMore updates: Fix typo in VFS docs, added docs on pam_smbpass.so to PAM.
John Terpstra [Thu, 24 Apr 2003 00:46:28 +0000 (00:46 +0000)]
More updates: Fix typo in VFS docs, added docs on pam_smbpass.so to PAM.
(This used to be commit a1d6d56ba0af75282fb0d90db84ae8bbfa1836e0)

21 years agoMore updates.
John Terpstra [Wed, 23 Apr 2003 23:22:16 +0000 (23:22 +0000)]
More updates.
(This used to be commit 6678c325d77f18fb4b63a0cd436b6024f83366f3)

21 years agoFor deep referrals, track consumed path using a counter, and calculate the
Shirish Kalele [Wed, 23 Apr 2003 19:05:47 +0000 (19:05 +0000)]
For deep referrals, track consumed path using a counter, and calculate the
consumed count only if and when it is needed. Check into HEAD.
(This used to be commit 11281c39209b501a69f4e6f32ea2081d15947f0a)

21 years agoMissed two references to a renamed file.
Paul Green [Wed, 23 Apr 2003 17:57:08 +0000 (17:57 +0000)]
Missed two references to a renamed file.
(This used to be commit cf69c69594797032d1427de3266af86d12b15cb2)

21 years agoMerge case handling table changes from 3.0 to HEAD.
Andrew Bartlett [Wed, 23 Apr 2003 11:38:35 +0000 (11:38 +0000)]
Merge case handling table changes from 3.0 to HEAD.
(This used to be commit 263407e132dcb1f7fc85cded9842e60918f8ef4b)

21 years agoMove build farm template files to their own subdirectory so that their
Paul Green [Wed, 23 Apr 2003 11:11:55 +0000 (11:11 +0000)]
Move build farm template files to their own subdirectory so that their
names can be shortened to 30 characters. Helps Stratus VOS, which has a
32-character file name limit.
(This used to be commit 58a4be041ee92434672959b9df888cf1366bb02e)

21 years agoPatch from waider to set exit code of last executed command specified
Tim Potter [Wed, 23 Apr 2003 07:10:28 +0000 (07:10 +0000)]
Patch from waider to set exit code of last executed command specified
as an argument to -c.
(This used to be commit 048aeefcdc12d93bc728d104bbf38ea8becfb16c)

21 years agoAdd more code to store keys and other records ... still more to go
Richard Sharpe [Wed, 23 Apr 2003 06:36:34 +0000 (06:36 +0000)]
Add more code to store keys and other records ... still more to go
(This used to be commit 39f298fd395b91a0cf4bcadf3938b58a9a14c95f)

21 years agoUpdate - closed off for now
John Terpstra [Wed, 23 Apr 2003 04:39:34 +0000 (04:39 +0000)]
Update - closed off for now
(This used to be commit 8511042ff6f664eb2f5cc80a59859fb004f5be13)

21 years agoallow the unix group in a mapping to be changed; doesn't work with LDAP right now...
Gerald Carter [Wed, 23 Apr 2003 00:34:59 +0000 (00:34 +0000)]
allow the unix group in a mapping to be changed; doesn't work with LDAP right now but should be ok with tdb's
(This used to be commit 039e77e1d5b6e68cf85bdcc71ff309ebe6528728)

21 years agoLimit the number of outstanding print notify messages for a process to
Jeremy Allison [Wed, 23 Apr 2003 00:19:16 +0000 (00:19 +0000)]
Limit the number of outstanding print notify messages for a process to
1000.
Jeremy.
(This used to be commit aabaac05c6adbb510ed27f87115de3e83e27158c)

21 years agoAdded Stephen Roylance's patch to add buttons to start/stop/restart all three
John Terpstra [Tue, 22 Apr 2003 23:27:57 +0000 (23:27 +0000)]
Added Stephen Roylance's patch to add buttons to start/stop/restart all three
daemons.
(This used to be commit 2172e558fbb75937592583e81355da4471897032)

21 years agoMerged the changes I made in the 3.0 doc tree (wrong place) and
Christopher R. Hertel [Tue, 22 Apr 2003 21:09:29 +0000 (21:09 +0000)]
Merged the changes I made in the 3.0 doc tree (wrong place) and
fiddled the entry for jCIFS (thanks, John!).
(This used to be commit 43c1ba0ab2aa538d0defad4cdec385561d3563df)

21 years agoAdded jCIFS to projects.
John Terpstra [Tue, 22 Apr 2003 20:27:56 +0000 (20:27 +0000)]
Added jCIFS to projects.
(This used to be commit ef0f6b8957f3d8b46fdffa8c655c1906c9698254)

21 years agodon't reset the group type unless specified
Gerald Carter [Tue, 22 Apr 2003 18:05:13 +0000 (18:05 +0000)]
don't reset the group type unless specified
(This used to be commit cb852a047413a3499fde68a353011afdcaa92ef2)

21 years agoupdate copyright notice that is written to the logs
Gerald Carter [Tue, 22 Apr 2003 17:32:24 +0000 (17:32 +0000)]
update copyright notice that is written to the logs
(This used to be commit 5f1fe04a87a407297eb9d4ad0e5c6bb35b33c067)

21 years agoAdd runtime tests for "impossible" case with -DDEVELOPER. Trying to catch logic
Jeremy Allison [Tue, 22 Apr 2003 17:31:22 +0000 (17:31 +0000)]
Add runtime tests for "impossible" case with -DDEVELOPER. Trying to catch logic
error on Linux.
Jeremy.
(This used to be commit 5d2b2b5607faa4bf2c418987776c1ee327b098c6)

21 years agoparse_string is only used for the authentication negotiators.
Volker Lendecke [Tue, 22 Apr 2003 15:55:07 +0000 (15:55 +0000)]
parse_string is only used for the authentication negotiators.

It can itself determine the length of the string it has to
transfer. Andrew B., could you take a look at the length calculation?
Is that safe?

Thanks,

Volker
(This used to be commit d5f1082753f84f0e3a22739055b6b9cbde29faa9)

21 years agoUpdate.
John Terpstra [Tue, 22 Apr 2003 14:57:20 +0000 (14:57 +0000)]
Update.
(This used to be commit 0f8f94b6adc477a8e7ccae7444e2b7f4670ef071)

21 years agoAlways initialise this, to assist callers doing loops over this call.
Andrew Bartlett [Tue, 22 Apr 2003 12:57:30 +0000 (12:57 +0000)]
Always initialise this, to assist callers doing loops over this call.

Andrew Bartlett
(This used to be commit 6da9fd157b4e61fe72f569e4657166ca9d9ab6dc)

21 years agoMake the mangleing code actually use a common prefix, not just the same
Andrew Bartlett [Tue, 22 Apr 2003 12:56:14 +0000 (12:56 +0000)]
Make the mangleing code actually use a common prefix, not just the same
name for many files.  Also report complete failure to create a filename as
a failure of the test.

Andrew Bartlett
(This used to be commit ce572df77f941c3c3f445be2c9708c096a9186ef)

21 years agoSetting the credentials for the netsec netlogon pipe connect upon each
Volker Lendecke [Tue, 22 Apr 2003 11:25:21 +0000 (11:25 +0000)]
Setting the credentials for the netsec netlogon pipe connect upon each
samlogon call certainly breaks the credential chain. Do it once during
the bind response.

Volker
(This used to be commit 616b6dd60fe621a968fef34e66550f86b7b735bc)

21 years agoMerge from 3.0 - try harder to get our real DNS domain name, and send this
Andrew Bartlett [Tue, 22 Apr 2003 07:45:16 +0000 (07:45 +0000)]
Merge from 3.0 - try harder to get our real DNS domain name, and send this
to the client when it asks for our DNS name and forest name.

(needed for win2k to trust us as a trusted domain).

Andrew Bartlett
(This used to be commit 2a1015eb57da7b69caafd1221b871b6bff1af2fb)

21 years agoBail out early when we fail on the rw_torture test.
Andrew Bartlett [Tue, 22 Apr 2003 07:30:38 +0000 (07:30 +0000)]
Bail out early when we fail on the rw_torture test.

Andrew Bartlett
(This used to be commit 65855d2ce920053a43882919a6ae509bbd86e54b)

21 years agoComplete the space allocation code for HBIN blocks ...
Richard Sharpe [Tue, 22 Apr 2003 06:35:44 +0000 (06:35 +0000)]
Complete the space allocation code for HBIN blocks ...
(This used to be commit ae5f8e4b5f7b8880293cc94c9bbe0df81a56959e)

21 years agoCommit more code dealing with allocating space in the HBIN blocks ...
Richard Sharpe [Tue, 22 Apr 2003 06:19:39 +0000 (06:19 +0000)]
Commit more code dealing with allocating space in the HBIN blocks ...
(This used to be commit cfa67f23e3e2ba4c7abd40405227b0a8b1b76fc8)

21 years agodefault new groups to domain groups
Gerald Carter [Tue, 22 Apr 2003 05:58:07 +0000 (05:58 +0000)]
default new groups to domain groups
(This used to be commit f0c7d9def78db31b0f7f1e97a4cb6dac3382e217)

21 years agoMerge from 3.0 - fix domain joins not to always join as BDC.
Andrew Bartlett [Tue, 22 Apr 2003 05:34:43 +0000 (05:34 +0000)]
Merge from 3.0 - fix domain joins not to always join as BDC.
(This used to be commit 09bc2dd51c8407536b68aaeaeba4546f93256ec2)

21 years agosupport referencing group by sid in all operations; allow group name to be changed
Gerald Carter [Tue, 22 Apr 2003 05:14:41 +0000 (05:14 +0000)]
support referencing group by sid in all operations; allow group name to be changed
(This used to be commit 00dfaa7c2c9227a082ca17ed14aefc19d9087a57)

21 years agoanother lost merge from 3.0; my fault
Gerald Carter [Tue, 22 Apr 2003 04:54:21 +0000 (04:54 +0000)]
another lost merge from 3.0; my fault
(This used to be commit 2e5e68617345beca4d1cab27d64944ebd42e899b)

21 years agowrap pdb_enum_group_mapping() in [un]become_root() so LDAP queries can get the creden...
Gerald Carter [Tue, 22 Apr 2003 03:16:18 +0000 (03:16 +0000)]
wrap pdb_enum_group_mapping() in [un]become_root() so LDAP queries can get the credentials from secrets.tdb
(This used to be commit cf6af44a2464cf1d9bea909dbc0e20829bdc2665)

21 years agomerging fixes from SAMBA_3_0
Gerald Carter [Tue, 22 Apr 2003 02:54:41 +0000 (02:54 +0000)]
merging fixes from SAMBA_3_0
(This used to be commit 8c3be38f6acbc85454f2c9bb74c358c99ee5d22a)

21 years agoMore infrastructure for storing registry
Richard Sharpe [Tue, 22 Apr 2003 01:57:21 +0000 (01:57 +0000)]
More infrastructure for storing registry
(This used to be commit de337632c99080f4be73a6e49839d424b49c8cc3)

21 years agoTidyups of some dubious logic discovered whilst trying to track down a
Jeremy Allison [Tue, 22 Apr 2003 01:12:54 +0000 (01:12 +0000)]
Tidyups of some dubious logic discovered whilst trying to track down a
strange oplock related issue on the PSA.
Jeremy.
(This used to be commit f8021af2a7b790e739a7ecc67c908289b0a9b719)

21 years agoAdding more updates - maybe last one for today.
John Terpstra [Mon, 21 Apr 2003 23:05:06 +0000 (23:05 +0000)]
Adding more updates - maybe last one for today.
(This used to be commit 042427c1f81b53403d9a97c5d4306051ed13d5bf)

21 years agoI hate typos!
John Terpstra [Mon, 21 Apr 2003 22:40:57 +0000 (22:40 +0000)]
I hate typos!
(This used to be commit 585907f3245cf53813888b4b3d121c40ffb9edff)

21 years agoAdd note from "Roylance, Stephen D." <SROYLANCE@PARTNERS.ORG> about Solaris9 and
Jelmer Vernooij [Mon, 21 Apr 2003 22:39:00 +0000 (22:39 +0000)]
Add note from "Roylance, Stephen D." <SROYLANCE@PARTNERS.ORG> about Solaris9 and
winbind
(This used to be commit a9e978ba42fa7193dc45f1a4ed97f03637be3147)

21 years agoFix typo.
John Terpstra [Mon, 21 Apr 2003 22:25:50 +0000 (22:25 +0000)]
Fix typo.
(This used to be commit 931ef8777eb86b5cd0ce7550484b2416ed6ae991)

21 years agoUpdates.
John Terpstra [Mon, 21 Apr 2003 22:21:37 +0000 (22:21 +0000)]
Updates.
(This used to be commit 27eafbec10ae82eb686a7326f23e2ad9de2369dd)

21 years agoMerged the two browsing documents into one. Added locking module to global.ent file.
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.
(This used to be commit 1027525be23e7db97677e2ed3e2706d271ad0a0b)

21 years agoUse the -W domain option to select the SID to show
Andrew Bartlett [Mon, 21 Apr 2003 17:26:37 +0000 (17:26 +0000)]
Use the -W domain option to select the SID to show
(This used to be commit 715bd4cf4e2d9d11db031ef3ed5e614b4c1a8a13)

21 years agoReplacing file with correct version.
John Terpstra [Mon, 21 Apr 2003 16:25:38 +0000 (16:25 +0000)]
Replacing file with correct version.
(This used to be commit f0dc3e6da89728259ed5e10cb7f9193c711f65fc)

21 years agoMore docs are up to date now...
Jelmer Vernooij [Mon, 21 Apr 2003 16:21:45 +0000 (16:21 +0000)]
More docs are up to date now...
(This used to be commit 280ba59b8187a88f45c3b6db448e76839c3c6f1e)

21 years agoAdd question about scope id's
Jelmer Vernooij [Mon, 21 Apr 2003 16:16:50 +0000 (16:16 +0000)]
Add question about scope id's
(This used to be commit 2c258e5951aa35fc85b92cbf6d0b7ae1cbe8feb4)

21 years agoMove information about locking to seperate chapter and
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
(This used to be commit f2c333822f34be8a2bb85124319ead4dc44c2891)

21 years agoAdd new part 'Troubleshooting'
Jelmer Vernooij [Mon, 21 Apr 2003 16:04:54 +0000 (16:04 +0000)]
Add new part 'Troubleshooting'
(This used to be commit a24e89ea443fbe77924cccf7e7679aec80a05088)

21 years agoCreate ../textdocs, ../htmldocs or ../manpages if they don't exist already
Jelmer Vernooij [Mon, 21 Apr 2003 15:19:34 +0000 (15:19 +0000)]
Create ../textdocs, ../htmldocs or ../manpages if they don't exist already
(This used to be commit 8dc7087cf0306271e07a25ac2538206ef3eaa497)

21 years agoFix syntax error
Jelmer Vernooij [Mon, 21 Apr 2003 15:19:16 +0000 (15:19 +0000)]
Fix syntax error
(This used to be commit e76eaf0f17de19eb2492572b0c79fc4b2657c504)

21 years agoRemove obsolete information from Speed.sgml and move client-specific
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
(This used to be commit b0d5e1b177808c3bd3494d0b2f6cf4c8c4bcfdd5)

21 years agoMore updates - still a work in progress.
John Terpstra [Mon, 21 Apr 2003 14:39:16 +0000 (14:39 +0000)]
More updates - still a work in progress.
(This used to be commit 63589f958b399534bc0bc8c50213ad2f6a380689)

21 years agoFor NTLM2 (not yet even close to real implementation) we must use the
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
(This used to be commit 61255a2b3694ba13c72a2a33e5956d14c7d4d2c1)

21 years agoRemove unused (#ifdef'ed) code.
Andrew Bartlett [Mon, 21 Apr 2003 11:47:27 +0000 (11:47 +0000)]
Remove unused (#ifdef'ed) code.
(This used to be commit c11465b285d5eb3c42a84095a5dc41af7e07267d)

21 years agoUse fstrcpy/pstrcpy when that's what we really mean...
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
(This used to be commit e8aa615591dc44de4de85322d455a47b3122b9eb)

21 years agoCorrect comments about breadth first, as the registry tree is stored in a
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.
(This used to be commit f993f7187c7ae49f443aa1966584aa88787bd7ca)

21 years agoStart the outline of the code to store a registry tree ...
Richard Sharpe [Mon, 21 Apr 2003 05:18:13 +0000 (05:18 +0000)]
Start the outline of the code to store a registry tree ...
(This used to be commit 03fce4ed0f73586928424e75bd6d7db9ff7105dd)

21 years agoSome comments about the format of the on-disk reg file, as well as
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.
(This used to be commit 043374a3c0be6769b4fee2228dcff42abbb74028)

21 years agoDefault to "passdb.xml" as default output filename instead of "-"
Jelmer Vernooij [Mon, 21 Apr 2003 01:56:13 +0000 (01:56 +0000)]
Default to "passdb.xml" as default output filename instead of "-"
(This used to be commit aa4c11370bb09bfd20d02da509ebdd6dc475439d)

21 years agoPdb 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
(This used to be commit 9822af500cf36e83fce54e49a062a8847d1c5431)

21 years agoAdd a -f command-line flag to specify printing all paths or only terminal
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.
(This used to be commit 0741369c59bcb6057f6b32d3fe4f6dec08ce4ae3)

21 years agoWell, we can now add keys and values and delete keys and values ...
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.
(This used to be commit 562b36510c704eba84b036aacdb1f984339afafc)

21 years agoAdd code to delete values ...
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 ...
(This used to be commit 02e6782243a7ef9e182db449ad377b0d168a40b2)

21 years agoBegin the code that handles key values ... Delete a key value and add a
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 ...
(This used to be commit 53ea4c0de88a350b99e36c0dc514c5f2821ff7f8)

21 years agoComplete most of the coding for adding keys. We can now add a key.
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.
(This used to be commit 266fc6c9f2283c81de97e526e9f289288948cb27)

21 years agoThe code is a bit of a mess right now.
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 :-(
(This used to be commit fc691a9a5e86686ebd0b3bab75a286488ab6ca57)

21 years agoMore functionality, esp around adding keys and inheritance of security
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 ...
(This used to be commit b8e85afefbe52701317632d1c1a446785ed66abf)

21 years agoMOre functionality ... got to test it.
Richard Sharpe [Sun, 20 Apr 2003 02:30:24 +0000 (02:30 +0000)]
MOre functionality ... got to test it.
(This used to be commit e3c4f8c91394eecc8c77bbf0f9685cdb18c617b1)

21 years agoMore update stuff - not finished (ofcourse!)
John Terpstra [Sun, 20 Apr 2003 00:26:50 +0000 (00:26 +0000)]
More update stuff - not finished (ofcourse!)
(This used to be commit 5d72c6cfca41accc783eda166d8b9154d21f4aec)

21 years agoFix typo.
John Terpstra [Sat, 19 Apr 2003 22:38:47 +0000 (22:38 +0000)]
Fix typo.
(This used to be commit a4f89aabfa28a6763008a6eab944ad11dabf5e4c)

21 years agoUpdates and additions.
John Terpstra [Sat, 19 Apr 2003 22:32:53 +0000 (22:32 +0000)]
Updates and additions.
(This used to be commit 9b35377f0cf5022519385a2b70237c05c7978158)

21 years agoSome more work added ...
Richard Sharpe [Sat, 19 Apr 2003 22:08:25 +0000 (22:08 +0000)]
Some more work added ...
(This used to be commit 31ded623b1817156b247170130237c1e5fd67a5b)

21 years agoAddress gcc warnings.
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
(This used to be commit dcbbbd66a9be799998476701a9e1059c14e4f061)

21 years agoSquelch some warnings, and move a bit of code around to make some future
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 :-)
(This used to be commit c7d39a7426e5970b15ece89737d2f0ba3d5c0835)

21 years agosome readline completion exancements
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
(This used to be commit 625eee8e03c3905a245e078ef9f1c26200e33d7c)

21 years agouse gid_t for gids not uid_t
Simo Sorce [Sat, 19 Apr 2003 15:32:16 +0000 (15:32 +0000)]
use gid_t for gids not uid_t
(This used to be commit dd8009bf599a6111440cd807dcc022039f19de15)

21 years agofixes
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
(This used to be commit bc95de4ebb014080bc70173e7df94c672cea8df6)