1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

18692 Commits

Author SHA1 Message Date
Gerald Carter
2c0114d211 r12177: last of outstanding patches in my queue to deal with MMC.
Validate the share name and fail when trying to creating
a share with bad characters.
(This used to be commit 174fe494f9)
2007-10-10 11:05:48 -05:00
Gerald Carter
7cd1af4a63 r12176: fix type mismatch after rpc structure change in rpc_svcctl.h
(This used to be commit ba67d3ae04)
2007-10-10 11:05:48 -05:00
Gerald Carter
143103954c r12174: Simple patch to work around the current lack of BUILTIN
nested group support.  Always add the BUILTIN\Administrators
SID to a Domain Admins token.

This solves the extra steps of establishing a group map for
the local Administrators SID in order to control services.
Windows also tends to expect the Administrators group to be
usable when setting up security permissions on shares.

Volker's work will probably fix this long term, but this
gets us past some of the setup hurdles for 3.0.21.
(This used to be commit 170b6a68bc)
2007-10-10 11:05:48 -05:00
Gerald Carter
a489553067 r12173: doing some service control work
* Add a few new error codes for disabled services
* dump some more details about service status in 'net rpc service'
* disable the WINS and NetLogon services if not configured in smb.conf

Still trying to figure out how to disable the start button
on the NetLogon and WINS services.
(This used to be commit c0f54eeebc)
2007-10-10 11:05:47 -05:00
Volker Lendecke
1e0684678e r12170: Fix a segfault -- this is post-3.0.21 code
(This used to be commit 8b30cf8e09)
2007-10-10 11:05:47 -05:00
Volker Lendecke
c911ac23a9 r12169: Remove an unused function
(This used to be commit 209e4f8793)
2007-10-10 11:05:47 -05:00
Volker Lendecke
661c5c741a r12163: Change lookup_sid and lookup_name to return const char * instead of char *,
use a temporary talloc_ctx for clarity.

Volker
(This used to be commit b15815c804)
2007-10-10 11:05:46 -05:00
Jeremy Allison
78fa625d25 r12160: The filename parameter to get_share_mode_lock is going
to become very important as we fix #3303, so make sure
we don't accidently set it here.
Jeremy.
(This used to be commit d1a9d0587c)
2007-10-10 11:05:46 -05:00
Volker Lendecke
6a92f418ea r12133: Fix an uninitialized variable in new code in rpc_server/srv_samr_nt.c.
Fix winbind_lookup_name for the local domain, ie for aliases on a member
server.

Volker
(This used to be commit 4ba50c823e)
2007-10-10 11:05:46 -05:00
Günther Deschner
5ffc3b18ef r12131: Fix it really, this time :)
Guenther
(This used to be commit 4a506dbc3c)
2007-10-10 11:05:46 -05:00
Günther Deschner
09c1b2a20e r12130: display domain GUID.
Guenther
(This used to be commit 8e63da0366)
2007-10-10 11:05:46 -05:00
Volker Lendecke
ab51c18cc9 r12129: Fix uninitialized variables.
Volker
(This used to be commit 8a7d6eb2c0)
2007-10-10 11:05:46 -05:00
Derrell Lipman
7bf8de2f02 r12119: r10812@cabra: derrell | 2005-12-07 22:44:26 -0500
sync to repository didn't work correctly...???
(This used to be commit 86ab4cf42b)
2007-10-10 11:05:45 -05:00
Derrell Lipman
e48ef5b9b1 r12118: r10805@cabra: derrell | 2005-12-07 22:34:55 -0500
first go at supporting long file names.  seeems to work; requires more testing
(This used to be commit 99fbe44ac5)
2007-10-10 11:05:45 -05:00
Jeremy Allison
2c93f195be r12111: Fix the "everything" build by re-adding debug2html. Oops.
Jeremy.
(This used to be commit d270b809ed)
2007-10-10 11:05:45 -05:00
Jeremy Allison
ba10b97956 r12110: We're using a tdb-based wins backend now. Thanks to the
ubiqx code, which has served us well for many a year..
"Well done, thou good and faithful servant".
Jeremy.
(This used to be commit 32380002e4)
2007-10-10 11:05:45 -05:00
Jeremy Allison
83b987befd r12107: Move to a tdb-based wins database. At the moment we still
use it as though it were an in-memory db and dump out to
a flat file every 2 mins, but that can now change.
Jeremy.
(This used to be commit a342681792)
2007-10-10 11:05:45 -05:00
Günther Deschner
436b3dd88a r12106: Fix return value
Guenther
(This used to be commit 1fa8039397)
2007-10-10 11:05:45 -05:00
Derrell Lipman
44293df2ae r12098: r10797@cabra: derrell | 2005-12-06 12:09:00 -0500
fixed another memory leak and reverted an (incorrect) fix from yesterday
(This used to be commit 8a86d7bddc)
2007-10-10 11:05:44 -05:00
Jeremy Allison
a2bac34183 r12096: Change uint32_t to uint32. Jerry, please pick this change up for
3.0.21 final.
Jeremy.
(This used to be commit 2b17e08d29)
2007-10-10 11:05:44 -05:00
Derrell Lipman
78631d38f1 r12081: r10674@cabra: derrell | 2005-12-05 13:31:28 -0500
get rid of temporary #if 0 blocks
(This used to be commit 376445c90b)
2007-10-10 11:05:44 -05:00
Derrell Lipman
a54f9eddce r12080: r10673@cabra: derrell | 2005-12-05 13:22:34 -0500
Correct some memory and file descriptor leaks.

 This should fix bugs 3257, 3267 and 3273.
(This used to be commit c5781c9cf5)
2007-10-10 11:05:44 -05:00
Lars Müller
884a0c8226 r12077: Add configure switch to disable libmsrpc build. Add new Makefile target
installlibmsrpc.  This works the same way as we're already doing it for
libsmbclient.  Default is to build it.

Add a soname to libmsrpc as we do it for libsmbclient.  We already had
the MAJOR and MINOR variable in the Makefile.
(This used to be commit 6794d44099)
2007-10-10 11:05:44 -05:00
Lars Müller
f6a46f3329 r12076: Ensure setmntent() returns with != NULL in the disk_quotas() Linux
version.

The IRIX 6.2 version is still without this check as I'm not sure if
setmntent() is implemented in the same way.
(This used to be commit 519ed7ca0e)
2007-10-10 11:05:43 -05:00
Volker Lendecke
efbbd89000 r12055: More cruft
(This used to be commit 4d91f9501c)
2007-10-10 11:05:43 -05:00
Jeremy Allison
08a73ae7db r12054: We only have one more warning at -O6. That will take
some more restructuring to fix.... Coming soon.
Jeremy.
(This used to be commit 739c1c4d43)
2007-10-10 11:05:43 -05:00
Volker Lendecke
15fbacc34a r12052: Remove unused typedefs
(This used to be commit 612ec4de75)
2007-10-10 11:05:43 -05:00
Volker Lendecke
05ac2de0df r12051: Merge across the lookup_name and lookup_sid work. Lets see how the build farm
reacts :-)

Volker
(This used to be commit 9f99d04a54)
2007-10-10 11:05:43 -05:00
Volker Lendecke
678f13c761 r12046: Fix typo
(This used to be commit b9d1a65910)
2007-10-10 11:05:43 -05:00
Jeremy Allison
a168730dda r12045: More warning fixes... Just a few more to go.
Jeremy.
(This used to be commit cd192ed79a)
2007-10-10 11:05:42 -05:00
Jeremy Allison
d1f91f7c72 r12043: It's amazing the warnings you find when compiling on a 64-bit
box with gcc4 and -O6...
Fix a bunch of C99 dereferencing type-punned pointer will break
strict-aliasing rules errors. Also added prs_int32 (not uint32...)
as it's needed in one place. Find places where prs_uint32 was being
used to marshall/unmarshall a time_t (a big no no on 64-bits).
More warning fixes to come.
Thanks to Volker for nudging me to compile like this.
Jeremy.
(This used to be commit c65b752604)
2007-10-10 11:05:42 -05:00
Gerald Carter
03b77baa6f r12040: merging packaging fixes from release branch
(This used to be commit 47a9f2c3d6)
2007-10-10 11:05:42 -05:00
Jeremy Allison
064636fbf2 r12038: This file is no longer used, and no one noticed....
Jeremy.
(This used to be commit 6ec0312090)
2007-10-10 11:05:42 -05:00
John Terpstra
0744d8d51e r12031: Added net idmap to common help list.
(This used to be commit 3f11401335)
2007-10-10 11:05:42 -05:00
Gerald Carter
5bc7b91456 r12027: changing version to 3.0.22pre1 since 3.0.21 is frozen now
(This used to be commit 608f8c3da8)
2007-10-10 11:05:42 -05:00
Günther Deschner
4e5cdfb668 r12015: When smbspool tries to connect to a printer shared on a standalone
Windows XP box, smbspool has to mimic smbclient behaviour and also send
a password-less NTLMSSP session setup.

Guenther
(This used to be commit 1136862e6d)
2007-10-10 11:05:41 -05:00
Gerald Carter
15615dc1f6 r12002: patch from marcin to allow for the creation of a File value in the eventlog registry keys so that file properties can be displayed
(This used to be commit 270fef5175)
2007-10-10 11:05:41 -05:00
Volker Lendecke
bd21ee68e5 r11999: Re-add "passdb expand explicit".
We came to the conclusion that changing the default is something that has to
wait one or two more releases, but it will happen one way or the other.

Volker
(This used to be commit 30fcdf84d8)
2007-10-10 11:05:41 -05:00
Volker Lendecke
e30b176ea3 r11998: Add lookupname to rpcclient query_user as a fallback, we now accept both rid
and username.

Volker
(This used to be commit 8fefafcbb8)
2007-10-10 11:05:41 -05:00
Jeremy Allison
5f733f12a6 r11985: Move to LGPL as per tridge's Samba4 change.
Jeremy.
(This used to be commit 3804c4ca39)
2007-10-10 11:05:41 -05:00
Jeremy Allison
0732d25057 r11978: Volker's fix for #3292 (smbclient spins if server terminates
connection).
Jeremy.
(This used to be commit 9b8602e055)
2007-10-10 11:05:41 -05:00
Jeremy Allison
0af6dcacec r11976: (Slightly modified) Volker fix for #3293. Use SMBecho instead of
chkpath to keep a connection alive.
Jeremy.
(This used to be commit f1c88de7a2)
2007-10-10 11:05:40 -05:00
Volker Lendecke
d2fff52b91 r11975: Fix valgrind error -- bug 3291
(This used to be commit 9a6ce67fbf)
2007-10-10 11:05:40 -05:00
Günther Deschner
3c78fdd49d r11966: fix the build\n\nGuenther
(This used to be commit 53f15a0881)
2007-10-10 11:05:40 -05:00
Günther Deschner
6ffd82ea77 r11964: rename flag to password_properties in SAM_UNK_INFO_1 because that's what
it is. (SAM_UNK_INFO_1 should get a better name as well).

Guenther
(This used to be commit d94aaeb625)
2007-10-10 11:05:40 -05:00
Günther Deschner
41eb1127fd r11963: add rpccli_samr_chgpasswd3 from samba4.
Guenther
(This used to be commit 0705fed566)
2007-10-10 11:05:40 -05:00
Jeremy Allison
a77658a33f r11962: Bring talloc up to date with Samba4, re-add the
talloc_describe_all() function. Fix smbcontrol <pid> pool-usage
as we desparately need it working in the field to track down
memory leaks. Seriously, when new functionality like the
Samba4 talloc is added, don't just disable working functionality
like "pool-usage", fix the damn thing first !
Jeremy.
(This used to be commit 2e262a75cc)
2007-10-10 11:05:40 -05:00
Günther Deschner
e789a870f1 r11960: add 'wbinfo --separator' to get the currently active winbind_separator.
Needed for KDM/GDM login masks.

Guenther
(This used to be commit abf761c8bf)
2007-10-10 11:05:39 -05:00
Jeremy Allison
05fafb8396 r11950: If we got a connection oriented cancel pdu we would spin processing it.
Fix that, and also add in comments for all possible CL and CO PDU
types. Make sure we process them correctly.
Jeremy.
(This used to be commit 672113a627)
2007-10-10 11:05:39 -05:00
Volker Lendecke
6f04dc477e r11947: Back out passdb:expand_explicit until we find consensus. I'll file this as a
bugzilla entry.

Volker
(This used to be commit d228cb62a7)
2007-10-10 11:05:38 -05:00