1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

12797 Commits

Author SHA1 Message Date
Jim McDonough
4e86243ea1 Add initshutdown pipe commands to rpcclient. Second part of fix to bug
#534
-
cvs2svn Import User
e569418861 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'. -
Jim McDonough
532fab74c1 New files for support of initshutdown pipe. Win2k doesn't respond properly
to all requests on the winreg pipe, so we need to handle this new pipe.

First part of fix for bug #534
-
Richard Sharpe
4ab7947e60 Check for va_copy before you check for __va_copy, since va_copy is the
actual standard, and __va_copy was the proposed standard.
-
Tim Potter
2d03d81f75 Add some debugs in the error paths for tdb_brlock() to help track down
a locking problem on HPUX.
-
Jeremy Allison
2d09d8c9d9 Andrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.
Jeremy.
-
Jeremy Allison
46e66ee950 Andrew Bartlett patch to cope with Exchange 5.5 cleartext pop password auth.
Jeremy.
-
Volker Lendecke
8a75e2dfb6 Merge from 3_0:
After a phonecall with jra finally commit this.

This changes our behaviour when the setresuid call is available. We now not
only change the effective uid but also the real uid when becoming
unprivileged. This is mainly for improved AFS compatibility, as AFS selects
the token to send to the server based on the real uid of the process.

I tested this with a W2k server with two non-root 'runas' sessions. They come
in via a single smbd as two different users using two session setups. Samba on
Linux can still switch between the two uids, proved by two different files
created via those sessions.

Volker
-
Volker Lendecke
556c62f935 After a phonecall with jra finally commit this.
This changes our behaviour when the setresuid call is available. We now not
only change the effective uid but also the real uid when becoming
unprivileged. This is mainly for improved AFS compatibility, as AFS selects
the token to send to the server based on the real uid of the process.

I tested this with a W2k server with two non-root 'runas' sessions. They come
in via a single smbd as two different users using two session setups. Samba on
Linux can still switch between the two uids, proved by two different files
created via those sessions.

Volker
-
Jim McDonough
32aa749bf1 Fix bug 451. Stop net -P from prompting for machine account password.
Based on work by Ken Cross (kcross@nssolutions.com).
-
Jim McDonough
8ef7ac22ef Fix bug 451. Stop net -P from prompting for machine account password.
Based on work by Ken Cross (kcross@nssolutions.com).
-
Jim McDonough
fb503bb418 Volker's fix for bug #668. Change the \n after the password prompt to go
to tty instead of stdout.
-
Jim McDonough
3cec478b82 Volker's fix for bug #668. Change the \n after the password prompt to go
to tty instead of stdout.
-
Volker Lendecke
73fc6da6cf Merge from 3_0:
According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrind
reports an unitialized read which is obviously correct. And I hate valgrind
errors ;-)

Volker
-
Volker Lendecke
e5dbf2441c According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrind
reports an unitialized read which is obviously correct. And I hate valgrind
errors ;-)

Volker
-
Richard Sharpe
8e3d2708c5 Apply the changes to libsmbclient that derrell has contributed. Fix some
of the problems with this.

From: Derrell.Lipman@unwireduniverse.com
-
Jeremy Allison
d7e35dfb92 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.
-
Jeremy Allison
5c050a735f 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.
-
Jim McDonough
00e0aba2cf Be sure referent ID is updated for incoming structures, too. -
Alexander Bokovoy
a3b6762601 Fix segfault in mount.cifs helper when there is no options specified during mount -
Alexander Bokovoy
fb87388a9f Fix segfault in mount.cifs helper when there is no options specified during mount -
Volker Lendecke
198b01fc54 Merge from 3_0:
In cli_lsa_lookup_sids don't leave the domain field uninitialized if
some sid could not be mapped. Otherwise this call is unnecessarily
complicated to call.

Volker
-
Volker Lendecke
1337338522 In cli_lsa_lookup_sids don't leave the domain field uninitialized if
some sid could not be mapped. Otherwise this call is unnecessarily
complicated to call.

Volker
-
Jeremy Allison
7eaae388b3 Fix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing
map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
Jeremy.
-
Jeremy Allison
8458f4c52f Fix for bug #64, Win9x Nexus tools not working against Samba3.0. Missing
map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata.
Jeremy.
-
Jeremy Allison
06aa434c3f Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problems
when reverse connecting back to a client for printer notify.
Jeremy.
-
Jeremy Allison
7fde193efe Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problems
when reverse connecting back to a client for printer notify.
Jeremy.
-
Jeremy Allison
96cefb4542 Merge tridge's AIX fixes.
Jeremy.
-
Jim McDonough
73882e970a Add server side support for epmapper pipe. Currently only does a fixed
mapping, but this is the base for changes to come.
-
Jeremy Allison
63f3315643 Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>
Jeremy.
-
Jeremy Allison
419834edee Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>
Jeremy.
-
Jim McDonough
26956cdef9 Fix typo -
Gerald Carter
e0db859a31 call initgroups before becomming the user; patch from Fabio Cecchi -
Gerald Carter
5a8dbccd66 call initgroups before becomming the user; patch from Fabio Cecchi -
Andrew Tridgell
f0a0771c02 fixed a number of bugs and memory leaks in the AIX winbind shim -
Tim Potter
8d4d8aed2b Merge of another fix from Monyo. -
Tim Potter
ff29be16e7 Merge of mmap blacklist fix from HEAD. -
Tim Potter
720f5e5629 Merge of krb5_keytab entry key vs keyblock member check from HEAD. -
Tim Potter
9b13dae5a9 Merge of wrepld link fix. -
Tim Potter
1482933089 Merge of spelling fix from HEAD. -
Tim Potter
c420195231 If we have blacklisted mmap() try to avoid using it accidentally by
undefining the HAVE_MMAP symbol.
-
Jim McDonough
9d0f322a85 Update structures after ethereal showed some marshalling/unmarshalling
errors.
-
Jeremy Allison
89d42685b7 Fixed typo spotted by Daniel Jarboe <daniel.jarboe@custserv.com>.
Jeremy.
-
Jeremy Allison
c68b6f64d9 Fixed typo spotted by Daniel Jarboe <daniel.jarboe@custserv.com>.
Jeremy.
-
Jeremy Allison
aa7fb71357 Merge Volker's fix.
It's a perfectly valid condition to have zero alias members.

Jeremy.
-
Jeremy Allison
f67154fe41 Merge Volker's fix.
We are doing NT error codes now.... If we have an NT error, report that
back the same way we handle the DOS error. Although I don't see why
BUFFER_TOO_SMALL should not be handled as an error, simply copy the logic.

This is only called from smbcacls and smbcquotas.

Jeremy.
-
Jim McDonough
71dcdf54e6 Several updates:
- add support for named pipe and netbios queries in parse code
- fix map request structure...unknown byte was alignment
- add sample of named pipe over netbios query in rpcclient (comment only)
-
Jeremy Allison
f81fdcc935 Merge tridge's tdb updates.
Jeremy.
-
Gerald Carter
5ccf6baad7 more 2.2.x compatibility fixes - allow user looksup in the kerb5
sesssetup to fall back to 'user' instaed of failing is REA.LM\user
doesn't exist.

also fix include line in smb_acls.h as requested by metze
-
Gerald Carter
62ed2598b3 more 2.2.x compatibility fixes - allow user looksup in the kerb5
sesssetup to fall back to 'user' instaed of failing is REA.LM\user
doesn't exist.

also fix include line in smb_acls.h as requested by metze
-