jra/samba/.git
21 years agoMissed two references to a renamed file.
Paul Green [Wed, 23 Apr 2003 17:29:51 +0000 (17:29 +0000)]
Missed two references to a renamed file.
(This used to be commit 513dd6d414270b4e8f91f1cee6c49155b095c488)

21 years agoBackport changes from head to shorten the filenames of the test cases.
Paul Green [Wed, 23 Apr 2003 17:15:10 +0000 (17:15 +0000)]
Backport changes from head to shorten the filenames of the test cases.
(This used to be commit e2315ebc9a653a3c804323d55a96e0b378351e8d)

21 years agoUpdated FLAGs - Affects only SWAT.
John Terpstra [Wed, 23 Apr 2003 14:56:30 +0000 (14:56 +0000)]
Updated FLAGs - Affects only SWAT.
(This used to be commit 80f2790eb9c1382c91e5e2668f3b8d82c220ce51)

21 years agoThanks to a reminder from vance - delete build_options.c from CVS, now
Andrew Bartlett [Wed, 23 Apr 2003 14:31:23 +0000 (14:31 +0000)]
Thanks to a reminder from vance - delete build_options.c from CVS, now
it's autogenerated.
(This used to be commit 1cbc66e2e35342980f27151622658e2f2f498245)

21 years agoPatch by Vance Lankhaar <vlankhaar@linux.ca> to automaticly regenerate the
Andrew Bartlett [Wed, 23 Apr 2003 14:19:03 +0000 (14:19 +0000)]
Patch by Vance Lankhaar <vlankhaar@linux.ca> to automaticly regenerate the
build options, so we will always have the right values for how and when
an smbd was built.

In particular, this is indended to address bitrot caused by configure.in
changes.

Andrew Bartlett
(This used to be commit 2be258071c71986ba9af01e9a09ec49909a620dd)

21 years agoPatch by Metze to ensure that we always at least initialize our output string
Andrew Bartlett [Wed, 23 Apr 2003 14:07:33 +0000 (14:07 +0000)]
Patch by Metze to ensure that we always at least initialize our output string
for rpc_pull_string.  If we had a NULL or zero-length string, we would use
uninitialised data in the result string.

Andrew Bartlett
(This used to be commit df10aee451b431a8a056a949a98393da256185da)

21 years agoMore fun with Sun CC needing constant initializers
Andrew Bartlett [Wed, 23 Apr 2003 13:59:32 +0000 (13:59 +0000)]
More fun with Sun CC needing constant initializers
(This used to be commit ce3dd8fd69231798185e3e3bb988775e5671e070)

21 years agoStrnCpy -> safe_strcpy() on a over-malloced struct.
Andrew Bartlett [Wed, 23 Apr 2003 13:35:10 +0000 (13:35 +0000)]
StrnCpy -> safe_strcpy() on a over-malloced struct.

Andrew Bartlett
(This used to be commit e4f1171d57a6186f85b87586a525b3bbaf601974)

21 years agoMerge the 'safe' parts of my StrnCpy patch - many of the users really wanted
Andrew Bartlett [Wed, 23 Apr 2003 13:27:35 +0000 (13:27 +0000)]
Merge the 'safe' parts of my StrnCpy patch - many of the users really wanted
a pstrcpy/fstrcpy or at most a safe_strcpy().

These have the advantage of being compiler-verifiable.

Get these out of the way, along with a rewrite of 'get_short_archi' in the
spoolss client and server.  (This pushes around const string pointers, rather
than copied strings).

Andrew Bartlett
(This used to be commit 32fb801ddc035e8971e9911ed4b6e51892e9d1cc)

21 years agoWe don't have IDMAP in 3.0 yet.
Andrew Bartlett [Wed, 23 Apr 2003 13:23:47 +0000 (13:23 +0000)]
We don't have IDMAP in 3.0 yet.
(This used to be commit a507f170d29914b0bb845878a8db97f51e7dff55)

21 years agoMerge HEAD's winbind into 3.0.
Andrew Bartlett [Wed, 23 Apr 2003 11:54:56 +0000 (11:54 +0000)]
Merge HEAD's winbind into 3.0.

This includes the 'SIDs Rule' patch, mimir's trusted domains cacheing code,
the winbind_idmap abstraction (not idmap proper, but the stuff that held up
the winbind LDAP backend in HEAD).

Andrew Bartlett
(This used to be commit d4d5e6c2ee6383c6cceb5d449aa2ba6c83eb0666)

21 years agoDon't try to continue if initialisation fails (merge from HEAD)
Andrew Bartlett [Wed, 23 Apr 2003 11:29:54 +0000 (11:29 +0000)]
Don't try to continue if initialisation fails (merge from HEAD)
(This used to be commit ff3ec67e120d29db2b85ce444ce89a205ea7a067)

21 years agoMake the variable name match the comment.
Andrew Bartlett [Wed, 23 Apr 2003 11:11:02 +0000 (11:11 +0000)]
Make the variable name match the comment.

Andrew Bartlett
(This used to be commit 5a577f8cafa7375bd8485763f163de939ddc4a39)

21 years agoThis define does not always seem to be present, so define it if need be.
Andrew Bartlett [Wed, 23 Apr 2003 11:03:08 +0000 (11:03 +0000)]
This define does not always seem to be present, so define it if need be.

Andrew Bartlett
(This used to be commit 007143e2435904d941a62934986ac54e343f4936)

21 years agoFix up non-constant initialisers for Sun's CC.
Andrew Bartlett [Wed, 23 Apr 2003 10:28:56 +0000 (10:28 +0000)]
Fix up non-constant initialisers for Sun's CC.

Andrew Bartlett
(This used to be commit 82ba1b4d16da587c5e21739b11c5d84a575534ad)

21 years agoAdd some more info to the diags output.
Andrew Bartlett [Wed, 23 Apr 2003 10:19:56 +0000 (10:19 +0000)]
Add some more info to the diags output.
(This used to be commit 2ee7254fded79d888f8009b71347bea8a89f47e9)

21 years agoParinoia for compleatly broken SMB servers that don't send back the right
Andrew Bartlett [Wed, 23 Apr 2003 10:07:25 +0000 (10:07 +0000)]
Parinoia for compleatly broken SMB servers that don't send back the right
fstype for IPC$ - assume the device type is IPC.

Andrew Bartlett
(This used to be commit 5ec78042124589d7d4e377581c187712950c93b2)

21 years agoMake this safe for -DDEVELOPER checks.
Andrew Bartlett [Wed, 23 Apr 2003 10:06:00 +0000 (10:06 +0000)]
Make this safe for -DDEVELOPER checks.

Andrew Bartlett
(This used to be commit 39fb77d8c1d9dddf00e8063198157bf77fb58a8f)

21 years agoThis const isn't quite vaild C.
Andrew Bartlett [Wed, 23 Apr 2003 09:32:29 +0000 (09:32 +0000)]
This const isn't quite vaild C.

Andrew Bartlett
(This used to be commit de96c1aaca9006696d61aa3d07151c0f74516e63)

21 years agoadd test file for FDSESS
Andrew Bartlett [Wed, 23 Apr 2003 09:30:33 +0000 (09:30 +0000)]
add test file for FDSESS
(This used to be commit 309ebac68999f6ba97a3dc558283e5f13dfc3044)

21 years agoAdd a check to ensure that the server returns the correct device type, not
Andrew Bartlett [Wed, 23 Apr 2003 09:26:07 +0000 (09:26 +0000)]
Add a check to ensure that the server returns the correct device type, not
just the correct error.

This should help us avoid breaking NT4 IPC$ connections, for example.

This has required that we don't overwrite the device type for IPC$ in our
tcon&X code, but only smbwrapper even uses it, and a server that doesn't send
a correct dev type breaks other things pretty badly.

In any case, I'll 'fix' smbwrapper :-).

Andrew Bartlett
(This used to be commit a93057efcb6e639be05b7bdcb9729ed8f39f5f62)

21 years agoStart testing a few more things out of smbtorture in the build farm.
Andrew Bartlett [Wed, 23 Apr 2003 08:46:39 +0000 (08:46 +0000)]
Start testing a few more things out of smbtorture in the build farm.

Andrew Bartlett
(This used to be commit 273a9bd7aa608d37b127b61d41773ba8135e38f7)

21 years agoMerge torture tests from HEAD - it looks like we had rather an incomplete
Andrew Bartlett [Wed, 23 Apr 2003 08:12:34 +0000 (08:12 +0000)]
Merge torture tests from HEAD - it looks like we had rather an incomplete
merge last time.  I hope this might fix a few failures on the build farm too.

Andrew Bartlett
(This used to be commit 0c837126923cc30fa60223a5a68d4f527971cc7b)

21 years agoUpdate - closed off for now
John Terpstra [Wed, 23 Apr 2003 04:40:03 +0000 (04:40 +0000)]
Update - closed off for now
(This used to be commit 2ddb882596e5d2219ccc96fa11dffa0fdc900a17)

21 years agoTry to keep existing behaviour for our printing code - never return
Andrew Bartlett [Wed, 23 Apr 2003 01:44:04 +0000 (01:44 +0000)]
Try to keep existing behaviour for our printing code - never return
global_myname(), always either the name the client called us, or if they
didn't call us anything useful, our IP address.

Jerry, can you check this?

Andrew Bartlett
(This used to be commit 599e70bffbae9930b949c9b82cbc8dfc7c966d78)

21 years agoFix this for both *SMBSERVER and *SMBSERV as per comments in loadparm.c.
Andrew Bartlett [Wed, 23 Apr 2003 01:34:56 +0000 (01:34 +0000)]
Fix this for both *SMBSERVER and *SMBSERV as per comments in loadparm.c.

Andrew Bartlett
(This used to be commit c6d416541be5349254a63e30fa29b022516b094e)

21 years agoTry to avoid setting *SMBSERVER as a 'local name'.
Andrew Bartlett [Wed, 23 Apr 2003 01:21:42 +0000 (01:21 +0000)]
Try to avoid setting *SMBSERVER as a 'local name'.

Andrew Bartlett
(This used to be commit 5b5e167bb1a760a4f9c603feea886ce1dab52e19)

21 years agoDon't leak the session identifier string when we shut down a vuid.
Andrew Bartlett [Wed, 23 Apr 2003 01:05:26 +0000 (01:05 +0000)]
Don't leak the session identifier string when we shut down a vuid.

Andrew Bartlett
(This used to be commit 33189b4be0ac79d5e7bc2606f40187118ee506a4)

21 years agoNow that Volker fixed the real issues with ldapsam and adding null attributes
Andrew Bartlett [Wed, 23 Apr 2003 01:04:20 +0000 (01:04 +0000)]
Now that Volker fixed the real issues with ldapsam and adding null attributes
etc, move the SAMR create_user code back to using the 'pdb_init_sam_pw' method
to fill out the attributes.

This is basicly the same code, but we really didn't need the duplication.

Also, take advantage of the fact that RIDs will always be returned back into
the SAM_ACCOUNT on ADD, so we don't need to duplicate the 'get'.

This should also help in sites with replicated LDAP - the second fetch might
occour before the first is replicated back.

Andrew Bartlett
(This used to be commit 39714c24fd9da4701d4fe69ddd3d61a25254409f)

21 years ago- Merge a memory leak fix from HEAD
Andrew Bartlett [Wed, 23 Apr 2003 00:59:19 +0000 (00:59 +0000)]
- Merge a memory leak fix from HEAD

- change update behaviour for new RIDs:
 - store the new RID into the SAM_ACCOUNT, so that the caller get's it back
   automaticly
 - use this to make the code paths simpiler for the normal 'need_update' code.

We must always store a RID if we intend to use the sambaAccount objectClass

Andrew Bartlett
(This used to be commit 5edeee5116b9c775a1bded1d53cb2b22c7a2765f)

21 years agoMerge idra's fix for pdb_tdb segfaults from HEAD to 3.0 - sombody changed
Andrew Bartlett [Wed, 23 Apr 2003 00:56:06 +0000 (00:56 +0000)]
Merge idra's fix for pdb_tdb segfaults from HEAD to 3.0 - sombody changed
unix_strlower semantics.

Andrew Bartlett
(This used to be commit 93bdd1a2925edb9dea3e85d8b025a65460896c05)

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:31 +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 fdacad185c4f78958d56bccbd69a0f2628f1b792)

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

21 years agoAdded Stephen Roylance's patch - Adds to Status page, a Start All, Restart All
John Terpstra [Tue, 22 Apr 2003 23:19:09 +0000 (23:19 +0000)]
Added Stephen Roylance's patch - Adds to Status page, a Start All, Restart All
and Stop All deamons button.
(This used to be commit 57cfcb3108935f46cb3938b403a3eaba2888fb55)

21 years agoRemove ldapsam_search_one_user_by_uid from pdb_ldap.
Andrew Bartlett [Tue, 22 Apr 2003 23:14:49 +0000 (23:14 +0000)]
Remove ldapsam_search_one_user_by_uid from pdb_ldap.

sambaAccount requires the rid to be present, and doing this fallback is quite
dangerous, becouse it assumes that alorithmic RIDs are in use - which is quite
often not the case.

Also finish of vl's work on 'use a function pointer, not embedded logic' to
tell lower levels that they should/should not attempt to set the user's password
into LDAP with the extended operation.

Andrew Bartlett
(This used to be commit 715d0bd804b6bff4c0b365f98ca196d41ed9c5c4)

21 years agoMy last change left the wording a little awkward, so I fiddled it a bit.
Christopher R. Hertel [Tue, 22 Apr 2003 20:30:55 +0000 (20:30 +0000)]
My last change left the wording a little awkward, so I fiddled it a bit.
(This used to be commit 4dd84707f92e4cf6f6ecfce510d242a07561ce88)

21 years agoThe wording described "CIFS" as the successor to SMBFS. I changed it to
Christopher R. Hertel [Tue, 22 Apr 2003 20:20:40 +0000 (20:20 +0000)]
The wording described "CIFS" as the successor to SMBFS.  I changed it to
say that "CIFS VFS" was the successor to SMBFS.
(This used to be commit d7d48e9d9ddfde7309a7221be3be3eb8243407a7)

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

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

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

21 years agoAdded editreg.
John Terpstra [Tue, 22 Apr 2003 17:06:03 +0000 (17:06 +0000)]
Added editreg.
(This used to be commit ce016df1ecbb8a083c9a37b7d61b4356dfbc77a7)

21 years agoparse_string is only used for the authentication negotiators.
Volker Lendecke [Tue, 22 Apr 2003 15:54:36 +0000 (15:54 +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 0ef69b586a8f1fa11a41a3900180ea2090b60bfd)

21 years agoThis is meant to be initialised to the size of the buffer.
Andrew Bartlett [Tue, 22 Apr 2003 15:50:15 +0000 (15:50 +0000)]
This is meant to be initialised to the size of the buffer.
(This used to be commit ca489db7d3d4713401da3627b563af3cbef82c58)

21 years agoAdd configure test for previous ldap modifications - we now check if the
Andrew Bartlett [Tue, 22 Apr 2003 15:27:38 +0000 (15:27 +0000)]
Add configure test for previous ldap modifications - we now check if the
ldap_initialze function exists, not just if we are on a particular OpenLDAP.

Andrew Bartlett
(This used to be commit 8a20162db6a8b3fa7eb0e829663b9b4ced1218c0)

21 years agoMake pdb_ldap use a random factor in deciding how long we need to sleep.
Andrew Bartlett [Tue, 22 Apr 2003 15:19:14 +0000 (15:19 +0000)]
Make pdb_ldap use a random factor in deciding how long we need to sleep.

This might help avoid killing the ldap server when all 100 smbd processes
reconnect in pulses...

Also, reduces the maximum wait time, as SMB clients will time out after 30
seconds anyway...

Andrew Bartlett
(This used to be commit 08c5aaae6a92d6ee14f9bf8e3330191718e84edf)

21 years agoUpdate from HEAD
John Terpstra [Tue, 22 Apr 2003 14:56:57 +0000 (14:56 +0000)]
Update from HEAD
(This used to be commit bf464208af6cd5503a0133e7c33586e2de36faa3)

21 years agoMerge (HEAD->3.0) mbp's fixes to our charcnv code - don't use a staic buffer,
Andrew Bartlett [Tue, 22 Apr 2003 13:15:24 +0000 (13:15 +0000)]
Merge (HEAD->3.0) mbp's fixes to our charcnv code - don't use a staic buffer,
which can restrict things like unix_strupper() to 512 byte strings.

Andrew Bartlett
(This used to be commit 341d6affa474262654f83c075f186d985cbcb9a0)

21 years agoMerge mimir's trusted domain code from HEAD -> 3.0, plus some memory
Andrew Bartlett [Tue, 22 Apr 2003 13:10:02 +0000 (13:10 +0000)]
Merge mimir's trusted domain code from HEAD -> 3.0, plus some memory
leak fixes. (secrets.c portion)

Andrew Bartlett
(This used to be commit 3ea8fdd0361623b38f30f0b815dc4935e2e17447)

21 years agoMerge comment with HEAD
Andrew Bartlett [Tue, 22 Apr 2003 12:28:30 +0000 (12:28 +0000)]
Merge comment with HEAD
(This used to be commit 8f8d819d5814c2a538b5b906014ff0c354625450)

21 years agoStart merging mimir's trusted domain code from HEAD to 3.0. (for HEAD trusting
Andrew Bartlett [Tue, 22 Apr 2003 12:13:13 +0000 (12:13 +0000)]
Start merging mimir's trusted domain code from HEAD to 3.0.  (for HEAD trusting
NT).
(This used to be commit 76cd4a8901a8ac1c3691bc89e496bbb493e5c234)

21 years agoSetting the credentials for the netsec netlogon pipe connect upon each
Volker Lendecke [Tue, 22 Apr 2003 11:25:10 +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 d4262c37f13642e034d3e207bfbb563c17a8a176)

21 years agoOops...
Andrew Bartlett [Tue, 22 Apr 2003 08:50:20 +0000 (08:50 +0000)]
Oops...

Andrew Bartlett
(This used to be commit 898ff89632a394ff32fd38f1c4e94412388fa8bd)

21 years agoMake our 'get DNS domain name' code try a bit harder - if gethostname() doesn't
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
(This used to be commit 3be03271030208a69da29c6e2a7b92cdbaa8c6aa)

21 years agoUpdating from HEAD.
John Terpstra [Tue, 22 Apr 2003 06:22:20 +0000 (06:22 +0000)]
Updating from HEAD.
(This used to be commit b2149cb411f76048d80d0d6113fee431b36acfbe)

21 years agoUpdating docs from HEAD.
John Terpstra [Tue, 22 Apr 2003 06:20:47 +0000 (06:20 +0000)]
Updating docs from HEAD.
(This used to be commit 8a302f117cfce141389995de5ad045553b472891)

21 years agodefault new groups to domain groups
Gerald Carter [Tue, 22 Apr 2003 05:57:49 +0000 (05:57 +0000)]
default new groups to domain groups
(This used to be commit 665d21b8656bf85f9b372b44ff1f4af414551e5a)

21 years agoFix up bugs in the new 'store sec_channel type' code - we were always joining
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
(This used to be commit f35674e7552dcfece342e7bece10bbfb0e81cbf8)

21 years agosupport referencing group by sid in all operations; allow group name to be changed
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
(This used to be commit b6ccdb8f7b72eed4c4248db43fefa09b6f084852)

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: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
(This used to be commit bb8b63b865b941abecc0d821e710702dd12866fe)

21 years agoremoving some ifdef'd out code
Gerald Carter [Tue, 22 Apr 2003 02:52:15 +0000 (02:52 +0000)]
removing some ifdef'd out code
(This used to be commit 43942398af7e7589fcf8534099eccf277f6e4295)

21 years agoTidyups of some dubious logic discovered whilst trying to track down a
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.
(This used to be commit 1dd274bf61aaaad3c475de93f53aac176678bc7c)

21 years agoFixup a few typos for Jerry.
Jeremy Allison [Mon, 21 Apr 2003 23:23:24 +0000 (23:23 +0000)]
Fixup a few typos for Jerry.
Jeremy.
(This used to be commit 1e5fe87d75ef4bb9d6af787abc501dcf105c9c6c)

21 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
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'.(This used to be commit f7019d22aa580f77e2f779f4a5ede59088a25d53)

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 ago* fix segfault when no vfs objects defined
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'
(This used to be commit e5f6676639b5552f7dec90091c53cf14e78088ee)

21 years agoremove smbgroupedit from packaging scripts
Gerald Carter [Mon, 21 Apr 2003 19:42:18 +0000 (19:42 +0000)]
remove smbgroupedit from packaging scripts
(This used to be commit efa4e08210ff7c3bd703f0bb3ddf8da8bb84850a)

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 agoMake it easier to select which domain to show the sid for.
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.
(This used to be commit 4c7efe25c3f2336938050086ffe5f4cfe462e6f6)

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 agoThe 'net' syntax has changed, so update the testsuite.
Andrew Bartlett [Mon, 21 Apr 2003 14:15:56 +0000 (14:15 +0000)]
The 'net' syntax has changed, so update the testsuite.
(This used to be commit b750b8c542508ff4d084d8eaf3abcad858ee8fd0)

21 years agoMerge from HEAD - save the type of channel used to contact the DC.
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
(This used to be commit 876e00fd112e4aaf7519eec27f382eb99ec7562a)

21 years agoAdd const, static and fix a double free() (merge from HEAD).
Andrew Bartlett [Mon, 21 Apr 2003 13:10:35 +0000 (13:10 +0000)]
Add const, static and fix a double free() (merge from HEAD).
(This used to be commit 9ba88c7314168b87b72a7e9dc3c7588dcce86893)

21 years agoMerge whitespace and const from HEAD
Andrew Bartlett [Mon, 21 Apr 2003 13:05:51 +0000 (13:05 +0000)]
Merge whitespace and const from HEAD
(This used to be commit 88fdc36f9373c63706907e48be317007aeba06d6)

21 years agoHeader updates for smb signing merge
Andrew Bartlett [Mon, 21 Apr 2003 13:04:39 +0000 (13:04 +0000)]
Header updates for smb signing merge
(This used to be commit 2e4b45cd2efe46477c2849faffe0e8401132ef88)

21 years agoMerge SMB signing, cli buffer clobber and NTLMSSP signing tweaks from HEAD.
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.
(This used to be commit c6c4f69b8ddc500890a65829e1b9fb7a3e9839e9)

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 agoDefault 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 "-"
(This used to be commit dfbd2a2e7a5f0f2713bc48daa24d43b07f187d14)

21 years ago- Fix modules build of pdb_mysql and pdb_xml
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
(This used to be commit 8d2aec7a73d41a9d32c10abd1c8833ebfd41dd77)

21 years agoPdb modules are in $libdir/pdb not $libdir/passdb
Jelmer Vernooij [Mon, 21 Apr 2003 00:38:39 +0000 (00:38 +0000)]
Pdb modules are in $libdir/pdb not $libdir/passdb
(This used to be commit 9c9d969c93400d91a12e78635d54e1c5f90efab8)

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)