1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

18847 Commits

Author SHA1 Message Date
Gerald Carter
3f6d9a7b9d r12196: patch from Krishna Ganugapati <krishnag@centeris.com>
Use the subtree delete ldap control when running 'net ads leave'
to ensure that the machine account is actually deleted.
(This used to be commit e96000c16cd182b2e2cbdc1a287002306d2965e6)
2007-10-10 11:05:49 -05:00
Jeremy Allison
fa4df827d0 r12194: Ensure that when we set a connection path we've canonicalized
the name (must be abolute - start with /, must not end in /,
must have ./ and ../ removed). Of course for realpath resolved
paths this won't be the case but for others we need this name
to be canonicalized. This name is going into the sharemode db
for #3303 so needs to be in a normalized format.
Jeremy.
(This used to be commit 22e3300911809692b595f49e87d91e3111923e6a)
2007-10-10 11:05:48 -05:00
Günther Deschner
c9c8781ccf r12193: Fix some typos.
Guenther
(This used to be commit 499224f02a8722eea0d4644ca81ca55da0e9a86b)
2007-10-10 11:05:48 -05:00
Volker Lendecke
db6eea0fb4 r12185: Cosmetic cleanup
(This used to be commit d1e8f9afffecf986a428bfac29b22dcbce610016)
2007-10-10 11:05:48 -05:00
Volker Lendecke
4d03fc55df r12182: Cosmetic cleanup
(This used to be commit 81c358b511457fbc6304845acb4bfbf1b4adf062)
2007-10-10 11:05:48 -05:00
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 174fe494f9cbec3386ed687007e137fa7064373d)
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 ba67d3ae0430abc196d245218556c23002e52076)
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 170b6a68bcbd66bae322c5b1b8c8501ca96acab2)
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 c0f54eeebc84ec9fab63c5b105511762bcc136be)
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 8b30cf8e09944cd97e4ab959f730bf81591c2541)
2007-10-10 11:05:47 -05:00
Volker Lendecke
c911ac23a9 r12169: Remove an unused function
(This used to be commit 209e4f8793fe9375fc6af1aedb5bd1fe57193bbc)
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 b15815c804bf3e558ed6357b5e9a6e3e0fac777f)
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 d1a9d0587cd9a391f0193ca76cb319803c6e019f)
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 4ba50c823e8d61f87ab5627f15e826e73e45ffcc)
2007-10-10 11:05:46 -05:00
Günther Deschner
5ffc3b18ef r12131: Fix it really, this time :)
Guenther
(This used to be commit 4a506dbc3c63b965044aa16374f46531375cc920)
2007-10-10 11:05:46 -05:00
Günther Deschner
09c1b2a20e r12130: display domain GUID.
Guenther
(This used to be commit 8e63da03665651ab0315d76d27a4ea4375b2acd0)
2007-10-10 11:05:46 -05:00
Volker Lendecke
ab51c18cc9 r12129: Fix uninitialized variables.
Volker
(This used to be commit 8a7d6eb2c081c0d74b62aa76dc243946df62ced2)
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 86ab4cf42b3bfe78239ee0b367bff9cfc5484107)
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 99fbe44ac569f218bd1b4d1026c18cc72f0a1f0e)
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 d270b809edfdeb680d7e243e53f6de9e2493f56e)
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 32380002e44766669b28621e62a0b74652b1798f)
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 a342681792724c1ae8561ba8d352c4ee6e2a5332)
2007-10-10 11:05:45 -05:00
Günther Deschner
436b3dd88a r12106: Fix return value
Guenther
(This used to be commit 1fa8039397175331d9f5e8b5e3897e9bba14484a)
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 8a86d7bddc291da094d060fbe185f071ffdbddd8)
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 2b17e08d290dd7c629145d87c72f7fbd7f47b67d)
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 376445c90b05c36206c87c974c13e5f9297f35eb)
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 c5781c9cf5f1f8297e084fbe2c4a22257420a447)
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 6794d440996946da0f77a83904a713dd298ba8c0)
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 519ed7ca0ecffbc341c7516758a678af59f98586)
2007-10-10 11:05:43 -05:00
Volker Lendecke
efbbd89000 r12055: More cruft
(This used to be commit 4d91f9501cd041ee42410eeace6a9acd9cc57d1c)
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 739c1c4d438ccf31bb0167e1fc509d072c149d45)
2007-10-10 11:05:43 -05:00
Volker Lendecke
15fbacc34a r12052: Remove unused typedefs
(This used to be commit 612ec4de75ad06f2b12176439f96f8e5662a7d77)
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 9f99d04a54588cd9d1a1ab163ebb304437f932f7)
2007-10-10 11:05:43 -05:00
Volker Lendecke
678f13c761 r12046: Fix typo
(This used to be commit b9d1a659109daeeb625f3e6caf7ec706ccdde230)
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 cd192ed79a531c6775cdbfb35f0eb2e0fa230ce9)
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 c65b752604f8f58abc4e7ae8514dc2c7f086271c)
2007-10-10 11:05:42 -05:00
Gerald Carter
03b77baa6f r12040: merging packaging fixes from release branch
(This used to be commit 47a9f2c3d6039a07a6970ac181aeb2888d47a353)
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 6ec0312090dc3107e3c92099536858a22046ccfe)
2007-10-10 11:05:42 -05:00
John Terpstra
0744d8d51e r12031: Added net idmap to common help list.
(This used to be commit 3f11401335c0257d0f00678f80c992b5fca5e180)
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 608f8c3da8c708ec291fdb5faa3ea14303f59750)
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 1136862e6d6058df4ed027b75dbae40374712bac)
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 270fef5175559ba6345bb2c3e264c527a6a084c5)
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 30fcdf84d8943e630af78a96320607c42e4d15aa)
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 8fefafcbb8dc774c7cee2062b13a2790bfc3e5c8)
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 3804c4ca3914788e3d3780817ef016421418e11f)
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 9b8602e0551500916a9d79c317589cd82d3da111)
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 f1c88de7a28942b6aaa634551dde7a8af91f4de3)
2007-10-10 11:05:40 -05:00
Volker Lendecke
d2fff52b91 r11975: Fix valgrind error -- bug 3291
(This used to be commit 9a6ce67fbf89ea7fc9eed72776dff4712ba67e2b)
2007-10-10 11:05:40 -05:00
Günther Deschner
3c78fdd49d r11966: fix the build\n\nGuenther
(This used to be commit 53f15a0881de489e809bb58217ecabccd6d77e2c)
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 d94aaeb625c39b6205fe61c274aed57b1399bafc)
2007-10-10 11:05:40 -05:00