summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* librpc: add python bindings for the netlogon pipeAndrew Tridgell2010-08-221-0/+6
| | | | Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* pyldb: do type checking on the list form of ldb addAndrew Tridgell2010-08-221-0/+6
| | | | Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* pidl: give the varible name for bad type in python callsAndrew Tridgell2010-08-221-1/+1
| | | | | This makes it much clearer which argument to a function had the wrong type
* pidl: cope with bad type conversions in unionsAndrew Tridgell2010-08-221-1/+9
| | | | | | This prevents a crash when converting bad types in NDR unions Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* pidl: added a __ndr_print__() method on python NDR objectsAndrew Tridgell2010-08-221-0/+13
| | | | | | This allows you to print a returned NDR structure using s.__ndr_print__() which gives an easy view of complex structures, such as those from netlogon
* s3: Fix netgrent configure checks for compilers not supporting ↵Kai Blin2010-08-211-1/+3
| | | | | | -Werror-implicit-function-declaration This should fix bug 7620.
* s3: Fix bug 7635Volker Lendecke2010-08-211-2/+4
|
* Fix bug 7627 - smbclient ignores "-I" when used with "-L", fails name ↵Jeremy Allison2010-08-201-2/+3
| | | | | | | | | resolution. Still needs some more work to fix missing netbios name issues, but fixes underlying issue of IP address being ignored. Jeremy.
* Fix const warning.Jeremy Allison2010-08-202-2/+2
|
* s4-ndr_basic.c: Fix ndr_*_hyper() when [bigendian] data is processedKamen Mazdrashki2010-08-211-0/+6
|
* s4-drsuapi: Implement custom printing for drsuapi protocol forKamen Mazdrashki2010-08-212-1/+108
| | | | | | drsuapi_DsReplicaAttribute and drsuapi_DsAttributeValueCtr objects This makes tracing what data has been transferred much easier
* s3: Use sconn->client_id in session_claimVolker Lendecke2010-08-201-10/+2
|
* s3:librpc: make dcerpc_read_ncacn_packet_send/recv() availableStefan Metzmacher2010-08-201-0/+9
| | | | metze
* librpc/rpc: move dcerpc_read_ncacn_packet_send/recv() to dcerpc_util.cStefan Metzmacher2010-08-203-174/+187
| | | | metze
* s3:Makefile.in: use python with -u to disable stdin/out cachingStefan Metzmacher2010-08-201-1/+1
| | | | metze
* s3:winbindd: fix error handling in wb_next_grent_fetch_done()Stefan Metzmacher2010-08-201-1/+9
| | | | | | We should not use 'result' uninitialized. metze
* Remove place-holders when it is single domainZahari Zahariev2010-08-201-18/+32
| | | | | | | | | | | This patch changes the behavior of LDAPCmp in a single domain scenario. No place-holders will be applied during comparison so replication will be fully tested and even the silightest difference will pop up. There is a second smaller fix when we compre hosts in different domains. This fix disables ${SERVERNAME} paace-holder when there are more then one serevr (domain controller) in the given domain.
* s4-dsdb: the RODC_JOIN control also changes samAccountNameAndrew Tridgell2010-08-201-9/+13
| | | | | | | when adding a user with the RODC_JOIN control, the samAccountName is automatically set to the krbtgt_NNNNN form Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-pysamdb: fixed get_domain_sid()Andrew Tridgell2010-08-201-1/+1
| | | | | | we need to actually return the SID! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: added support for rodc_control in ldbAndrew Tridgell2010-08-201-0/+27
| | | | | | | this allows you to specify the RODC join control in python ldb calls or on the command line Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: fixed the error code for EXOP_REPL_SECRET getncchanges callsAndrew Tridgell2010-08-201-10/+8
| | | | | | | | when we deny a EXOP_REPL_SECRET call we should set the exop error code to NONE, and the main return code to WERR_DS_DRA_ACCESS_DENIED (based on observing windows server behaviour) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: bring us much closer to the docs for DRS secret replicationAndrew Tridgell2010-08-201-9/+241
| | | | | | | | | | | | | | | The rules for when a RODC can replicate secrets are: - it can always replicate its own acct - it can also replicate its krbtgt acct - it can't replicate other krbtgt accts - it can't replicate interdomain trust accounts - it can't replicate users in the denied group list - it can replicate users in the allowed group list otherwise it can't replicate Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: fixed dsdb_get_extended_dn_sid()Andrew Tridgell2010-08-201-1/+1
| | | | | | it should honor the component_name Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* idl: added the RODC allow/deny secrets RIDsAndrew Tridgell2010-08-201-0/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: implement RODC attribute filtering overrideAndrew Tridgell2010-08-202-39/+79
| | | | | | | | When a RODC uses extended getncchanges operation DRSUAPI_EXOP_REPL_SECRET it gets an override on the ability to replicate the secret attributes. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: added sam_ctx_system on DRS bind stateAndrew Tridgell2010-08-202-0/+20
| | | | | | | | The getncchanges call needs to be able to access the sam as the system user for RODC clients. To do this it needs a sam_ctx connection with system credentials Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3:loadparm: make lp_load_ex static. We have wrappers for external callers.Michael Adam2010-08-202-14/+7
|
* s3-libsmbclient Convert dos error codes to NTstatus in async libsmbclient.Jim McDonough2010-08-192-8/+2
| | | | | | | | | DOS error codes were being lost with the conversion to async libsmbclient. If we're passing around NTSTATUS internally, let's just convert it when we get it. DOS ACCESS_DENIED on nautilus was not prompting for other credentials, because it was not being mapped.
* s3-ads: Fix wrong test in if statementSimo Sorce2010-08-192-1/+3
|
* s3-waf: fix the build.Günther Deschner2010-08-191-1/+1
| | | | Guenther
* s3-ldapsam: add samba.ldif LDAP schema.Günther Deschner2010-08-191-0/+185
| | | | | | | | This one is suiteable for cn=config setups and should be added via ldapadd. Thanks to Sumit Bose <sbose@redhat.com> for providing it. Guenther
* s3-cli: fix uninitialized variable.Günther Deschner2010-08-191-1/+1
| | | | | | Volker, please check. Guenther
* s3-idmap: fix uninitialized variable in idmap_tdb_sids_to_unixids_action().Günther Deschner2010-08-191-1/+1
| | | | | | Michael, please check. Guenther
* s4 provision: POLICY_ACL is already an FS acl no need to translate itMatthieu Patou2010-08-191-2/+1
|
* s4 provision: Add some documentation to GPO related functionsMatthieu Patou2010-08-192-15/+58
|
* unit tests: debug to ease locating pb, remove dir if exists to avoid errorMatthieu Patou2010-08-191-2/+8
|
* s4 upgradeprovision: exit with a non null return code so that it can be ↵Matthieu Patou2010-08-191-0/+1
| | | | trapped in blackbox tests
* s4 upgradeprovision: add more attrbutes the ignore listMatthieu Patou2010-08-192-5/+20
| | | | Also format in a pretty way the int64 ranges
* s4 upgradeprovision: Deal with bootstrap indexing attribute to avoid useless ↵Matthieu Patou2010-08-191-13/+65
| | | | reindexing
* s4 upgradeprovision: Add a function for schema reloadingMatthieu Patou2010-08-191-1/+31
| | | | | | Full schema reloading is needed when we modify exisiting elements that have attributes that comes from not from the default schema (ie. openchange schema, user schema ..)
* s4 upgradeprovision: upgrade_delta_samdb return a msg_diff of @ATTRIBUTESMatthieu Patou2010-08-191-9/+14
| | | | | This is used by upgradeprovision to readd this delta just before loading a merged schema
* s4 upgradeprovision: Fixes for increment_keyversionMatthieu Patou2010-08-193-3/+22
| | | | fix
* s4 upgradeprovision: fix a typo and pass correct parameter to ↵Matthieu Patou2010-08-192-4/+5
| | | | increment_calculated_keyversion
* s3-libsmb: fix some uninitialized variables.Günther Deschner2010-08-191-2/+2
| | | | | | Volker, please check. Guenther
* -ENOTSUP translates to NT_STATUS_NOT_SUPPORTEDSurbhi Palande2010-08-191-1/+3
| | | | | | | | | | https://launchpad.net/bugs/276472 This patch adds the translation of Unix Error code -ENOTSUP to NT Error Code NT_STATUS_NOT_SUPPORTED. The absense of this translation wrongly sends back to the client a STATUS_DENIED message in samba3. Signed-off-by: Surbhi Palande <surbhi.palande@canonical.com>
* s3: Remove smb_pam_accountcheck from the auth modulesVolker Lendecke2010-08-193-32/+4
| | | | | We go through the same check in auth/auth.c line 287 after the module has done its job. So we don't have to do that check twice.
* s4-drs: ATTIDs for deleted attributes should be based on msDs-IntId value if ↵Kamen Mazdrashki2010-08-192-3/+4
| | | | it exists
* s4-test: make better error message for ATTID checksKamen Mazdrashki2010-08-191-4/+20
|
* s4-test: Change attribute syntax and value for readabilityKamen Mazdrashki2010-08-191-3/+3
| | | | | When it comes to read logs and dumping data received Octet String syntax comes in handy
* s4-test: Enable drs.rpc.msdsintid test case - it should be passing nowKamen Mazdrashki2010-08-191-1/+0
|