1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

18640 Commits

Author SHA1 Message Date
Gerald Carter
170b6a68bc 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.
2007-10-10 11:05:48 -05:00
Gerald Carter
c0f54eeebc 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.
2007-10-10 11:05:47 -05:00
Volker Lendecke
8b30cf8e09 r12170: Fix a segfault -- this is post-3.0.21 code 2007-10-10 11:05:47 -05:00
Volker Lendecke
209e4f8793 r12169: Remove an unused function 2007-10-10 11:05:47 -05:00
Volker Lendecke
b15815c804 r12163: Change lookup_sid and lookup_name to return const char * instead of char *,
use a temporary talloc_ctx for clarity.

Volker
2007-10-10 11:05:46 -05:00
Jeremy Allison
d1a9d0587c 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.
2007-10-10 11:05:46 -05:00
Volker Lendecke
4ba50c823e 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
2007-10-10 11:05:46 -05:00
Günther Deschner
4a506dbc3c r12131: Fix it really, this time :)
Guenther
2007-10-10 11:05:46 -05:00
Günther Deschner
8e63da0366 r12130: display domain GUID.
Guenther
2007-10-10 11:05:46 -05:00
Volker Lendecke
8a7d6eb2c0 r12129: Fix uninitialized variables.
Volker
2007-10-10 11:05:46 -05:00
Derrell Lipman
86ab4cf42b r12119: r10812@cabra: derrell | 2005-12-07 22:44:26 -0500
sync to repository didn't work correctly...???
2007-10-10 11:05:45 -05:00
Derrell Lipman
99fbe44ac5 r12118: r10805@cabra: derrell | 2005-12-07 22:34:55 -0500
first go at supporting long file names.  seeems to work; requires more testing
2007-10-10 11:05:45 -05:00
Jeremy Allison
d270b809ed r12111: Fix the "everything" build by re-adding debug2html. Oops.
Jeremy.
2007-10-10 11:05:45 -05:00
Jeremy Allison
32380002e4 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.
2007-10-10 11:05:45 -05:00
Jeremy Allison
a342681792 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.
2007-10-10 11:05:45 -05:00
Günther Deschner
1fa8039397 r12106: Fix return value
Guenther
2007-10-10 11:05:45 -05:00
Derrell Lipman
8a86d7bddc r12098: r10797@cabra: derrell | 2005-12-06 12:09:00 -0500
fixed another memory leak and reverted an (incorrect) fix from yesterday
2007-10-10 11:05:44 -05:00
Jeremy Allison
2b17e08d29 r12096: Change uint32_t to uint32. Jerry, please pick this change up for
3.0.21 final.
Jeremy.
2007-10-10 11:05:44 -05:00
Derrell Lipman
376445c90b r12081: r10674@cabra: derrell | 2005-12-05 13:31:28 -0500
get rid of temporary #if 0 blocks
2007-10-10 11:05:44 -05:00
Derrell Lipman
c5781c9cf5 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.
2007-10-10 11:05:44 -05:00
Lars Müller
6794d44099 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.
2007-10-10 11:05:44 -05:00
Lars Müller
519ed7ca0e 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.
2007-10-10 11:05:43 -05:00
Volker Lendecke
4d91f9501c r12055: More cruft 2007-10-10 11:05:43 -05:00
Jeremy Allison
739c1c4d43 r12054: We only have one more warning at -O6. That will take
some more restructuring to fix.... Coming soon.
Jeremy.
2007-10-10 11:05:43 -05:00
Volker Lendecke
612ec4de75 r12052: Remove unused typedefs 2007-10-10 11:05:43 -05:00
Volker Lendecke
9f99d04a54 r12051: Merge across the lookup_name and lookup_sid work. Lets see how the build farm
reacts :-)

Volker
2007-10-10 11:05:43 -05:00
Volker Lendecke
b9d1a65910 r12046: Fix typo 2007-10-10 11:05:43 -05:00
Jeremy Allison
cd192ed79a r12045: More warning fixes... Just a few more to go.
Jeremy.
2007-10-10 11:05:42 -05:00
Jeremy Allison
c65b752604 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.
2007-10-10 11:05:42 -05:00
Gerald Carter
47a9f2c3d6 r12040: merging packaging fixes from release branch 2007-10-10 11:05:42 -05:00
Jeremy Allison
6ec0312090 r12038: This file is no longer used, and no one noticed....
Jeremy.
2007-10-10 11:05:42 -05:00
John Terpstra
3f11401335 r12031: Added net idmap to common help list. 2007-10-10 11:05:42 -05:00
Gerald Carter
608f8c3da8 r12027: changing version to 3.0.22pre1 since 3.0.21 is frozen now 2007-10-10 11:05:42 -05:00
Günther Deschner
1136862e6d 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
2007-10-10 11:05:41 -05:00
Gerald Carter
270fef5175 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 2007-10-10 11:05:41 -05:00
Volker Lendecke
30fcdf84d8 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
2007-10-10 11:05:41 -05:00
Volker Lendecke
8fefafcbb8 r11998: Add lookupname to rpcclient query_user as a fallback, we now accept both rid
and username.

Volker
2007-10-10 11:05:41 -05:00
Jeremy Allison
3804c4ca39 r11985: Move to LGPL as per tridge's Samba4 change.
Jeremy.
2007-10-10 11:05:41 -05:00
Jeremy Allison
9b8602e055 r11978: Volker's fix for #3292 (smbclient spins if server terminates
connection).
Jeremy.
2007-10-10 11:05:41 -05:00
Jeremy Allison
f1c88de7a2 r11976: (Slightly modified) Volker fix for #3293. Use SMBecho instead of
chkpath to keep a connection alive.
Jeremy.
2007-10-10 11:05:40 -05:00
Volker Lendecke
9a6ce67fbf r11975: Fix valgrind error -- bug 3291 2007-10-10 11:05:40 -05:00
Günther Deschner
53f15a0881 r11966: fix the build\n\nGuenther 2007-10-10 11:05:40 -05:00
Günther Deschner
d94aaeb625 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
2007-10-10 11:05:40 -05:00
Günther Deschner
0705fed566 r11963: add rpccli_samr_chgpasswd3 from samba4.
Guenther
2007-10-10 11:05:40 -05:00
Jeremy Allison
2e262a75cc 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.
2007-10-10 11:05:40 -05:00
Günther Deschner
abf761c8bf r11960: add 'wbinfo --separator' to get the currently active winbind_separator.
Needed for KDM/GDM login masks.

Guenther
2007-10-10 11:05:39 -05:00
Jeremy Allison
672113a627 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.
2007-10-10 11:05:39 -05:00
Volker Lendecke
d228cb62a7 r11947: Back out passdb:expand_explicit until we find consensus. I'll file this as a
bugzilla entry.

Volker
2007-10-10 11:05:38 -05:00
Jeremy Allison
abc21cc732 r11945: Make us follow the newly documented pathname processing rules:
"As a special case for directories with large numbers of files, if the
case options are set as follows, "case sensitive = yes", "case
preserve = no", "short preserve case = no" then the "default case"
option will be applied and will modify all filenames sent from the client
when accessing this share."
This is needed as fixing the case preserve rules to only apply to
new filenames broke the large directory fix. Glad we caught this
before release. Thanks to jht for this one.
Jeremy.
2007-10-10 11:05:38 -05:00
Jeremy Allison
8ee569626b r11943: Don't reset attrs to zero in EA get - we are adding
to the attr list not resetting it.
Jeremy.
2007-10-10 11:05:38 -05:00