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

19170 Commits

Author SHA1 Message Date
Tim Potter
37b0166d3f r13705: Fix a typo (and janitor for myself). 2007-10-10 11:10:24 -05:00
Jeremy Allison
7e243104eb r13704: Janitor for tpot.
Jeremy
-------------
Slightly smaller version of pdb_get_methods() patch.  Turns out that
callers to initialize_password_db() use the reload parameter so this
has turned in to a smaller cleanup than I thought.
2007-10-10 11:10:24 -05:00
Steve French
d294b28f1c r13697: Remove unneeded header (header not present on all Linux either) for umount.cifs.c 2007-10-10 11:10:24 -05:00
Alexander Bokovoy
52e9b5f89f r13695: Make code consistent with documentation. :-)
smbcontrol was sending messages designated for nmbd and winbindd to smbd. Thus, nmbd and winbindd
were "unshutdownable".
2007-10-10 11:10:24 -05:00
Volker Lendecke
788e52eb5d r13694: Committing patch from Aleksey Fedoseev <aleksey at fedoseev dot net> to NULL
out a pointer after talloc_destroy().

Volker
2007-10-10 11:10:24 -05:00
Volker Lendecke
7c098ca0ae r13693: More Solaris/LDAP fixes from Bjoern <bjoern@j3e.de> 2007-10-10 11:10:24 -05:00
Volker Lendecke
d6c6363517 r13690: Check in Björn's LDAP Solaris fix. 2007-10-10 11:10:23 -05:00
Lars Müller
5119472cdc r13688: Revert change to set DAT_FILES and SWAT_MSG_FILES in the Makefile.
Instead check for *.dat and *.msg files as done before.  Then added
files are installed and removed as soon as we have some in the
filesystem.  It's simpler and less error prone.
2007-10-10 11:10:23 -05:00
Volker Lendecke
dbdb8bdb99 r13683: Fix the 'valid users = +users' problem I introduced.
Volker
2007-10-10 11:10:23 -05:00
Jeremy Allison
07d1037e17 r13682: Actually give a developer a prayer of finding out where
random error messages are coming from. Yes I'm pissed as
I'm working on a live issue right now...
Jeremy.
2007-10-10 11:10:23 -05:00
Gerald Carter
bcf269e2ec r13679: Commiting the rm_primary_group.patch posted on samba-technical
* ignore the primary group SID attribute from struct samu*
* generate the primary group SID strictlky from the Unix
  primary group when dealing with passdb users
* Fix memory leak in original patch caused by failing to free a
  talloc *
* add wrapper around samu_set_unix() to prevent exposing the create
  BOOL to callers.  Wrappers are samu_set_unix() and samu-allic_rid_unix()
2007-10-10 11:10:23 -05:00
Volker Lendecke
faf1d832a1 r13678: Remove unneeded braces 2007-10-10 11:10:23 -05:00
Gerald Carter
9a33525552 r13677: patch from Max N. Boyarov <m.boyarov@sam-solutions.net>
Prevent div/0 when sysconf(_SC_NPROCESSORS_ONLN) fails.
2007-10-10 11:10:22 -05:00
Gerald Carter
70e7c9de9d r13676: have to return a value from a non-void function 2007-10-10 11:10:22 -05:00
Gerald Carter
b698e83a82 r13675: * patch from Bjoern JACKE <samba@j3e.de> to remove the
artificial RO bit on directories in user profiles when
  profile acls = yes.
2007-10-10 11:10:22 -05:00
Gerald Carter
249dba0386 r13671: fix return value in (void)fn() 2007-10-10 11:10:22 -05:00
Jeremy Allison
3de0d9af69 r13669: Get rid of poor errno mapping table. Bounce through NTSTATUS instead.
DO NOT MERGE FOR 3.0.21c PLEASE.
Jeremy.
2007-10-10 11:10:22 -05:00
Jeremy Allison
e81227d044 r13664: Fix the cli_error codes to always detect a socket error.
This code needs a tidyup and common code with libsmb/errormap.c
merging. Should fix the winbindd crash Jerry found (I hope).
Jeremy.
2007-10-10 11:10:22 -05:00
Lars Müller
43549301b9 r13663: make uninstall DESTDIR=/somewhere no longer leaves files. This is done
with the new rules: uninstallservers uninstalldat, uninstallswat (calles
uninstallmsg), uninstallmodules, uninstallclientlib, and
uninstalllibmsrpc.

We still leave directories.  We might try to remove the dirs we created
in reverse order.

The new uninstall scripts are sym links to the respective install
scripts.  Inside we set mode to install or uninstall.

installservers is now used to install the servers.  These are no longer
installed with installbin.
2007-10-10 11:10:21 -05:00
Günther Deschner
f209192e26 r13660: Attempt to better handle the failure that we cannot find our sid upon
startup; don't panic, shutdown instead.

Guenther
2007-10-10 11:10:21 -05:00
Günther Deschner
ffce0461de r13657: Let winbindd try to obtain the gecos field from the msSFU30Gecos
attribute when "winbind nss info = sfu" is set. Fixes #3539.

Guenther
2007-10-10 11:10:21 -05:00
Lars Müller
a606d11056 r13656: Use the new installdirs.sh syntax for all calls. 2007-10-10 11:10:21 -05:00
Tim Potter
48cd81074e r13648: Duh. 2007-10-10 11:10:21 -05:00
Jeremy Allison
ce25e6b002 r13647: Fix for standalone Samba servers and XP clients. Reverts
part of the PocketPC bugfix. I'm trying to get someone who
has a pocketpc to test this.
Jeremy.
2007-10-10 11:10:21 -05:00
Lars Müller
3a6c9999b4 r13645: Revert debug output. 2007-10-10 11:10:21 -05:00
Lars Müller
3aa75f0ff5 r13644: Do not shift anything inside the for loop away. We ineterate over $@. 2007-10-10 11:10:20 -05:00
Lars Müller
5a67b4f5be r13643: Enable script debug output to get some more details why some hosts
return with !=0 after calling installmodules.sh AUTH_MODULES.
2007-10-10 11:10:20 -05:00
Lars Müller
c38adf7131 r13642: Fix install* scripts to use DESTDIR.
Always pass the INSTALLPERMS and DESTDIR as first and second arg to the
scripts.

No longer prepend DESTDIR to the remaining args.

To fix bug #3282 it is important _not_ to prepend DESTDIR to the source
of the sym link pointing to smbmount.
2007-10-10 11:10:20 -05:00
Jeremy Allison
68005f6bdb r13641: Finish fix for #3510. Don't use client schannel when told
not to, cope with a server that doesn't offer schannel also.
Jeremy
2007-10-10 11:10:20 -05:00
Günther Deschner
c201e51de3 r13639: Never overwrite the acct_flags in rpccli_netlogon_sam_network_logon().
Guenther
2007-10-10 11:10:20 -05:00
Günther Deschner
e0b50d0087 r13625: Now that Heimdal 0.7.2 is released, we reenable our strict checking for
c++ reserved names.

Guenther
2007-10-10 11:10:20 -05:00
Günther Deschner
b2eac2e6eb r13622: Allow to rename machine accounts in a Samba Domain. This still uses the
"rename user script" to do the rename of the posix machine account (this
might be changed later). Fixes #2331.

Guenther
2007-10-10 11:10:19 -05:00
Jeremy Allison
7de1ee1861 r13614: First part of the bugfix for #3510 - net join fails
against server with schannel disabled. Second part
will come tomorrow (fixing net_rpc_join_ok()).
Jeremy.
2007-10-10 11:10:19 -05:00
Tim Potter
1d23067e68 r13612: #define NO_SYSLOG is dead as a doornail. 2007-10-10 11:10:19 -05:00
Jeremy Allison
b1915a0591 r13610: Patch from Bjoern JACKE <samba@j3e.de>. Don't default to
/tmp if there is no path in the share, make it unavailable.
All printer shares should have a path and IPC$ is already
explicitly set to tmpdir().
Jeremy.
2007-10-10 11:10:19 -05:00
Jeremy Allison
02da5189f1 r13607: Fix compile - don't ref auto variable in a structure initialization.
Fix from Richard Bollinger <rabollinger@gmail.com>.
Jeremy.
2007-10-10 11:10:19 -05:00
Jeremy Allison
7d21cf420f r13604: Fix for bug #3512 "use spnego=no" and "server signing=auto" cause client to disconnect after negprot"
We missed one case of ignoring "BSRSPYL ".
Merge for 3.0.21c.
Jeremy.
2007-10-10 11:10:19 -05:00
Gerald Carter
92c251fdf0 r13601: * Remove unused code from pdb_ldap.c
* Add a 'struct passwd *' to the struct samu for later reference
  (I know this may be controversial but its easily reverted which is
  is why I'm checking this is as a seaparate patch before I get
  too deep).
* Remove unix_homedir from struct samu {} and update the pdb wrapper
  functions associated with it.
2007-10-10 11:10:18 -05:00
Gerald Carter
e3489f7edd r13600: Move functions local to tdbsam to pdb_tdb.c 2007-10-10 11:10:18 -05:00
Lars Müller
7b8ea14991 r13599: krb5 error codes are defined as long. Also for the other direction. 2007-10-10 11:10:18 -05:00
Lars Müller
49e6431c06 r13598: Defining KRB5KRB_ERR_RESPONSE_TOO_BIG if not defined which is the case
for older krb5 implementations.

Patch slightly modified from the version provided by Björn Jacke <bjoern
at j3e dot de> at the samba-technical list after discussion on the list
and by IRC.  Thanks Björn!
2007-10-10 11:10:18 -05:00
Lars Müller
bab8c156a4 r13597: krb5 error codes are defined as long. 2007-10-10 11:10:18 -05:00
Jeremy Allison
cd82107989 r13594: Got sense of NTSTATUS check reversed.
Jeremy.
2007-10-10 11:10:18 -05:00
Gerald Carter
6568c9cb03 r13593: consolidate pdb_set_sam_sids() into samu_set_unix() which
was the only place it was called from.
2007-10-10 11:10:18 -05:00
Gerald Carter
cf9140ad26 r13591: I really have no idea how this code ever worked. And I have
no idea why no one (including myself) caught this with a compiler
warning....Make sure new_chunk() actually returns a pointer
to the allocated memory.

SAMBA_3_0 now works again on Solaris.
2007-10-10 11:10:16 -05:00
Gerald Carter
6f1afa4acc r13590: * replace all pdb_init_sam[_talloc]() calls with samu_new()
* replace all pdb_{init,fill}_sam_pw() calls with samu_set_unix()
2007-10-10 11:10:16 -05:00
Gerald Carter
77332f0738 r13589: Make sure we only try to close the tdbsam file in endsampwent() when we
have a valid pwent list from a setsampwent().  Fixes a bug with the
reference count on the open tdb.
2007-10-10 11:10:16 -05:00
Jeremy Allison
7a17b39c80 r13588: Second attempt to fix Bug #3330 - treat the string as a
uint8 array and copy as such. Gunther please check (sorry
I reverted your earlier fix).
Jeremy.
2007-10-10 11:10:16 -05:00
Jeremy Allison
33e13aabd3 r13585: Sorry Gunther, had to revert this. It's got a buffer
overrun. Spoke to Jerry about the correct fix. Will add
this after.
Jeremy.
2007-10-10 11:10:16 -05:00
Günther Deschner
9732490811 r13581: Correctly parse a non-null terminated, little-endian UCS2 string in the
PAC_LOGON_NAME structure. This was broken on big-endian machines
(Solaris SPARC and ppc). Fixes Bug #3330.

Jerry, this should be in 3.0.21c.

Guenther
2007-10-10 11:10:16 -05:00