samba.git
17 years agoadd test file for FDSESS
Andrew Bartlett [Wed, 23 Apr 2003 09:30:33 +0000 (09:30 +0000)]
add test file for FDSESS

17 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

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

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

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

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

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

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

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

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

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

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

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

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.

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.

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

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.

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.

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

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

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.

17 years agoAdded editreg.
John Terpstra [Tue, 22 Apr 2003 17:06:03 +0000 (17:06 +0000)]
Added editreg.

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

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.

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

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

17 years agoUpdate from HEAD
John Terpstra [Tue, 22 Apr 2003 14:56:57 +0000 (14:56 +0000)]
Update from HEAD

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

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

17 years agoMerge comment with HEAD
Andrew Bartlett [Tue, 22 Apr 2003 12:28:30 +0000 (12:28 +0000)]
Merge comment with HEAD

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

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

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

Andrew Bartlett

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

17 years agoUpdating from HEAD.
John Terpstra [Tue, 22 Apr 2003 06:22:20 +0000 (06:22 +0000)]
Updating from HEAD.

17 years agoUpdating docs from HEAD.
John Terpstra [Tue, 22 Apr 2003 06:20:47 +0000 (06:20 +0000)]
Updating docs from HEAD.

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

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

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

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

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

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.

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.

17 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
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'.

17 years agoUpdates.
John Terpstra [Mon, 21 Apr 2003 22:21:37 +0000 (22:21 +0000)]
Updates.

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.

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'

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

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

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.

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.

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...

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

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

17 years agoAdd new part 'Troubleshooting'
Jelmer Vernooij [Mon, 21 Apr 2003 16:04:54 +0000 (16:04 +0000)]
Add new part 'Troubleshooting'

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

17 years agoFix syntax error
Jelmer Vernooij [Mon, 21 Apr 2003 15:19:16 +0000 (15:19 +0000)]
Fix syntax error

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

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.

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.

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

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

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

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

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.

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

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.

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

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.

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 ...

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.

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 "-"

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 "-"

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

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

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

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.

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.

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 ...

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 ...

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.

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 :-(

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

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 ...

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.

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

17 years agoFix typo.
John Terpstra [Sat, 19 Apr 2003 22:38:47 +0000 (22:38 +0000)]
Fix typo.

17 years agoUpdates and additions.
John Terpstra [Sat, 19 Apr 2003 22:32:53 +0000 (22:32 +0000)]
Updates and additions.

17 years agoSome more work added ...
Richard Sharpe [Sat, 19 Apr 2003 22:08:25 +0000 (22:08 +0000)]
Some more work added ...

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

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

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

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

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

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

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

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

17 years agoRegenerate docs
Jelmer Vernooij [Sat, 19 Apr 2003 14:59:58 +0000 (14:59 +0000)]
Regenerate docs

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>]

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>