tprouty/samba.git
20 years agoFix typo.
John Terpstra [Tue, 16 Sep 2003 04:33:17 +0000 (04:33 +0000)]
Fix typo.

20 years agoApplied Steve Langasek's patch for bug #450.
Tim Potter [Tue, 16 Sep 2003 03:54:42 +0000 (03:54 +0000)]
Applied Steve Langasek's patch for bug #450.

20 years agoFix #442 which Alexander considered a showstopper. Allow us to join mixed
Jeremy Allison [Tue, 16 Sep 2003 01:27:46 +0000 (01:27 +0000)]
Fix #442 which Alexander considered a showstopper. Allow us to join mixed
mode domains.
Jeremy.

20 years agoFix from gregory@networksentry.co.za, don't clobber the comment if it
Jeremy Allison [Mon, 15 Sep 2003 21:27:36 +0000 (21:27 +0000)]
Fix from gregory@networksentry.co.za, don't clobber the comment if it
exists.
Jeremy.

20 years agoFix OOPS when dealing with mangled names reported by several users.
Jeremy Allison [Mon, 15 Sep 2003 21:19:43 +0000 (21:19 +0000)]
Fix OOPS when dealing with mangled names reported by several users.
This was my bug when removing a redundant strlen.
Jerry - last showstopper I knew about.
Jeremy.

20 years agoA *curse* upon the person who #ifdefed out the mangle debug statements
Jeremy Allison [Mon, 15 Sep 2003 18:53:01 +0000 (18:53 +0000)]
A *curse* upon the person who #ifdefed out the mangle debug statements
by default ! This is code that really needs to be able to be looked at
on a customer system if it's misbehaving !
Jeremy

20 years agoFixed test and wording for long share names.
Christopher R. Hertel [Mon, 15 Sep 2003 17:01:26 +0000 (17:01 +0000)]
Fixed test and wording for long share names.
The RAP NetShareEnum() call has a length limit of 12 characters (not 8, as
previously tested).  Took DaveCB's suggested and added a note listing some
of the client systems that might be affected.

20 years agofix online help
Simo Sorce [Mon, 15 Sep 2003 14:13:35 +0000 (14:13 +0000)]
fix online help

-w option need the password on the command line

20 years agoAlias charset 646 internally as it is same as ASCII. Should solve Solaris problems...
Alexander Bokovoy [Mon, 15 Sep 2003 12:42:10 +0000 (12:42 +0000)]
Alias charset 646 internally as it is same as ASCII. Should solve Solaris problems where ASCII was not detected and 646.so were requested through dynamic loading

20 years agoFixed typo in debug.
Tim Potter [Mon, 15 Sep 2003 12:22:34 +0000 (12:22 +0000)]
Fixed typo in debug.

20 years agoRemove quotes in smb.conf ldap example - the quotes actually turn
Tim Potter [Mon, 15 Sep 2003 12:19:54 +0000 (12:19 +0000)]
Remove quotes in smb.conf ldap example - the quotes actually turn
up in the ldap filter string.

20 years agoThis ldap_value_free() looks like it was part of Jeremy's recent rampage
Tim Potter [Mon, 15 Sep 2003 05:20:00 +0000 (05:20 +0000)]
This ldap_value_free() looks like it was part of Jeremy's recent rampage
so I'm putting it back in.

20 years agoI think this is a bugfix that somehow was dropped from the 3.0 tree.
Tim Potter [Mon, 15 Sep 2003 05:12:30 +0000 (05:12 +0000)]
I think this is a bugfix that somehow was dropped from the 3.0 tree.

20 years agoPatch from Gregory Hinton Nietsky <gregory@networksentry.co.za>,
Jeremy Allison [Mon, 15 Sep 2003 03:36:04 +0000 (03:36 +0000)]
Patch from Gregory Hinton Nietsky <gregory@networksentry.co.za>,
ensure the desired access is read from the incoming RPC request.
Jeremy.

20 years agoFor some reason testparm runs at debug level 2 which causes the module probe functions to
Tim Potter [Mon, 15 Sep 2003 00:19:25 +0000 (00:19 +0000)]
For some reason testparm runs at debug level 2 which causes the module probe functions to
display verbose debugs.  Increase the probe debugs to level 3.

20 years agoFix for typo in darwin detection.
Jeremy Allison [Sun, 14 Sep 2003 19:18:48 +0000 (19:18 +0000)]
Fix for typo in darwin detection.
Jeremy.

20 years agoFix typo.
John Terpstra [Sun, 14 Sep 2003 00:13:04 +0000 (00:13 +0000)]
Fix typo.

20 years agoFix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !
Jeremy Allison [Sat, 13 Sep 2003 22:41:21 +0000 (22:41 +0000)]
Fix for MacOS/X which uses STUPID BROKEN UNICODE COMPOSE CHARACTERS !
(rant off :-). Inspired by work from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>.
Also add MacOSX/Darwin configure fixes.
Jerry - can we put this in 3.0 release ? :-).
Jeremy.

20 years agoFix from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Revered
Jeremy Allison [Fri, 12 Sep 2003 21:41:18 +0000 (21:41 +0000)]
Fix from Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de>. Revered
condition meant fast-path in strchr_m was not being used. Doh !
Jeremy.

20 years agoFix from Craig Barratt <cbarratt@users.sourceforge.net> to fix restore
Jeremy Allison [Fri, 12 Sep 2003 01:25:35 +0000 (01:25 +0000)]
Fix from Craig Barratt <cbarratt@users.sourceforge.net> to fix restore
with filenames > 100 chars.
Jeremy.

20 years agoUpdated 3.0 schema files for IBM Directory Server 5.1
Jim McDonough [Thu, 11 Sep 2003 18:32:44 +0000 (18:32 +0000)]
Updated 3.0 schema files for IBM Directory Server 5.1

Keeps with IBM convention of separate attributetype and objectclass definitions.

20 years agofix unitiailized timestamp where merging print_jobs and lpq listing
Gerald Carter [Thu, 11 Sep 2003 17:01:26 +0000 (17:01 +0000)]
fix unitiailized timestamp where merging print_jobs and lpq listing

20 years agoremove getpwnam() calls from init_sam_from_xxx().
Gerald Carter [Thu, 11 Sep 2003 16:52:10 +0000 (16:52 +0000)]
remove getpwnam() calls from init_sam_from_xxx().
This means that %u & %g will no longer expand, but %U
and %G still do.  The payback is that winbindd local
accounts for users work with 'wbinfo -u' when winbind
is running on a PDC.

20 years agoFix error message when calling namedtogid() fails adding a group map
Tim Potter [Thu, 11 Sep 2003 01:57:08 +0000 (01:57 +0000)]
Fix error message when calling namedtogid() fails adding a group map
entry.  Bug #431.

20 years agoEnsure we consistantly translate to/from utf8 for talking to LDAP.
Jeremy Allison [Wed, 10 Sep 2003 23:49:23 +0000 (23:49 +0000)]
Ensure we consistantly translate to/from utf8 for talking to LDAP.
Jeremy.

20 years agoStill on my mb rampage. Ensure smbldap_make_mod() correctly detects old
Jeremy Allison [Wed, 10 Sep 2003 23:14:18 +0000 (23:14 +0000)]
Still on my mb rampage. Ensure smbldap_make_mod() correctly detects old
values.
Jeremy.

20 years agoFix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not converting
Jeremy Allison [Wed, 10 Sep 2003 22:33:06 +0000 (22:33 +0000)]
Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not converting
to/from utf8 for some calls. The libads code gets this right. Wonder why
the passdb code doesn't use it ?
Jeremy.

20 years agoFix for bug #273 - smbd crash on machine account change.
Jeremy Allison [Wed, 10 Sep 2003 18:34:57 +0000 (18:34 +0000)]
Fix for bug #273 - smbd crash on machine account change.
Someone only half changed the code to use dc_name
instead of remote machine... Found via back trace from Dariush Forouher
<dariush@forouher.de>.
Jeremy.

20 years agoFix stupid typo bug causing CPU spin. Spotted by Markus Ungermann <ungermann@elzet80.de>
Jeremy Allison [Wed, 10 Sep 2003 18:03:24 +0000 (18:03 +0000)]
Fix stupid typo bug causing CPU spin. Spotted by Markus Ungermann <ungermann@elzet80.de>
Jeremy.

20 years agoBack out --with-good-getgrouplist patch
Alexander Bokovoy [Wed, 10 Sep 2003 15:39:21 +0000 (15:39 +0000)]
Back out --with-good-getgrouplist patch

20 years agoNow that CAN-2003-0689 is published officially, we need to make possible
Alexander Bokovoy [Wed, 10 Sep 2003 13:39:09 +0000 (13:39 +0000)]
Now that CAN-2003-0689 is published officially, we need to make possible
to build on systems with fixed getgrouplist() in GNU libc < 2.3.2.
Unfortunately, we can't detect correctness of getgrouplist() functioning in
portable way so this is left up to developer/packager.

This patch adds --with-good-getgrouplist[=no] switch to configure which packagers
on Linux platforms could use to specify in their own builds if they now that glibc
on their platform is fixed w.r.t CAN-2003-0689. By default we still think that glibc
is vulnerable and perform our version check.

** This patch does not change default behaviour in Samba 3.0 -- by default we are not
vulnerable on glibc as we are not using getgrouplist()

See http://www.securityfocus.com/bid/8477 for vulnerability description.

Right now there are following Linux vendors released glibc updates for CAN-2003-0689:

RedHat -- https://rhn.redhat.com/errata/RHSA-2003-249.html
ALTLinux -- http://www.altlinux.com/index.php?module=sisyphus&package=glibc

20 years agoFix error return path memory leaks in vampire code for creating users.
Tim Potter [Wed, 10 Sep 2003 06:58:41 +0000 (06:58 +0000)]
Fix error return path memory leaks in vampire code for creating users.

Display an error if we can't create a posix account for the user
(e.g no add user/machine script was specified; bug #323).

20 years agoUse opt_target_workgroup instead of lp_workgroup() in vampire code so
Tim Potter [Wed, 10 Sep 2003 06:49:13 +0000 (06:49 +0000)]
Use opt_target_workgroup instead of lp_workgroup() in vampire code so
we can override the value in smb.conf with the -w option.

Migrating accounts from another domain can now be done like:

# bin/net join bdc -w nt4dom -Uadministrator%password
# bin/net rpc vampire -w nt4dom -U administrator%password

20 years agoFormatting fixups for help output.
Tim Potter [Wed, 10 Sep 2003 06:15:07 +0000 (06:15 +0000)]
Formatting fixups for help output.

20 years agoRemove tags file for distclean.
Tim Potter [Wed, 10 Sep 2003 03:59:07 +0000 (03:59 +0000)]
Remove tags file for distclean.

20 years agoFix mb bug in fast path code. strlen_w() returns number of *characters*
Jeremy Allison [Wed, 10 Sep 2003 02:21:24 +0000 (02:21 +0000)]
Fix mb bug in fast path code. strlen_w() returns number of *characters*
not number of bytes. Reproduce this by trying to rename the file named :
sibréseau -> sibréseaU
from Windows 2000 explorer.
Jeremy.

20 years agofix some typos
Gerald Carter [Wed, 10 Sep 2003 00:49:14 +0000 (00:49 +0000)]
fix some typos

20 years agosmall updates to parameter section
Gerald Carter [Wed, 10 Sep 2003 00:45:52 +0000 (00:45 +0000)]
small updates to parameter section

20 years agoremove references to 'strip dot'
Gerald Carter [Wed, 10 Sep 2003 00:40:32 +0000 (00:40 +0000)]
remove references to 'strip dot'

20 years agosyncing files
Gerald Carter [Tue, 9 Sep 2003 03:54:11 +0000 (03:54 +0000)]
syncing files

20 years agoremoving unneeded files
Gerald Carter [Tue, 9 Sep 2003 03:44:44 +0000 (03:44 +0000)]
removing unneeded files

20 years agobumping new version to CVS 3.01pre1; optmistic about RC3
Gerald Carter [Tue, 9 Sep 2003 02:02:33 +0000 (02:02 +0000)]
bumping new version to CVS 3.01pre1; optmistic about RC3

20 years agoDon't double-increment p in hash calculation. Found by valgrind.
Jeremy Allison [Mon, 8 Sep 2003 21:33:18 +0000 (21:33 +0000)]
Don't double-increment p in hash calculation. Found by valgrind.
Jeremy.

20 years agoFix valgrind-found read of uninit variable (ensure length is right).
Jeremy Allison [Mon, 8 Sep 2003 21:26:30 +0000 (21:26 +0000)]
Fix valgrind-found read of uninit variable (ensure length is right).
Jeremy.

20 years agoTidy up some formatting. Get ready for allowing bad password lockout. (based
Jeremy Allison [Mon, 8 Sep 2003 20:42:33 +0000 (20:42 +0000)]
Tidy up some formatting. Get ready for allowing bad password lockout. (based
on a patch posted from Richard Renard <rrenard@idealx.com>.
Jeremy.

20 years agoProtect against core dump if ioctl for print job sends invalid fid. Found
Jeremy Allison [Mon, 8 Sep 2003 20:27:28 +0000 (20:27 +0000)]
Protect against core dump if ioctl for print job sends invalid fid. Found
by Iskantharajah T <is@tracetec.com.my>.
Jeremy.

20 years agoRemove inaccurate notation.
John Terpstra [Mon, 8 Sep 2003 19:18:54 +0000 (19:18 +0000)]
Remove inaccurate notation.

20 years agoFix for incorrect error message - found by Alex Davis <alex14641@yahoo.com>.
Jeremy Allison [Mon, 8 Sep 2003 18:41:42 +0000 (18:41 +0000)]
Fix for incorrect error message - found by Alex Davis <alex14641@yahoo.com>.
Jeremy.

20 years agoBumping up version number of the Debian packages.
Eloy Paris [Mon, 8 Sep 2003 17:34:17 +0000 (17:34 +0000)]
Bumping up version number of the Debian packages.

20 years agoWhoops, fix type in comment.
Eloy Paris [Mon, 8 Sep 2003 17:30:14 +0000 (17:30 +0000)]
Whoops, fix type in comment.

20 years agoFix problem with the python-samba Debian package.
Eloy Paris [Mon, 8 Sep 2003 17:28:55 +0000 (17:28 +0000)]
Fix problem with the python-samba Debian package.

20 years agosamba 3.0 schema filr netscape DS 5.x from Darren Chew
Gerald Carter [Mon, 8 Sep 2003 15:59:45 +0000 (15:59 +0000)]
samba 3.0 schema filr netscape DS 5.x from Darren Chew

20 years agocopy from 3.0 release
Gerald Carter [Mon, 8 Sep 2003 15:35:09 +0000 (15:35 +0000)]
copy from 3.0 release

20 years agoOk, this should put packaging/Debian/ in sync. with rc3.
Eloy Paris [Mon, 8 Sep 2003 15:27:50 +0000 (15:27 +0000)]
Ok, this should put packaging/Debian/ in sync. with rc3.

20 years agomake sure we substitute basic variables in read/write list
Gerald Carter [Mon, 8 Sep 2003 15:24:01 +0000 (15:24 +0000)]
make sure we substitute basic variables in read/write list

20 years agocopy WHATSNEW from the release branch
Gerald Carter [Mon, 8 Sep 2003 15:08:18 +0000 (15:08 +0000)]
copy WHATSNEW from the release branch

20 years agoSync'ing packaging/Debian/ with the latest files from the official
Eloy Paris [Mon, 8 Sep 2003 14:48:09 +0000 (14:48 +0000)]
Sync'ing packaging/Debian/ with the latest files from the official
Debian packages. This files are in sync. with the Debian packages for
3.0.0rc2.

20 years agofix compile error on HP-UX 10.20
Gerald Carter [Mon, 8 Sep 2003 14:00:51 +0000 (14:00 +0000)]
fix compile error on HP-UX 10.20

20 years agofix valgrind errors; don't access cli_state pointer after it has been shutdown
Gerald Carter [Mon, 8 Sep 2003 13:53:19 +0000 (13:53 +0000)]
fix valgrind errors; don't access cli_state pointer after it has been shutdown

20 years agoSet PICFLAG="-fPIC" for gcc under HPUX.
Tim Potter [Mon, 8 Sep 2003 06:30:49 +0000 (06:30 +0000)]
Set PICFLAG="-fPIC" for gcc under HPUX.

20 years agoFix for bug #299.
Tim Potter [Mon, 8 Sep 2003 05:51:57 +0000 (05:51 +0000)]
Fix for bug #299.

There was some confusion over dynamically allocated lists of pointers
(i.e you have to make space for the list of pointers and what they are
pointing too) in the memory buffer passed in from libc.

Valgrind is much happer now and as a bonus there is no segfault.

20 years agoRename FOOLIBS to FOO_LIBS to be consistent with the rest of the
Tim Potter [Mon, 8 Sep 2003 02:48:06 +0000 (02:48 +0000)]
Rename FOOLIBS to FOO_LIBS to be consistent with the rest of the
library variable names.

20 years agoFix for bug #334. We don't unmarshall the trusted domain or secrets
Tim Potter [Mon, 8 Sep 2003 02:13:38 +0000 (02:13 +0000)]
Fix for bug #334.  We don't unmarshall the trusted domain or secrets
info delta correctly and thus crash when doing a net rpc samdump.

The easiest thing at the moment it to comment out these functions as
they seriously don't correspond with reality (netmon/ethereal) and the
data in the containers aren't used anyway.

20 years agoReformat debug.
Tim Potter [Mon, 8 Sep 2003 01:28:48 +0000 (01:28 +0000)]
Reformat debug.

20 years agoWhen enumerating dfs shares loop from 0 to lp_numservices() instead of
Tim Potter [Mon, 8 Sep 2003 00:55:29 +0000 (00:55 +0000)]
When enumerating dfs shares loop from 0 to lp_numservices() instead of
relying on lp_servicename(n) to return an empty string for invalid
service numbers.  For some reason it is returning NULL now.

Fixes bug 403.

20 years agoRemove another reference to --with-msdfs. Put back accidentally
Tim Potter [Mon, 8 Sep 2003 00:31:14 +0000 (00:31 +0000)]
Remove another reference to --with-msdfs.  Put back accidentally
removed <para> tag remove in previous commit.

20 years agoRemoved text about --with-msdfs configure option which no longer exists.
Tim Potter [Mon, 8 Sep 2003 00:28:47 +0000 (00:28 +0000)]
Removed text about --with-msdfs configure option which no longer exists.

20 years agoNobody complained on the team-list, so commit it ...
Volker Lendecke [Sun, 7 Sep 2003 16:36:13 +0000 (16:36 +0000)]
Nobody complained on the team-list, so commit it ...

This implements some kind of improved AFS support for Samba on Linux with
OpenAFS 1.2.10. ./configure --with-fake-kaserver assumes that you have
OpenAFS on your machine. To use this, you have to put the AFS server's KeyFile
into secrets.tdb with 'net afskey'. If this is done, on each tree connect
smbd creates a Kerberos V4 ticket suitable for use by the AFS client and
gives it to the kernel via the AFS syscall. This is meant to be very
light-weight, so I did not link in a whole lot of libraries to be more
platform-independent using the ka_SetToken function call.

Volker

20 years agoUse djb-algorithm string hash - faster than the tdb one we used to use.
Jeremy Allison [Sat, 6 Sep 2003 21:43:23 +0000 (21:43 +0000)]
Use djb-algorithm string hash - faster than the tdb one we used to use.
Jeremy.

20 years agofinish off bug 282. AAdd extra checks for pointers after
Gerald Carter [Sat, 6 Sep 2003 20:00:16 +0000 (20:00 +0000)]
finish off bug 282.  AAdd extra checks for pointers after
ads_search_XXX() calls.

20 years agoChange some internal interfaces to cause the hash (which is *expensive*)
Jeremy Allison [Sat, 6 Sep 2003 19:59:12 +0000 (19:59 +0000)]
Change some internal interfaces to cause the hash (which is *expensive*)
to be calculated less often. No change to external interface.
Jeremy.

20 years agofix bug 382: make sure to free and reset the cli_state pointer after flushing connect...
Gerald Carter [Sat, 6 Sep 2003 19:49:59 +0000 (19:49 +0000)]
fix bug 382: make sure to free and reset the cli_state pointer after flushing connections in winbindd_pam_auth[_crap]()

20 years agoaddress bug #359. Andrew B's patch for implementing client
Gerald Carter [Sat, 6 Sep 2003 19:23:24 +0000 (19:23 +0000)]
address bug #359.  Andrew B's patch for implementing client
portion of NTLMv2 key exchange.  Also revert the default for
'client ntlmv2 auth' to no.  This caused no ends of grief in
different cases.

And based on abartlet's mail....

> All I care about at this point is that we use NTLMv2
> in our client code when connecting to a server that
> supports it.

There is *no* way to tell this.  The server can't tell us, because it
doesn't know what it's DC supports.  The DC can't tell us, because it
doesn't know what the trusted DC supports.  One DC might be Win2k, and
the PDC could be an older NT4.

20 years agorevert retry loops in winbindd_ads as abartket points out, we
Gerald Carter [Sat, 6 Sep 2003 18:02:19 +0000 (18:02 +0000)]
revert retry loops in winbindd_ads as abartket points out, we
already have ads_search_retry() for this.  However, neither
domain_sid() nor sequence_nunber() used this function.  So modify
them to us ads_do_search_retry() so we can specify the base search
DN and scope.

20 years agoOnly set sids when they're retrurned by the MySQL query
Jelmer Vernooij [Sat, 6 Sep 2003 12:21:08 +0000 (12:21 +0000)]
Only set sids when they're retrurned by the MySQL query

20 years agoFix problem where stdarg.version would print the program name as smbd.
John Terpstra [Fri, 5 Sep 2003 22:53:18 +0000 (22:53 +0000)]
Fix problem where stdarg.version would print the program name as smbd.

20 years agoMore cachegrind tuning, plus fix an error message.
Jeremy Allison [Fri, 5 Sep 2003 21:30:50 +0000 (21:30 +0000)]
More cachegrind tuning, plus fix an error message.
Jeremy.

20 years agoMore tuning from cachegrind. Change most trim_string() calls to trim_char(0,
Jeremy Allison [Fri, 5 Sep 2003 19:59:55 +0000 (19:59 +0000)]
More tuning from cachegrind. Change most trim_string() calls to trim_char(0,
as that's what they do. Fix string_replace() to fast-path ascii.
Jeremy.

20 years agofixes for ads domain membership when only the realm is defined in
Gerald Carter [Fri, 5 Sep 2003 17:57:45 +0000 (17:57 +0000)]
fixes for ads domain membership when only the realm is defined in
smb.conf

Fixes to ensure we work with disable netbios = yes

20 years agorevert the change from r1.414 in HEAD that removed the
Gerald Carter [Fri, 5 Sep 2003 14:53:10 +0000 (14:53 +0000)]
revert the change from r1.414 in HEAD that removed the
ability to use variables in paths for the [homes] service.

20 years agoupdating readme with new links/address and removing outdated packages
Gerald Carter [Fri, 5 Sep 2003 13:36:14 +0000 (13:36 +0000)]
updating readme with new links/address and removing outdated packages

20 years agofix some output formatting
Gerald Carter [Fri, 5 Sep 2003 13:25:49 +0000 (13:25 +0000)]
fix some output formatting

20 years agoreformatting
Gerald Carter [Fri, 5 Sep 2003 13:21:35 +0000 (13:21 +0000)]
reformatting

20 years agofix some problems with the findsmb script due to changes in smbclient & nmblookup
Gerald Carter [Fri, 5 Sep 2003 13:07:41 +0000 (13:07 +0000)]
fix some problems with the findsmb script due to changes in smbclient & nmblookup

20 years agoVery weird. On my SLES8 installation ntlm_auth would give missing
Volker Lendecke [Fri, 5 Sep 2003 09:36:10 +0000 (09:36 +0000)]
Very weird. On my SLES8 installation ntlm_auth would give missing
kerberos symbols unless I do the same as smbd does. It does not hurt
on my debian, so simply give a pointer to LDAPLIBS as well.

Volker

20 years agoFix for bug 282 that didn't get checked in.
Tim Potter [Fri, 5 Sep 2003 05:57:24 +0000 (05:57 +0000)]
Fix for bug 282 that didn't get checked in.

20 years agofix bug 397: use a variant of alloc_sub_basic() for string lists.
Gerald Carter [Fri, 5 Sep 2003 05:32:32 +0000 (05:32 +0000)]
fix bug 397:  use a variant of alloc_sub_basic() for string lists.

20 years agoshould fix bug 364 & 311: Retry patch based on suggestion from
Gerald Carter [Fri, 5 Sep 2003 04:46:44 +0000 (04:46 +0000)]
should fix bug 364 & 311:  Retry patch based on suggestion from
Ken Cross.  Sometimes ads conenction get stale but we don't know
they are dead until we try them. This patch may need some optimization
after people bang on it for a while.

20 years agoFix for bug #73. Name types can be specified using name#type notation.
Tim Potter [Fri, 5 Sep 2003 04:40:10 +0000 (04:40 +0000)]
Fix for bug #73.  Name types can be specified using name#type notation.

Also added shortcut so that 'net lookup foo#1b' works.

20 years agoupdated schema for 3.0 for eDirectory 8.7 and Netscape DS 4.x
Gerald Carter [Fri, 5 Sep 2003 04:09:25 +0000 (04:09 +0000)]
updated schema for 3.0 for eDirectory 8.7 and Netscape DS 4.x

20 years agoMove $(KRBCLIENT_OBJ) to libnss_wins PICOBJ variable so it is converted to
Tim Potter [Fri, 5 Sep 2003 03:05:37 +0000 (03:05 +0000)]
Move $(KRBCLIENT_OBJ) to libnss_wins PICOBJ variable so it is converted to
relocatable form.

Added a comment about this in the hope that it won't happen again.

Renamed PAM_WINBIND_OBJ to PAM_WINBIND_PICOBJ to make it a bit clearer.

20 years agoHand optimisatinos for strrchr_m using the properties we know about MB
Jeremy Allison [Fri, 5 Sep 2003 01:33:22 +0000 (01:33 +0000)]
Hand optimisatinos for strrchr_m using the properties we know about MB
character sets and how we use this call.
Jeremy.

20 years agoReturn 0 DFS links instead of -1 when dfs support is not enabled.
Tim Potter [Fri, 5 Sep 2003 00:55:44 +0000 (00:55 +0000)]
Return 0 DFS links instead of -1 when dfs support is not enabled.

Possible fix for bug 403.

20 years agoRemoved {OLD,NEW}_NTDOMAIN cruft from mkproto.awk
Tim Potter [Thu, 4 Sep 2003 23:55:44 +0000 (23:55 +0000)]
Removed {OLD,NEW}_NTDOMAIN cruft from mkproto.awk

20 years agoFastpath strchr_m for ASCII.
Jeremy Allison [Thu, 4 Sep 2003 23:26:13 +0000 (23:26 +0000)]
Fastpath strchr_m for ASCII.
Jeremy.

20 years agoMore hand-tuning of the fastpath. Don't do strlen() when we're doing
Jeremy Allison [Thu, 4 Sep 2003 23:03:58 +0000 (23:03 +0000)]
More hand-tuning of the fastpath. Don't do strlen() when we're doing
to walk to the end anyway.
Jeremy.

20 years agoCheck in Andrew's fix for bug #305 (always use lp_realm() )
Gerald Carter [Thu, 4 Sep 2003 19:45:04 +0000 (19:45 +0000)]
Check in Andrew's fix for bug #305 (always use lp_realm() )

Also make sure thet ads_startup uses lp_realm instead of
just relying on the workgroup name.  Fixes bug in net ads join
when the workgroup defaults to "WORKGROUP" and we ignore the
realm name.

20 years agoRemove convert_string_internal completely from fast path when processing
Jeremy Allison [Thu, 4 Sep 2003 18:40:55 +0000 (18:40 +0000)]
Remove convert_string_internal completely from fast path when processing
NBENCH calls. Requires fixed buffer size for strdup_upper().
Jeremy.

20 years agoFix UNIX passwd sync properly. I've finally understood
Jeremy Allison [Thu, 4 Sep 2003 18:02:17 +0000 (18:02 +0000)]
Fix UNIX passwd sync properly. I've finally understood
the as_root parameter has bugger all to do with who you *currently*
are, and everything to do with who you run the script as. Doh !
Jeremy.

20 years agoMore FreeBSD PAM compile fixes. Don't redefine PAM_AUTHTOK_RECOVER_ERR
Tim Potter [Thu, 4 Sep 2003 03:28:40 +0000 (03:28 +0000)]
More FreeBSD PAM compile fixes.  Don't redefine PAM_AUTHTOK_RECOVER_ERR
if it already exists.  FreeBSD 4.8 doesn't need the redefinition, 5.0 does.