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

22601 Commits

Author SHA1 Message Date
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
Gerald Carter
1eb031c8d6 r23645: add examples and try to answer some common questions in the coding style guide
(This used to be commit c955151bb3)
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
44b33a0411 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)
(This used to be commit ff1c2fdc08)
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
Jim McDonough
9c3db7adf3 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.
(This used to be commit afabd68b6a)
2007-10-10 12:23:36 -05:00
Volker Lendecke
5363779102 r23612: Revert 'net idmap dump' to the 3.0.24 behaviour.
(This used to be commit 56a32f217a)
2007-10-10 12:23:36 -05:00
James Peach
d30d4383c2 r23611: Fix typo in error message.
(This used to be commit 8ee76e4384)
2007-10-10 12:23:36 -05:00
Michael Adam
7c48598e86 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
(This used to be commit 062d8c6129)
2007-10-10 12:23:36 -05:00
Günther Deschner
75f6a458b5 r23609: Removing more redundant codepaths out of smb_krb5_renew_ticket().
Thanks Volker for the pointer hint :)

Guenther
(This used to be commit eb1ec508ac)
2007-10-10 12:23:36 -05:00
Günther Deschner
2afb72337a r23608: Just inline comment cosmetics.
Guenther
(This used to be commit 90c810674d)
2007-10-10 12:23:36 -05:00
Günther Deschner
47bd42ab1c r23607: Add legacy support for Services for Unix (SFU) 2.0.
Guenther
(This used to be commit 11b390309b)
2007-10-10 12:23:35 -05:00
Kai Blin
97746f8db0 r23606: Merge Samba4 mkversion.sh to Samba3.
(This used to be commit 6566e24c13)
2007-10-10 12:23:35 -05:00
Gerald Carter
e1319eb0e8 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
(This used to be commit 5e0f8b114b)
2007-10-10 12:23:35 -05:00
Michael Adam
133472ac66 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
(This used to be commit 527edfa0cb)
2007-10-10 12:23:35 -05:00
Gerald Carter
386267447b r23599: Add new version of indent script copied from the the Linux
kernel tree.
(This used to be commit bc422ab5f1)
2007-10-10 12:23:35 -05:00
Gerald Carter
29a976296c r23598: Add script for running indent and remove .indent.pro file
(This used to be commit 58a68daef0)
2007-10-10 12:23:35 -05:00
Gerald Carter
9f4876c586 r23597: add a few utility scripts for code formatting
(This used to be commit 3fc0bd3e54)
2007-10-10 12:23:34 -05:00