Gerald Carter
866e39ad25
r23694: Make sure that when builddir != srcdir, we can still find the exports
...
files and library-versions file.
Also move the "-o $@" from the individual targets and into the SHLD_DSO
command.
(This used to be commit c85311b3a8
)
2007-10-10 12:23:46 -05:00
Jeremy Allison
9f03efd6e5
r23692: Couldn't wait, sorry :-). Did the style change.
...
Jeremy.
(This used to be commit da0d6ba0f9
)
2007-10-10 12:23:46 -05:00
Simo Sorce
38c84fe163
r23691: fix for bug on touching files as described here:
...
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=243897
(This used to be commit 6b68c006f8
)
2007-10-10 12:23:46 -05:00
Gerald Carter
3a246ac46b
r23689: Squashed commit of the following:
...
commit 0d4bbd197198a94bf4e29e0ccd175a40a60097f3
Author: Gerald (Jerry) Carter <jerry@samba.org>
Date: Mon Jul 2 20:08:19 2007 -0500
Introduce GNU ld linker export-script for hiding non-public symbols
in shared libraries.
Based on initial patch from Julien Cristau <jcristau@debian.org>
and suggestions from James Peach <jpeach@samba.org>. Currently
the libsmbsharemodes libraries still exports *. Signed off on
my Derrell as well.
(This used to be commit c42cf731b4
)
2007-10-10 12:23:46 -05:00
Jeremy Allison
6afbd15b67
r23688: Fix bug #4759 reported by Raul <ismell@ismell.org>.
...
"N" is not a valid format entry for ber_printf, should be "n"
Jeremy.
(This used to be commit f3bb102c24
)
2007-10-10 12:23:45 -05:00
Stefan Metzmacher
1d5646f9ff
r23685: merge from SAMBA_4_0:
...
Only use the bzr and git information when there's
a .bzr or .git in the top branch directory
I use bzr for my home directory and
bzr version-info in ~/devel/samba/4.0/samba4-git
gives the info about the ~/.bzr branch
metze
(This used to be commit e4df2e1c2d
)
2007-10-10 12:23:45 -05:00
Simo Sorce
d37c199136
r23683: Check ports are in the correct range (1-65535)
...
(This used to be commit 84b193a7d9
)
2007-10-10 12:23:45 -05:00
Simo Sorce
b85bfd5066
r23682: Old patch I forgot in one of my 3.0.25 trees.
...
Make sure we honour the directive not to allow machine password changes.
(This used to be commit 436555f05c
)
2007-10-10 12:23:45 -05:00
Jeremy Allison
56f6f58df2
r23673: Check for integer wrap on incoming data.
...
Jeremy.
(This used to be commit 77a46c7aee
)
2007-10-10 12:23:45 -05:00
Günther Deschner
7d6b8ff5b7
r23672: Allow msrpc_name_to_sid() to be called without a domain_name and just a name.
...
Guenther
(This used to be commit eeed62b6ca
)
2007-10-10 12:23:45 -05:00
Volker Lendecke
2ae9a0b4d8
r23671: Remove unused code -- 16416 bytes of bss space...
...
(This used to be commit 25f3bfdb1f
)
2007-10-10 12:23:44 -05:00
Volker Lendecke
0a754ca75c
r23670: Fix mkversion.sh for the git case: Only use the first line where
...
"commit" occurs
(This used to be commit 0e9aeec370
)
2007-10-10 12:23:44 -05:00
Michael Adam
b3b83941d8
r23669: Move a variable into the only block where it is used.
...
(This used to be commit 82be4137b7
)
2007-10-10 12:23:44 -05:00
Michael Adam
7a3f98e508
r23668: When creating a new string value, win2k regedit delivers
...
one byte of data despite characters being two-byte.
This modifies registry_pull_value, to change the data
to the correct two-byte version of the empty string,
(as delivered by winxp), when only one byte of data is
received.
Michael
(This used to be commit a4c2b20296
)
2007-10-10 12:23:44 -05:00
Michael Adam
ba2dc0530f
r23667: Prevent storing of forbidden parameter names in registry
...
configuration as values. I would really like to check whether
the valuename is a valid parameter name (with lp_parameter_is_valid)
here, but unfortunately, regedit cereates new values as
"New Value #1 " (and so on) first, before dropping into the
rename box. So this is impossible here.
Michael
(This used to be commit 10014833da
)
2007-10-10 12:23:44 -05:00
Michael Adam
f26abd78b1
r23666: Rename lp_parameter_valid -> lp_parameter_is_valid.
...
Michael
(This used to be commit 7f85cff49d
)
2007-10-10 12:23:44 -05:00
Volker Lendecke
4ed5f70eed
r23665: Remove two unneeded global variables
...
(This used to be commit 51a3933b3d
)
2007-10-10 12:23:43 -05:00
Jeremy Allison
ffe11a657f
r23664: Fix incorrect index - should be j not i. How did we ever
...
live without valgrind :-).
Jeremy.
(This used to be commit 9b231149c7
)
2007-10-10 12:23:43 -05:00
Jeremy Allison
07d2a3a893
r23663: Fix bug #4308 - Excel save operation corrupts file ACLs.
...
You don't want to know what I discovered about Windows
ACLs to make this work :-(. See :
http://www.codeproject.com/win32/accessctrl2.asp
Search for "Q. How does Inheritance come into this?"
for details.
Jeremy.
(This used to be commit e1d3a80d2b
)
2007-10-10 12:23:43 -05:00
Volker Lendecke
ef8706acd1
r23662: According to simo, check_dos_char is needed
...
(This used to be commit c195eccefe
)
2007-10-10 12:23:43 -05:00
Volker Lendecke
f9df7787e6
r23661: Another static pstring
...
(This used to be commit d4256ae558
)
2007-10-10 12:23:43 -05:00
Volker Lendecke
971b640e0c
r23660: Anybody know what check_dos_char() was used for? It wasn't called at
...
all, so it's gone. With it 8k bss went away.
(This used to be commit 7e9a4c39a5
)
2007-10-10 12:23:43 -05:00
Volker Lendecke
8689b1ce99
r23659: file_pload is not used outside of util_file.c
...
(This used to be commit 3ec43e18a4
)
2007-10-10 12:23:42 -05:00
Volker Lendecke
3d3035bcfe
r23658: One pstring a day....
...
This one was particularly tasty, it was a static one. So 1k less
footprint per process.
(This used to be commit 83865e3288
)
2007-10-10 12:23:42 -05:00
Michael Adam
e388130aa6
r23657: Prevent setting of a global option in a share definition
...
in "net conf setparm".
Michael
(This used to be commit bf92d56798
)
2007-10-10 12:23:42 -05:00
Michael Adam
2073303664
r23656: Add initial checking of the validity of a paramter
...
given to "net conf setparm". Add a utility function
lp_parameter_valid() for this to loadparm.c.
Michael
(This used to be commit 639051e58d
)
2007-10-10 12:23:42 -05:00
Michael Adam
96c4bf4a1c
r23655: Fix a comment and adjust some code formatting.
...
Michael
(This used to be commit b294bc707c
)
2007-10-10 12:23:42 -05:00
Günther Deschner
8ead92f06d
r23654: Remove misleading inline comment.
...
Guenther
(This used to be commit a3441c22b3
)
2007-10-10 12:23:42 -05:00
Michael Adam
3163aff376
r23652: Use the recursive delete function instead of the original one
...
when deleting a share. Just to be sure...
Michael
(This used to be commit 91770e153d
)
2007-10-10 12:23:41 -05:00
Günther Deschner
110e420196
r23651: Always, always, always compile before commit...
...
Guenther
(This used to be commit accb40446a
)
2007-10-10 12:23:41 -05:00
Günther Deschner
3b1956f9d2
r23650: Fix remaining callers of krb5_kt_default().
...
Guenther
(This used to be commit b9d7a2962a
)
2007-10-10 12:23:41 -05:00
Günther Deschner
a248672932
r23649: Fix the build (by moving smb_krb5_open_keytab() to clikrb5.c).
...
Guenther
(This used to be commit 19020d19dc
)
2007-10-10 12:23:41 -05:00
Günther Deschner
a2618aa8d5
r23648: Allow to list a custom krb5 keytab file with:
...
net ads keytab list /path/to/krb5.keytab
Guenther
(This used to be commit a2befee3f2
)
2007-10-10 12:23:41 -05:00
Günther Deschner
6fff735da0
r23647: Use smb_krb5_open_keytab() in smbd as well.
...
Guenther
(This used to be commit d22c0d291e
)
2007-10-10 12:23:41 -05:00
Günther Deschner
df63172ad9
r23646: Generalize our internal keytab handling to support a broader range of default
...
keytabnames (like "ANY:FILE:/etc/krb5.keytab,krb4:/etc/srvtab"). This also
fixes keytab support with Heimdal (which supports the WRFILE pragma as well
now).
Guenther
(This used to be commit 7ca002f4cc
)
2007-10-10 12:23:40 -05:00
Michael Adam
72f468088f
r23641: Put check for forbidden values in smbconf into a function.
...
(This will be used in a next step to prevent storing these
values in reg_smbconf.c.)
Michael
(This used to be commit 00be68a841
)
2007-10-10 12:23:40 -05:00
Jeremy Allison
a49b2ea9c8
r23640: When we support the SeSecurity privilage, this is where
...
we'll check it.
Jeremy.
(This used to be commit 1b73bf79f4
)
2007-10-10 12:23:40 -05:00
Michael Adam
839d4647a9
r23639: Eliminate trailing whitespaces in the new tdb_validate functions...
...
Michael
(This used to be commit d4accdbb52
)
2007-10-10 12:23:39 -05:00
Gerald Carter
255b807802
r23633: Fix a couple of crash bugs pointed out by Volker caused by an old
...
change from a pstring to a char* and still trying use pstrcpy().
(This used to be commit 21dc46a2ba
)
2007-10-10 12:23:39 -05:00
Gerald Carter
e10258ff05
r23632: Correctly return the new_group list pointer from expand_groups
...
or else getgrnam() always acts like 'winbind expand groups = 1'
(This used to be commit 04ae193ec4
)
2007-10-10 12:23:38 -05:00
Günther Deschner
39607c9129
r23630: Found out what LSA_LOOKUP_NAMES level 5 means:
...
only query transitive forest trusts.
Guenther
(This used to be commit e744efa1ee
)
2007-10-10 12:23:38 -05:00
Günther Deschner
6024286ee7
r23628: Add LSA lookupnames_level to rpcclient.
...
Guenther
(This used to be commit dee99e4045
)
2007-10-10 12:23:38 -05:00
Günther Deschner
7eb828135b
r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
...
Guenther
(This used to be commit e9a7512a9f
)
2007-10-10 12:23:38 -05:00
Günther Deschner
d4a2898943
r23625: Reformating WBFLAGs, just a cosmetic change.
...
Guenther
(This used to be commit 555ae4a19b
)
2007-10-10 12:23:38 -05:00
Günther Deschner
f09115f85c
r23624: Merge dos error code from samba4 (returned from dfs_Enum against w2k3 as soon
...
as a one DFS_VOLUME_FLAVOR_AD_BLOB dfsroot exists).
Guenther
(This used to be commit 837b0a14c4
)
2007-10-10 12:23:37 -05:00
Günther Deschner
6eb18630f7
r23623: Fix rpcclient and rpc_server with new DFS idl.
...
Guenther
(This used to be commit bffe33dd26
)
2007-10-10 12:23:37 -05:00
Günther Deschner
a458211702
r23622: regenerate dfs rpc gen_ndr.
...
Guenther
(This used to be commit 71b3259962
)
2007-10-10 12:23:37 -05:00
Günther Deschner
4010f9847a
r23621: Merge samba4 dfs rpc idl.
...
Guenther
(This used to be commit bb43d56e92
)
2007-10-10 12:23:37 -05:00
Jeremy Allison
a0ac7a7f4c
r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chown
...
return to correctly return NT_STATUS_INVALID_OWNER if it
should be disallowed. Matches better what W2K3R3 does.
NFSv4 ACL module owners, please examine these changes.
Jeremy.
(This used to be commit fc6899a550
)
2007-10-10 12:23:37 -05:00
Gerald Carter
a500b34feb
r23619: Fix compile warning in fill_grent_mem() caused by mismatched counter size.
...
(This used to be commit 05520d6b0a
)
2007-10-10 12:23:37 -05:00