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

18625 Commits

Author SHA1 Message Date
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
Gerald Carter
3e05e88bb6 r11942: patch from Marcin to fix the mkdir() in perfcount daemon 2007-10-10 11:05:38 -05:00
Steve French
0981552dea r11938: Fix cifs to handle non-numeric uid and gid parameters and merge trunk and SAMBA_3 versions of mount.cifs and cleanup cifs vfs help.
Modified version of patch from Olaf Kirch <okir at SuSE dot de> for
Novell Bug 120601
2007-10-10 11:05:37 -05:00
Jeremy Allison
68d03a7a74 r11936: Fix bug in returning remote time found by Thomas Bork <tombork@web.de>.
get_time_zone() was overwriting static buffer returned by
gmtime(). Lars - this is a mandatory fix for the next patch...
Jeremy.
2007-10-10 11:05:37 -05:00
Jeremy Allison
908e671c75 r11927: No users or groups to return in BUILTIN domain.
Jeremy.
2007-10-10 11:05:36 -05:00
Jeremy Allison
b53d5cd565 r11924: Added Volkers's (C) to srv_samr_nt.c, removed separate "builtin"
search enumeration, fixed count of groups and users to return
zero if we're getting domain info on the builtin domain (need
to fix the enumgroup and enumuser calls also). Added count_sam_aliases
to return the correct alias count. Need to push the SID arg
down into the group mapping interface so we only return the
correct aliases. Upped passdb version numer for Volkers
changes. SAM-MYSQL guys - you will need to fix your backend
now. More tests needed.
Jeremy.
2007-10-10 11:05:36 -05:00
Volker Lendecke
c917cfc320 r11923: Add samr_lookup_rids for the builtin domain. Doing it this way feels a bit
wrong, but so far we don't have proper multi-domain support in passdb yet...

Volker
2007-10-10 11:05:36 -05:00
Volker Lendecke
57f0cf8cdd r11922: Looks bigger than it is: There's no point in allocating arrays in
samr_lookup_rids twice. It was done in the srv_samr_nt.c code as well as in
the pdb module. Remove the latter, this might happen more often.

Volker
2007-10-10 11:05:36 -05:00
Volker Lendecke
049920ce4f r11921: samr_open_domain can only open "our" domain and BUILTIN.
Volker
2007-10-10 11:05:36 -05:00
Volker Lendecke
bc8836d5d7 r11920: Rename local_lookup_rid to lookup_global_sam_rid, add lookup_builtin_rid.
Volker
2007-10-10 11:05:35 -05:00
Volker Lendecke
35ba5e083c r11919: The generic mappings in srv_samr_nt.c are only used there -- make them
static.

One long overdue simplification: Change local_lookup_sid to local_lookup_rid
its responsible for "our" domain only, in fact it checked for it.

Volker
2007-10-10 11:05:35 -05:00
Volker Lendecke
5524d66295 r11918: Remove two unused variables 2007-10-10 11:05:35 -05:00
Volker Lendecke
ae4ffc1cfb r11917: Move nt_token_to_group_list to srv_netlog_nt.c. srv_util.c is empty now.
Volker
2007-10-10 11:05:35 -05:00
Volker Lendecke
8e5bea3f84 r11916: auth_get_sam_account is only used in auth_rhosts.c -- move it there 2007-10-10 11:05:35 -05:00
Volker Lendecke
3c35fb642a r11915: Remove unused extern declarations 2007-10-10 11:05:35 -05:00
Volker Lendecke
6622db97bb r11914: After talking to Jeremy, implement passdb:expand_explicit with a default of
no. This changes our default behaviour.

Sorry, Ingo, this *is* a bug that needs fixing.

Jerry, you might want to put a marker into the WHATSNEW.txt when this is due.

Volker
2007-10-10 11:05:34 -05:00