samba.git
20 years agoClean up bad pw count and autolock flag update fn()s
Jim McDonough [Thu, 19 Feb 2004 21:37:53 +0000 (21:37 +0000)]
Clean up bad pw count and autolock flag update fn()s
(This used to be commit 81dc9d53eb330f350f3f31068fe75c3606221e62)

20 years agocomment out server portion of DsEnumerateDomainTrusts() since it causes 2k/xp clients...
Gerald Carter [Thu, 19 Feb 2004 19:35:48 +0000 (19:35 +0000)]
comment out server portion of DsEnumerateDomainTrusts() since it causes 2k/xp clients to fail to join the domain (see comments in srv_netlog_nt.c for details)
(This used to be commit 981bd70a56094740daf6d144f7b802370c0d9056)

20 years agoAdd bad pw count and autolock flag update fn()s
Jim McDonough [Thu, 19 Feb 2004 18:35:46 +0000 (18:35 +0000)]
Add bad pw count and autolock flag update fn()s
(This used to be commit 91ea29b392ff05311e9631467ee6255b29887e04)

20 years agofixing error in logic when checking flags changed field on user primary group sid
Gerald Carter [Thu, 19 Feb 2004 17:33:28 +0000 (17:33 +0000)]
fixing error in logic when checking flags changed field on user primary group sid
(This used to be commit c275d8f831490a52bae11698349a6b795d12f924)

20 years agomerging smbmnt fix from 3.0
Gerald Carter [Thu, 19 Feb 2004 16:48:16 +0000 (16:48 +0000)]
merging smbmnt fix from 3.0
(This used to be commit ea83c341c9ff54dfc5d0a941be96e6684f565d7d)

20 years agoAdd bad password reset and display of bad password count/time
Jim McDonough [Thu, 19 Feb 2004 16:00:33 +0000 (16:00 +0000)]
Add bad password reset and display of bad password count/time
(This used to be commit 22c312b31d545914ae3fd12a11915ed046421f38)

20 years agoAdd functions to get/set bad password time
Jim McDonough [Thu, 19 Feb 2004 15:59:30 +0000 (15:59 +0000)]
Add functions to get/set bad password time
(This used to be commit 0a2b792556b3aaa056a1fa6adb35627fdb804758)

20 years agoAdd bad password time fields
Jim McDonough [Thu, 19 Feb 2004 15:57:54 +0000 (15:57 +0000)]
Add bad password time fields
(This used to be commit 9f496e113c60bde1746c7f1063e83735117b2fe8)

20 years agoreformatting
Simo Sorce [Thu, 19 Feb 2004 15:45:40 +0000 (15:45 +0000)]
reformatting
(This used to be commit cd48827418d8be15470e833ea19ab9830e160e12)

20 years agoFix the "too many fcntl locks" scalability problem raised by tridge.
Jeremy Allison [Thu, 19 Feb 2004 01:55:21 +0000 (01:55 +0000)]
Fix the "too many fcntl locks" scalability problem raised by tridge.
I've now tested this in daemon mode and also on xinetd and I'm pretty
sure it's working.
Jeremy.
(This used to be commit f3e51dbc21c616d261f0a65b9fa69dbb8b5a9a0f)

20 years agoFix based on Volker's code to correctly return code from lsa_lookup_sids
Jeremy Allison [Tue, 17 Feb 2004 22:46:27 +0000 (22:46 +0000)]
Fix based on Volker's code to correctly return code from lsa_lookup_sids
on unmapped sids.
Jeremy.
(This used to be commit 0ac64c8b4d944315cf49e6b183c07396abc7bab3)

20 years agoWhen creating a group via a script, don't let winbind do it as well.
Volker Lendecke [Tue, 17 Feb 2004 21:29:05 +0000 (21:29 +0000)]
When creating a group via a script, don't let winbind do it as well.

Volker
(This used to be commit f90c590731b45e413e70cd5d9b56d0d77dd48391)

20 years agoAlso set alias info for builtins.
Volker Lendecke [Tue, 17 Feb 2004 15:56:58 +0000 (15:56 +0000)]
Also set alias info for builtins.

Volker
(This used to be commit 32682cd81485e295720fc65c98669c2e6e5c6043)

20 years agoDon't try to show entries that could not be listed.
Volker Lendecke [Tue, 17 Feb 2004 15:27:20 +0000 (15:27 +0000)]
Don't try to show entries that could not be listed.

Volker
(This used to be commit 5fb9028942e2f16b153f42911e837008824dcecc)

20 years agoIn samr_lookup_names Windows does not return WKN_GRP(5) but ALIAS(4) when
Volker Lendecke [Tue, 17 Feb 2004 10:12:57 +0000 (10:12 +0000)]
In samr_lookup_names Windows does not return WKN_GRP(5) but ALIAS(4) when
you search in BUILTIN. Match that.

Volker
(This used to be commit 471cf1bf87638953bec4954667bbf8a49c693903)

20 years agoIf there are no alias members, don't ask for their sids.
Volker Lendecke [Tue, 17 Feb 2004 10:09:12 +0000 (10:09 +0000)]
If there are no alias members, don't ask for their sids.

Volker
(This used to be commit 9d66043ed71d0c0f787a67b06b93f4f3b489c21c)

20 years agoCosmetic fix: use sid_is_in_our_domain.
Volker Lendecke [Mon, 16 Feb 2004 14:25:40 +0000 (14:25 +0000)]
Cosmetic fix: use sid_is_in_our_domain.

Volker
(This used to be commit fc0dc0607d03eaefc2a0e3ffe7f1cf3612e73e0c)

20 years agoFix success message for net groupmap modify
Volker Lendecke [Mon, 16 Feb 2004 14:05:46 +0000 (14:05 +0000)]
Fix success message for net groupmap modify

Volker
(This used to be commit d8ff6e4b30bda45b5f8680694da383d5769d7db5)

20 years agoSync with openldap schema. Add munged dial and config attrs/ocs.
Jim McDonough [Sat, 14 Feb 2004 14:23:51 +0000 (14:23 +0000)]
Sync with openldap schema.  Add munged dial and config attrs/ocs.
(This used to be commit 3f8824f7d02bcf46445360542df686a7a75ab52d)

20 years agoTypo (missed SAFE_FREE).,
Jeremy Allison [Fri, 13 Feb 2004 22:35:02 +0000 (22:35 +0000)]
Typo (missed SAFE_FREE).,
Jeremy.
(This used to be commit dd014ab358e861f3828cb34c09c5800606c8da59)

20 years agoFix eta calculation when resuming
Jelmer Vernooij [Fri, 13 Feb 2004 22:10:12 +0000 (22:10 +0000)]
Fix eta calculation when resuming
(This used to be commit c4114a0664467383fc343a55360b48a985fa45ac)

20 years agoAdded Andrew Bartlett's patch to use an allocated buffer for count_chars.
Jeremy Allison [Fri, 13 Feb 2004 22:06:23 +0000 (22:06 +0000)]
Added Andrew Bartlett's patch to use an allocated buffer for count_chars.
Jeremy.
(This used to be commit 4ec9e330787cbc01849a91573f760f639b28be7e)

20 years agoFixup the 'multiple-vuids' bugs.
Jeremy Allison [Fri, 13 Feb 2004 19:05:27 +0000 (19:05 +0000)]
Fixup the 'multiple-vuids' bugs.
Jeremy.
(This used to be commit a7d4a6d1167f7657113148cdf68ea3c491b51b14)

20 years agoApply the multiple login stuff to smbclient ...
Richard Sharpe [Fri, 13 Feb 2004 16:55:25 +0000 (16:55 +0000)]
Apply the multiple login stuff to smbclient ...
(This used to be commit 83213742dcd61ff4d30954158a5523ee0bdd850d)

20 years agoFix a few comments/formatting issues to make it more in line with
Jim McDonough [Fri, 13 Feb 2004 14:48:57 +0000 (14:48 +0000)]
Fix a few comments/formatting issues to make it more in line with
3.0 and reduce diff output.
(This used to be commit 306c021000d36f13b3740839b62df60986e4e112)

20 years agomerge old change from 2.2 branch to give legend in heading
Herb Lewis [Thu, 12 Feb 2004 20:45:12 +0000 (20:45 +0000)]
merge old change from 2.2 branch to give legend in heading
(This used to be commit 1b7ba358b6c708bdede117c0cd16a7c4f7c0106a)

20 years agoFix format error for generating SELECT, since unknown_3 is now gone
Jim McDonough [Thu, 12 Feb 2004 19:10:09 +0000 (19:10 +0000)]
Fix format error for generating SELECT, since unknown_3 is now gone
(This used to be commit 57314e060552523338071442e111fb4f7a2e1df8)

20 years agoabartlet's pdb_set/changed flag fix for NULL passwords
Gerald Carter [Thu, 12 Feb 2004 17:52:15 +0000 (17:52 +0000)]
abartlet's pdb_set/changed flag fix for NULL passwords
(This used to be commit 3b373cd15d17ab495f86c8b3b219d965b5aff606)

20 years agomerges from 3.0
Gerald Carter [Thu, 12 Feb 2004 17:12:06 +0000 (17:12 +0000)]
merges from 3.0
(This used to be commit 2478501d402a07248d6181d4c9de253b203ff67c)

20 years agoFix typo: fileds -> fields
Jim McDonough [Thu, 12 Feb 2004 16:13:57 +0000 (16:13 +0000)]
Fix typo: fileds -> fields
(This used to be commit 994b71487868a62054ed24c5ea5d2729c99ba8be)

20 years agoA couple of versioning adjustments. Remove unused version #define, and
Jim McDonough [Thu, 12 Feb 2004 16:11:43 +0000 (16:11 +0000)]
A couple of versioning adjustments.  Remove unused version #define, and
define the INFO/version string in _only_ one place.
(This used to be commit 02181f77897d87989341e3f18dbf0cc3e9c22991)

20 years agoMore sync between HEAD and SAMBA_3_0
Jim McDonough [Thu, 12 Feb 2004 16:10:35 +0000 (16:10 +0000)]
More sync between HEAD and SAMBA_3_0

- passdb.h: replace UNKNOWN_3 with FIELDS_PRESENT

- parse_samr.c: put comment back in...seems like we shouldn't lose info like this
(This used to be commit 6b9efd2f4cd5cf042e2a04a08719a9fe83d54116)

20 years agoStart of merging changes with SAMBA_3_0. Fix up some comments so that
Jim McDonough [Thu, 12 Feb 2004 15:21:28 +0000 (15:21 +0000)]
Start of merging changes with SAMBA_3_0.  Fix up some comments so that
they line up.  Also change lockout_time to bad_password_time, since this
is actually what is replicated.
(This used to be commit adfc160082e5d1f20085e68eaacffea3fd277f1d)

20 years agotdbsam & smb_panic merge from 3.0 (initial tests are ok but I'll setup a HEAD PDC...
Gerald Carter [Thu, 12 Feb 2004 05:59:03 +0000 (05:59 +0000)]
tdbsam & smb_panic merge from 3.0 (initial tests are ok but I'll setup a HEAD PDC tomorrow)
(This used to be commit c57b24ee49aee0f0687742da7f8d741c62f6effe)

20 years agoMore paranoia checks.
Jeremy Allison [Wed, 11 Feb 2004 23:25:49 +0000 (23:25 +0000)]
More paranoia checks.
Jeremy.
(This used to be commit 4920f9bd660e22c8ac3ba1c389781f2efbcd1e78)

20 years agoParanoia fixes :-).
Jeremy Allison [Wed, 11 Feb 2004 19:59:14 +0000 (19:59 +0000)]
Paranoia fixes :-).
Jeremy.
(This used to be commit 35bbc818ad28c3591df9d5cb0a674802f3f29e1a)

20 years agoBUG 900: TAKEDA yasuma <yasuma@miraclelinux.com; fix token processing in cmd_symlink...
Gerald Carter [Wed, 11 Feb 2004 15:39:11 +0000 (15:39 +0000)]
BUG 900: TAKEDA yasuma <yasuma@miraclelinux.com; fix token processing in cmd_symlink, cmd_link, cmd_chown, cmd_chmod functions
(This used to be commit ab19b6b4dead0a53fa71c4e20e43f90b1d374817)

20 years agoBUG 1055; patch from SATOH Fumiyasu <fumiya@miraclelinux.com>; formatting fixes...
Gerald Carter [Wed, 11 Feb 2004 15:20:41 +0000 (15:20 +0000)]
BUG 1055; patch from SATOH Fumiyasu  <fumiya@miraclelinux.com>; formatting fixes for 'net share'
(This used to be commit 447d4fee6c245a5bbf0c33c8ffb0fd9041e51c24)

20 years agofix broken compile after andrew's changes
Gerald Carter [Wed, 11 Feb 2004 15:20:17 +0000 (15:20 +0000)]
fix broken compile after andrew's changes
(This used to be commit c77baee0f17fd44e333c8db6a9cae33f649a6701)

20 years agoApplied James Peach's stack backtrace patch for IRIX.
Tim Potter [Wed, 11 Feb 2004 10:30:46 +0000 (10:30 +0000)]
Applied James Peach's stack backtrace patch for IRIX.
(This used to be commit 056bf382d748ca06a1937ee19b0193430199f63b)

20 years agoMove around function to fix build after recent static rampage.
Tim Potter [Wed, 11 Feb 2004 10:02:48 +0000 (10:02 +0000)]
Move around function to fix build after recent static rampage.
(This used to be commit 1ab42df4a648fc19391891163d891c4bdb23437e)

20 years agomarking 'only user' as deprecated (based on feedback in bug 66)
Gerald Carter [Wed, 11 Feb 2004 04:32:53 +0000 (04:32 +0000)]
marking 'only user' as deprecated (based on feedback in bug 66)
(This used to be commit b94ca7e7be7a6f0674cafa76bf30a46f2f36bd8f)

20 years agomerge fixes from 3.0
Gerald Carter [Tue, 10 Feb 2004 04:04:24 +0000 (04:04 +0000)]
merge fixes from 3.0
(This used to be commit ea75f34eef90e410045fe4d32052cbea483a27da)

20 years agofix more compiler warning after the latest static rampage
Gerald Carter [Tue, 10 Feb 2004 03:51:30 +0000 (03:51 +0000)]
fix more compiler warning after the latest static rampage
(This used to be commit 98d9278c81ede2a931a2c2c8371c0499601a1457)

20 years agoFix for possible crash bug from Sebastian Krahmer (SuSE).
Jeremy Allison [Tue, 10 Feb 2004 02:21:41 +0000 (02:21 +0000)]
Fix for possible crash bug from Sebastian Krahmer (SuSE).
Jeremy.
(This used to be commit e7a25c1e2ea2ff980f4aecf94f65563316976997)

20 years agoFix compiler warning.
Rafal Szczesniak [Tue, 10 Feb 2004 00:17:18 +0000 (00:17 +0000)]
Fix compiler warning.

rafal
(This used to be commit e92fb5dcb02a56d10230df70d495f91da4052e62)

20 years agoadd smbget to cvs ignore list
Gerald Carter [Mon, 9 Feb 2004 18:49:22 +0000 (18:49 +0000)]
add smbget to cvs ignore list
(This used to be commit 1e8bbd2961f8216ade50cabdbad3d216c8d77819)

20 years agomerge from 3.0
Gerald Carter [Mon, 9 Feb 2004 18:48:44 +0000 (18:48 +0000)]
merge from 3.0
(This used to be commit 309a9a4cafc3c892840e28198a41973b236a528e)

20 years agobug 1046 (patch from Bostjan Golob <golob@gimb.org>); fix 20 month old bug where...
Gerald Carter [Mon, 9 Feb 2004 18:47:19 +0000 (18:47 +0000)]
bug 1046 (patch from Bostjan Golob <golob@gimb.org>); fix 20 month old bug where getpwent_list() was overoverwriting the username for entries.  However the code path to the bug was introduced only on January 25
(This used to be commit fbde889fd8442bae7444ffdb2736c9c5e8d59204)

20 years agoExpand 'net rpc group members' to local groups.
Volker Lendecke [Mon, 9 Feb 2004 18:20:41 +0000 (18:20 +0000)]
Expand 'net rpc group members' to local groups.

Volker
(This used to be commit f524a493154a5f7304be472064550cd61af8305d)

20 years agoApply James' printf format checking patch for SGI MIPSPro compiler.
Tim Potter [Mon, 9 Feb 2004 00:59:34 +0000 (00:59 +0000)]
Apply James' printf format checking patch for SGI MIPSPro compiler.
(This used to be commit b354fa606d65ff3621b2870a2ef85d980913f319)

20 years agoActually remove this (now empty) file from the repository.
Andrew Bartlett [Sun, 8 Feb 2004 12:09:17 +0000 (12:09 +0000)]
Actually remove this (now empty) file from the repository.

Andrew Bartlett
(This used to be commit 19da2b936a716dc26d361db82280e73e81d683da)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 12:06:48 +0000 (12:06 +0000)]
(merge from 3.0)

Add more static...

Andrew Bartlett
(This used to be commit 6391e2cc8e5b224c002b57ce615b9b8052eeb346)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 12:06:05 +0000 (12:06 +0000)]
(merge from 3.0)
nsswitch/winbindd_util.c:
add static

smbd/uid.c:
remove unused function

Andrew Bartlett
(This used to be commit 4822a3f73610f6e468c447f1282246f13a378cde)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 12:04:23 +0000 (12:04 +0000)]
(merge from 3.0)

When we set a domain sid, force get_global_sam_sid() to do it's work again.

This should ensure that the value it returns is always consistant.

Andrew Bartlett
(This used to be commit fb13c61d4eee943e44632a0d1ba57b19602d67a4)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 12:03:14 +0000 (12:03 +0000)]
(merge from 3.0)

Add static, and assert that we will never overflow the static fstring
in pdb_encode_acct_ctrl()  (All current callers are fine)

Andrew Bartlett
(This used to be commit badf7f64fb38dfd40bdf65b19e9dd8932d5e6c3b)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 12:02:28 +0000 (12:02 +0000)]
(merge from 3.0)

More 'static' work.

Andrew Bartlett
(This used to be commit 620f909eed3d994d01ca53068a33856d25917144)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 12:01:43 +0000 (12:01 +0000)]
(merge from 3.0)

Make it possible to 'net rpc samdump' of any domain you are currently joined
to, despite any smb.conf settings.

Work to allow the same for 'net rpc vampire', but instead give a clear
error message on what is incorrect.

Andrew Bartlett
(This used to be commit c4b6bd85978b61c4c9c34dde122e968c3771f2e6)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 12:00:40 +0000 (12:00 +0000)]
(merge from 3.0)
Add some help for 'net rpc password'.

Andrew Bartlett
(This used to be commit 2c6f1966d6c25238d73a46132c05794677c3a882)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 11:59:55 +0000 (11:59 +0000)]
(merge from 3.0)

Make more functions static, and remove duplication in the use of functions
in lib/smbpasswd.c that were exact duplicates of functions in passdb/passdb.c

(These should perhaps be pulled back out to smbpasswd.c, but that can occour
later).

This also includes some >14 character password changes, and the start
of a move away from using 'admin user' to determine if the user is
root (as root can login without setting 'admin user').

Andrew Bartlett
(This used to be commit be0704abb919152c359a735023283acbf9be3076)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 11:51:11 +0000 (11:51 +0000)]
(merge from 3.0)

Samba hasn't used this function for ages - it's now handled deep in the
auth subsystem.

Andrew Bartlett
(This used to be commit bb505ca696427f105d05a0b9aab6d5eee043ede6)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 11:50:30 +0000 (11:50 +0000)]
(merge from 3.0)

Remove more unused portions of the 'password cache'.

Andrew Bartlett
(This used to be commit 33cdb2bd18daca31461bbc45251679f50fd3567f)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 11:49:36 +0000 (11:49 +0000)]
(merge from 3.0)

Remove more unused functions - this time parts of the 'password cache'.

Andrew Bartlett
(This used to be commit c29c28e4cfc0539eb5e02196dd6cdda7bd433f61)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 11:49:06 +0000 (11:49 +0000)]
(merge from 3.0)

Another static function.

Andrew Bartlett
(This used to be commit 58adb41db19ce528b9267a5ea7f119b9c6893ade)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 11:48:28 +0000 (11:48 +0000)]
(merge from 3.0)

Make this table static const.

Andrew Bartlett
(This used to be commit 3803cb36e9d94c08bf310c0ef1cdfc29b443dc0e)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 11:47:52 +0000 (11:47 +0000)]
(merge from 3.0)

Remove unused utility function.

Andrew Bartlett
(This used to be commit af8248e67bb0f83124dcd250fee5d06a12fe257b)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 11:47:12 +0000 (11:47 +0000)]
(merge from 3.0)

Make get_dc_list static - we only ask for a sorted list externally.

Andrew Bartlett
(This used to be commit 5335b9d5eb79dc431fb8e40e61a57370dd09486e)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 11:46:32 +0000 (11:46 +0000)]
(merge from 3.0)

Bug found by gd - the new range-reterival code did still had 'member'
hardcoded into it.

This didn't matter, as we only use it for 'member' so far...

Andrew Bartlett
(This used to be commit a813d4b6aac655909541966d2d343fe2b55ed188)

20 years ago(merge from 3.0)
Andrew Bartlett [Sun, 8 Feb 2004 11:42:28 +0000 (11:42 +0000)]
(merge from 3.0)

I should have done this years ago...

This adds the very simple 'admin set password' capability to 'net rpc',
much as we have it for 'net ads'.

Andrew Bartlett
(This used to be commit 5243b89e33efd2ea8842a624d8abd6c5755afb64)

20 years agoReplaced .po with .@PICSUFFIX@
Tim Potter [Fri, 6 Feb 2004 01:14:54 +0000 (01:14 +0000)]
Replaced .po with .@PICSUFFIX@
(This used to be commit 9ea39d1c782c2111b086a83bf5f24c8b18fd879e)

20 years agoFix final valgrind errors with #830. Catch mb conversion error that may not
Jeremy Allison [Wed, 4 Feb 2004 20:28:48 +0000 (20:28 +0000)]
Fix final valgrind errors with #830. Catch mb conversion error that may not
terminate correctly.
Jeremy.
(This used to be commit a1f7cea9f278ef15206bf48663328c28d295bd6d)

20 years agoFixup the allocate version of the function to do "crap" conversions too.
Jeremy Allison [Wed, 4 Feb 2004 19:13:43 +0000 (19:13 +0000)]
Fixup the allocate version of the function to do "crap" conversions too.
Embarrassing number of goto's in this :-(. Fixes #830 I think.
Jeremy.
(This used to be commit e8c7d1c5dca63720b7de6360cb0cff4bed0be546)

20 years ago(merge from 3.0)
Andrew Bartlett [Wed, 4 Feb 2004 11:14:44 +0000 (11:14 +0000)]
(merge from 3.0)

Ensure the remote_password_change() gets a valid prototype from proto.h

Andrew Bartlett
(This used to be commit 765757b3573b75a3df09d6130b025049d9c93e14)

20 years agoWorking on #830. Cope with bad conversions better - don't just memcpy but
Jeremy Allison [Wed, 4 Feb 2004 02:09:43 +0000 (02:09 +0000)]
Working on #830. Cope with bad conversions better - don't just memcpy but
try a crap conversion instead. Next this needs to be done to the convert_alloc
function.
Actually fixes some valgrind warnings as well - cool !
Jeremy.
(This used to be commit 98e2c6f4f854065c56a73ebc9e0a50e0ba018dde)

20 years agoFix for a bug where the mutex could be left locked. Also remove the
Jeremy Allison [Tue, 3 Feb 2004 03:23:15 +0000 (03:23 +0000)]
Fix for a bug where the mutex could be left locked. Also remove the
memory keytab code which has no effect. Driven by bug report from
"Rob J. Caskey" <rcaskey@uga.edu>.
Jeremy.
(This used to be commit 2a8601d0bfa35f4d0ccd7946d483473fd10e19d0)

20 years agoMerge from 3.0.
Jeremy Allison [Mon, 2 Feb 2004 21:32:35 +0000 (21:32 +0000)]
Merge from 3.0.
Jeremy.
(This used to be commit 5c5545bd44cdaf4a0b75b0c1c22dd74bb278a6a5)

20 years ago(merge from 3.0)
Andrew Bartlett [Mon, 2 Feb 2004 07:58:06 +0000 (07:58 +0000)]
(merge from 3.0)

Remove duplicate comment.

Andrew Bartlett
(This used to be commit 841766bcbddbbe5e18d1b7989e54c85ab97715f5)

20 years agoRemove bogus check. Cosmetics.
Volker Lendecke [Mon, 2 Feb 2004 07:54:43 +0000 (07:54 +0000)]
Remove bogus check. Cosmetics.

Volker
(This used to be commit 3768b64c81879231a88c0f3235bfe8ecf29f3af8)

20 years agojanitor duty (merges from 3.0) and cleanup compiler warning on SuSE 9 in the end...
Gerald Carter [Mon, 2 Feb 2004 01:46:30 +0000 (01:46 +0000)]
janitor duty (merges from 3.0) and cleanup compiler warning on SuSE 9 in the end mapper code
(This used to be commit 902d4a647a88d1def09d5b1eacb06ab1561f3dec)

20 years agoMerge from 3.0:
Tim Potter [Sun, 1 Feb 2004 22:19:01 +0000 (22:19 +0000)]
Merge from 3.0:

>Include sys/acl.h in check for broken nisplus include files.  Bug #1025.
(This used to be commit cbf9c3d3953e25999312492dc08f61db875a04e7)

20 years agoMerge from 3.0:
Tim Potter [Sun, 1 Feb 2004 11:10:55 +0000 (11:10 +0000)]
Merge from 3.0:

>Don't log an error if a tdb_brlock() returns EAGAIN - it's supposed to
>do that.
(This used to be commit d8182b8bf54dc00378caa82e8c325891a08b17ca)

20 years ago* BUG 101: patch from j.lu@tiesse.com to set the SV_TYPE_PRINTQ_SERVER;
Gerald Carter [Sat, 31 Jan 2004 18:27:35 +0000 (18:27 +0000)]
* 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 758bbfb5f133c3c85e3092ad88294ae4abbbbc6f)

20 years agocleanup patch for bug 977 so we don't display incorrect debug messages
Gerald Carter [Sat, 31 Jan 2004 14:45:21 +0000 (14:45 +0000)]
cleanup patch for bug 977 so we don't display incorrect debug messages
(This used to be commit d59dc1bc1cf47eee2158e5c9d56d0ed750948fa0)

20 years ago(merge from 3.0)
Andrew Bartlett [Fri, 30 Jan 2004 23:53:47 +0000 (23:53 +0000)]
(merge from 3.0)
If we are setting the NT or LM password to NULL, remove the attribute
rather than writing XXXXX

Andrew Bartlett
(This used to be commit 2ae9672f811c91c95ee2ddfd4b0dcc6b0f4fa192)

20 years agoFix up name canonicalization (needed for krb5 keytab support later).
Jeremy Allison [Fri, 30 Jan 2004 18:38:46 +0000 (18:38 +0000)]
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 be60768e64ae2061f220faa3943dcb0588393dbc)

20 years agodisable any account that doesn't have a password and doesn't had the ACB_PWNOTREQ...
Gerald Carter [Fri, 30 Jan 2004 15:00:57 +0000 (15:00 +0000)]
disable any account that doesn't have a password and doesn't had the ACB_PWNOTREQ bit set
(This used to be commit 6c4de7198b94a8cea176e1c9d86deb65705f9058)

20 years agomore initialization fixes
Gerald Carter [Thu, 29 Jan 2004 22:17:27 +0000 (22:17 +0000)]
more initialization fixes
(This used to be commit 63206b1204bd532bf99912cd4312baf7d69db1f6)

20 years agomerge from 3.0
Gerald Carter [Thu, 29 Jan 2004 20:16:34 +0000 (20:16 +0000)]
merge from 3.0
(This used to be commit 77335cc5bce46ab3498f9401099f110b0e5506c1)

20 years agoremoving more unused parameters
Gerald Carter [Thu, 29 Jan 2004 18:07:57 +0000 (18:07 +0000)]
removing more unused parameters
(This used to be commit c81c0ffaabaa805211d9c6e1ab5aa66a02365e26)

20 years agoBUG 570: don't overwrite LDFLAGS; patch from MORIYAMA Masayuki <moriyama@miraclelinux...
Gerald Carter [Thu, 29 Jan 2004 14:05:38 +0000 (14:05 +0000)]
BUG 570: don't overwrite LDFLAGS; patch from MORIYAMA Masayuki <moriyama@miraclelinux.com>
(This used to be commit e94590fd5a85117d170c14640cf79b603a5b1d22)

20 years agoreactivate pdb_gums as static module
Simo Sorce [Thu, 29 Jan 2004 10:09:12 +0000 (10:09 +0000)]
reactivate pdb_gums as static module
(This used to be commit 9836def8a90bc3b375f070e91dbfabd8177f24b3)

20 years agoThis should cure the problem with gums not compiling.
Simo Sorce [Thu, 29 Jan 2004 08:48:50 +0000 (08:48 +0000)]
This should cure the problem with gums not compiling.
(This used to be commit 428504b5508e9e0f9cbc0dc8041f25f06de52f88)

20 years agoupdated the head branch as well
Andrew Tridgell [Thu, 29 Jan 2004 06:28:27 +0000 (06:28 +0000)]
updated the head branch as well
(This used to be commit 467a58af346b30291b69b5d8da7f1b21d518fc1d)

20 years agoRemove an unused parameter in winbindd (reload_services_file)
Richard Sharpe [Thu, 29 Jan 2004 02:41:57 +0000 (02:41 +0000)]
Remove an unused parameter in winbindd (reload_services_file)
(This used to be commit 9a81094a0f0ca5c209f640c48b77522e5f81d28e)

20 years agoThis is Simo's patch for the NetShareEnum() bug which caused us to return
Christopher R. Hertel [Wed, 28 Jan 2004 23:13:22 +0000 (23:13 +0000)]
This is Simo's patch for the NetShareEnum() bug which caused us to return
share names longer than 12 bytes.  The function now filters out names
longer than 12 bytes (which is compatible with Windows behavior).

A better fix might be to store short names along with any names longer
than 12 bytes, using a simple (very) name mangling.

I'm committing in HEAD.  If there are no problems this can easily be
merged into 3.0.x.

Chris -)-----
(This used to be commit 6a8a64dc87863b39490d7f22a7d107e6916584f2)

20 years agoDon't built gums by default
Jelmer Vernooij [Tue, 27 Jan 2004 17:56:15 +0000 (17:56 +0000)]
Don't built gums by default
(to enable it, run ./configure --with-static-modules=pdb_gums)
(This used to be commit df7666161f75b61058a017fea04b733751d5ac06)

20 years agobug 977 - don't create a homes share for a user if a static share already exists...
Gerald Carter [Tue, 27 Jan 2004 15:28:59 +0000 (15:28 +0000)]
bug 977 - don't create a homes share for a user if a static share already exists by the same name
(This used to be commit e589f6502fc280d5f89b399c6cef167e26773062)

20 years ago(merge from 3.0)
Andrew Bartlett [Tue, 27 Jan 2004 10:19:11 +0000 (10:19 +0000)]
(merge from 3.0)

Clarify comment on set_effective_uid()

Andrew Bartlett
(This used to be commit 0a9afefb55e9071fd21ea280095555f423571853)

20 years ago(merge from 3.0)
Andrew Bartlett [Mon, 26 Jan 2004 09:11:09 +0000 (09:11 +0000)]
(merge from 3.0)

Revise our server-side password change code to cope with the various
different feilds that different clients send.  (For example, not all clients
send both password types).

This also cleans up the code to make it clearer what is really going on,
and to make better use of common functions.

Andrew Bartlett
(This used to be commit e5b5cd5966f2894c283383abe5d99fda524cbb9f)

20 years ago(merge from 3.0)
Andrew Bartlett [Mon, 26 Jan 2004 08:51:58 +0000 (08:51 +0000)]
(merge from 3.0)

This adds client-side support for the unicode/SAMR password change scheme.

As well as avoiding DOS charset issues, this scheme returns useful error
codes, that we can map back via the pam interface.

This patch also cleans up the interfaces used for password buffers, to
avoid duplication of code.

Andrew Bartlett
(This used to be commit 8063b8b6c2eb30cb116988e265fb289109d7c348)