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

22532 Commits

Author SHA1 Message Date
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
Volker Lendecke
78fcf93d88 r23596: Add notes about smbfs/cifs to usage() in smb[u]mount
(This used to be commit 4896b4ee55)
2007-10-10 12:23:34 -05:00
Volker Lendecke
32d2250184 r23595: One pstring a day...
(This used to be commit 669eff902a)
2007-10-10 12:23:34 -05:00
Volker Lendecke
9f7bb48dd3 r23594: Fix parsing of local pids if cluster support is compiled in but no
cluster is used
(This used to be commit 6beaa87da9)
2007-10-10 12:23:34 -05:00
Michael Adam
a12d9fb6b3 r23593: Mention "net conf" in top level net usage.
Michael
(This used to be commit ae7e3c9708)
2007-10-10 12:23:34 -05:00
Michael Adam
e8f99045c4 r23592: Change a debuglevel to not clutter output when calling
net as a non-root user, e.g.

Michael
(This used to be commit bbbfd7f41a)
2007-10-10 12:23:34 -05:00
Jeremy Allison
d1d2157153 r23591: Fix bug #4725. Don't crash when no eventlogs specified. Needs
merging for 3.0.25b.
Jeremy.
(This used to be commit ae239fec6f)
2007-10-10 12:23:33 -05:00
Jeremy Allison
ed961d66b2 r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.
Jeremy.
(This used to be commit d7b39e4534)
2007-10-10 12:23:33 -05:00
Jeremy Allison
08a9de8927 r23589: Ensure we will always release any timeout handler
on fsp close or removal of oplock. Mulitple removals
are safe.
Jeremy.
(This used to be commit 6de0970704)
2007-10-10 12:23:33 -05:00
Günther Deschner
32a3c30627 r23588: Some more cleanups and error checks in the krb5 renew function.
Guenther
(This used to be commit 277e07c855)
2007-10-10 12:23:33 -05:00
Günther Deschner
679727b8df r23587: Cleanup redundant code in the krb5 renew function.
Guenther
(This used to be commit 0b9acc8610)
2007-10-10 12:23:33 -05:00
Günther Deschner
33c7b666ad r23586: Fix heimdal path in the krb5 renew routine when we need to compose the tgt
string ourselves.

Guenther
(This used to be commit 1e4a7af993)
2007-10-10 12:23:33 -05:00
Michael Adam
cc4f37f928 r23585: Add a "drop" function to "net conf" that clears the
whole configuration stored in registry.

Michael
(This used to be commit 6d8973762e)
2007-10-10 12:23:32 -05:00
Michael Adam
3618a07708 r23584: Use a while loop instead of a for loop without increment... :-)
Michael
(This used to be commit fb4ade3b4d)
2007-10-10 12:23:32 -05:00
Michael Adam
394291281a r23583: Add a utility function to recursively delete a Registry
key with all its subkeys. (reg_deletekey will refuse to
delete a key with subkeys with WERR_ACCESS_DENIED).

Michael
(This used to be commit 41c3ff6e27)
2007-10-10 12:23:32 -05:00
Günther Deschner
c66831e04b r23582: Fix event based krb5 ticket refreshing in winbindd.
We were incorrectly using the renew_till timestamp instead of the renewed
ticket's endtime to calculate the next refreshing date.

Guenther
(This used to be commit aa3511a5b5)
2007-10-10 12:23:32 -05:00
Michael Adam
7fd8a16d23 r23581: Move regkey_open_onelevel from reg_frontend to reg_api,
where it actually belongs, and make it static.

Michael
(This used to be commit aa702e53a7)
2007-10-10 12:23:32 -05:00
Michael Adam
de81984b5e r23579: Up to now, the "allparameters" argument to lp_next_parameter was
not effective for the global section (snum < 0). This checkin
makes it effective for the global section, too.

This does not produce changes in the results of the present calls of
lp_next_parameter: Beside the new use in utils/net_conf.c (which is
hereby fixed), the only calls of lp_next_parameter are in web/swat.c,
where it is effectively always called with allparameters == 1.

Michael
(This used to be commit 56f82485ec)
2007-10-10 12:23:32 -05:00
Michael Adam
f7de0933f3 r23578: When calling DeleteKey for a key that has subkey(s), Windows
returns WERR_ACCESS_DENIED. This adapts reg_deletekey to behave
the same way.

Michael
(This used to be commit 0c9cb69b45)
2007-10-10 12:23:32 -05:00
Jeremy Allison
f1d263eb62 r23577: Fix winbindd (sorry). Ensure I set the new child_pid
variable at the correct point just before the write
call is scheduled.
Jeremy.
(This used to be commit e076dc1646)
2007-10-10 12:23:31 -05:00