1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
Commit Graph

12540 Commits

Author SHA1 Message Date
Gerald Carter
2e2b654820 merge from 3.0
(This used to be commit 309a9a4caf)
2004-02-09 18:48:44 +00:00
Gerald Carter
5f4f500df4 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 fbde889fd8)
2004-02-09 18:47:19 +00:00
Volker Lendecke
8fbd4cdbef Expand 'net rpc group members' to local groups.
Volker
(This used to be commit f524a49315)
2004-02-09 18:20:41 +00:00
Tim Potter
4a72e82d69 Apply James' printf format checking patch for SGI MIPSPro compiler.
(This used to be commit b354fa606d)
2004-02-09 00:59:34 +00:00
Andrew Bartlett
c49ebaa777 Actually remove this (now empty) file from the repository.
Andrew Bartlett
(This used to be commit 19da2b936a)
2004-02-08 12:09:17 +00:00
Andrew Bartlett
1b8ad0569d (merge from 3.0)
Add more static...

Andrew Bartlett
(This used to be commit 6391e2cc8e)
2004-02-08 12:06:48 +00:00
Andrew Bartlett
119cbcde62 (merge from 3.0)
nsswitch/winbindd_util.c:
	add static

smbd/uid.c:
	remove unused function

Andrew Bartlett
(This used to be commit 4822a3f736)
2004-02-08 12:06:05 +00:00
Andrew Bartlett
37ef59d4c3 (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 fb13c61d4e)
2004-02-08 12:04:23 +00:00
Andrew Bartlett
880f3b2952 (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 badf7f64fb)
2004-02-08 12:03:14 +00:00
Andrew Bartlett
bbfd3a90ca (merge from 3.0)
More 'static' work.

Andrew Bartlett
(This used to be commit 620f909eed)
2004-02-08 12:02:28 +00:00
Andrew Bartlett
e0c480f77f (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 c4b6bd8597)
2004-02-08 12:01:43 +00:00
Andrew Bartlett
41de88438b (merge from 3.0)
Add some help for 'net rpc password'.

Andrew Bartlett
(This used to be commit 2c6f1966d6)
2004-02-08 12:00:40 +00:00
Andrew Bartlett
9b586b5a64 (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 be0704abb9)
2004-02-08 11:59:55 +00:00
Andrew Bartlett
f7c1c68e19 (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 bb505ca696)
2004-02-08 11:51:11 +00:00
Andrew Bartlett
7b6591ee59 (merge from 3.0)
Remove more unused portions of the 'password cache'.

Andrew Bartlett
(This used to be commit 33cdb2bd18)
2004-02-08 11:50:30 +00:00
Andrew Bartlett
e81074ea20 (merge from 3.0)
Remove more unused functions - this time parts of the 'password cache'.

Andrew Bartlett
(This used to be commit c29c28e4cf)
2004-02-08 11:49:36 +00:00
Andrew Bartlett
b38ba02248 (merge from 3.0)
Another static function.

Andrew Bartlett
(This used to be commit 58adb41db1)
2004-02-08 11:49:06 +00:00
Andrew Bartlett
0798224378 (merge from 3.0)
Make this table static const.

Andrew Bartlett
(This used to be commit 3803cb36e9)
2004-02-08 11:48:28 +00:00
Andrew Bartlett
b655b99f7c (merge from 3.0)
Remove unused utility function.

Andrew Bartlett
(This used to be commit af8248e67b)
2004-02-08 11:47:52 +00:00
Andrew Bartlett
72ee7bfd6d (merge from 3.0)
Make get_dc_list static - we only ask for a sorted list externally.

Andrew Bartlett
(This used to be commit 5335b9d5eb)
2004-02-08 11:47:12 +00:00
Andrew Bartlett
57db183e2e (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 a813d4b6aa)
2004-02-08 11:46:32 +00:00
Andrew Bartlett
cfd8958091 (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 5243b89e33)
2004-02-08 11:42:28 +00:00
Tim Potter
f97d6e76fb Replaced .po with .@PICSUFFIX@
(This used to be commit 9ea39d1c78)
2004-02-06 01:14:54 +00:00
Jeremy Allison
69b086fdaf Fix final valgrind errors with #830. Catch mb conversion error that may not
terminate correctly.
Jeremy.
(This used to be commit a1f7cea9f2)
2004-02-04 20:28:48 +00:00
Jeremy Allison
d575286894 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 e8c7d1c5dc)
2004-02-04 19:13:43 +00:00
Andrew Bartlett
bc056bcb5f (merge from 3.0)
Ensure the remote_password_change() gets a valid prototype from proto.h

Andrew Bartlett
(This used to be commit 765757b357)
2004-02-04 11:14:44 +00:00
Jeremy Allison
44c5f5bcc4 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 98e2c6f4f8)
2004-02-04 02:09:43 +00:00
Jeremy Allison
bf4e3726fa 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 2a8601d0bf)
2004-02-03 03:23:15 +00:00
Jeremy Allison
9e460df0b9 Merge from 3.0.
Jeremy.
(This used to be commit 5c5545bd44)
2004-02-02 21:32:35 +00:00
Andrew Bartlett
4ddc620f6b (merge from 3.0)
Remove duplicate comment.

Andrew Bartlett
(This used to be commit 841766bcbd)
2004-02-02 07:58:06 +00:00
Volker Lendecke
1323da8e52 Remove bogus check. Cosmetics.
Volker
(This used to be commit 3768b64c81)
2004-02-02 07:54:43 +00:00
Gerald Carter
a870ff546c janitor duty (merges from 3.0) and cleanup compiler warning on SuSE 9 in the end mapper code
(This used to be commit 902d4a647a)
2004-02-02 01:46:30 +00:00
Tim Potter
152e228216 Merge from 3.0:
>Include sys/acl.h in check for broken nisplus include files.  Bug #1025.
(This used to be commit cbf9c3d395)
2004-02-01 22:19:01 +00:00
Tim Potter
d16540d3c4 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 d8182b8bf5)
2004-02-01 11:10:55 +00:00
Gerald Carter
e827764d0a * 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 758bbfb5f1)
2004-01-31 18:27:35 +00:00
Gerald Carter
87d74fed8c cleanup patch for bug 977 so we don't display incorrect debug messages
(This used to be commit d59dc1bc1c)
2004-01-31 14:45:21 +00:00
Andrew Bartlett
c21764b921 (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 2ae9672f81)
2004-01-30 23:53:47 +00:00
Jeremy Allison
14fb4b8e06 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 be60768e64)
2004-01-30 18:38:46 +00:00
Gerald Carter
799d5494c7 disable any account that doesn't have a password and doesn't had the ACB_PWNOTREQ bit set
(This used to be commit 6c4de7198b)
2004-01-30 15:00:57 +00:00
Gerald Carter
69605c14ab more initialization fixes
(This used to be commit 63206b1204)
2004-01-29 22:17:27 +00:00
Gerald Carter
90c2090116 merge from 3.0
(This used to be commit 77335cc5bc)
2004-01-29 20:16:34 +00:00
Gerald Carter
5ef984bd52 removing more unused parameters
(This used to be commit c81c0ffaab)
2004-01-29 18:07:57 +00:00
Gerald Carter
d8522e9382 BUG 570: don't overwrite LDFLAGS; patch from MORIYAMA Masayuki <moriyama@miraclelinux.com>
(This used to be commit e94590fd5a)
2004-01-29 14:05:38 +00:00
Simo Sorce
beb8292fd6 reactivate pdb_gums as static module
(This used to be commit 9836def8a9)
2004-01-29 10:09:12 +00:00
Simo Sorce
147e585748 This should cure the problem with gums not compiling.
(This used to be commit 428504b550)
2004-01-29 08:48:50 +00:00
Andrew Tridgell
641023037d updated the head branch as well
(This used to be commit 467a58af34)
2004-01-29 06:28:27 +00:00
Richard Sharpe
eea6e865f3 Remove an unused parameter in winbindd (reload_services_file)
(This used to be commit 9a81094a0f)
2004-01-29 02:41:57 +00:00
Christopher R. Hertel
8ce5bd47a3 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 6a8a64dc87)
2004-01-28 23:13:22 +00:00
Jelmer Vernooij
381adaf5cf Don't built gums by default
(to enable it, run ./configure --with-static-modules=pdb_gums)
(This used to be commit df7666161f)
2004-01-27 17:56:15 +00:00
Gerald Carter
a6676764a8 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 e589f6502f)
2004-01-27 15:28:59 +00:00