Günther Deschner
3b1956f9d2
r23650: Fix remaining callers of krb5_kt_default().
...
Guenther
(This used to be commit b9d7a2962a472afb0c6b8e3ac5c2c819d4af2b39)
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 19020d19dca7f34be92c8c2ec49ae7dbde60f8c1)
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 a2befee3f240543ea02ea99cebad886b54ae64eb)
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 d22c0d291e1b4a1412164d257310bbbb99de6500)
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 7ca002f4cc9ec4139c0c48952ebf05f89b5795ef)
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 c955151bb384c3edba3f2f17f1ebb7029b61d36c)
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 00be68a8416405e12a27186506f9eb15bca055b3)
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 1b73bf79f4f8a2bc408d52a1ce9df47f33fb3a87)
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 d4accdbb5285216d532f57f545a846734a2fe774)
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 ff1c2fdc08f6198bad1bf9f5bae8dc6bc5fb534a)
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 21dc46a2bad6fee720f0f591e1051aa7675c77c8)
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 04ae193ec44c0ecefa64ca44ad0cdb5968087319)
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 e744efa1ee33fb150132f0b7f46ee1711681afc6)
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 dee99e40454b00da70343047c57e0cb0f2c489bd)
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 e9a7512a9f630340004913f1379452eea8a9b6ae)
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 555ae4a19b35b0672033798e00e3d1e153d2a9b3)
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 837b0a14c430faa4e4cada03a1efe2823a7b2e2e)
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 bffe33dd261fdcf9ef8f9f232c15559661843c7c)
2007-10-10 12:23:37 -05:00
Günther Deschner
a458211702
r23622: regenerate dfs rpc gen_ndr.
...
Guenther
(This used to be commit 71b3259962004c278ca2e859d5460ad47c2468d6)
2007-10-10 12:23:37 -05:00
Günther Deschner
4010f9847a
r23621: Merge samba4 dfs rpc idl.
...
Guenther
(This used to be commit bb43d56e92f4ea08fbf2ae4fa90570a101efd4e2)
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 fc6899a5506b272f8cd5f5837ca13300b4e69a5f)
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 05520d6b0a86c1cd5abbf6252c4a32629cdf8619)
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 afabd68b6ae874aceba708dc36808ed007ad496c)
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 56a32f217a183f956ad1c57a62d61a43646aa391)
2007-10-10 12:23:36 -05:00
James Peach
d30d4383c2
r23611: Fix typo in error message.
...
(This used to be commit 8ee76e43843c56869b23f58615635f986c162d01)
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 062d8c61294a1e9f8588fa8af31954dd286c7bde)
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 eb1ec508ace3a5eeb53cf47be44047bd9228cd19)
2007-10-10 12:23:36 -05:00
Günther Deschner
2afb72337a
r23608: Just inline comment cosmetics.
...
Guenther
(This used to be commit 90c810674dff17b2d08d49cb8d945a86204598a6)
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 11b390309b9677805e5b68f3a1b780658ae85137)
2007-10-10 12:23:35 -05:00
Kai Blin
97746f8db0
r23606: Merge Samba4 mkversion.sh to Samba3.
...
(This used to be commit 6566e24c13aaf974b756c230d4890357e7adf73d)
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 5e0f8b114b964d08cfb22a7452c617b8512545dc)
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 527edfa0cbcb233218ebabc395666d1d7228ee37)
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 bc422ab5f152c3d7ff730a2e0a80ad3a196a797a)
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 58a68daef0e4b34606c63670982e95298804a99b)
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 3fc0bd3e540652742f5bdd7afa88d80b893e50cd)
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 4896b4ee55b3c8213754ebe6a8edafd82a40c014)
2007-10-10 12:23:34 -05:00
Volker Lendecke
32d2250184
r23595: One pstring a day...
...
(This used to be commit 669eff902a20f3023360918ede6672d37b1f7d44)
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 6beaa87da938f2a530939714b732fa769a28a008)
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 ae7e3c9708a16fe70acf609d9a9370a9e3f2ab37)
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 bbbfd7f41ab85f269d115f19601729f16079b552)
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 ae239fec6faa79018c818506b391b829ccd685f8)
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 d7b39e4534d85c84e8b24668ab7d7a93d5647c23)
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 6de0970704b3eff2b71e6bf499c6dda45d4d5e2d)
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 277e07c8553e2ed20bc95493cdc996be43feb6bd)
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 0b9acc8610ae2ba9c42168e9ceb2e9ea8bc2f5bd)
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 1e4a7af99303fb17ebca499ff7e0a017a2017754)
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 6d8973762ef2773ec64ed790f900253120e00d38)
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 fb4ade3b4d203eead7798b8d98938cff2abb9c29)
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 41c3ff6e277601a9c7ac29009fd89ff9c961ca46)
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 aa3511a5b5e6a96a02110a7ad0ab1d43e6d25766)
2007-10-10 12:23:32 -05:00