Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-26 | s3_upgrade: Set lock directory to correct directory | Amitay Isaacs | 2 | -1/+3 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | py-samba3-test: Set lock directory to the datadir | Amitay Isaacs | 1 | -0/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | testdata: Set netbios name in the samba3 configuation | Amitay Isaacs | 1 | -0/+1 | |
To correctly find the domain sid, passdb api uses netbios name to look up secrets database. If no nebios name is configured, passdb uses current hostname and adds entry for hostname in secrets and uses that instead of the intended one. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | s3_upgrade: Update commandline options and use updated samba3 python module | Amitay Isaacs | 3 | -166/+140 | |
upgrade_from_s3 script now requires samba3 configuration file and target directory for samba4 database. In addition, it either uses --libdir option or --testparm option to correctly guess the paths for samba3 databases (private dir and state directory). Usage: upgrade_from_s3 [options] <configuration_file> <targetdir> Input arguments are: <configuration_file> - path to existing smb.conf <targetdir> - directory in which samba4 database will be created In addition, specify either samba3 database directory (with --libdir) or samba3 testparm utility (with --testparm). Before using passdb interface, initialize s3 loadparm context using correct path settings for private dir and state directory. Export account policy from s3 to s4. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | py-samba3: Use passdb/param wrapper for samba3 module | Amitay Isaacs | 2 | -567/+117 | |
Instead of parsing samba3 database files (password, group mapping, account policy, secrets), use passdb python wrapper. Similarly for parsing configuration, use samba3 param python wrapper. Other databases (idmap, registry, wins) are still parsed in python. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | s3-passdb: Make domain_sid argument optional for search_aliases method | Amitay Isaacs | 1 | -5/+10 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | s3-passdb: Return assigned number of hours and not MAX_HOURS_LEN | Amitay Isaacs | 1 | -3/+4 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | s3-passdb: Convert lm_pw and nt_pw to python string using length | Amitay Isaacs | 1 | -2/+2 | |
lm_pw and nt_pw are fixed length strings and convert them to python strings as fixed length strings. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | script: Fix the name of the script in autogenerated header file | Amitay Isaacs | 1 | -1/+1 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | s4-param: Use s3 dump method if s3 context is defined | Amitay Isaacs | 1 | -0/+4 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | s3-param: Add a dump() method to output parameters | Amitay Isaacs | 2 | -0/+2 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | s3_upgrade: Let python generate backtrace for unknown exceptions | Amitay Isaacs | 1 | -15/+4 | |
Catch known exceptions only. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | s3_upgrade: Add document strings for python methods | Amitay Isaacs | 1 | -9/+23 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-26 | werror: remove duplicate definition of WERR_INVALID_OWNER | Michael Adam | 1 | -1/+0 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Aug 26 01:23:52 CEST 2011 on sn-devel-104 | |||||
2011-08-25 | s3:dbwrap_tdb: correctly catch the error from the return code of tdb_parse ↵ | Michael Adam | 1 | -1/+6 | |
in db_tdb_fetch() | |||||
2011-08-25 | s3:smbd: remove an unused variable in dptr_create() | Michael Adam | 1 | -1/+0 | |
2011-08-25 | s3:registry: fix the v2_to_v3 upgrade code so that it does not create value ↵ | Michael Adam | 1 | -0/+6 | |
list security records for the INFO/version key ... | |||||
2011-08-25 | s3:registry: fix the v1_to_v2 upgrade code so that it does not normalize the ↵ | Michael Adam | 1 | -0/+6 | |
INFO/version key ... | |||||
2011-08-25 | s3:registry: define a constant REGDB_VERSION_KEYNAME for the key ↵ | Michael Adam | 1 | -7/+6 | |
INFO/version (and use it) | |||||
2011-08-25 | s3:registry: hand db context in to v2_to_v3 upgrade code via private_data | Michael Adam | 1 | -4/+9 | |
This also fixes the earlier faulty handing in of a useless stackframe memory context via private_data. | |||||
2011-08-25 | s3:registry: fix broken use of dbwrap store record in v1_to_v2 upgrade code | Michael Adam | 1 | -8/+10 | |
This also fixes broken private_data parameter for the traverse function (making use of it): Originally a memory context was handed in but was not used. | |||||
2011-08-25 | s3: Fix the build of vfs_aixacl2.c | SATOH Fumiyasu | 1 | -0/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Aug 25 23:06:12 CEST 2011 on sn-devel-104 | |||||
2011-08-25 | s3: Remove a bogus comment | Volker Lendecke | 1 | -4/+0 | |
2011-08-25 | s3: Pass smbd_server_connection to (unused) server_encryption_shutdown | Volker Lendecke | 2 | -2/+2 | |
2011-08-25 | s3: Pass smbd_server_connection to srv_encrypt_buffer | Volker Lendecke | 3 | -3/+5 | |
2011-08-25 | s3: Pass smbd_server_connection to srv_decrypt_buffer | Volker Lendecke | 3 | -4/+3 | |
2011-08-25 | s3: Pass smbd_server_connection to srv_free_enc_buffer | Volker Lendecke | 3 | -4/+4 | |
2011-08-25 | s3: Pass smbd_server_connection to is_encrypted_packet | Volker Lendecke | 4 | -8/+11 | |
2011-08-25 | s3: Pass sconn to valid_smb_header | Volker Lendecke | 1 | -4/+5 | |
2011-08-25 | s3: Explicitly pass smb_srv_trans_enc_ctx to srv_enc_ctx | Volker Lendecke | 1 | -3/+3 | |
2011-08-25 | s3: Fix some nonempty blank lines | Volker Lendecke | 2 | -6/+6 | |
2011-08-25 | s3: Fix bug 8385 | Volker Lendecke | 1 | -26/+14 | |
Poll and select behave differently regarding error handling. When doing the connect(2), we can not rely on poll telling us both readability and writability upon error. Just always try a second connect(2). At least on Linux it returns 0 when it succeeded. Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Aug 25 19:39:12 CEST 2011 on sn-devel-104 | |||||
2011-08-25 | s3-waf: fix some unresolved symbols in idmap ad modules. | Günther Deschner | 1 | -0/+2 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Aug 25 15:15:57 CEST 2011 on sn-devel-104 | |||||
2011-08-25 | s3-registry: fix bug #8401 - registry/reg_format.c must include includes.h. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-08-25 | s4-dsdb: fixed use of RMD flags in ldb search in dirsync module | Andrew Tridgell | 1 | -2/+2 | |
I'm pretty sure a SHOW_DELETED was wanted here Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Aug 25 01:10:13 CEST 2011 on sn-devel-104 | |||||
2011-08-25 | s4-dns: fixed dns_update_list for multi-domain forests | Andrew Tridgell | 1 | -13/+28 | |
this should now match the DNS entries of w2k8r2c Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-08-25 | s4-dns: cope with duplicate entries in dns_update_list | Andrew Tridgell | 1 | -1/+5 | |
this is needed for when DNSFOREST and DNSDOMAIN are the same Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-08-25 | s4-dsdb: fixed newlines in DEBUG() calls in cracknames | Andrew Tridgell | 1 | -14/+14 | |
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-08-25 | s4-join: fixed DNS hostname | Andrew Tridgell | 1 | -1/+1 | |
we need the local hostname, not the remote name | |||||
2011-08-25 | s4-drs: fixed msdcs DNS name in getncchanges | Andrew Tridgell | 1 | -3/+2 | |
2011-08-25 | s4-libnet: fixed forest DNS name | Andrew Tridgell | 2 | -2/+3 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-25 | s4-acl: use dnsforest not dnsdomain for GC names | Andrew Tridgell | 1 | -3/+3 | |
2011-08-25 | s4-join: setup DNS forest name on join context | Andrew Tridgell | 1 | -4/+4 | |
2011-08-25 | s4-dns/spn: fixed DNS and SPN scripts to setup forest DNS name | Andrew Tridgell | 2 | -5/+6 | |
2011-08-25 | s4-samdb: added host_dns_name(), domain_dns_name() and forest_dns_name() | Andrew Tridgell | 1 | -0/+15 | |
these will make it easier to get python code right for multi-domain support | |||||
2011-08-25 | s4-repl: fixed _msdcs DNS name | Andrew Tridgell | 3 | -14/+14 | |
another multi-domain fix | |||||
2011-08-25 | s4-kcc: fixed _msdcs DNS name | Andrew Tridgell | 1 | -3/+1 | |
we need to base this DNS name on the forest DNS name for multi-domain support Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-08-25 | s4-dsdb: added samdb_ntds_msdcs_dns_name() | Andrew Tridgell | 1 | -2/+37 | |
this gets the DNS name for a NTDS GUID, based on the forest DNS name Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-08-25 | s4-dns: fixed DNS and SPN update lists for multi-domain support | Andrew Tridgell | 2 | -3/+3 | |
fixed DNS to point at forest root Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> | |||||
2011-08-25 | s4-provision: pass the rootDN into guess_names() | Andrew Tridgell | 1 | -2/+2 | |
this gets the correct forest DN during provision Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> |