1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

557 Commits

Author SHA1 Message Date
Gerald Carter
67d474861d r799: BUG 1259 -- add 'printcap cache time' patch from Lars
(This used to be commit fac9074113)
2007-10-10 10:51:46 -05:00
Jeremy Allison
8c0db1bbc4 r786: Memory leak fixes in (mostly) error code paths from
kawasa_r@itg.hitachi.co.jp. A couple of mem leak fixes in
mainline code paths though :-).
Jeremy.
(This used to be commit 4695cc95fe)
2007-10-10 10:51:38 -05:00
Gerald Carter
348b01ff77 r647: fix for setting the called name to by our IP if the called name was *SMBSERVER and *SMBSERV -- fixes issue with connecting to printers via \ip.ad.dr.ess\printer UNC path
(This used to be commit 8ee268f0ed)
2007-10-10 10:51:32 -05:00
Jeremy Allison
e0da56a848 r570: Remove lots of globals to handle case issues - move them
to connection struct entries (as they should have been from
the start). Jerry, once you've cut over to 3.0.4 release
branch I'll add this to 3.0 also.
- Jerry cut over :-).
Jeremy.
(This used to be commit 578a508509)
2007-10-10 10:51:30 -05:00
Gerald Carter
335b10ef10 r283: removing --with-cracklib after discussion with abartklet @ sambaXP
(This used to be commit df94b0471e)
2007-10-10 10:51:16 -05:00
Gerald Carter
578a7d254f r242: adding 'cups options' parameter to allow raw printing without changing /etc/cups/cupsd.conf -- documentation to follow
(This used to be commit 2f323b0991)
2007-10-10 10:51:15 -05:00
Gerald Carter
3287bd9364 r155: real for for BUG 761 -- allow printing parameter to set defaults on a per share basis
(This used to be commit 14d3794eec)
2007-10-10 10:51:11 -05:00
Gerald Carter
7af3777ab3 r116: volker's patch for local group and group nesting
(This used to be commit b393469d95)
2007-10-10 10:51:10 -05:00
Gerald Carter
931df5850e r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
(This used to be commit a7e2730ec4)
2007-10-10 10:51:05 -05:00
Jeremy Allison
722aa118c6 Added per-share parameter "store dos attributes". When set, will store
dos attributes in an EA. Based on an original patch from tridge, but
modified somewhat to cover all cases.
Jeremy.
(This used to be commit ed653cd468)
2004-04-02 18:46:19 +00:00
Jeremy Allison
d113219e78 Added support for OS/2 EA's in smbd server. Test with smbtorture eatest.
New protocol option "ea support" to turn them on (off by default). Conrad
at Apple may like this as it allows MacOS resource forks to be stored on
a file. Passes valgrind. Documentation to follow.
Jeremy.
(This used to be commit 8cc10a6c05)
2004-03-31 02:20:16 +00:00
Andrew Bartlett
deee8fae47 As I raised (without objection) on the mailing list a while back, this
patch removes the 'unicode' smb.conf option.

Clients are as always free not to negotiate unicode, but Samba will always
accept unicode in smbd.

Setting 'unicode = no' caused me more client BSODs than any other option
I have seen, and I really want to protect some of our more silly users, who
will, no matter what, select and change every option...

Andrew Bartlett
(This used to be commit 3f9177bd5d)
2004-03-27 05:38:20 +00:00
Gerald Carter
c24dccd413 BUG 417: fix %UuGg variables expansion in include lines setging the current_user_info struct in register_vuid() -- shouldn't be any more broken than we were
(This used to be commit a90c3bd281)
2004-03-19 22:06:54 +00:00
Gerald Carter
62a7e258a3 BUG 761: read the config file before initialized default values for printing options
(This used to be commit d358f72974)
2004-03-02 04:09:39 +00:00
Gerald Carter
00e0a5ca90 marking 'only user' as deprecated (based on feedback in bug 66)
(This used to be commit a44f67b141)
2004-02-11 04:32:12 +00:00
Andrew Bartlett
1daa101516 Merge the 'use cracklib' parameter from HEAD back to 3.0
Andrew Bartlett
(This used to be commit 2202667ebb)
2004-02-02 07:45:50 +00:00
Gerald Carter
575bc995c0 * BUG 101: patch from j.lu@tiesse.com to set the SV_TYPE_PRINTQ_SERVER;
* don't set the unix_ERR_XX code in mkdir_internal, let the error mapping
  handle it.
(This used to be commit 87343fc15a)
2004-01-31 18:25:57 +00:00
Jeremy Allison
2f2e5b0191 Fix up name canonicalization (needed for krb5 keytab support later).
Remove source_env handler (no longer used in any codepath).
Jeremy.
(This used to be commit 3a3e336030)
2004-01-30 18:38:48 +00:00
Gerald Carter
cf3bbe7385 removing more unused parameters
(This used to be commit 8135ea08b3)
2004-01-29 17:28:45 +00:00
Volker Lendecke
3c3c7b329a Don't substitute stuff in lp_afs_username_map, this is explicitly
done later.

Volker
(This used to be commit c4a6151f46)
2004-01-15 17:05:08 +00:00
Gerald Carter
1dce4ebed8 revert the cracklib changes until post 3.0.2
(This used to be commit 6202e0fa72)
2004-01-14 17:34:41 +00:00
Jeremy Allison
9bf45a0393 Remove duplicate extern.
Jeremy.
(This used to be commit fb088b5679)
2004-01-14 06:44:20 +00:00
Andrew Bartlett
b75b755a2b First stab at cracklib support (password quality checking) in Samba 3.0
This adds a configure test, that tries to find out if we have a working
cracklib installation, and tries to pick up the debian hints on where
the dictionary might be found.  Default is per my Fedora Core 1 system -
I'm not sure how much it changes.

Andrew Bartlett
(This used to be commit bc770edb78)
2004-01-12 12:18:11 +00:00
Andrew Bartlett
125e7e8e25 Machines are people too!
While machine accounts cannot use an NTLM login (NT4 style), they are
otherwise full and valid members of the domain, and expect to be able to
use kerberos to connect to CIFS servers.

This means that the LocalSystem account, used by various services, can
perform things like backups, without the admin needing to enter further
passwords.

This particular issue (bug 722) has started to come up a lot on the lists.

I have only enabled it for winbindd-based systems, as the macros use use
to call the 'add user script' will strip the $ from the username for
security reasons.

Andrew Bartlett
(This used to be commit 6a9bbd1da3)
2004-01-07 23:46:47 +00:00
Andrew Bartlett
38b17cb153 ldap rebind sleep -> ldap replication sleep
While writing documentation for metze's patch, it became clear that this is a
better name.

Andrew Bartlett
(This used to be commit 6f828ff3d3)
2003-12-25 23:11:07 +00:00
Volker Lendecke
3a1b189a9f This is metze's LDAP rebind sleep patch:
When smb.conf tells us to write to a read-only LDAP replica and we are
redirected by the LDAP server, the replication might take some seconds,
especially over slow links. This patch delays the next read after a rebind for
'ldap rebind sleep' milliseconds.

Metze, thanks for your patience.

Volker
(This used to be commit 63ffa770b6)
2003-12-25 22:42:15 +00:00
Volker Lendecke
91e1154370 abartlet pointed me at the fact that the order and flags in loadparm.c are
actually used.... 'afs username map' should not show up in the swat basic
view. :-)

Maybe I should use swat from time to time....

Volker
(This used to be commit d4e071d14b)
2003-12-25 10:08:31 +00:00
John Terpstra
ee8fc93414 Fixing barfed idmap entries and adding not on use of FLAG_HIDE.
(This used to be commit 25aa5df5c7)
2003-11-26 18:43:26 +00:00
Jeremy Allison
73034f9116 Added "passwd chat timeout" parameter. Docs to follow.
Jeremy.
(This used to be commit 16097f2072)
2003-11-24 20:18:47 +00:00
Gerald Carter
11f4893145 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.
(This used to be commit 5bf91c79d6)
2003-11-22 04:33:36 +00:00
Jeremy Allison
bdea2e8a47 Fix Jerry's no-proto bug :-).
Jeremy.
(This used to be commit 48153f7a07)
2003-11-21 19:20:07 +00:00
Gerald Carter
478bb592a3 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
(This used to be commit 12a06dd980)
2003-11-21 19:11:48 +00:00
Gerald Carter
4097f5ec8d * 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
(This used to be commit a7685a0697)
2003-11-17 16:06:10 +00:00
Jeremy Allison
75b2469063 Fix bug #471. (const needed in lp_set_name_resolve_order).
Jeremy.
(This used to be commit 3c19ac5f1c)
2003-11-06 22:07:12 +00:00
Jeremy Allison
bb0598faf5 Put strcasecmp/strncasecmp on the banned list (except for needed calls
in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at
all and I really want to discourage that.
Jeremy.
(This used to be commit d7e35dfb92)
2003-10-22 23:38:20 +00:00
Tim Potter
635dff7528 Moving towards better i18n support in SWAT. This commit contains a
bunch of updates to bug 413 from Monyo:

1) pick up proper strings to call msg strings for example to add
  strings in wizard menu in web/swat.c, web/statuspage.c and
  param/loadparm.c.

2) define N_() macro in include/intl.h to pick up some strings
  in param/loadparm.c

3) quote all name and value tag with '"'
  For example in swat.c:720 the "Edit Parameter Values" string is
  displayd only as "Edit" because value tag is not quoted like:
  value=Edit Parameter Values
  These tags should be quoted though it sometimes works well
  without quotation.

4) modify the msg strings not to contain HTML tags or other
  non-message strings. For example
  dprintf(_("test\n")); is modified to dprintf("%s\n", _("test"));
(This used to be commit 351d16956d)
2003-10-03 01:42:53 +00:00
Gerald Carter
60c8778a60 mark 'mangled map' as depcreated and remove 'mangled stack'
(This used to be commit cd06472e42)
2003-10-01 16:18:31 +00:00
Volker Lendecke
4bea4ecc74 Don't #ifdef an AFS option with WITH_ADS. Thanks, jerry!
Volker
(This used to be commit a6c54cbe20)
2003-09-24 06:42:32 +00:00
Volker Lendecke
c716385220 This only touches the fake kaserver support. It adds two parameters:
afs share -- this is an AFS share, do AFS magic things
afs username map -- We need a way to specify the cell and possibly
		    weird username codings for several windows domains
		    in the afs cell

Volker
(This used to be commit 4a3f7a9356)
2003-09-23 14:52:21 +00:00
Gerald Carter
b33b228455 remove references to 'strip dot'
(This used to be commit 5c0c9d68b4)
2003-09-10 00:40:32 +00:00
Gerald Carter
c913fc0581 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.
(This used to be commit fe585d49cc)
2003-09-06 19:23:24 +00:00
Jeremy Allison
94f59f5492 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.
(This used to be commit f35e9a8b90)
2003-09-05 19:59:55 +00:00
Gerald Carter
cadff24182 revert the change from r1.414 in HEAD that removed the
ability to use variables in paths for the [homes] service.
(This used to be commit 8fd13b6310)
2003-09-05 14:53:10 +00:00
Jeremy Allison
0e8c2a4133 More hand-tuning of the fastpath. Don't do strlen() when we're doing
to walk to the end anyway.
Jeremy.
(This used to be commit 467cafdb1f)
2003-09-04 23:03:58 +00:00
Gerald Carter
3d393502e7 revert a change to r1.397.2.91 because to operate like the docs; browseable for new home directories should be inheritied from the global defaults, not [homes]
(This used to be commit ea54bfc211)
2003-08-28 16:13:16 +00:00
Gerald Carter
7f3e60d837 remove 'ldap trust ids' since there was no way for it to work now
(This used to be commit 3724063f15)
2003-08-27 21:17:10 +00:00
Jeremy Allison
9fdc1363be Fix the character set handling properly in nmbd. Also fix bug where
iconv wasn't re-initialised on reading of "charset" parameters. This
caused workgroup name to be set incorrectly if it contained an
extended character.
Jeremy.
(This used to be commit 84ae44678a)
2003-08-27 01:25:01 +00:00
Gerald Carter
0c42b6deea fix compile problem (stray character)
(This used to be commit 9554a661c2)
2003-08-22 13:39:49 +00:00
Gerald Carter
ed08721016 ensure that 'available = no' works for [homes]; reported by Walter Haidinger
(This used to be commit 1278d24961)
2003-08-22 12:50:53 +00:00
Jeremy Allison
d422025f42 Turn UNIX extensions on by default. Yes I will change the docs :-).
Jeremy.
(This used to be commit 17b09eed96)
2003-08-21 01:38:48 +00:00