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

22652 Commits

Author SHA1 Message Date
Michael Adam
10014833da 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
2007-10-10 12:23:44 -05:00
Michael Adam
7f85cff49d r23666: Rename lp_parameter_valid -> lp_parameter_is_valid.
Michael
2007-10-10 12:23:44 -05:00
Volker Lendecke
51a3933b3d r23665: Remove two unneeded global variables 2007-10-10 12:23:43 -05:00
Jeremy Allison
9b231149c7 r23664: Fix incorrect index - should be j not i. How did we ever
live without valgrind :-).
Jeremy.
2007-10-10 12:23:43 -05:00
Jeremy Allison
e1d3a80d2b 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.
2007-10-10 12:23:43 -05:00
Volker Lendecke
c195eccefe r23662: According to simo, check_dos_char is needed 2007-10-10 12:23:43 -05:00
Volker Lendecke
d4256ae558 r23661: Another static pstring 2007-10-10 12:23:43 -05:00
Volker Lendecke
7e9a4c39a5 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.
2007-10-10 12:23:43 -05:00
Volker Lendecke
3ec43e18a4 r23659: file_pload is not used outside of util_file.c 2007-10-10 12:23:42 -05:00
Volker Lendecke
83865e3288 r23658: One pstring a day....
This one was particularly tasty, it was a static one. So 1k less
footprint per process.
2007-10-10 12:23:42 -05:00
Michael Adam
bf92d56798 r23657: Prevent setting of a global option in a share definition
in "net conf setparm".

Michael
2007-10-10 12:23:42 -05:00
Michael Adam
639051e58d 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
2007-10-10 12:23:42 -05:00
Michael Adam
b294bc707c r23655: Fix a comment and adjust some code formatting.
Michael
2007-10-10 12:23:42 -05:00
Günther Deschner
a3441c22b3 r23654: Remove misleading inline comment.
Guenther
2007-10-10 12:23:42 -05:00
Michael Adam
91770e153d r23652: Use the recursive delete function instead of the original one
when deleting a share. Just to be sure...

Michael
2007-10-10 12:23:41 -05:00
Günther Deschner
accb40446a r23651: Always, always, always compile before commit...
Guenther
2007-10-10 12:23:41 -05:00
Günther Deschner
b9d7a2962a r23650: Fix remaining callers of krb5_kt_default().
Guenther
2007-10-10 12:23:41 -05:00
Günther Deschner
19020d19dc r23649: Fix the build (by moving smb_krb5_open_keytab() to clikrb5.c).
Guenther
2007-10-10 12:23:41 -05:00
Günther Deschner
a2befee3f2 r23648: Allow to list a custom krb5 keytab file with:
net ads keytab list /path/to/krb5.keytab

Guenther
2007-10-10 12:23:41 -05:00
Günther Deschner
d22c0d291e r23647: Use smb_krb5_open_keytab() in smbd as well.
Guenther
2007-10-10 12:23:41 -05:00
Günther Deschner
7ca002f4cc 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
2007-10-10 12:23:40 -05:00
Gerald Carter
c955151bb3 r23645: add examples and try to answer some common questions in the coding style guide 2007-10-10 12:23:40 -05:00
Michael Adam
00be68a841 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
2007-10-10 12:23:40 -05:00
Jeremy Allison
1b73bf79f4 r23640: When we support the SeSecurity privilage, this is where
we'll check it.
Jeremy.
2007-10-10 12:23:40 -05:00
Michael Adam
d4accdbb52 r23639: Eliminate trailing whitespaces in the new tdb_validate functions...
Michael
2007-10-10 12:23:39 -05:00
Gerald Carter
ff1c2fdc08 r23636: Adding coding style guide for Samba 3.0 branches (no differences from Tridge's prog_guide.txt so we should have a similar style throughout the project) 2007-10-10 12:23:39 -05:00
Gerald Carter
21dc46a2ba 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().
2007-10-10 12:23:39 -05:00
Gerald Carter
04ae193ec4 r23632: Correctly return the new_group list pointer from expand_groups
or else getgrnam() always  acts like 'winbind expand groups = 1'
2007-10-10 12:23:38 -05:00
Günther Deschner
e744efa1ee r23630: Found out what LSA_LOOKUP_NAMES level 5 means:
only query transitive forest trusts.

Guenther
2007-10-10 12:23:38 -05:00
Günther Deschner
dee99e4045 r23628: Add LSA lookupnames_level to rpcclient.
Guenther
2007-10-10 12:23:38 -05:00
Günther Deschner
e9a7512a9f r23627: Allow to pass down the lookup-level to rpccli_lsa_lookup_names().
Guenther
2007-10-10 12:23:38 -05:00
Günther Deschner
555ae4a19b r23625: Reformating WBFLAGs, just a cosmetic change.
Guenther
2007-10-10 12:23:38 -05:00
Günther Deschner
837b0a14c4 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
2007-10-10 12:23:37 -05:00
Günther Deschner
bffe33dd26 r23623: Fix rpcclient and rpc_server with new DFS idl.
Guenther
2007-10-10 12:23:37 -05:00
Günther Deschner
71b3259962 r23622: regenerate dfs rpc gen_ndr.
Guenther
2007-10-10 12:23:37 -05:00
Günther Deschner
bb43d56e92 r23621: Merge samba4 dfs rpc idl.
Guenther
2007-10-10 12:23:37 -05:00
Jeremy Allison
fc6899a550 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.
2007-10-10 12:23:37 -05:00
Gerald Carter
05520d6b0a r23619: Fix compile warning in fill_grent_mem() caused by mismatched counter size. 2007-10-10 12:23:37 -05:00
Jim McDonough
afabd68b6a r23616: Fix bugzilla #4719: must change password is not set from usrmgr.exe.
This was only affecting the newer versions of usrmgr.exe, because they
use a user_info_25 struct.  The password is getting set separately
inside that code, so the password last set time was getting set from the
password change logic.

We also were not parsing a number of fields (like logon hours) from the
user_info_25.  That should also be fixed.
2007-10-10 12:23:36 -05:00
Volker Lendecke
56a32f217a r23612: Revert 'net idmap dump' to the 3.0.24 behaviour. 2007-10-10 12:23:36 -05:00
James Peach
8ee76e4384 r23611: Fix typo in error message. 2007-10-10 12:23:36 -05:00
Michael Adam
062d8c6129 r23610: Move some winbindd_cache specific flags and actions
back to winbindd_cache.c. The generic mechanism
should open the cache tdb readonly and with default
flags.

Michael
2007-10-10 12:23:36 -05:00
Günther Deschner
eb1ec508ac r23609: Removing more redundant codepaths out of smb_krb5_renew_ticket().
Thanks Volker for the pointer hint :)

Guenther
2007-10-10 12:23:36 -05:00
Günther Deschner
90c810674d r23608: Just inline comment cosmetics.
Guenther
2007-10-10 12:23:36 -05:00
Günther Deschner
11b390309b r23607: Add legacy support for Services for Unix (SFU) 2.0.
Guenther
2007-10-10 12:23:35 -05:00
Kai Blin
6566e24c13 r23606: Merge Samba4 mkversion.sh to Samba3. 2007-10-10 12:23:35 -05:00
Gerald Carter
5e0f8b114b r23601: BUG 4579: Don't mark the SAM domain on a Samba DC as an internal domain or else all network connections from the local winbindd will fail 2007-10-10 12:23:35 -05:00
Michael Adam
527edfa0cb r23600: First step in abstracting the winbindd cache validation
code into a generic tdb validation code.
In lib/util_tdb.c for a start.

Michael
2007-10-10 12:23:35 -05:00
Gerald Carter
bc422ab5f1 r23599: Add new version of indent script copied from the the Linux
kernel tree.
2007-10-10 12:23:35 -05:00
Gerald Carter
58a68daef0 r23598: Add script for running indent and remove .indent.pro file 2007-10-10 12:23:35 -05:00