1
0
mirror of https://github.com/samba-team/samba.git synced 2025-04-29 14:50:26 +03:00

1603 Commits

Author SHA1 Message Date
Kai Blin
9f1eb8ab8e s4 dns: Test QCLASS_NONE query
Autobuild-User: Kai Blin <kai@samba.org>
Autobuild-Date: Thu Nov 24 14:10:45 CET 2011 on sn-devel-104
2011-11-24 14:10:44 +01:00
Kai Blin
8685a35e9c s4 dns: Test QTYPE_ALL query 2011-11-24 12:35:08 +01:00
Kai Blin
16d9ebb396 s4 dns: Check more of the returned values for the A query 2011-11-24 12:35:08 +01:00
Kai Blin
1a599da550 s4 dns: Move dns_transaction_udp to other helper functions 2011-11-24 12:35:08 +01:00
Amitay Isaacs
cd3f552f4f s3-py-passdb: Fix handling of uninitialized gid values
Uninitialized gid value is set to -1 and return as such from python
passdb api.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Fri Nov 18 06:18:33 CET 2011 on sn-devel-104
2011-11-18 06:18:33 +01:00
Amitay Isaacs
d0e9f22654 s3-passdb_test: Policy values are converted to signed integer
No need to check value for 0xffffffff (4294967295).
2011-11-18 14:38:28 +11:00
Amitay Isaacs
244ecc844d s4-s3-upgrade: Add --verbose option to print extra details 2011-11-18 14:38:28 +11:00
Amitay Isaacs
e6c77f523b s4-s3-upgrade: Fix idmap types ID_TYPE_UID/ID_TYPE_GID instead of UID/GID 2011-11-18 14:38:28 +11:00
Amitay Isaacs
6a2a2dfa5f samba-tool: Fix the domain account policy max_pwd_age calculation
Windows sets maxPwdAge to -0x8000000000000000 when maximum password
age is set to 0 days.
2011-11-18 14:38:27 +11:00
Amitay Isaacs
c48a2aa438 s4-s3-upgrade: Fix the minimum and maximum password age calculation
Windows sets maxPwdAge to -0x8000000000000000 when maximum password age
is set to 0 days.
2011-11-18 14:38:27 +11:00
Andrew Bartlett
e80dbdcab1 s4-s3-upgrade now look for -1 as the special 'not set' value
this is possible because we know the py_passdb will always set -1
here, not passing though 0xFFFFFFFF.

Andrew Bartlett
2011-11-18 14:38:27 +11:00
Kai Blin
e5ebda4156 s4 dns: Add a first test case 2011-11-17 15:25:58 +01:00
Jelmer Vernooij
f7c8af7599 samba.tests.dsdb: Import TestCase from samba.tests.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Nov 17 08:36:17 CET 2011 on sn-devel-104
2011-11-17 08:36:17 +01:00
Jelmer Vernooij
1214e5f23d samba.tests: Make sure testtools is available before importing it. 2011-11-17 07:02:15 +01:00
Andrew Bartlett
29cd8ae6fd s4-provision permit server role to be the ROLE_ strings from s3
Also convert between the aliases in one single place.

Andrew Bartlett

Pair-Programmed-With: Amitay Isaacs <amitay@samba.org>
2011-11-17 00:34:09 +01:00
Amitay Isaacs
8507adb8d0 provision: Set the security descriptor while creating partitions
With Matthieu's patch, the setting of security descriptor on
partition dn at create time works correctly.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Nov 16 08:54:25 CET 2011 on sn-devel-104
2011-11-16 08:54:25 +01:00
Amitay Isaacs
80113755c4 s3-s4-upgrade: do not add description if it is empty string or none
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Nov 16 05:53:41 CET 2011 on sn-devel-104
2011-11-16 05:53:41 +01:00
Matthias Dieter Wallnöfer
0e5f8634fc s4:join.py - fix typo 2011-11-15 21:01:36 +01:00
Stefan Metzmacher
e6a9e1dda9 s4:dsdb/pydsdb: pass down schema_dn to _dsdb_set_schema_from_ldif()
metze
2011-11-15 09:46:26 +01:00
Stefan Metzmacher
18eba021e7 s4:python/samba/schema: pass down the schema_dn to set_from_ldif()
metze
2011-11-15 09:46:26 +01:00
Giampaolo Lauria
2611003258 samba-tool: Don't set UF_PASSWD_NOTREQD flag on "user disable"
Signed-off-by: Amitay Isaacs <amitay@gmail.com>

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Nov 15 02:51:16 CET 2011 on sn-devel-104
2011-11-15 02:51:15 +01:00
Giampaolo Lauria
f057cb4f84 samba-tool: Remove "domain machinepassword" command
As per Andrew Bartlett's comment:
"we should remove it.  This was originally a script to support some
interactions between samba3 and samba4, when they were in distinct build
systems.  We now can call between the two systems without difficulty at
runtime, so this command has no value."

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
2011-11-15 11:12:07 +11:00
Jelmer Vernooij
312fd94002 waf: Don't link python modules against libpython2.x, consistent with other Python modules.
Rather, rely just on waf's pyext feature. This fixes a warning from dh_python2.
2011-11-13 18:06:06 +01:00
Jelmer Vernooij
c529c12c7d upgrade: use logger.warning. 2011-11-13 18:06:06 +01:00
Matthieu Patou
576ea40ece samba-tool: allow dbcheck to correct the originating_change_time of the deleted object container
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Nov 13 15:47:53 CET 2011 on sn-devel-104
2011-11-13 15:47:53 +01:00
Matthieu Patou
a6686b9f98 samba-tool: dbcheck avoid problems with deleted objects
We have to search for deleted objects as well as the previous search
might have been done with the show_deleted control. If not samba-tool
fails with no such DN error while fetching the object.
2011-11-13 14:10:05 +01:00
Theresa Halloran
7d84805ac0 s4: samba-tool time --help documentation improvements
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com>

Signed-off-by: Andrew Tridgell <tridge@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Nov 10 06:04:22 CET 2011 on sn-devel-104
2011-11-10 06:04:22 +01:00
Theresa Halloran
4ea6225c58 s4: samba-tool group --help documentation improvements
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com>

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:38 +11:00
Andrew Tridgell
862823a776 samba-tool: print samaccountname in samba-tool user list
this is the attribute the admin needs for other commands

Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
1cef3212a1 samba-tool: Added new "user disable" command 2011-11-10 14:24:21 +11:00
Giampaolo Lauria
34ff5d29e6 samba-tool: Added "user list" command 2011-11-10 14:24:21 +11:00
Giampaolo Lauria
da21ff82a5 samba-tool: Change internal argument name in domain machinepassword 2011-11-10 14:24:21 +11:00
Giampaolo Lauria
53fc437d05 samba-tool: Fix domain machinepassword secret db search
pair programmed with Jelmer Vernooij
Add search to include secrets.ldb
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
ec5afae292 samba-tool: Fix domain machinepassword name search
Append '$' to name provided by user to search for a machine account
when necessary
2011-11-10 14:24:21 +11:00
Andrew Tridgell
46723aa2da s4-test: improved error checking in samba-tool time test
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Sean Dague
a818253960 test: add samba-tool user tests
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00
Sean Dague
a66eae9a6d test: Add samba-tool time tests
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00
Sean Dague
559835dc59 test: add directory and base class for samba-tool tests
this allows for more sophisticated testing of samba-tool

Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00
Matthias Dieter Wallnöfer
f4a07f0b81 s4:join.py - fix up "DsAddEntry" against Windows Server 2000
It is important to consider the result level regarding error
information. Windows 2000 seems to send us back v2, all other
implementations v3. Consider post "Joining W2k AD domain"

Reviewed-by: abartlet

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Nov  9 23:37:08 CET 2011 on sn-devel-104
2011-11-09 23:37:08 +01:00
Amitay Isaacs
0c2f91c6b2 s4-provision: Create ldap records for DNS partitions similar to windows
this allows easy comparison between windows and samba ldap trees

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Nov  9 08:27:46 CET 2011 on sn-devel-104
2011-11-09 08:27:46 +01:00
Amitay Isaacs
a807c83641 s4-provision: Set security descriptor for DNS records 2011-11-09 16:49:08 +11:00
Matthias Dieter Wallnöfer
099d687d1a s4:samba-tool user command - always initialise the boolean arguments properly
It they haven't been specified.

Reviewed-by: Jelmer

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Nov  8 22:28:38 CET 2011 on sn-devel-104
2011-11-08 22:28:38 +01:00
Matthias Dieter Wallnöfer
a53bc0a91b s4:samba-tool - other fix for Gémes Géza patch regarding parameter handling
The condition has not been specified correctly since we are expecting a boolean.
Pointed out by Jelmer.

Reviewed-by: Jelmer
2011-11-08 20:53:08 +01:00
Amitay Isaacs
7dbd2ec757 s4-provision: site is passed as an argument to setup_ad_dns()
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Nov  8 06:07:46 CET 2011 on sn-devel-104
2011-11-08 06:07:46 +01:00
Andrew Bartlett
696a70c9fa s4-provision Remove options for LDAP backend to reduce user confusion
We do not support the LDAP backend any more, but keep the code in case someone
comes up with an interesting use case that could leverage this in a very
particular situation.  In order to keep the code, we must test it, so
we keep just this much of the support around.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Nov  8 04:33:49 CET 2011 on sn-devel-104
2011-11-08 04:33:49 +01:00
Andrew Bartlett
d61d28bccc s4-s3-upgrade Add my copyright 2011-11-08 02:58:06 +01:00
Amitay Isaacs
5104abd573 s4-dnsserver: Test forward zones are not listed in reverse zone search
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Nov  8 01:26:43 CET 2011 on sn-devel-104
2011-11-08 01:26:43 +01:00
Matthias Dieter Wallnöfer
ce8b5d520b s4:samba-tool - fix Gémes Géza patch regarding parameter handling
The new "random-password" parameter has not been evaluated correctly.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Mon Nov  7 19:35:05 CET 2011 on sn-devel-104
2011-11-07 19:35:05 +01:00
Gémes Géza
1d9ff23f8e Add a --random-password option to user create command.
Signed-Off-By: Jelmer Vernooij <jelmer@samba.org>
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2011-11-07 17:27:34 +01:00
Theresa Halloran
384eaba38e s4: samba-tool user --help documenation improvements
Signed-off-by: Theresa Halloran <thallora@linux.vnet.ibm.com>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Mon Nov  7 01:39:25 CET 2011 on sn-devel-104
2011-11-07 01:39:24 +01:00