1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

19072 Commits

Author SHA1 Message Date
Jeremy Allison
95ef857c89 r13882: Fix coverity CID bug #96. Missing free on error
exit path.
Jeremy.
2007-10-10 11:10:58 -05:00
Jeremy Allison
0dc37dd2d8 r13880: Fix coverity bug CID #97, mem leak on error path.
Jeremy.
2007-10-10 11:10:58 -05:00
Gerald Carter
c803e1b2af r13878: move PORT_DATA_1 to use static sized UNICODE strings as per MSDN 2007-10-10 11:10:57 -05:00
Jeremy Allison
0f1dffb2f2 r13875: Fix coverity bug #148. Deref of rrec before NULL check.
Jeremy.
2007-10-10 11:10:57 -05:00
Jeremy Allison
2f6cf810ea r13873: I think this is the longstanding wins server crash bug, not
part of the changes I made but something that's been there
a while.... Coverity bugid #41.
Jeremy.
2007-10-10 11:10:57 -05:00
Günther Deschner
0ae3fddf95 r13864: Some cleanup and the samr set security object function client-side.
Guenther
2007-10-10 11:10:57 -05:00
Günther Deschner
b8c07babbd r13861: Avoid "net rpc join" segfaulting when storing the servername in the
affinity cache.

Guenther
2007-10-10 11:10:57 -05:00
Simo Sorce
ab62c8d93a r13846: Take care of system that do not have LDAP libraries 2007-10-10 11:10:57 -05:00
Simo Sorce
705d811808 r13843: Merge in net sam provision and some pdb_ldap fixes 2007-10-10 11:10:56 -05:00
Volker Lendecke
2c0c40dfb5 r13841: Fix an uninitialized variable warning.
Jerry, this just fixes the warning. This routine does not seem to cope well
with !UNMARSHALLING. You might want to look...

Volker
2007-10-10 11:10:56 -05:00
Gerald Carter
6d74de7a67 r13829: From the "It's not pretty but it works" category
* Finish prototype of the "add port command" implementation
  Format is "addportcommand portname deviceURI"

* DeviceURI is either
  - socket://hostname:port/
  - lpr://hostname/queue
  depending on what the client sent in the request
2007-10-10 11:10:56 -05:00
Gerald Carter
a444aa7f00 r13824: * add api table for Xcv TCPMON and LOCALMON calls starting
with the "MonitorUI" call
* Fix some parsing errors

This gets us to the Add Port Wizard dialog.
2007-10-10 11:10:56 -05:00
Gerald Carter
a34ab5c827 r13821: replacing some strings with macros 2007-10-10 11:10:56 -05:00
Gerald Carter
ba9cdd88a0 r13820: * Start fleshing out the XcvDataPort() server implementation
* Add support for the "Local Port" monitor as well through this API
2007-10-10 11:10:55 -05:00
Lars Müller
8f48c6d1e5 r13819: Remove accidently with rev 13713 submitted and never used MY_FLAGS
variable.
2007-10-10 11:10:55 -05:00
Volker Lendecke
58d5f2031a r13816: Volunteering :-)
> for the svn log:
>
> - Solaris' /bin/sh doesn't know "test -e" - let's use "test -f" instead
>
> Some volunteer wanna check this in? :)
>
> Cheers
> Bjoern

Volker
2007-10-10 11:10:55 -05:00
Gerald Carter
123e478ce5 r13815: "Into the blind world let us now descend,"
Began the poet, his face as pale as death.
"I will go first, and you will follow me."
---

Adding XcvDataPort() to the spoolss code for remotely
add ports.  The design is to allow an intuitive means
of creating a new CUPS print queue from the Windows 2000/XP
APW without hacks like specifying the deviceURI in the
location field of the printer properties dialog.

Also set 'default devmode = yes' as the new default
since it causes no harm and only is executed when you
have a NULL devmode anyways.
2007-10-10 11:10:55 -05:00
Jeremy Allison
305a774d28 r13802: I *knew* ASU on sparc had to be good for *something* ! :-).
Fix incorrect size understanding of sid name type (yes it's
already correct in the Samba4 IDL :-).
Jeremy.
2007-10-10 11:10:54 -05:00
Jeremy Allison
13de4d000e r13799: Make locktest debug a little easier to read.
Jeremy.
2007-10-10 11:10:54 -05:00
Jeremy Allison
36df6ba3ad r13796: Another load_case_tables...
Jeremy.
2007-10-10 11:10:54 -05:00
Gerald Carter
d640d81540 r13794: If you are going to go, go big. That's what I always say.
* disable winbind enum {users,groups} by default after
  further conversations with Volker.
2007-10-10 11:10:54 -05:00
Jeremy Allison
9ed3bd431c r13792: Merged Simo's fixes for tdbtraverse.
Jeremy.
2007-10-10 11:10:54 -05:00
Volker Lendecke
ae9614ce01 r13791: Having S-1-1-0 show up in winbind lookupsid does not really make sense.
Volker
2007-10-10 11:10:54 -05:00
Jeremy Allison
aa85ba4f37 r13778: When deleting machine accounts it's the SeMachineAccountPrivilege
that counts.
Jeremy.
2007-10-10 11:10:53 -05:00
Simo Sorce
a374546c7e r13776: Merge in the editposix ldapsam optimization 2007-10-10 11:10:53 -05:00
Gerald Carter
b5f01559e1 r13772: More default changes
* winbind nested groups = yes
* host msdfs = ye
* msdfs root = yes
2007-10-10 11:10:53 -05:00
Gerald Carter
acff5163ca r13771: BUG 3534: ignore lines in the username map file with no right hand list rather than bailing out 2007-10-10 11:10:53 -05:00
Gerald Carter
f0a8f43879 r13766: Patch from Arek Glabek <aglabek@centeris.com>:
* Fix parsing error in eventlogadm caused by log entries
  with no DAT: line.
2007-10-10 11:10:53 -05:00
Gerald Carter
085c6859ee r13765: Fix bug reported by jra. Don't check for a group SID when storing
a user since we no longer pay any attention to the value.
2007-10-10 11:10:53 -05:00
Derrell Lipman
bb3b15e631 r13763: r13223@cabra: derrell | 2006-02-28 20:48:23 -0500
Add the missing comment about needing to save the new share name.
2007-10-10 11:10:52 -05:00
Derrell Lipman
ad0a725ef5 r13761: r13221@cabra: derrell | 2006-02-28 20:40:56 -0500
When only allowing one connection per server, the cache needs to track which
 share is currently connected, or we never know whether a tdis()/tcon() for the
 new share is required.
2007-10-10 11:10:52 -05:00
Jeremy Allison
12eccc8fe4 r13759: As pointed out by Volker, it isn't much good creating
a new empty acl in remove_posix_acl if you don't bother
to set it on the file in question :-).
Jeremy.
2007-10-10 11:10:52 -05:00
Gerald Carter
c13af58f63 r13756: use samu_new() rather than calling talloc() directly. 2007-10-10 11:10:52 -05:00
Lars Müller
deb35f85b3 r13751: Call proto_exists before we create the precompiles headers. 2007-10-10 11:10:52 -05:00
Lars Müller
6e4af8cd15 r13750: Cleanup line wrap to less than 80 chars. 2007-10-10 11:10:52 -05:00
Jeremy Allison
01ef957d48 r13748: Don't reference memory after we just freed it (Doh!).
Thanks to tridge's changes to the directory delete on close tests
for catching this.
Jeremy.
2007-10-10 11:10:52 -05:00
Jeremy Allison
993069eb87 r13747: Fix the reference count for tdbsam_open() - on an
upgrade it calls tdbsam_convert() which calls tdbsam_open()
deep inside the init_sam_from_buffer_vX call.
If the ref count hasn't been set yet then we will close
the tdbsam reference in tdbsam_getsampwsid().
smbpasswd -a was core-dumping again :-).
Jeremy
2007-10-10 11:10:51 -05:00
James Peach
37e12a196b r13736: Don't assume that printf can handle string arguments being NULL. Tidy
up typing and tighten error checking a little.
2007-10-10 11:10:51 -05:00
James Peach
cde31d5957 r13733: Reorder so that locking and params declarations are not mingled. 2007-10-10 11:10:51 -05:00
Volker Lendecke
2afcbbfb6f r13729: Fix smbpasswd -x 2007-10-10 11:10:51 -05:00
Volker Lendecke
59f95ea752 r13728: No, we have not talked about this on irc less than 24h ago... ;-) 2007-10-10 11:10:51 -05:00
Volker Lendecke
76c100834d r13727: Fix a segfault 2007-10-10 11:10:51 -05:00
Jeremy Allison
0295ed3d5c r13724: Remove unused variable. Bug #3559 from
jason@ncac.gwu.edu.
Jeremy.
2007-10-10 11:10:51 -05:00
Jeremy Allison
00f8b4e1aa r13722: Ensure we use the correct enumerated type. Bug #3558
from jason@ncac.gwu.edu.
Jeremy.
2007-10-10 11:10:50 -05:00
Günther Deschner
30f2fdef79 r13720: Only lockout Administrator after x bad password attempts in offline-mode
when we are told to do so by the password_properties.

Guenther
2007-10-10 11:10:50 -05:00
Lars Müller
2329308930 r13718: There is even no need to use AC_MSG_WARN in the case the user did not
request to build mount.cifs/ umount.cifs and we're not on Linux.
2007-10-10 11:10:50 -05:00
Lars Müller
1c66c4e4b8 r13717: Use AC_MSG_WARN if we did not called --with-cifsmount on a non Linux
system to report we're not on Linux.
2007-10-10 11:10:50 -05:00
Simo Sorce
239a37d201 r13715: Put back the code that actually modify the account,
removed, I presume by mistake, by Jerry in the recent
patch the removes the primary group SID stuff.

set_user_info_21 is called to update many other things
like the description of a user for example (that's what
failed on me).

Jerry, please review this one.
2007-10-10 11:10:50 -05:00
Lars Müller
3c277c7a3c r13714: Set MOUNT_CIFS_VENDOR_SUFFIX if _SAMBA_BUILD_ is set to
"-"SAMBA_VERSION_OFFICIAL_STRING"-"SAMBA_VERSION_VENDOR_SUFFIX if
SAMBA_VERSION_VENDOR_SUFFIX is set or "-"SAMBA_VERSION_OFFICIAL_STRING
only if MOUNT_CIFS_VENDOR_SUFFIX is undefined.

This results in: mount.cifs -V
mount.cifs version: 1.10-3.1.2pre1-SVN-build-13706-foovendor
or
mount.cifs version: 1.10-3.1.2pre1-SVN-build-13706

Steve: If this is to long or you do not like it, we might add something
lile -VV to report the added part.
2007-10-10 11:10:50 -05:00
Lars Müller
a2ab4cc824 r13713: Added installcifsmount and uninstallcifsmount rules for mount.cifs and
unmount.cifs.  This is controlled via CIFSMOUNT_PROGS which is set by
configure by default to yes on linux systems only.  It's possible to
disable with --without-cifsmount anyhow.

Added ROOTSBINDIR to the Makefile to allow us an install to /sbin and
not $prefix/sbin.  Configurable with --with-rootsbindir.
2007-10-10 11:10:49 -05:00