1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-07 09:49:30 +03:00
Commit Graph

17257 Commits

Author SHA1 Message Date
75af83dfcd r4925: Migrate Account Policies to passdb (esp. replicating ldapsam).
Does automated migration from account_policy.tdb v1 and v2 and offers a
pdbedit-Migration interface. Jerry, please feel free to revert that if
you have other plans.

Guenther
2007-10-10 10:55:08 -05:00
033105376e r4921: Typo. 2007-10-10 10:55:07 -05:00
3d09c15d8f r4917: Merge some of Derrell.Lipman@UnwiredUniverse.com obvious fixes.
Added text explaining units in pdbedit time fields.
Jeremy.
2007-10-10 10:55:07 -05:00
6b38a3923c r4913: fixing 'perl requires' filters for RPM packaging on RedHat/Fedora 2007-10-10 10:55:07 -05:00
15fd4a05ec r4907: remove unreached code 2007-10-10 10:55:07 -05:00
a13e29b5f2 r4905: patch from abartlet to remove storing the auth-user credentials from the cli* in cm_prepare_connection(). using credentials from a domain other thanour primary domain will cause the schannel setup to fail 2007-10-10 10:55:07 -05:00
f65598b3b0 r4902: please note that cupsDoRequest() deletes the request* so don't call ippDelete(request) *ever* 2007-10-10 10:55:07 -05:00
5557e1409a r4882: Fix for #2255. Debug should have been 10 not 0.
Jeremy.
2007-10-10 10:55:07 -05:00
2afe2a16c9 r4881: Varient of Lar's patch for #2270. Jerry promises to test :-).
Jeremy.
2007-10-10 10:55:06 -05:00
79f54d1275 r4879: Fix rewinddir -> rewind_dir. Noticed by James Peach.
Jeremy
2007-10-10 10:55:06 -05:00
aecacf4d9c r4877: When vampiring account policy AP_LOCK_ACCOUNT_DURATION honour "Lockout
Duration: Forever".

Guenther
2007-10-10 10:55:06 -05:00
51b34bb536 r4875: Fix for bugid #221, inspired by Mrinal Kalakrishnan <mail@mrinal.net>.
NT sometimes send garbage bytes in NT security descriptor linearizations
when sending well-known sids. Cope with these.
Jeremy.
2007-10-10 10:55:06 -05:00
8971a85442 r4874: add DOmain Admins (Full Control) to the default printer sd if we are a DC 2007-10-10 10:55:06 -05:00
c646829e32 r4873: example delete printer script for use with cups 2007-10-10 10:55:06 -05:00
2e7a5608ac r4871: BUG 603: patch by Daniel Beschorner <db@unit-netz.de>. Correct access mask check for _samr_lookup_domain() to work with Windows RAS server 2007-10-10 10:55:05 -05:00
4d8e7c9ff0 r4870: Make multi-domain-mode in idmap_rid accessible from outside (can be
compiled with -DIDMAP_RID_SUPPORT_TRUSTED_DOMAINS) as requested by Lars
Mueller <lmuelle-at-suse.de>.

Allow to map ID's for a local SAM and add some more
debugging-information.

Guenther
2007-10-10 10:55:05 -05:00
30e808ca07 r4869: Display sam_user_info_7 in rpcclient.
Guenther
2007-10-10 10:55:05 -05:00
b2c8220931 r4868: Add "net rpc user RENAME"-command.
Note that Samba3 does not yet support it server-side.

Guenther
2007-10-10 10:55:05 -05:00
f745e5119f r4867: Removing smbldap-tools from the svn tree. I'll include
the latest version in the actual release tarballs.
Have spoken to the idealx developers about this.

Updated README to reflect the changte for people using svn.

Removed ldapsync.pl since it is no longer needed when using
the smbldap-tools (only keep things you support).
2007-10-10 10:55:03 -05:00
88572efdea r4866: Add createdomgroup to rpcclient (needed to generate huge amounts of
groups when 'net rpc group add' is just to slow).

Guenther
2007-10-10 10:54:00 -05:00
9fd5d633e6 r4864: Remove unused var.
Jeremy.
2007-10-10 10:54:00 -05:00
504ea4ac68 r4860: fix silly limitation in ldapsam and tdbsam. Expand variables in the profile path, logon home and logon script values 2007-10-10 10:54:00 -05:00
6409de1a1e r4856: after testing a simple add printer script, i realized that you still have to be root to send the message to all smbds that the config file has been updated 2007-10-10 10:54:00 -05:00
073592b7ad r4855: add some smb.conf script for add/delete/change share and addprinter hooks 2007-10-10 10:54:00 -05:00
9af83a7d70 r4852: merge simo changes to srv_srvsvc_nt.c from trunk
that allows the add/change share command to create the directory
passed in as an arguement and not require that it pre-exist.

Also finish testing of SeDiskOperatorPrivilege via srvmgr.exe
2007-10-10 10:53:59 -05:00
853a8b7f1c r4851: Preleminary fix for ldapsam_enum_group_memberships when
ldapsam:trusted=True. Don't bail out when ldap-search returns pure
posixgroups (w.o. samba group-mapping).

This way those unix-memberships do not appear in user and nt user token.
Volker, could you please look over that one?

Guenther
2007-10-10 10:53:59 -05:00
bc729f8fd8 r4850: Fix remaining pdb_setsampwent-calls.
To get all entries use a 0 acb_mask.

Guenther
2007-10-10 10:53:59 -05:00
d25fc84bc2 r4849: * finish SeAddUsers support in srv_samr_nt.c
* define some const SE_PRIV structure for use when
  you need a SE_PRIV* to a privilege
* fix an annoying compiler warngin in smbfilter.c
* translate SIDs to names in 'net rpc rights list accounts'
* fix a seg fault in cli_lsa_enum_account_rights caused by
  me forgetting the precedence of * vs. []
2007-10-10 10:53:59 -05:00
f1d59c3a26 r4848: fix build; gd please check and make sure this is ok 2007-10-10 10:53:59 -05:00
6394257cc7 r4847: Hand over a acb_mask to pdb_setsampwent in load_sampwd_entries().
This allows the ldap-backend to search much more effeciently. Machines
will be searched in the ldap_machine_suffix and users in the
ldap_users_suffix. (Note that we already use the ldap_group_suffix in
ldapsam_setsamgrent for quite some time).

Using the specific ldap-bases becomes notably important in large
domains: On my testmachine "net rpc trustdom list" has to search through
40k accounts just to list 3 interdomain-trust-accounts, similiar effects
show up the non-user query_dispinfo-calls, etc.

Also renamed all_machines to only_machines in load_sampwd_entries()
since that reflects better what is really meant.

Guenther
2007-10-10 10:53:59 -05:00
f77939c65c r4846: do not keep outdated files here.
the updated file is in the Release branch and in the official tarballs
2007-10-10 10:53:58 -05:00
7c88ecf6bb r4845: Correct my name.
Jerry this file seem old and not updated.
We should either update it or remove it imho.

Simo.
2007-10-10 10:53:58 -05:00
ced58bd884 r4840: * Add more generic root-dse inspection function to check for given
controls or extensions.
* Check and remember if ldapsam's LDAP Server support paged results
(in preparation of adding async paged-results to set|get|end-sampwent in
ldapsam).

Guenther
2007-10-10 10:53:57 -05:00
92851def70 r4839: Allow to set acb_mask in rpcclient's enumdomusers (for debugging).
Guenther
2007-10-10 10:53:57 -05:00
599c281464 r4830: Fix for problem noticed by Guy Harris <gharris@apple.com>, return
correct DOS/NT error code on transact named pipe on closed pipe
handle.
Jeremy.
2007-10-10 10:53:57 -05:00
002ece9319 r4827: add 'net rpc rights list accounts' & update help text 2007-10-10 10:53:57 -05:00
8ab8113d2e r4825: Printing changes
----------------

* bracket the add/delete/set printer scripts with checks for se_print_op
* slight change to the add/set printer script semantics.  smbd no longer
  relies on output from the script (on stdout) to re-read smb.conf
* remove SIGHUP from set/add/delete printin script code and now just
  use MSG_SMB_CONF_UPDATED

* bracket the add/delete/set share scripts with checks for se_print_op
  (this includes setting share ACLs)
2007-10-10 10:53:56 -05:00
d11339b7e3 r4824: wrap the shutdown and abort_shutdown calls in check for the SE_REMOTE_SHUTDOWN privilege 2007-10-10 10:53:56 -05:00
a1fb1cb019 r4823: remove -O1 from --with-developer 2007-10-10 10:53:56 -05:00
3f4f2c80fd r4822: fix return code when you ask for a non-privileged SID via one of the privileges RPC calls 2007-10-10 10:53:56 -05:00
bf4385c79a r4821: finish off 'net rpc rights [list|grant|revoke]'
one small todo item is to add a 'accounts' sub option
to 'net rpc list' so enumerate all privileged SIDs
and their associated rights.
2007-10-10 10:53:56 -05:00
164f94e529 r4820: add beginnings of 'net rpc rights' for managing privilege assignments 2007-10-10 10:53:55 -05:00
cf63519169 r4809: * include SeDiskOperatorPrivilege and SeRemoteShutdownPrivilege
(noty enfornced yet though)
* add 'enable privileges (off by default) to control whether or
  not any privuleges can be assigned to SIDs
2007-10-10 10:53:55 -05:00
41dc7f7573 r4805: Last planned change to the privileges infrastructure:
* rewrote the tdb layout of privilege records in account_pol.tdb
  (allow for 128 bits instead of 32 bit flags)
* migrated to using SE_PRIV structure instead of the PRIVILEGE_SET
  structure.  The latter is now used for parsing routines mainly.

Still need to incorporate some client support into 'net' so
for setting privileges.  And make use of the SeAddUserPrivilege
right.
2007-10-10 10:53:55 -05:00
ed38e60264 r4802: Don't try to update a column with the name "NULL" 2007-10-10 10:53:55 -05:00
760455875f r4788: Don't log mysql password at debug level 1. 2007-10-10 10:53:54 -05:00
a84e778caf r4760: Make wbinfo --user-sids expand domain local groups. Andrew B., my testing
shows that this info is correctly returned to us in to info3 struct, so
check_info3_in_group does not need to be adapted.

Volker
2007-10-10 10:53:54 -05:00
a24df21e66 r4751: This is a domain policy, not a user one 2007-10-10 10:53:54 -05:00
f2f08b64a5 r4750: Fix cli_samr_queryuseraliases. There can be more than one sid, thus more than
one pointer...

Volker
2007-10-10 10:53:54 -05:00
a8aab6de75 r4749: Fix memleak 2007-10-10 10:53:54 -05:00