1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

19541 Commits

Author SHA1 Message Date
Günther Deschner
b857785c0e r15443: Purely cosmetic reformat, no functional changes.
Guenther
(This used to be commit ef40428d935831bdb19111c933d20e381647f6f8)
2007-10-10 11:16:45 -05:00
Günther Deschner
0fe21ac560 r15442: Add some more client rpc for the querydominfo calls (from samba4 idl).
Also return the hostname for the level 6 call (to be consistent with the
server name in level 2).

Guenther
(This used to be commit 41b72e77ae70c96de4659af6b4b6bd842dd67981)
2007-10-10 11:16:44 -05:00
Günther Deschner
46c35b17a3 r15441: cleanup older unused padding.
Guenther
(This used to be commit 6e225e0528604c797a953eb8d3b49a873b21584f)
2007-10-10 11:16:44 -05:00
Günther Deschner
52e778e6f8 r15438: Fix samrQueryDomainInfo level 5 where we returned our netbios
name eversince instead of the domain name when we are a DC.

Yes, there are applications relying on this call to be correct.

Guenther
(This used to be commit 26dd22c9af8caf3db236984e4683ba210376ca59)
2007-10-10 11:16:43 -05:00
Günther Deschner
a0ff50efa7 r15428: Add "smbcontrol winbind onlinestatus" for debugging purpose.
Guenther
(This used to be commit 9e15b1659c105b0be846e8f71c27b20eab961bd2)
2007-10-10 11:16:43 -05:00
James Peach
d2418fbf27 r15425: Use dynamic buffers in the IRIX nsswithch module to prevent truncation
of long group lists.
(This used to be commit d348d796c16679297e1f0304b8b2ba0f42010733)
2007-10-10 11:16:43 -05:00
James Peach
4ab90ea08c r15424: Implement a "stacktrace" smbcontrol option using libunwind's remote
stack tracing support. This provides an easy way for users to provide
stack traces (hopefully it will be implemented on something other than
ia64).
(This used to be commit 0b5e07e12daa98095dae27e0a6d53fe8ec3f3700)
2007-10-10 11:16:42 -05:00
James Peach
7fbc91995e r15423: Correct comparison logic so that libunwind can be correctly detected.
(This used to be commit 918f56b6de6e1297a53d88050d78d87330f7ba44)
2007-10-10 11:16:42 -05:00
Jeremy Allison
fca8766ee1 r15419: Never write the same function twice :-). In a traversal
function we must copy the data before modifying.
Jeremy.
(This used to be commit ef4c70f58edf15dc93b22f2c80e15113ee2a46df)
2007-10-10 11:16:42 -05:00
Günther Deschner
3cdd91112e r15417: Don't use cached credentials when changing passwords.
Guenther
(This used to be commit 34b29c30b2f4b5a3c40a65ca8338c87a4c16f3ff)
2007-10-10 11:16:41 -05:00
Günther Deschner
627c4b381a r15411: Small debug fixes for the PAM module.
Guenther
(This used to be commit 1856dc0f52b2a2ba2e59f1a7a77ccd32c27928c0)
2007-10-10 11:16:41 -05:00
Jeremy Allison
aca0a3ad3a r15404: Check for WRITE_THOUGH before calling lp_ fn. I hate
extra fn calls.
Jeremy.
(This used to be commit e468e1e5c2dbee29066f0efe4141d8705def5d6f)
2007-10-10 11:16:41 -05:00
Jeremy Allison
6eb1187765 r15402: Fix for bug #3587. Dead entries can be left in the locking
db. Make this db self-cleaning on first read of entry after
open, and also on smbstatus -b call. Needs more testing when
I get back from Boston but passes valgrind at first look.
Jeremy.
(This used to be commit c66531096325848d1476054df5d53ad05c2ffc83)
2007-10-10 11:16:40 -05:00
Günther Deschner
1ef64a46df r15399: Fix the build, sorry, Jerry :)
Guenther
(This used to be commit cc800ced60e5e6bbd923a3a0b7d58650c6e14121)
2007-10-10 11:16:40 -05:00
Günther Deschner
af3490061b r15398: Attempt to send the correct warning when a password change was attempted
too early.

Guenther
(This used to be commit 7f64a66d25f2a4aa48c2639da8e783c1759c5dd4)
2007-10-10 11:16:40 -05:00
Günther Deschner
5b7ab95fc6 r15396: Cleanup credential caches from winbind's linked list.
Guenther
(This used to be commit 7420b095077689fee4b5c9fb76cdb6533be1d465)
2007-10-10 11:16:39 -05:00
Gerald Carter
8719dc2b93 r15393: remove extra call to fallback user creation on member servers; it's handled by the smb_getpwnam() call deeper in
(This used to be commit 7433dba78bda27cd6366a49b0efc10a387439ccd)
2007-10-10 11:16:39 -05:00
Günther Deschner
359aed77c9 r15392: In most cases, this mapping is more appropriate. (I know, it is still a
mess, but there is no way the get NTSTATUS from the edata yet).

Guenther
(This used to be commit be2bd3945c057a4ad72251f809cffbe4694a7e3d)
2007-10-10 11:16:39 -05:00
Deryck Hodge
0d14777a47 r15386: Missed some functions in my last commit.
deryck
(This used to be commit fdb5be797acce071b4c0de2c63fd54f906e340c6)
2007-10-10 11:16:38 -05:00
Deryck Hodge
aee979faaa r15385: Some work to bring the python code up to date with the
rpc client rewrite.
(This used to be commit fd5bcecceb518d0683f400a61e11ce37f3d52d42)
2007-10-10 11:16:38 -05:00
Gerald Carter
2bdbd3fa6d r15380: default eventlog tdbs to mode 0660 to allow easier access by BUILTIN\Administrators
(This used to be commit a02933c9589e34488f289cbc40f77f6864a58367)
2007-10-10 11:16:38 -05:00
Paul Green
567e8fa6ca r15368: Remove some dead code. -- paulg
(This used to be commit e1bd357fe87a66861d092fcdbdde1ff6ffcc8cf2)
2007-10-10 11:16:37 -05:00
Volker Lendecke
be8e338ef7 r15360: Fix bug # 3741. One more place where the algorithmic mapping needs to stay.
Volker
(This used to be commit 898948d65409e5b63937fbd8050be04ac81df05d)
2007-10-10 11:16:37 -05:00
Volker Lendecke
23b2f27a54 r15359: Fix typo
(This used to be commit 46d3c7668bdbaaab1b8854617aa7c235f51a74e0)
2007-10-10 11:16:37 -05:00
Jeremy Allison
677b4769bd r15341: Ok I give up, I've been beaten by bug reports. People
just don't get why "guest ok" is not allowed in usershares.
Added "usershare allow guests" bool parameter that allows
this, reved usershare file version to VERSION#2 which
allows this. Updated user tools.
This should now be (finally) finished and I'll add
the new parameter docs and a HOWTO.
Jeremy.
(This used to be commit cdc3aa9d07d568570f2117bea9f1a4d227b3a35d)
2007-10-10 11:16:36 -05:00
Jeremy Allison
c176ec2629 r15336: Unknown escape sequence: '\305' - should have been '\n'.
(How did that get in there ?).
Jeremy
(This used to be commit 780b71d300da71acc8b4f0fe10c1ae78c71e23c4)
2007-10-10 11:16:36 -05:00
Jeremy Allison
1f3fe6a504 r15334: Fix warning. This table and function not used anymore. Jerry please
check.
Jeremy.
(This used to be commit 9f676603aaf84829d52dc8d0e0872a058a4d3d4e)
2007-10-10 11:16:36 -05:00
Jeremy Allison
f3dc7aae4d r15333: Paulg broke the function prototyping of decl_static_XX.
Needs to be (void), not (). Paulg please check this.
Jeremy.
(This used to be commit ed0f36e2c2475bf9b8eb9c5d937799c85f32bd6f)
2007-10-10 11:16:35 -05:00
Volker Lendecke
60af4023ad r15320: default "passdb expand explicit" to no
(This used to be commit 88b5a21d63b18af56b4fe7e5c353eae3ff7d4752)
2007-10-10 11:16:35 -05:00
Gerald Carter
173261dc87 r15311: look at the NT password (not lanman one) when determining if smbpasswd -e should probably for a password
(This used to be commit 3522b53aecb5293747b66250279417f9edf876f1)
2007-10-10 11:16:35 -05:00
Gerald Carter
6e807c763f r15310: only store lanman passwords on a change if 'lanman auth = yes'
(This used to be commit b6904e0950a5e70ebb2ea8aa9e9afc220adbe211)
2007-10-10 11:16:34 -05:00
Gerald Carter
d4a51cc500 r15309: normalize printing keys when deleting
(This used to be commit 037f9f831e001a12261419e37c725558dd717af9)
2007-10-10 11:16:34 -05:00
Günther Deschner
358fd531f4 r15308: Fix the build, sorry.
Guenther
(This used to be commit 6161e525de55769ed5e45d505f26f6cd9d6555e5)
2007-10-10 11:16:34 -05:00
Günther Deschner
6afac6fd5b r15307: Ignore builtin groups we're a member of on the DC as those memberships
are not valid locally.

Guenther
(This used to be commit 177da7754b53348d8754d46098dbd11300234bb5)
2007-10-10 11:16:33 -05:00
Günther Deschner
df980b79fc r15306: Be consistent between rpc and ads winbind backend: let the ads backend
query the samlogon cache first as well.

Guenther
(This used to be commit aa52b11dd450ca3ec1f156e17822b1c4971ef915)
2007-10-10 11:16:33 -05:00
Günther Deschner
34e810076d r15305: Let winbind search by sid directly (or in windows terms: "bind to a
sid"); works in all AD versions I tested. Also add "net ads sid" search
tool.

Guenther
(This used to be commit 5557ada6943b817d28a5471c613c7291febe2ad5)
2007-10-10 11:16:33 -05:00
Deryck Hodge
2720db90c1 r15299: Fix import of Python modules. Fixes Bug #3567.
The REGVAL_CTR part is taken from Daniel Jarboe's
patch he filed with the bug report.

deryck
(This used to be commit 7ca24b996628707b7e8a05041d173f046f428413)
2007-10-10 11:16:32 -05:00
Jeremy Allison
ec8b810a16 r15293: Don't ever set O_SYNC on open unless "strict sync = yes".
This could be the cause of the perf. problem reported
between 3.0.14a and 3.0.2x. Lufthansa has *wireless*
on their flights to the USA now...  (I'm in heaven ! :-).
Jeremy.
(This used to be commit dbc03125f2643f8ecff8e901cb23fa6408cce011)
2007-10-10 11:16:32 -05:00
Tim Potter
11cadb6f47 r15289: Put references to $PICFLAGS in quotes. Fixes #3725.
(This used to be commit 2aad5e915c03ec932feb1bc9e1dae938fa3011a2)
2007-10-10 11:16:32 -05:00
Paul Green
0ec947bf1a r15285: Fix the build.
(This used to be commit 2270a5196db071bbf15aed92637a24f81d179cd5)
2007-10-10 11:16:31 -05:00
Paul Green
31693197be r15283: Oh yeah. The build farm doesn't do much with head. OK, here is the patch to SAMBA_3_0 to declare prototypes for the initialization functions. These are the same changes I just made to head. --paulg
(This used to be commit 17774387ad879b6a72dd1cf406326318add31b04)
2007-10-10 11:16:31 -05:00
Jeremy Allison
f93da6d684 r15269: Fix incorrect boolean in assert to make POSIX lock tests
pass with CIFSFS.
Jeremy.
(This used to be commit 89b604285ebe77b7cc2e0d5593117c0c5dc5ed1c)
2007-10-10 11:16:31 -05:00
Volker Lendecke
1ca61f4748 r15266: Fix bug 3720. I wonder why -O1 compiles did not catch this...
Thanks to Jason Mader for reporting this.

Volker
(This used to be commit 3e616c3272ba76a2d135f7c51ceb44461ad165ad)
2007-10-10 11:16:30 -05:00
Tim Potter
f353704bbf r15255: Add return statement after abort to placate fussy compilers. Closes #3721.
(This used to be commit ab5a55ec8b27146fccba97f320d649bb19bc6f11)
2007-10-10 11:16:30 -05:00
Günther Deschner
7588769316 r15251: Adding PreWin2kAccess builtin sid.
Guenther
(This used to be commit 4330d1b74cba14501c2864105b2fae53ccf9475f)
2007-10-10 11:16:30 -05:00
Günther Deschner
b86c19795a r15250: dump some more sids.
Guenther
(This used to be commit 2922c7f5704e3cfcc80dc648bb3d6d9aa80aaf37)
2007-10-10 11:16:30 -05:00
Günther Deschner
41a7ea369b r15244: Fix debug typo.
Guenther
(This used to be commit 01787bd45b4186d3e997f750b08c50df9d3cbbe1)
2007-10-10 11:16:30 -05:00
Günther Deschner
6f5effa730 r15243: Sorry for the breakage:
* Fix the build without kerberos headers
* Fix memleak in the krb5_address handling

Guenther
(This used to be commit 10e42117559d4bc6a34e41a94914bf6c65c3477f)
2007-10-10 11:16:30 -05:00
Günther Deschner
351e749246 r15240: Correctly disallow unauthorized access when logging on with the
kerberized pam_winbind and workstation restrictions are in effect.

The krb5 AS-REQ needs to add the host netbios-name in the address-list.

We don't get the clear NT_STATUS_INVALID_WORKSTATION code back yet from
the edata of the KRB_ERROR but the login at least fails when the local
machine is not in the workstation list on the DC.

Guenther
(This used to be commit 8b2ba11508e2730aba074d7c095291fac2a62176)
2007-10-10 11:16:29 -05:00
Günther Deschner
66fd215dc7 r15229: Save useless roundtrips in pam_auth (fallback to samlogon) when we know
that the DC is not available.

Guenther
(This used to be commit 77407c021997db1b2a86ca26a5d125fa6b782949)
2007-10-10 11:16:29 -05:00