]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
21 years agoPatch for #263 from jpjanosi@us.ibm.com.
Jeremy Allison [Tue, 25 Nov 2003 02:04:10 +0000 (02:04 +0000)] 
Patch for #263 from jpjanosi@us.ibm.com.
Jeremy.

21 years agoWhen server signing is set to "auto", if the client doesn't sign just
Jeremy Allison [Tue, 25 Nov 2003 00:32:48 +0000 (00:32 +0000)] 
When server signing is set to "auto", if the client doesn't sign just
ignore it. Only fail if signing is set to "required".
Jeremy.

21 years agostrequal() returns a BOOL, not an int like strcmp(); this fixes a bug in check_bind_r...
Gerald Carter [Mon, 24 Nov 2003 20:22:41 +0000 (20:22 +0000)] 
strequal() returns a BOOL, not an int like strcmp(); this fixes a bug in check_bind_response()

21 years agoAdded "passwd chat timeout" parameter. Docs to follow.
Jeremy Allison [Mon, 24 Nov 2003 20:18:44 +0000 (20:18 +0000)] 
Added "passwd chat timeout" parameter. Docs to follow.
Jeremy.

21 years agopatch from Matthias Hilbig for bug 467; use the dns name (or IP) as the originating...
Gerald Carter [Mon, 24 Nov 2003 18:38:15 +0000 (18:38 +0000)] 
patch from Matthias Hilbig for bug 467; use the dns name (or IP) as the originating client name when using CUPS

21 years agomore access fixes for group enumeration in LDAP; bug 281
Gerald Carter [Mon, 24 Nov 2003 17:33:15 +0000 (17:33 +0000)] 
more access fixes for group enumeration in LDAP; bug 281

21 years ago(Merge from 3.0)
Andrew Bartlett [Sun, 23 Nov 2003 00:23:26 +0000 (00:23 +0000)] 
(Merge from 3.0)

Patch by emil@disksites.com <Emil Rasamat> to ensure we always always
free() each auth method. (We had relied on the use of talloc() only,
despite providing the free() callback)

Andrew Bartlett

21 years agoMerge from 3.0:
Andrew Bartlett [Sun, 23 Nov 2003 00:22:17 +0000 (00:22 +0000)] 
Merge from 3.0:

Add support for variable-length session keys in our client code.

This means that we now support 'net rpc join' with KRB5 (des based)
logins.  Now, you need to hack 'net' to do that, but the principal is
important...

When we add kerberos to 'net rpc', it should be possible to still do
user management and the like over RPC.

-

Add server-side support for variable-length session keys (as used by
DES based krb5 logins).

Andrew Bartlett

21 years ago(merge from 3.0)
Andrew Bartlett [Sat, 22 Nov 2003 13:29:02 +0000 (13:29 +0000)] 
(merge from 3.0)

Changes all over the shop, but all towards:
 - NTLM2 support in the server
 - KEY_EXCH support in the server
 - variable length session keys.

In detail:

 - NTLM2 is an extension of NTLMv1, that is compatible with existing
domain controllers (unlike NTLMv2, which requires a DC upgrade).

 * This is known as 'NTLMv2 session security' *

(This is not yet implemented on the RPC pipes however, so there may
well still be issues for PDC setups, particuarly around password
changes.  We do not fully understand the sign/seal implications of
NTLM2 on RPC pipes.)

This requires modifications to our authentication subsystem, as we
must handle the 'challege' input into the challenge-response algorithm
being changed.  This also needs to be turned off for
'security=server', which does not support this.

- KEY_EXCH is another 'security' mechanism, whereby the session key
actually used by the server is sent by the client, rather than being
the shared-secret directly or indirectly.

- As both these methods change the session key, the auth subsystem
needed to be changed, to 'override' session keys provided by the
backend.

- There has also been a major overhaul of the NTLMSSP subsystem, to
merge the 'client' and 'server' functions, so they both operate on a
single structure.  This should help the SPNEGO implementation.

- The 'names blob' in NTLMSSP is always in unicode - never in ascii.
Don't make an ascii version ever.

- The other big change is to allow variable length session keys.  We
have always assumed that session keys are 16 bytes long - and padded
to this length if shorter.  However, Kerberos session keys are 8 bytes
long, when the krb5 login uses DES.

 * This fix allows SMB signging on machines not yet running MIT KRB5 1.3.1. *

- Add better DEBUG() messages to ntlm_auth, warning administrators of
misconfigurations that prevent access to the privileged pipe.  This
should help reduce some of the 'it just doesn't work' issues.

- Fix data_blob_talloc() to behave the same way data_blob() does when
passed a NULL data pointer.  (just allocate)

REMEMBER to make clean after this commit - I have changed plenty of
data structures...

Andrew Bartlett

21 years agodebug and swat fixes from 3.0
Gerald Carter [Sat, 22 Nov 2003 06:17:46 +0000 (06:17 +0000)] 
debug and swat fixes from 3.0

21 years agofix winbind ping call so that SWAT correctly determines if winbindd is running; bug 398
Gerald Carter [Sat, 22 Nov 2003 04:49:32 +0000 (04:49 +0000)] 
fix winbind ping call so that SWAT correctly determines if winbindd is running; bug 398

21 years agoEnsure that items in a list of strings containing whitespace
Gerald Carter [Sat, 22 Nov 2003 04:35:36 +0000 (04:35 +0000)] 
Ensure that items in a list of strings containing whitespace
are written out surrounded by single quotes.  This means that
both double and single quotes are now used to surround
strings in smb.conf.  This is a slight change from the previous
behavior but needed or else things like

    printer admin = +ntadmin, 'VALE\Domain, Admin'

get written to smb.conf by SWAT.

21 years agoFix for rename across filesystems. Noticed by Rainer Link <link@foo.fh-furtwangen...
Jeremy Allison [Fri, 21 Nov 2003 23:01:34 +0000 (23:01 +0000)] 
Fix for rename across filesystems. Noticed by Rainer Link <link@foo.fh-furtwangen.de>.
Jeremy.

21 years agoFix Jerry's no-proto bug :-).
Jeremy Allison [Fri, 21 Nov 2003 19:20:51 +0000 (19:20 +0000)] 
Fix Jerry's no-proto bug :-).
Jeremy.

21 years agomake sure we don't append the ldap suffix when writing out the ldap XXX suffix values...
Gerald Carter [Fri, 21 Nov 2003 19:12:33 +0000 (19:12 +0000)] 
make sure we don't append the ldap suffix when writing out the ldap XXX suffix values in SWAT; based on tpot's original patch; bug 328

21 years agoTypo fix.
Rafal Szczesniak [Thu, 20 Nov 2003 23:54:13 +0000 (23:54 +0000)] 
Typo fix.

21 years agoAdded useful information to debug lines.
Rafal Szczesniak [Wed, 19 Nov 2003 23:14:21 +0000 (23:14 +0000)] 
Added useful information to debug lines.
Patch by metze.

rafal

21 years agoLook at error before using it in debug statement.
Jeremy Allison [Wed, 19 Nov 2003 22:57:53 +0000 (22:57 +0000)] 
Look at error before using it in debug statement.
Jeremy.

21 years agoGroup quotas patch from "Heinreichsberger, Helmut" <Helmut.Heinreichsberger@wincor...
Jeremy Allison [Wed, 19 Nov 2003 02:19:33 +0000 (02:19 +0000)] 
Group quotas patch from "Heinreichsberger, Helmut" <Helmut.Heinreichsberger@wincor-nixdorf.com>
Jeremy.

21 years agoCorrect fix for '$' termination test.
Jeremy Allison [Wed, 19 Nov 2003 00:22:47 +0000 (00:22 +0000)] 
Correct fix for '$' termination test.
Jeremy.

21 years agoFix to correct checking of '$' name termination.
Rafal Szczesniak [Tue, 18 Nov 2003 20:06:10 +0000 (20:06 +0000)] 
Fix to correct checking of '$' name termination.
Patch by metze.

rafal

21 years agoUseful debug message. Patch by metze.
Rafal Szczesniak [Tue, 18 Nov 2003 19:39:51 +0000 (19:39 +0000)] 
Useful debug message. Patch by metze.

rafal

21 years agoRemove unneeded second open for filename ending in '.' now we know it's
Jeremy Allison [Tue, 18 Nov 2003 02:06:46 +0000 (02:06 +0000)] 
Remove unneeded second open for filename ending in '.' now we know it's
a mangled name. Added const. Fix inspired by Andrew Bartlett ideas.
Jeremy.

21 years agoEnsure we mangle names ending in '.' in hash2 mangling method.
Jeremy Allison [Tue, 18 Nov 2003 01:47:15 +0000 (01:47 +0000)] 
Ensure we mangle names ending in '.' in hash2 mangling method.
Jeremy.

21 years agoFix from Andrew Bartlett to fix up the munged-dial problem.
Jeremy Allison [Mon, 17 Nov 2003 22:07:23 +0000 (22:07 +0000)] 
Fix from Andrew Bartlett to fix up the munged-dial problem.
Jeremy.

21 years agoFrom 3_0:
Volker Lendecke [Mon, 17 Nov 2003 18:01:28 +0000 (18:01 +0000)] 
From 3_0:

This fixes a bug when establishing trust against a german W2k3 AD server. In
the bind response to WKSSVC it does not send \PIPE\ntsvcs as NT4 (did not
check w2k) but \PIPE\wkssvc. I'm not sure whether we should make this check at
all, so making it a bit more liberal should hopefully not really hurt.

Volker

21 years ago* make sure we only enumerate group mapping entries
Gerald Carter [Mon, 17 Nov 2003 16:11:16 +0000 (16:11 +0000)] 
* make sure we only enumerate group mapping entries
  (not /etc/group) even when doing local aliases

* remove "hide local users" parameter; we have this
  behavior built into 3.0

21 years agoupdates from Buchan
Gerald Carter [Mon, 17 Nov 2003 14:16:55 +0000 (14:16 +0000)] 
updates from Buchan

21 years agodo not build config_ldap by default
Simo Sorce [Sun, 16 Nov 2003 09:11:38 +0000 (09:11 +0000)] 
do not build config_ldap by default
(forget to remove the module from the default list after testing :-)

21 years agoadd also the schema attributes and object classes need by config_ldap
Simo Sorce [Sat, 15 Nov 2003 00:52:06 +0000 (00:52 +0000)] 
add also the schema attributes and object classes need by config_ldap

Jerry,
if you have any problems with these schema additions, let me know, so that
we can arrange the right solution

21 years agoSplit smbldap in a core file and a utility file
Simo Sorce [Sat, 15 Nov 2003 00:47:29 +0000 (00:47 +0000)] 
Split smbldap in a core file and a utility file

Add module support for configuration loading

Add a first implementation of config_ldap module to put samba configuration
on ldap

It worked on my test machine, please try it out and send bugfixes :-)

have fun,
Simo.

INSTRUCTIONS:

Just add something like  this to your smb.conf file:
        config backend = config_ldap:ldap://localhost
        config_ldap:basedn = dc=samba,dc=org

the config tree must follow this scheme:
   ou=foo, dc=samba, dc=org <- global section
   |- sambaOptionName=log level, ou=foo, ...  <- options
   |- ...
   |- sambaShareName=testlc, ou=foo, ...  == [testlc]
      |- sambaOptionName=path, sambaShareName=testlc, ou=foo, ... <- option

here is a sample ldif:
# foo, samba, org
dn: ou=foo, dc=samba, dc=org
objectClass: organizationalUnit
objectClass: sambaConfig
ou: foo
description: Test Foo

# log level, foo, samba, org
dn: sambaOptionName=log level, ou=foo, dc=samba, dc=org
objectClass: sambaConfigOption
sambaOptionName: log level
sambaIntegerOption: 10
description: log level 10 is suitable for good debugging

# testlc, foo, samba, org
dn: sambaShareName=testlc, ou=foo, dc=samba, dc=org
objectClass: sambaShare
sambaShareName: testlc
description: share to test ldap config module actually works

# path, testlc, foo, samba, org
dn: sambaOptionName=path, sambaShareName=testlc, ou=foo, dc=samba, dc=org
objectClass: sambaConfigOption
sambaOptionName: path
sambaStringOption: /tmp
description: Path for share testlc

# read only, testlc, foo, samba, org
dn: sambaOptionName=read only, sambaShareName=testlc, ou=foo, dc=samba,
dc=org
objectClass: sambaConfigOption
sambaOptionName: read only
sambaBoolOption: TRUE
description: Share testlc is read only

# guest ok, testlc, foo, samba, org
dn: sambaOptionName=guest ok, sambaShareName=testlc, ou=foo, dc=samba,
dc=org
objectClass: sambaConfigOption
sambaOptionName: guest ok
sambaBoolOption: TRUE
description: Guest users are allowed to connect to testlc share

21 years agofix more memory leaks in the LDAP backend code; patches from metze
Gerald Carter [Fri, 14 Nov 2003 03:36:27 +0000 (03:36 +0000)] 
fix more memory leaks in the LDAP backend code; patches from metze

21 years agoUpdate Makefile ...
Richard Sharpe [Thu, 13 Nov 2003 21:42:07 +0000 (21:42 +0000)] 
Update Makefile ...

21 years agoAdd this to samba-head.
Richard Sharpe [Thu, 13 Nov 2003 21:40:27 +0000 (21:40 +0000)] 
Add this to samba-head.

21 years ago* Fix from SATOH Fumiyasu for bug 660 (failing to view print
Gerald Carter [Thu, 13 Nov 2003 20:16:28 +0000 (20:16 +0000)] 
* Fix from SATOH Fumiyasu for bug 660 (failing to view print
  jobs) by only enforce the 'max reported print jobs' parameter
  when it is non-zero.

* Fixed bug 338 by making sure that data values are written
  out when we are marshalling an EnumPrinterDataEx() reply.
  This probably fixes other bugs reported against point-n-print
  feature in 3.0.0

21 years agoKeep configure.in in sync with SAMBA-3.0.0
Richard Sharpe [Thu, 13 Nov 2003 17:04:59 +0000 (17:04 +0000)] 
Keep configure.in in sync with SAMBA-3.0.0

22 years agoshow locked files for -u <user>; bug 590
Gerald Carter [Wed, 12 Nov 2003 22:37:09 +0000 (22:37 +0000)] 
show locked files for -u <user>; bug 590

22 years ago> Omit html documentation tree because it has been moved to the separate
Rafal Szczesniak [Wed, 12 Nov 2003 21:47:25 +0000 (21:47 +0000)] 
> Omit html documentation tree because it has been moved to the separate
> module. Install though, in case one recreates the tree as it was before.
>
>
> rafal

Same as in SAMBA_3_0 source tree.

rafal

22 years agofix crash bug due to empyrt munged dial string; patch from metze
Gerald Carter [Tue, 11 Nov 2003 19:22:44 +0000 (19:22 +0000)] 
fix crash bug due to empyrt munged dial string; patch from metze

22 years agoPatch from Andrew Bartlett <abartlet@samba.org> for security=server core
Jeremy Allison [Mon, 10 Nov 2003 19:33:40 +0000 (19:33 +0000)] 
Patch from Andrew Bartlett <abartlet@samba.org> for security=server core
dump if server goes away.
Jeremy.

22 years agoFrom 3_0:
Volker Lendecke [Sun, 9 Nov 2003 17:24:16 +0000 (17:24 +0000)] 
From 3_0:

Skip over the winbind separator when looking up a user.

Volker

22 years agoMerge from 3.0:
Andrew Bartlett [Sun, 9 Nov 2003 09:30:21 +0000 (09:30 +0000)] 
Merge from 3.0:

source/passdb/pdb_get_set.c:
I agree with vl's #if 0 here, and am not quite sure what I was
thinking with regard to the original code.

Let's keep samba simple, and just remove it.

source/rpc_server/srv_netlog_nt.c:
Remove compleatly wrong comments.  (There were correct, 2 years ago...)

source/intl/lang_tdb.c:
Add newline to debug message

Andrew Bartlett

22 years ago* only install swat html files once
Gerald Carter [Fri, 7 Nov 2003 23:04:52 +0000 (23:04 +0000)] 
* only install swat html files once
* revert the change that prevent the guest
  account from being added to a passdb backend
  since it broke the build farm.
* apply patch from Alex Deiter to fix the
  "smbldap_open: cannot access when not root
  error" messages when looking up group
  information (bug 281)

22 years agoHandle munged dial string. Patch from Aur?lien Degr?mont <adegremont@idealx.com>
Jeremy Allison [Fri, 7 Nov 2003 18:32:29 +0000 (18:32 +0000)] 
Handle munged dial string. Patch from Aur?lien Degr?mont <adegremont@idealx.com>
with memory leak fixes by me.
Jeremy.

22 years agofix for bug 680 (heads up). This gist is to map the
Gerald Carter [Fri, 7 Nov 2003 14:41:08 +0000 (14:41 +0000)] 
fix for bug 680 (heads up).  This gist is to map the
UNIX entity foo to DOMAIN\foo instead of SERVER\foo
on members of a Samba domain when all UNIX accounts
are shared via NIS, et. al.

  * allow winbindd to match local accounts to domain SID
    when 'winbind trusted domains only = yes'

  * remove code in idmap_ldap that searches the user
    suffix and group suffix.  It's not needed and
    provides inconsistent functionality from the tdb backend.

This has been tested.  I'm still waiting on some more feedback
but This needs to be in 3.0.1pre2 for widespread use.

22 years agodon't allow setting of the guest account
Gerald Carter [Fri, 7 Nov 2003 14:32:55 +0000 (14:32 +0000)] 
don't allow setting of the guest account

22 years agoFrom 3_0:
Volker Lendecke [Fri, 7 Nov 2003 10:12:43 +0000 (10:12 +0000)] 
From 3_0:

Implement %i-Macro for the locally used IP address. With this you can again
have virtual hosts with different configurations on a single smbd even on port
445.

Volker

22 years agoFrom 3_0:
Volker Lendecke [Fri, 7 Nov 2003 09:04:57 +0000 (09:04 +0000)] 
From 3_0:

Simple rename of get_socket_addr to get_peer_addr and get_socket_name to
get_peer_name. This is to get closer to the getsockname/getpeername system
functions.

Next step will be the %i macro for the local IP address. I still want to play
%L-games in times of port 445.

Volker

22 years agoFix bug #471. (const needed in lp_set_name_resolve_order).
Jeremy Allison [Thu, 6 Nov 2003 22:07:10 +0000 (22:07 +0000)] 
Fix bug #471. (const needed in lp_set_name_resolve_order).
Jeremy.

22 years agomerge's tpot build fix from 3.0
Gerald Carter [Thu, 6 Nov 2003 17:39:01 +0000 (17:39 +0000)] 
merge's tpot build fix from 3.0

22 years agorun krb5 logins through the username map if the winbindd lookup fails; bug 698
Gerald Carter [Thu, 6 Nov 2003 17:31:43 +0000 (17:31 +0000)] 
run krb5 logins through the username map if the winbindd lookup fails; bug 698

22 years agopatch from MORIYAMA Masayuki to save LDFLAGS during iconv detection; bug 570
Gerald Carter [Thu, 6 Nov 2003 17:24:24 +0000 (17:24 +0000)] 
patch from MORIYAMA Masayuki to save LDFLAGS during iconv detection; bug 570

22 years agobug 624; make sure to set the GUEST SID rather than using the PDB_DEFAULT flag
Gerald Carter [Thu, 6 Nov 2003 05:46:23 +0000 (05:46 +0000)] 
bug 624; make sure to set the GUEST SID rather than using the PDB_DEFAULT flag

22 years agoMake the recent changes more pretty.
Richard Sharpe [Thu, 6 Nov 2003 05:37:30 +0000 (05:37 +0000)] 
Make the recent changes more pretty.

22 years agoBetter handling of iconv support and etc because gnu libiconv on FreeBSD
Richard Sharpe [Wed, 5 Nov 2003 23:36:00 +0000 (23:36 +0000)] 
Better handling of iconv support and etc because gnu libiconv on FreeBSD
changed where it puts things :-)

22 years agoMinor comment updates ...
Richard Sharpe [Wed, 5 Nov 2003 19:16:56 +0000 (19:16 +0000)] 
Minor comment updates ...

22 years agoMerge of 64-bit printf warning fixes.
Tim Potter [Wed, 5 Nov 2003 18:28:29 +0000 (18:28 +0000)] 
Merge of 64-bit printf warning fixes.

22 years agoCompile tdbdump by default.
Volker Lendecke [Wed, 5 Nov 2003 17:39:24 +0000 (17:39 +0000)] 
Compile tdbdump by default.

Volker

22 years agoMerge from 3.0:
Tim Potter [Wed, 5 Nov 2003 17:37:08 +0000 (17:37 +0000)] 
Merge from 3.0:

      Revision 1.82.2.24:

       Patch from James Henstridge to allow rpcclient adddriver
       command to specify printer driver version.  Closes bug #514.

22 years agoMerge of some compiler warning fixes.
Tim Potter [Wed, 5 Nov 2003 17:34:33 +0000 (17:34 +0000)] 
Merge of some compiler warning fixes.

22 years agoMerge of setenv->putenv for winbind client.
Tim Potter [Wed, 5 Nov 2003 17:32:38 +0000 (17:32 +0000)] 
Merge of setenv->putenv for winbind client.

22 years agoMerge from 3.0:
Tim Potter [Wed, 5 Nov 2003 17:28:18 +0000 (17:28 +0000)] 
Merge from 3.0:

      Revision 1.42.2.8:

       Use the actual size of the buffer in strftime instead of a
       made up value which just happens to be less than
       sizeof(fstring).  Closes #713.

22 years agoMerge from 3.0:
Tim Potter [Wed, 5 Nov 2003 17:26:43 +0000 (17:26 +0000)] 
Merge from 3.0:

      Revision 1.10.2.6:

       Cast to fix warning on Solaris sendfile - check buildfarm
       output to see if this works!  Bug #706.

22 years agoMerge from 3.0:
Tim Potter [Wed, 5 Nov 2003 17:21:22 +0000 (17:21 +0000)] 
Merge from 3.0:

      Revision 1.16.2.6:

       Add prototype for smbc_remove_unused_server() to fix
       compiler warning.  Bug #706.

22 years agoMerge of uname cleanups from 3.0
Tim Potter [Wed, 5 Nov 2003 17:19:48 +0000 (17:19 +0000)] 
Merge of uname cleanups from 3.0

22 years agoMerge from 3.0:
Tim Potter [Wed, 5 Nov 2003 17:18:46 +0000 (17:18 +0000)] 
Merge from 3.0:

       Revision 1.209.2.44:

Fix crash bug in smbclient completion.  Closes bug #659.

22 years agoMerge from 3.0:
Tim Potter [Wed, 5 Nov 2003 17:17:35 +0000 (17:17 +0000)] 
Merge from 3.0:

      Revision 1.468.2.193:

       Add ldaplibs to pdbedit link line.  Fixes bug #651.

22 years agoApply the changes that Derrell Lipman supplied ...
Richard Sharpe [Wed, 5 Nov 2003 16:58:25 +0000 (16:58 +0000)] 
Apply the changes that Derrell Lipman supplied ...

22 years agomake sure that we expand %H (from vl); bug 612
Gerald Carter [Wed, 5 Nov 2003 04:34:44 +0000 (04:34 +0000)] 
make sure that we expand %H (from vl); bug  612

22 years agoadded note about stripping comments from LDIF; bug 642
Gerald Carter [Wed, 5 Nov 2003 04:17:57 +0000 (04:17 +0000)] 
added note about stripping comments from LDIF; bug 642

22 years agoFix coredump in cli_get_backup_list.
Jeremy Allison [Wed, 5 Nov 2003 00:17:17 +0000 (00:17 +0000)] 
Fix coredump in cli_get_backup_list.
Jeremy.

22 years agoFix for bug #771. Fix packet length for browse list reply.
Jeremy Allison [Wed, 5 Nov 2003 00:12:53 +0000 (00:12 +0000)] 
Fix for bug #771. Fix packet length for browse list reply.
Jeremy.

22 years agoFix for bug #703, try lowercase netgroups lookups.
Jeremy Allison [Tue, 4 Nov 2003 18:24:30 +0000 (18:24 +0000)] 
Fix for bug #703, try lowercase netgroups lookups.
Jeremy.

22 years agoTDBSAM update code from Aur?lien Degr?mont <adegremont@idealx.com>.
Jeremy Allison [Mon, 3 Nov 2003 23:59:45 +0000 (23:59 +0000)] 
TDBSAM update code from Aur?lien Degr?mont <adegremont@idealx.com>.
Adds support for an additional field (uint32) which represents the
lockout duration. I think this should be stored as an abolute
UNIX time_t that specifies when the lockout should end - set it
when the lockout is imposed. This new code also updates the on
disk tdb version on load. Being merged into HEAD so Simo can
add any other changes he wants before being back-ported to
SAMBA_3_0.
Jeremy.

22 years agoFix for winbindd on HPUX from albert chin (china@thewrittenword.com)
Jeremy Allison [Mon, 3 Nov 2003 21:05:50 +0000 (21:05 +0000)] 
Fix for winbindd on HPUX from albert chin (china@thewrittenword.com)
Jeremy.

22 years agoremoving #include <compat.h> in hopes to avoid problems with apache header files...
Gerald Carter [Mon, 3 Nov 2003 19:23:05 +0000 (19:23 +0000)] 
removing #include <compat.h> in hopes to avoid problems with apache header files; will watch the build farm on this to make sure things don't blow up

22 years agoFrom 3_0:
Volker Lendecke [Mon, 3 Nov 2003 18:11:46 +0000 (18:11 +0000)] 
From 3_0:

AC_CHECK_MEMBER seems to have problems for some versions of autoconf, at least
autoconf-2.53 on SLES8 does not correctly find the keyblock.

Volker

22 years agoFix duplicate libs problem in iconv detection code.
Tim Potter [Sun, 2 Nov 2003 16:31:38 +0000 (16:31 +0000)] 
Fix duplicate libs problem in iconv detection code.

22 years agoMerge of fix for bug 661 from 3.0
Tim Potter [Sun, 2 Nov 2003 04:16:14 +0000 (04:16 +0000)] 
Merge of fix for bug 661 from 3.0

22 years agoFrom 3_0:
Volker Lendecke [Sat, 1 Nov 2003 17:42:44 +0000 (17:42 +0000)] 
From 3_0:

This binds the nmbd sending socket to the 'socket address'.

Hmmm. This is correct in 2.2. Obviously I did not test my 3.0 checkin at that
time. Now it hit me at a customer's site...

Volker

22 years agoset- set-assword when invoking --set-auth-user and no pw
Gerald Carter [Fri, 31 Oct 2003 20:31:25 +0000 (20:31 +0000)] 
set- set-assword when invoking --set-auth-user and no pw
is given (patch from Tom Dickson)

22 years agoPatch from Aurélien Degrémont <adegremont@idealx.com>. "entry" is dependent
Jeremy Allison [Fri, 31 Oct 2003 19:16:57 +0000 (19:16 +0000)] 
Patch from Aurélien Degrémont <adegremont@idealx.com>. "entry" is dependent
on "result", don't free result first.
Jeremy.

22 years agoMerge from 3.0:
Tim Potter [Fri, 31 Oct 2003 03:17:01 +0000 (03:17 +0000)] 
Merge from 3.0:

  Revision 1.50.2.12:

    Put in a work-around for ENOTSUP not being defined on OpenBSD.

  Revision 1.50.2.10-11

    Apply latest of Derrell Lippman's changes to libsmbclient.

    Commit Derrell's changes to libsmbclient plus a small change to
    configure.in to see if SGI and other platforms will build.

22 years agoWhitespace syncup with 3.0
Tim Potter [Fri, 31 Oct 2003 03:02:31 +0000 (03:02 +0000)] 
Whitespace syncup with 3.0

22 years agoFormatting syncup with 3.0
Tim Potter [Fri, 31 Oct 2003 03:00:33 +0000 (03:00 +0000)] 
Formatting syncup with 3.0

22 years agoFix another unused warning.
Tim Potter [Fri, 31 Oct 2003 02:58:32 +0000 (02:58 +0000)] 
Fix another unused warning.

22 years agoFix spelling mistake.
Tim Potter [Fri, 31 Oct 2003 02:57:02 +0000 (02:57 +0000)] 
Fix spelling mistake.

22 years agoMerge from 3.0:
Tim Potter [Fri, 31 Oct 2003 02:56:11 +0000 (02:56 +0000)] 
Merge from 3.0:

  Revision 1.45.2.23:

    Changed output so all debug output goes to stderr, and all file processing
    goes to stdout.

    Note: This change permits use of testparm processing of smb.conf to be
    redirected into a file that can be used as an smb.conf file. ie: All
    information that should not be in smb.conf will be on stderr, all pertinent
    smb.conf info will go to stdout.

    Example of use:
A fully documented smb.conf.master file can be maintained.
To create smb.conf do:
testparm -s > smb.conf

22 years agoFix some unused variable warnings.
Tim Potter [Fri, 31 Oct 2003 02:53:07 +0000 (02:53 +0000)] 
Fix some unused variable warnings.

22 years agoMerge from 3.0:
Tim Potter [Fri, 31 Oct 2003 01:42:21 +0000 (01:42 +0000)] 
Merge from 3.0:

  Revision 1.2.2.5:

    Remove some unused variables uncovered by the build farm.

22 years agoSync up with 3.0
Tim Potter [Fri, 31 Oct 2003 01:35:02 +0000 (01:35 +0000)] 
Sync up with 3.0

22 years agoSync up some indentation.
Tim Potter [Fri, 31 Oct 2003 01:31:31 +0000 (01:31 +0000)] 
Sync up some indentation.

22 years agoMerge from 3.0: Sync up comments.
Tim Potter [Fri, 31 Oct 2003 01:18:41 +0000 (01:18 +0000)] 
Merge from 3.0: Sync up comments.

22 years agoMerge of some fixes from 3.0:
Tim Potter [Fri, 31 Oct 2003 01:17:37 +0000 (01:17 +0000)] 
Merge of some fixes from 3.0:

  - Revision 1.468.2.187

      CP* modules are not related to development

  - Revision 1.468.2.191

      Compile fix for tdbbackup when Samba needs to override non-C99
      compliant implementations of snprintf

Sync up formatting for PAM_WINBIND_PICOBJ variable.

22 years agoAdd string to uuid fn. Thanks aliguori.
Jim McDonough [Thu, 30 Oct 2003 23:43:18 +0000 (23:43 +0000)] 
Add string to uuid fn.  Thanks aliguori.

22 years agoIf nothing to do, return success. Fix from Aur?lien Degr?mont <adegremont@idealx...
Jeremy Allison [Thu, 30 Oct 2003 20:09:44 +0000 (20:09 +0000)] 
If nothing to do, return success. Fix from Aur?lien Degr?mont <adegremont@idealx.com>
Jeremy.

22 years agoLast of the GUID->struct uuid changes.
Jim McDonough [Thu, 30 Oct 2003 18:13:25 +0000 (18:13 +0000)] 
Last of the GUID->struct uuid changes.

GUID has been removed.  If you are dealing with a flattened version of a
[gu]uid, use UUID_FLAT.  smb_pack_uuid and smb_unpack_uuid will switch
between the two.

I'm not sure exactly what the genparse stuff is doing here, so I just
switched it to a UUID_FLAT (no functional change), but I suspect this
may not be the right way to go.

22 years agoNearing the end of the GUID -> struct uuid changes.
Jim McDonough [Thu, 30 Oct 2003 17:50:56 +0000 (17:50 +0000)] 
Nearing the end of the GUID -> struct uuid changes.

22 years agoOk, nearing the end of the GUID->struct uuid changes.
Jim McDonough [Thu, 30 Oct 2003 17:37:21 +0000 (17:37 +0000)] 
Ok, nearing the end of the GUID->struct uuid changes.

Takes care of secdescs.

Had to move the uuid marshall/unmarshalling code to parse_misc, because
it's needed outside of parse_rpc.c (for no-auth calls)

22 years agoMore GUID->struct uuid changes.
Jim McDonough [Thu, 30 Oct 2003 17:17:51 +0000 (17:17 +0000)] 
More GUID->struct uuid changes.

Printer publishing now uses struct uuid.  Also changes ads_pull_guid to
unpack it from the wire format.