samba.git
16 years agor2086: fix bug with winbindd_getpwnam() caused by Microsoft DC's not filling in the...
Gerald Carter [Fri, 27 Aug 2004 13:39:09 +0000 (13:39 +0000)]
r2086: fix bug with winbindd_getpwnam() caused by Microsoft DC's not filling in the username in the user_info3
(This used to be commit 4703a71fa88dff8bdc932f6c9af3a9d25a88938f)

16 years agor2083: Fix memleak on return code path.
Jeremy Allison [Fri, 27 Aug 2004 01:16:25 +0000 (01:16 +0000)]
r2083: Fix memleak on return code path.
Jeremy.
(This used to be commit b0af241fd1fc58c1cbaadcbf6832b608923382ff)

16 years agor2082: lp_path should be lp_pathname.
Jeremy Allison [Thu, 26 Aug 2004 21:39:10 +0000 (21:39 +0000)]
r2082: lp_path should be lp_pathname.
Paranoia fix on mangle prefix.
Jeremy.
(This used to be commit cc91bbe20d9cb26e52ad417f279e2d60c85af2dc)

16 years agor2080: Remove last traces of static migration to localhost. Needed to allow a
Günther Deschner [Thu, 26 Aug 2004 21:37:20 +0000 (21:37 +0000)]
r2080: Remove last traces of static migration to localhost. Needed to allow a
local netbios-alias bound to non-loopback interface as a migration target.

It's now possible to migrate printers|shares|files from Server A to
Server B while running the net-command on client C.

Guenther
(This used to be commit 0cfd2866dfe5e959ede169a77c39480790300de3)

16 years agor2079: Clear the publish-bit from the attributes-mask when migrating
Günther Deschner [Thu, 26 Aug 2004 21:32:49 +0000 (21:32 +0000)]
r2079: Clear the publish-bit from the attributes-mask when migrating
printer-settings. publishing-info is not handled yet.

Guenther
(This used to be commit 1d76adb93c98857ed3460db241847e423c021a99)

16 years agor2077: fix logic bug in the check for creating a user's home directory in register_vu...
Gerald Carter [Thu, 26 Aug 2004 20:47:58 +0000 (20:47 +0000)]
r2077: fix logic bug in the check for creating a user's home directory in register_vuid(); add a few extra debug lines
(This used to be commit 02571e7f5040a577840c969ff9c46a1e533edc21)

16 years agor2076: Removed old dir caching code - not being used now we have the
Jeremy Allison [Wed, 25 Aug 2004 23:20:47 +0000 (23:20 +0000)]
r2076: Removed old dir caching code - not being used now we have the
statcache anyway. New dir caching will be done on nanosecond
timestamps.
Jeremy.
(This used to be commit ba473a580245430009245a4c8b8dcaf9fc4b6406)

16 years agor2073: Adding getprinter level 7 to rpcclient.
Günther Deschner [Wed, 25 Aug 2004 21:26:37 +0000 (21:26 +0000)]
r2073: Adding getprinter level 7 to rpcclient.

Is there any other rpc-call to get the guid of a published printer?

Guenther
(This used to be commit 944ad569c7a88e1d2f14311eed10f80ea9861963)

16 years agor2070: Let's try to overload srnlen and strndup for AIX where they are natly broken.
Simo Sorce [Wed, 25 Aug 2004 14:24:16 +0000 (14:24 +0000)]
r2070: Let's try to overload srnlen and strndup for AIX where they are natly broken.
(This used to be commit 98feb3318f54bb48ce56fc8f4721fec4967b9dd9)

16 years agor2068: Use SMB_ASSERT to track down empty printername (thanks jerry).
Günther Deschner [Wed, 25 Aug 2004 13:03:04 +0000 (13:03 +0000)]
r2068: Use SMB_ASSERT to track down empty printername (thanks jerry).

Guenther
(This used to be commit 9d8fdd5f323951d3d9b581e9edbf89b05c897af7)

16 years agor2067: Prevent nameless $LIBDIR/printing/.tdb from beeing created.
Günther Deschner [Wed, 25 Aug 2004 12:31:00 +0000 (12:31 +0000)]
r2067: Prevent nameless $LIBDIR/printing/.tdb from beeing created.

I've seen these on several sites now without knowing how they could get
created.

Guenther
(This used to be commit 531a23d1d22a9951cce5f657df46bd27840eac3d)

16 years agor2057: Although rarely used, prevent "net lookup kdc" from segfaulting when
Günther Deschner [Wed, 25 Aug 2004 07:52:23 +0000 (07:52 +0000)]
r2057: Although rarely used, prevent "net lookup kdc" from segfaulting when
using our own implementation of krb5_lookup_kdc with heimdal. Also,
heimdals krb5_krbhst_next() obviously does not retrieve the struct
addrinfo in the krb5_krbhst_info-struct, using
krb5_krbhst_get_addrinfo() instead.

Guenther
(This used to be commit cca660e109cc94b49ac6bf1f2802235d1d4d4383)

16 years agor2032: If you're selecting a hash algorithm for tdb, you need to do it at open time,
Jeremy Allison [Wed, 25 Aug 2004 01:04:02 +0000 (01:04 +0000)]
r2032: If you're selecting a hash algorithm for tdb, you need to do it at open time,
it doesn't make sense anywhere else.
Jeremy.
(This used to be commit d7ea1ea8fb3420ca1ad8d95acdc43313898200ff)

16 years agor2027: Fix for but #1657, used initialized variable, from
Jeremy Allison [Tue, 24 Aug 2004 23:36:33 +0000 (23:36 +0000)]
r2027: Fix for but #1657, used initialized variable, from
Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>.
Jeremy.
(This used to be commit 07f7aa6afb0945bb0e108981c4984a6c04c42a53)

16 years agor2026: Simplify statcache to use an in-memory tdb. Modify tdb to use
Jeremy Allison [Tue, 24 Aug 2004 22:48:49 +0000 (22:48 +0000)]
r2026: Simplify statcache to use an in-memory tdb. Modify tdb to use
a customer hash function for this tdb (yes it does make a difference
on benchmarks). Remove the no longer used hash.c code.
Jeremy.
(This used to be commit 3fbadac85b8cad89b93d295968e99c38c8677575)

16 years agor2023: If there's garbage in the pidfile, we should not panic but assume that no one
Volker Lendecke [Tue, 24 Aug 2004 20:58:12 +0000 (20:58 +0000)]
r2023: If there's garbage in the pidfile, we should not panic but assume that no one
else is around. We can't find the other guy anyway.

Volker
(This used to be commit bf8773b094d41941478f0164ce33838027fadc09)

16 years agor2022: Add net_copy_fileattr as a separate function to copy just ACLs, attrs
Günther Deschner [Tue, 24 Aug 2004 20:52:56 +0000 (20:52 +0000)]
r2022: Add net_copy_fileattr as a separate function to copy just ACLs, attrs
and timestamps. This makes net_copy_file less complex.

Guenther
(This used to be commit 43af9e67dd7c0328f214def4b591041e9b69614a)

16 years agor2018: updating syntax for enable-cups check
Gerald Carter [Tue, 24 Aug 2004 15:40:52 +0000 (15:40 +0000)]
r2018: updating syntax for enable-cups check
(This used to be commit 1acbd40b2651d49811c0afa0f1c3b5eacd3171a0)

16 years agor2016: Add message to ease access-control-debugging.
Günther Deschner [Tue, 24 Aug 2004 13:26:31 +0000 (13:26 +0000)]
r2016: Add message to ease access-control-debugging.

Guenther
(This used to be commit bc64bb0d206c54487e372824a14c38a4ba8f3c5a)

16 years agor2015: Reverting fix for #1474.
Günther Deschner [Tue, 24 Aug 2004 13:02:56 +0000 (13:02 +0000)]
r2015: Reverting fix for #1474.

Jelmer, we need to find another way to solve this bug. This way,
rpcclient is linked to libxml2, libmysqlclient and libpg (with according
dependencies in samba-client.rpm's) if one just wants to build the more
experimental pdb-modules as well.

Guenther
(This used to be commit 67bffc5034121cc0069007a7b79ce189ab0d10be)

16 years agor2014: BUG 1656: rename auto.a to auto.smb
Gerald Carter [Tue, 24 Aug 2004 12:40:30 +0000 (12:40 +0000)]
r2014: BUG 1656: rename auto.a to auto.smb
(This used to be commit 2f4a699631b9c1cc5198b61ede338426a690d0ee)

16 years agor2013: BUG 1658: little bit of const (patch from : Helmut Heinreichsberger <helmut...
Gerald Carter [Tue, 24 Aug 2004 12:38:00 +0000 (12:38 +0000)]
r2013: BUG 1658: little bit of const (patch from :    Helmut Heinreichsberger <helmut.heinreichsberger@chello.at>)
(This used to be commit 22cde8f665f7ed52785699a1d58db3271125ab89)

16 years agor2009: compile-fix for #1626 (spotted by Olaf Flebbe
Günther Deschner [Tue, 24 Aug 2004 11:56:51 +0000 (11:56 +0000)]
r2009: compile-fix for #1626 (spotted by Olaf Flebbe
<o.flebbe@science-computing.de>).

Guenther
(This used to be commit 2e954709de6d0048fafc653b0d70af05cdb0d3c2)

16 years agor2007: Fix typo in Jeremy's copyright. From the output of cvs annotate a year
Tim Potter [Tue, 24 Aug 2004 11:32:59 +0000 (11:32 +0000)]
r2007: Fix typo in Jeremy's copyright.  From the output of cvs annotate a year
in the late 1990's may be more appropriate though.
(This used to be commit 4c881b7a9e40307710ec860375985dc2145f2dd8)

16 years agor2006: Fix bug 1653 discovered by Luke Mewburn. The script code to generate the
Tim Potter [Tue, 24 Aug 2004 11:26:53 +0000 (11:26 +0000)]
r2006: Fix bug 1653 discovered by Luke Mewburn.  The script code to generate the
svn version number broke out-of-tree builds.
(This used to be commit bba8e7956a53067b0d51a12c6abfac24834e4603)

16 years agor2001: Fix bug 1622. Thanks to Qiao Yang for the patch and Sven Thomsen for testing
Volker Lendecke [Mon, 23 Aug 2004 13:25:10 +0000 (13:25 +0000)]
r2001: Fix bug 1622. Thanks to Qiao Yang for the patch and Sven Thomsen for testing
it.

Volker
(This used to be commit 0a3413fbe378bc378aea7ffe9a6af8b65ce49f4a)

16 years agor1980: Re-apply (remember to remove entry from list on delete this time :-).
Jeremy Allison [Sat, 21 Aug 2004 00:43:21 +0000 (00:43 +0000)]
r1980: Re-apply (remember to remove entry from list on delete this time :-).
Jeremy.
(This used to be commit 275a0010f487a06b3bc86f82e45d08c821a51b0e)

16 years agor1978: Roll it back until I do it right.... :-).
Jeremy Allison [Fri, 20 Aug 2004 23:46:18 +0000 (23:46 +0000)]
r1978: Roll it back until I do it right.... :-).
Jeremy.
(This used to be commit f16aa99f8c2f8a31f82e2aedfe3ea6a7276db504)

16 years agor1976: Simplify, use standard dlist interface.
Jeremy Allison [Fri, 20 Aug 2004 23:39:29 +0000 (23:39 +0000)]
r1976: Simplify, use standard dlist interface.
Jeremy.
(This used to be commit 776c28133dfa29320608829f15da2f1056454e4c)

16 years agor1974: Just use a simple linked list for this.
Jeremy Allison [Fri, 20 Aug 2004 22:50:48 +0000 (22:50 +0000)]
r1974: Just use a simple linked list for this.
Jeremy.
(This used to be commit 77bddd40b0a3cb9d2a95b61c098468d3d98e41b0)

16 years agor1971: move counter.
Günther Deschner [Fri, 20 Aug 2004 22:10:53 +0000 (22:10 +0000)]
r1971: move counter.

Guenther
(This used to be commit 74287178d208fd2f5b152314a3b797dcfea698a7)

16 years agor1968: Remove spurious "A" spotted by Jason Mader <jason@ncac.gwu.edu>.
Jeremy Allison [Fri, 20 Aug 2004 21:15:44 +0000 (21:15 +0000)]
r1968: Remove spurious "A" spotted by Jason Mader <jason@ncac.gwu.edu>.
Jeremy.
(This used to be commit 80f7c3141c0925b858cba4a276b370228777263d)

16 years agor1967: Fix a couple of krb5-DEBUG-messages.
Günther Deschner [Fri, 20 Aug 2004 20:18:28 +0000 (20:18 +0000)]
r1967: Fix a couple of krb5-DEBUG-messages.

Guenther
(This used to be commit 86a61c86a49a7e4d67e61201458c9b0229fb0825)

16 years agor1966: further work on and cleanup of the net-migration-tool.
Günther Deschner [Fri, 20 Aug 2004 20:13:05 +0000 (20:13 +0000)]
r1966: further work on and cleanup of the net-migration-tool.

It's now possible to migrate files preserving dos-attributes and correct
timestamps. Also added some small docu- and syntax-fixes.

Guenther
(This used to be commit 0e990582a0416933a8671ca660d22e980f828402)

16 years agor1965: add cli_setattrE (inspired by samba4-code). needed for further
Günther Deschner [Fri, 20 Aug 2004 20:07:17 +0000 (20:07 +0000)]
r1965: add cli_setattrE (inspired by samba4-code). needed for further
migration-work. could someone possibly double-check the byte-count?

Guenther
(This used to be commit 27302905e88960d774c82eab6207ff6a918b0235)

16 years agor1964: more schema fixes syncing between branches
Gerald Carter [Fri, 20 Aug 2004 15:54:54 +0000 (15:54 +0000)]
r1964: more schema fixes syncing between branches
(This used to be commit 49fba32217d9a9a186a28805011bdb567ac968de)

16 years agor1962: fixing schema file; synching with trunk; trying to prevent this from happening...
Gerald Carter [Fri, 20 Aug 2004 15:38:49 +0000 (15:38 +0000)]
r1962: fixing schema file; synching with trunk; trying to prevent this from happening again
(This used to be commit f1a0fae13fa2e6baf66c4c5a51bef87d442d9ba6)

16 years agor1960: sambaPasswordHistory had a duplicate OID
Simo Sorce [Fri, 20 Aug 2004 14:59:10 +0000 (14:59 +0000)]
r1960: sambaPasswordHistory had a duplicate OID
bump up the attribute number to 52 to avoid conflicts
(This used to be commit 9368f0c1d2cb9942293cf2429474a1a100339572)

16 years agor1948: Some fixes for path changes
Simo Sorce [Fri, 20 Aug 2004 09:21:58 +0000 (09:21 +0000)]
r1948: Some fixes for path changes
(This used to be commit 6cf02ec9e788b624cc4ddc67efe45ffbf4f0c443)

16 years agor1946: update debian stable package tree
Simo Sorce [Fri, 20 Aug 2004 08:38:44 +0000 (08:38 +0000)]
r1946: update debian stable package tree
(This used to be commit 7a96ed015ea79512b12195a9086f96d9634303b4)

16 years agor1942: Add missing semicolon.
John Terpstra [Fri, 20 Aug 2004 04:21:49 +0000 (04:21 +0000)]
r1942: Add missing semicolon.
(This used to be commit a0b80033c997d50562f66686e79a58fc9603217d)

16 years agor1939: Ensure with my new change we set extended security in flags2 in
Jeremy Allison [Thu, 19 Aug 2004 22:47:05 +0000 (22:47 +0000)]
r1939: Ensure with my new change we set extended security in flags2 in
the negprot reply.
Jeremy.
(This used to be commit 8b80b46b8b76ead72c17dc65f2de4c0cc0b263c7)

16 years agor1936: Fix bug noticed by Steve - ensure extended security bit is on only
Jeremy Allison [Thu, 19 Aug 2004 20:03:41 +0000 (20:03 +0000)]
r1936: Fix bug noticed by Steve - ensure extended security bit is on only
if we negotiated extended security. Do not merge for 3.0.6. Works
with W2K but needs further testing.
Jeremy.
(This used to be commit 284689aa18d2711a9041598cdf490359466f7f77)

16 years agor1931: fix broken documentation links
Gerald Carter [Thu, 19 Aug 2004 19:56:17 +0000 (19:56 +0000)]
r1931: fix broken documentation links
(This used to be commit 47dffbb857057ba7591e9a597596414e364c7a00)

16 years agor1924: missed adding a few files
Gerald Carter [Thu, 19 Aug 2004 14:25:28 +0000 (14:25 +0000)]
r1924: missed adding a few files
(This used to be commit fc6bab3efdfc0d506d2487bc9cc948e03b8e6cf0)

16 years agor1921: Mandrake packaging fixes
Gerald Carter [Thu, 19 Aug 2004 14:19:25 +0000 (14:19 +0000)]
r1921: Mandrake packaging fixes
(This used to be commit e83eed8d6b32f7ddb25215ed08c10a7fb59665b8)

16 years agor1908: Bugzilla #1541. Fix recursive ls in smbclient. Fix by Josef Zlomek.
Tim Potter [Thu, 19 Aug 2004 09:59:08 +0000 (09:59 +0000)]
r1908: Bugzilla #1541.  Fix recursive ls in smbclient.  Fix by Josef Zlomek.
(This used to be commit e59af43f6b8f824447bd20efc08dd81f2774e99c)

16 years agor1906: Revert lukeh's change for primary uid/gid change. This creates a recursion
Volker Lendecke [Thu, 19 Aug 2004 08:11:11 +0000 (08:11 +0000)]
r1906: Revert lukeh's change for primary uid/gid change. This creates a recursion
loop between uid_to_sid -> getsampwnam -> uid_to_sid. It needs further
inspection.

Volker
(This used to be commit 67d8bc48531dd1a7d9b5db93f7d71f920a27e8fb)

16 years agor1890: Cut down on debug messages from is_in_path. paulg
Paul Green [Wed, 18 Aug 2004 17:55:50 +0000 (17:55 +0000)]
r1890: Cut down on debug messages from is_in_path.  paulg
(This used to be commit 8b1c2126af3f29a3708b6823616ecec43ce63b95)

16 years agor1888: Bring the same level of "required_membership"-functionality that
Günther Deschner [Wed, 18 Aug 2004 16:25:41 +0000 (16:25 +0000)]
r1888: Bring the same level of "required_membership"-functionality that
ntlm_auth uses, to pam_winbindd as well.

This allows to make successfull authentication via PAM dependent on
SID-membership. At the moment, both ntlm_auth and pam_winbindd.so accept
user/group-names or sid-strings - as discussed, recursive membership
(e.g. local aliases) will be added later.

Guenther
(This used to be commit 7494569655f8d112a0c883a2748a1012bb64ad3a)

16 years agor1887: Fix deadlock loop in winbind's required_membership_sid-verification.
Günther Deschner [Wed, 18 Aug 2004 16:15:21 +0000 (16:15 +0000)]
r1887: Fix deadlock loop in winbind's required_membership_sid-verification.

Guenther
(This used to be commit a0a6d7d72f2a24c422db255acf6c439a9b0921df)

16 years agor1885: tighten the cache consistency with the ntprinters.tdb entry an the in memory...
Gerald Carter [Wed, 18 Aug 2004 13:55:58 +0000 (13:55 +0000)]
r1885: tighten the cache consistency with the ntprinters.tdb entry an the in memory cache associated with open printer handles; also make sure that register_messages_flags() doesn't overwrite the originally registers flags
(This used to be commit 540daf71d8ad189af5dd6d45aa1ce2b3d67da752)

16 years agor1871: Patch from Luke Howard <lukeh@PADL.COM> to correctly use
Jeremy Allison [Tue, 17 Aug 2004 20:11:52 +0000 (20:11 +0000)]
r1871: Patch from Luke Howard <lukeh@PADL.COM> to correctly use
uid_to_sid() and gid_to_sid() in pdb_set_sam_sids().
Jeremy.
(This used to be commit dae084d7134ae3f532861210907cd252d0001c9b)

16 years agor1869: Rename "fallback_XXXX" mapping to "algorithmic_XXX" as
Jeremy Allison [Tue, 17 Aug 2004 19:59:22 +0000 (19:59 +0000)]
r1869: Rename "fallback_XXXX" mapping to "algorithmic_XXX" as
that's what it actually does, and "fallback_" is just
confusing.
Jeremy.
(This used to be commit f44b4ba38147e353716c02c899bd45beaf71e6ad)

16 years agor1866: Fix for bug #1602 reported by <m.proehl@science-computing.de>.
Jeremy Allison [Tue, 17 Aug 2004 18:59:13 +0000 (18:59 +0000)]
r1866: Fix for bug #1602 reported by <m.proehl@science-computing.de>.
Access to a share with
wide links = No
follow symlinks = No
Was failing with access denied.
Jeremy.
(This used to be commit c137accb25c928551ce666e8c7cfbbcaa60ad771)

16 years agor1863: Fix build of exp stuff on Solaris (#1474)
Jelmer Vernooij [Tue, 17 Aug 2004 16:59:08 +0000 (16:59 +0000)]
r1863: Fix build of exp stuff on Solaris (#1474)
(This used to be commit d5c757d89b76bfe5cbd23e4a241971aaa32e4949)

16 years agor1853: Improved NT->AFS ACL mapping.
Volker Lendecke [Tue, 17 Aug 2004 10:48:31 +0000 (10:48 +0000)]
r1853: Improved NT->AFS ACL mapping.

Jerry, this is a really localized patch that I've been using at a customer
site for quite a while, I'd like to get that into 3.0.6.

Thanks,

Volker
(This used to be commit e7d7dc94eb452467725fea7f1ebc941bdb07573d)

16 years agor1841: Fix for #1606, can't launch dos exe's.
Jeremy Allison [Mon, 16 Aug 2004 21:27:26 +0000 (21:27 +0000)]
r1841: Fix for #1606, can't launch dos exe's.
2 related problems - 1). DOS uses chained commands - when we
are replying with sendfile we neglect to send the chained header. 2). Win9x and
DOS TCP stacks blow up when getting data back from a Linux sendfile - "The
engines canna take the strain cap'n". Don't use sendfile for anything less than NT1.
Jeremy.
(This used to be commit 3cd88f48afa589a189bb728d2d2660d058203d4d)

16 years agor1834: prevent infinite recusion in reopen_logs() when expanding the smb.conf variable %I
Gerald Carter [Mon, 16 Aug 2004 15:30:17 +0000 (15:30 +0000)]
r1834: prevent infinite recusion in reopen_logs() when expanding the smb.conf variable %I
(This used to be commit 08037bd4427a99150c1cc65770681ec3f92f4ad5)

16 years agor1833: patch from James Peach to get swat to look for index.html by default when...
Gerald Carter [Mon, 16 Aug 2004 15:25:57 +0000 (15:25 +0000)]
r1833: patch from James Peach to get swat to look for index.html by default when given a trailing directory/
(This used to be commit 980740da784ce00ad1b388872297b82d4d368044)

16 years agor1812: Fix from Richard Renard <rrenard@idealx.com> to be able to reset
Jeremy Allison [Fri, 13 Aug 2004 19:56:19 +0000 (19:56 +0000)]
r1812: Fix from Richard Renard <rrenard@idealx.com> to be able to reset
a users logon hours restrictions.
Jeremy.
(This used to be commit 887aa22dc90dd8653a6c9eedf91ce76830d93de6)

16 years agor1810: Patch from Richard Renard <rrenard@idealx.com> to store
Jeremy Allison [Fri, 13 Aug 2004 18:02:58 +0000 (18:02 +0000)]
r1810: Patch from Richard Renard <rrenard@idealx.com> to store
logon hours attributes in an LDAP database.
Jeremy.
(This used to be commit dac72638fb3a05e805136698e0ad0612620ac8af)

16 years agor1809: Patch from Richard Renard <rrenard@idealx.com> to store
Jeremy Allison [Fri, 13 Aug 2004 17:58:27 +0000 (17:58 +0000)]
r1809: Patch from Richard Renard <rrenard@idealx.com> to store
logon hours attributes in an LDAP database.
Jeremy.
(This used to be commit ac0fdf9503b34a70eaae5e7cf0764dbaec0263ee)

16 years agor1789: compiler warnings from SuSE
Gerald Carter [Thu, 12 Aug 2004 20:27:09 +0000 (20:27 +0000)]
r1789: compiler warnings from SuSE
(This used to be commit 7e44193be103fad273796218c8f5e5f9a1657c3c)

16 years agor1780: Remove the UTC comment as it isn't.
Jeremy Allison [Thu, 12 Aug 2004 18:21:42 +0000 (18:21 +0000)]
r1780: Remove the UTC comment as it isn't.
Jeremy.
(This used to be commit f454821ff5545a34704b149514da9064f73ca3ad)

16 years agor1778: Fix based on code from Richard Renard <rrenard@idealx.com> to
Jeremy Allison [Thu, 12 Aug 2004 18:20:02 +0000 (18:20 +0000)]
r1778: Fix based on code from Richard Renard <rrenard@idealx.com> to
enforce logon hours. ldap fixes to follow.
Jeremy.
(This used to be commit 9ce273ed662bd34987eaeedeeeb7cb1c99cd50a4)

16 years agor1750: This patch allows net ads lookup to rely on command line arguments if contacti...
Jim McDonough [Thu, 12 Aug 2004 03:28:57 +0000 (03:28 +0000)]
r1750: This patch allows net ads lookup to rely on command line arguments if contacting an ADS server fails.  This allows net ads lookup to work with clapd (very useful for testing).

from aliguori@us.ibm.com
(This used to be commit edb4e940b45cbb06a93004b15fc45a7a45a42498)

16 years agor1733: Fix hashed password history for LDAP backends.
Jeremy Allison [Wed, 11 Aug 2004 18:39:29 +0000 (18:39 +0000)]
r1733: Fix hashed password history for LDAP backends.
Jeremy.
(This used to be commit a1bb6fbbe4d1618b5e02a3e7ee456247364bac66)

16 years agor1721: Get rid of compiler-warning.
Günther Deschner [Wed, 11 Aug 2004 09:34:30 +0000 (09:34 +0000)]
r1721: Get rid of compiler-warning.

Guenther
(This used to be commit 153c813464eb54a06bf01146a0eb3d2c908f76bc)

16 years agor1720: Show correct help for net groupmap commands.
Günther Deschner [Wed, 11 Aug 2004 09:32:32 +0000 (09:32 +0000)]
r1720: Show correct help for net groupmap commands.

Guenther
(This used to be commit 3677c6a8f67628d5bea0764f84e624730d57b423)

16 years agor1716: Get rid of a compiler warning. "pipe" is a symbol that is defined as a system
Volker Lendecke [Wed, 11 Aug 2004 01:30:23 +0000 (01:30 +0000)]
r1716: Get rid of a compiler warning. "pipe" is a symbol that is defined as a system
call, and gcc -Wall complains about a shadowed definition.

Volker
(This used to be commit 9a2fd67037769b5cbb10edd024f6d98c610bf875)

16 years agor1698: fix build.
Günther Deschner [Tue, 10 Aug 2004 16:42:58 +0000 (16:42 +0000)]
r1698: fix build.

guenther
(This used to be commit 925e28d0cbd9667bceb0762ef1e429735250c209)

16 years agor1692: first commit :)
Günther Deschner [Tue, 10 Aug 2004 14:27:17 +0000 (14:27 +0000)]
r1692: first commit :)

* add IA64 to the architecture table of printer-drivers

* add new "net"-subcommands:

  net rpc printer migrate {drivers|printers|forms|security|settings|all}
        [printer]
  net rpc share migrate {shares|files|all} [share]

  this is the first part of the migration suite. this will will (once
  feature-complete) allow to do 1:1 server-cloning in the best possible way by
  making heavy use of samba's rpc_client-functions. all migration-steps
  are implemented as rpc/smb-client-calls; net communicates via rpc/smb
  with two servers at the same time (a remote, source server and a
  destination server that currently defaults to the local smbd). this
  allows e. g. printer-driver migration including driverfiles, recursive
  mirroring of file-shares including file-acls, etc. almost any migration
  step can be called with a migrate-subcommand to provide more flexibility
  during a migration process (at the cost of quite some redundancy :) ).

  "net rpc printer migrate settings" is still in a bad condition (many
  open questions that hopefully can be adressed soon).

  "net rpc share migrate security" as an isolated call to just migrate
  share-ACLs will be added later.

  Before playing with it, make sure to use a test-server. Migration is a
  serious business and this tool-set can perfectly overwrite your
  existing file/print-shares.

* along with the migration functions had to make I the following
  changes:

        - implement setprinter level 3 client-side

        - implement net_add_share level 502 client-side

        - allow security descriptor to be set in setprinterdata level 2
          serverside

guenther
(This used to be commit 8f1716a29b7e85baf738bc14df7dabf03762f723)

16 years agor1684: Patch for bug #1578 based on fix from Alexander E. Patrakov,
Jeremy Allison [Tue, 10 Aug 2004 02:05:38 +0000 (02:05 +0000)]
r1684: Patch for bug #1578 based on fix from Alexander E. Patrakov,
<patrakov@ums.usu.ru>. Main change, hardcode replacement char
to '_' as I really don't want a new parameter.
Jeremy.
(This used to be commit db3dde026b84aa28c2d7a32249488f203e362497)

16 years agor1681: Ensure we return the same ACL revision on the wire that W2K3 does.
Jeremy Allison [Tue, 10 Aug 2004 01:22:23 +0000 (01:22 +0000)]
r1681: Ensure we return the same ACL revision on the wire that W2K3 does.
Jeremy.
(This used to be commit 31505acf033c7d76592bb5b4ef80b29a00658c49)

16 years agor1668: fixing bug in spec file when installing libsmbclient
Gerald Carter [Sat, 7 Aug 2004 15:25:42 +0000 (15:25 +0000)]
r1668: fixing bug in spec file when installing libsmbclient
(This used to be commit 6778db61106be3992ded66b3aa81c98179a6169c)

16 years agor1665: Patch from James Peach @ SGI to stop using sendfile if it isn't
Jeremy Allison [Fri, 6 Aug 2004 17:49:00 +0000 (17:49 +0000)]
r1665: Patch from James Peach @ SGI to stop using sendfile if it isn't
supported by the underlying OS.
Jeremy.
(This used to be commit 1b0c70cf97aa45093fe5ef866a351b47ef1a5879)

16 years agor1663: fixing syntax error in OID for sambaUnixIdPool, sambaSidEntry, & sambaIdmapEntry
Gerald Carter [Fri, 6 Aug 2004 05:35:46 +0000 (05:35 +0000)]
r1663: fixing syntax error in OID for sambaUnixIdPool, sambaSidEntry, & sambaIdmapEntry
(This used to be commit 6e4c58b26d19f56162de961ae8338071aeeedde7)

16 years agor1661: Changed the password history format so that each history entry
Jeremy Allison [Thu, 5 Aug 2004 19:57:41 +0000 (19:57 +0000)]
r1661: Changed the password history format so that each history entry
consists of a 16 byte salt, followed by the 16 byte MD5 hash of
the concatination of the salt plus the NThash of the historical
password. Allows these to be exposed in LDAP without security issues.
Jeremy.
(This used to be commit 82e4036aaa2d283534a5bd8149857320fcf0d0dc)

16 years agor1658: Expand aliases for getusersids as well.
Volker Lendecke [Thu, 5 Aug 2004 07:57:37 +0000 (07:57 +0000)]
r1658: Expand aliases for getusersids as well.

Volker
(This used to be commit d5060c30e38b46b322615f0e0b465fbf73ed5245)

16 years agor1656: Patch from James Peach:
Vance Lankhaar [Thu, 5 Aug 2004 01:27:28 +0000 (01:27 +0000)]
r1656: Patch from James Peach:

> This patch is (probably) needed for all systems that don't have a
> C99/UNIX98 compliant vsnprintf by default. The builtin sm_*printf
> were no being called, causing things like talloc_init to fail, with
> predictable results.

The should fix 6 (solaris/hpux/irix) builds on the build farm.

Vance
(This used to be commit 1a33999cf073ee18f846678357832ec7866bb467)

16 years agor1638: Dont always uppercase "afs username map"
Volker Lendecke [Tue, 3 Aug 2004 13:41:28 +0000 (13:41 +0000)]
r1638: Dont always uppercase "afs username map"
(This used to be commit e9263a5204c42e8f3f1079cd535ce6fc091f3d6a)

16 years agor1616: Fix user unmount of shares mount with suid mount.cifs
Steve French [Sun, 1 Aug 2004 01:14:08 +0000 (01:14 +0000)]
r1616: Fix user unmount of shares mount with suid mount.cifs
(This used to be commit 2bd28007159a3ce4a1b8737218e7b75bc2286682)

16 years agor1613: Patch from Tom Shaw <tomisfaraway@gmail.com> to use
Jeremy Allison [Sat, 31 Jul 2004 01:50:35 +0000 (01:50 +0000)]
r1613: Patch from Tom Shaw <tomisfaraway@gmail.com> to use
winbindd_fill_pwent consistently.
Jeremy.
(This used to be commit 8d355b9b9ddd6edf15c70977f5a719b549a56378)

16 years agor1612: Fix bug #1571 found by Guenter Kukkukk <guenter.kukkukk@kukkukk.com>
Andrew Bartlett [Fri, 30 Jul 2004 11:14:47 +0000 (11:14 +0000)]
r1612: Fix bug #1571 found by Guenter Kukkukk <guenter.kukkukk@kukkukk.com>

(Botched LANMAN2 session setup code)

Andrew Bartlett
(This used to be commit 3baa4ef6c58eb13bec1a8ddb1561a504f4a16107)

16 years agor1610: Patch from Richard Renard <rrenard@idealx.com>. Ensure we
Jeremy Allison [Fri, 30 Jul 2004 02:19:10 +0000 (02:19 +0000)]
r1610: Patch from Richard Renard <rrenard@idealx.com>. Ensure we
save the password as it is being changed into the password
history list.
Jeremy.
(This used to be commit 4fd619d7e16b5f759e6dc8360ad192457b3c90b9)

16 years agor1608: Fix from Nick THOMPSON <nickthompson@agere.com> to protect smbd
Jeremy Allison [Fri, 30 Jul 2004 00:19:41 +0000 (00:19 +0000)]
r1608: Fix from Nick THOMPSON <nickthompson@agere.com> to protect smbd
against broken filesystems which return zero blocksize.
Jeremy.
(This used to be commit 23d157a0bea16366f0361ab68193b479ed844291)

16 years agor1599: Use -Bsymbolic when creating shared libraries to avoid conflicts with
Tim Potter [Wed, 28 Jul 2004 16:13:43 +0000 (16:13 +0000)]
r1599: Use -Bsymbolic when creating shared libraries to avoid conflicts with
identical symbols in the global namespace when loading libnss_wins.so.
Bugzilla #1360.
(This used to be commit 2063b8d9bcf0b2ad9f09d71b5c74ad3db070c6a3)

16 years agor1590: Small fixes from Günther Deschner
Volker Lendecke [Mon, 26 Jul 2004 10:08:03 +0000 (10:08 +0000)]
r1590: Small fixes from Günther Deschner
(This used to be commit 2d68fdf06b3b027227ab77372b001b13fd2b494d)

16 years agor1588: This is one of the more pathetic patches I ever checked in. Many hours of
Volker Lendecke [Mon, 26 Jul 2004 07:41:16 +0000 (07:41 +0000)]
r1588: This is one of the more pathetic patches I ever checked in. Many hours of
coding have passed, but I could not find a way to get the OpenLDAP libraries
to reliably time out on any of the queries we make, *and* get correct error
returns. No, async calls and ldap_result does NOT work, or I was simply too
stupid to correctly interpret the OpenLDAP manpage and source.

We can not allow to hang indefinitely in an ldap query, especially not for
winbindd. "ldap timeout" now specifies the overall timeout for the complete
operation, that's why I increased that to 15 seconds.

Volker
(This used to be commit 269f0750872e5f8757e0a9667e007a0410319fcd)

16 years agor1583: Patch by Fabien Chevalier <fabien.chevalier@supelec.fr>
Andrew Bartlett [Sun, 25 Jul 2004 13:14:00 +0000 (13:14 +0000)]
r1583: Patch by Fabien Chevalier <fabien.chevalier@supelec.fr>

We may not have any interfaces up at all, so initialise the return variable.

Fixes Debian bug #252591

Andrew Bartlett
(This used to be commit 35aabae9d9bf66ef2c8eb4e07a850c606d8236d2)

16 years agor1582: On failure, print the length of the right variable.
Andrew Bartlett [Sun, 25 Jul 2004 13:11:39 +0000 (13:11 +0000)]
r1582: On failure, print the length of the right variable.

Andrew Bartlett
(This used to be commit 5bd6abb54e12aee2031d48bc5b240bb4f127bf5a)

16 years agor1581: 'NULL' NTLMSSP is both a pain to get right, and compleatly and utterly
Andrew Bartlett [Sat, 24 Jul 2004 23:57:07 +0000 (23:57 +0000)]
r1581: 'NULL' NTLMSSP is both a pain to get right, and compleatly and utterly
pointless.  With a well-known session key, we may as well put the
password change directly on the wire, with it's own 'crypted with old
password' as the protection.

This should fix some 'long password change' issues, against Samba in
particular.

Andrew Bartlett
(This used to be commit 554a9132872187077a9c00abb18b9d809c59b7f1)

16 years agor1572: setting version to 3.0.7pre1; I will pull back changes into 3.0.6rc2 manually
Gerald Carter [Thu, 22 Jul 2004 13:43:36 +0000 (13:43 +0000)]
r1572: setting version to 3.0.7pre1; I will pull back changes into 3.0.6rc2 manually
(This used to be commit 11c6ca1c3c9d3b400f4cebcbf232899bcf4b613f)

16 years agor1570: merging changes from 3.0.5
Gerald Carter [Thu, 22 Jul 2004 13:39:43 +0000 (13:39 +0000)]
r1570: merging changes from 3.0.5
(This used to be commit 430cf63b9148441bce42bfb15a8045de5da108f4)

16 years agor1562: Make winbind for -S (sid->uid) and -Y (sid->gid) check whether the sid
Volker Lendecke [Thu, 22 Jul 2004 13:08:13 +0000 (13:08 +0000)]
r1562: Make winbind for -S (sid->uid) and -Y (sid->gid) check whether the sid
requested actually is of type asked for. I've come across more than one
installation where a group sid had ended up as a uid in idmap and vice
versa. This just closes one possible for this misconfiguration, people
are actually using wbinfo.

Volker
(This used to be commit acfbd34025c2fde3d6a3e582c120c2b9de8ed39b)

16 years agor1561: iconv detection fix from James Peach <jpeach@sgi.com>
Gerald Carter [Wed, 21 Jul 2004 19:23:48 +0000 (19:23 +0000)]
r1561: iconv detection fix from James Peach <jpeach@sgi.com>
(This used to be commit 62bd60e4458f6e9bdaab7b5c81b040a0b3310f30)

16 years agor1560: Not that anybody uses this stuff (yet...), but at least get it correct :-)
Volker Lendecke [Wed, 21 Jul 2004 12:22:58 +0000 (12:22 +0000)]
r1560: Not that anybody uses this stuff (yet...), but at least get it correct :-)

When sending a mailslot datagram, get the packet length correction correct.

Volker
(This used to be commit 530e7f09aea22f5782af0c6b333e15e01660b34a)

16 years agor1557: Add sigchld handling to winbindd. Next step is to have the child restarted if
Richard Sharpe [Wed, 21 Jul 2004 04:24:30 +0000 (04:24 +0000)]
r1557: Add sigchld handling to winbindd. Next step is to have the child restarted if
need be. We should also make sure the main line know we no longer have a child.
(This used to be commit e3dc7934b50c8578d70fc01688a07bd369a7cf30)

16 years agor1553: Good patch from Guenther Deschner <gd@sernet.de> to display share ACL
Jeremy Allison [Wed, 21 Jul 2004 01:32:09 +0000 (01:32 +0000)]
r1553: Good patch from Guenther Deschner <gd@sernet.de> to display share ACL
entries from rpcclient.
Jeremy.
(This used to be commit bd64f0c08143545a8613688402f769a713227557)