kai/samba.git
17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

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

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

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

Andrew Bartlett
(This used to be commit 898ff89632a394ff32fd38f1c4e94412388fa8bd)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

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

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 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)

17 years agoMerge a trivial fix across from HEAD. Not that this
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
(This used to be commit 8c70f657cfb2f2b32fbaa31112d7953a3a6dc775)

17 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)

17 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)

17 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)

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

17 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)

17 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)

17 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)

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

17 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)

17 years agoAdded smbgroupedit to PROGS2
John Terpstra [Sat, 19 Apr 2003 16:27:30 +0000 (16:27 +0000)]
Added smbgroupedit to PROGS2
(This used to be commit bed69decea61881ab7071be3e34be71df9b178a1)

17 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)

17 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)

17 years agouse 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
(This used to be commit a369c2ff2637dc808035217eaada4cf923c5cf6d)

17 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)

17 years agoRegenerate docs
Jelmer Vernooij [Sat, 19 Apr 2003 14:59:58 +0000 (14:59 +0000)]
Regenerate docs
(This used to be commit 4f1865f7c234f3f4a7f5dba19db4a5d139db5a48)

17 years ago[merge from SAMBA_3_0]
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>]
(This used to be commit 0fd28bc3a803ca1ec3dcd8cc6236d4ecc3134584)

17 years agoMerging smbgroupedit into 'net groupmap'. Not entirely done.
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>
(This used to be commit f2fd0ab41ffbc0355db95529b6bda1b21aa4860a)

17 years agouidPool and gidPool don't use cn anymore (but we don't use thsi anyways)
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)
(This used to be commit 4c92994dfd231acb09411f89fd67a21a40400de0)

17 years agouidPool 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)
(This used to be commit 7f0fd03f699f24094e32a92dbb0ec55d9a602c36)