summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-12s3:smbd: correctly invalidate vuids when SMB2 is usedStefan Metzmacher2-0/+5
metze
2009-08-12s3:lib: map ECONNRESET to NT_STATUS_CONNECTION_RESETStefan Metzmacher1-0/+3
metze
2009-08-12libreplace: undef AI_ADDRCONFIG on QNX 6.3.0 (fix bug #6630)Matt Kraai1-0/+14
Some of the functions in source3/lib/util_sock.c use AI_ADDRCONFIG. On QNX 6.3.0, this macro is defined but, if it's used, getaddrinfo will fail. This prevents smbd from opening any sockets. If I undefine AI_ADDRCONFIG on such systems and allow lib/replace/system/network.h to define it to be 0, this works around the issue. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-08-11s4:operational - Remove some outdated commentsMatthias Dieter Wallnöfer1-12/+0
2009-08-11ldb: Don't break the standalone LDB build (operational module removed)Matthias Dieter Wallnöfer1-2/+2
2009-08-11s4:test for "primaryGroupToken"Matthias Dieter Wallnöfer2-10/+81
Tests for the right behaviour of this introduced constructed attribute. Since we don't support the read-only-ness of those attributes yet, I commented some lines out. Also I had to add a function for python which converts domain SIDs in RIDs. And a small fix for the "groupType" test.
2009-08-11s4:samldb module - Remove duplicate lineMatthias Dieter Wallnöfer1-1/+0
2009-08-11s4:operational module - move and enhancementsMatthias Dieter Wallnöfer3-27/+59
This moves the "operational" LDB module to the right place under "dsdb/samdb/ldb_modules" (suggested by abartlet) and enhances it for supporting dynamic generated "primaryGroupToken" for AD groups. This should fix bug #6466.
2009-08-11s4:pwsettings script - Fix a small glitchMatthias Dieter Wallnöfer1-5/+10
This fixes the problem with the setting and getting of the "minPwdAge" and "maxPwdAge" attributes. I wanted to handle them in days but forgot to add conversions (from "ticks" (tenth of microsecond) -> "days" and backwards).
2009-08-11Rename ASN1_BITFIELD to ASN1_BIT_STRING.Kouhei Sutou2-2/+2
X.690 uses "BIT STRING" not "BIT FIELD".
2009-08-11torture/basic: in run_derefopen() the file could have been deleted before ↵Matthias Dieter Wallnöfer1-2/+6
the last unlink Through a suggestion pointed out in bug #6622 the test file sometimes doesn't exist on the last turn anymore. So we haven't to fail here since it could have been deleted by a concurrent process (e.g. when the same test runs multiple times). Therefore also NT_STATUS_OBJECT_NAME_NOT_FOUND is an acceptable result.
2009-08-11s4:AD LDIFs - More refactoringMatthias Dieter Wallnöfer4-221/+167
This commit includes: - Additional static object data in SAMBA 4's AD to start supporting of - forest updates, - lost and found, - quotas on DS, - physical locations, - licensing of sites, - subnets, - policies for WMI, - DNS entries in AD - Reordering of provision*.ldif files to be able to find entries and make future additions easier - Add comments in provision*.ldif files to point out where subentries are located when they are based in other LDIFs - Removations of autogenerated "cn" attributes
2009-08-12pidl: fix parse_idl test after idl.yp changesStefan Metzmacher1-28/+103
We now generate 'FILE' and 'LINE' elements for each layer. This change makes the expected PIDL trees human readable:-) metze
2009-08-12pidl: fix samba3-cli test after the async function were addedStefan Metzmacher1-2/+212
metze
2009-08-12try to give some hint as to what is causing NDR string errorsAndrew Tridgell1-8/+8
2009-08-12when we get an NDR error in the logs, it is useful to know where it happenedAndrew Tridgell2-6/+6
2009-08-12no need to shout about getting an oplockAndrew Tridgell1-1/+1
2009-08-12raise the debug level for a common messageAndrew Tridgell1-1/+1
when a client disconnects we expect this to happen, so don't print an error each time
2009-08-12Allow selection of the samba4 process model for 'make test'Andrew Tridgell1-1/+10
To choose the process model, set the environment variable SAMBA_PROCESS_MODEL to the desired model. This will allow us to enable the standard process model for some machines in the build farm without enabling it for all of them. I don't want to just enable it universally as I am concerned with total memory using during some of the tests.
2009-08-12print server log on stderr as well as to log fileAndrew Tridgell1-2/+5
I think we are missing some important messages from the server during 'make test' because we don't show the log file contents during runs. This patch uses tee to put the log messages to stderr so we can see any server messages associated with the test that caused them.
2009-08-12s4:provision Allow provision-backend to not run slapd for 'make test'Andrew Bartlett3-28/+33
As the version of OpenLDAP required for Samba4 is fairly new, we don't want to make it a requirement before this python code is run in 'make test'. As such, skip over the actual starting of slapd, but check the rest runs alright (which still validates syntax and other modules). Andrew Bartlett
2009-08-12s4:selftest Don't start the slapd for the provision, only for the runAndrew Bartlett1-17/+12
The provision-backend script now starts slapd for us Andrew Bartlett
2009-08-12s4:selftest Make OpenLDAP guess it's own modules from now onAndrew Bartlett1-46/+0
In the releases of OpenLDAP we require (2.4.17) it can guess this much itself, so no need for us to do it. Andrew Bartlett
2009-08-12s4:provision Make the --ol-slapd paramter take the full path to slapdAndrew Bartlett3-4/+3
2009-08-12s4:provision Assume the OpenLDAP backend can find it's own modulesAndrew Bartlett1-2/+0
2009-08-12s4:provision Rework and further automate setup of OpenLDAP backendOliver Liebel5-76/+382
heres the summary of all changes/extensions: - Andrew Bartlett's patch to generate indext - Howard Chu's idea to use nosync on the DB included, but made optional - slaptest-path is not needed any more (slapd -Ttest is used instead) and is therefore removed. slapd-path is now recommended when openldap-backend is chosen. its also used for olc-conversion - slapd-detection is now always done by ldapsearch (ldb module), looking anonymous for objectClass: OpenLDAProotDSE via our ldapi_uri. - if ldapsearch was not successfull, (no slapd listening on our socket) slapd is started via special generated slapdcommand_prov (ldapi_uri only) - slapd-"provision-process" startup is done via pythons subprocess. - the slapd-provision-pid is stored under paths.ldapdir/slapd_provision_pid. - after provision-backend is finished: --- slapd.pid is compared with our stored slapd_provision_pid. if the are unique, slapd.pid will be read out, and the slapd "provison"-process will be shut down. --- proper slapd-shutdown is verified again with ldb-search -> ldapi_uri -> rootDSE. --- if the pids are different or one of the pid-files is missing, slapd will not be shut down, instead an error message is displayed to locate slapd manually --- extended help-messages (relevant to slapd) are always displayed, e.g. the commandline with which slapd has to be started when everythings finished (slapd-commandline is stored under paths.ldapdir/slapd_command_file.txt)) - upgraded the content of the mini-howto (howto-ol-backend-s4.txt)
2009-08-12s3:smbcacls: forbid change of debug level from config fileMichael Adam1-0/+3
Michael
2009-08-12s3: refomat definitions of some generic access rights for better readabilityMichael Adam1-8/+19
Michael
2009-08-11selftest: configure "ncalrpc dir" for the clientStefan Metzmacher1-0/+7
Some torture tests will need this soon. metze
2009-08-11selftest: fix typo lock => lockdirStefan Metzmacher1-1/+1
metze
2009-08-11s3:winbindd: raise the timeout for lsa_Lookup*() calls from 10 to 35 seconds.Stefan Metzmacher2-0/+56
metze
2009-08-11s4:torture Add test for the NTP signd serverAndrew Bartlett5-1/+297
This is used by at patch to the NTP project to supply authenticated time as required by MS-SNTP. (ie, to keep windows clients in time sync in the domain) Andrew Bartlett
2009-08-11i18n: Update s3 net German translation.Kai Blin1-44/+4366
2009-08-11s3 net: i18n support for net utility functionsKai Blin2-27/+30
2009-08-11s3 net: i18n support for net usershareKai Blin2-91/+147
2009-08-11s3 net: i18n support for net userKai Blin2-16/+16
2009-08-11s3 net: i18n support for net timeKai Blin2-28/+30
2009-08-11s3 net: i18n support for net statusKai Blin2-33/+36
2009-08-11s3 net: i18n support for net shareKai Blin2-5/+5
2009-08-11s3 net: i18n support for net samKai Blin2-319/+350
2009-08-11s3 net: i18n support for net rpc shellKai Blin3-63/+64
2009-08-11s3 net: i18n support for net rpc serviceKai Blin2-103/+136
2009-08-11s3 net: i18n support for net rpc samsyncKai Blin2-24/+28
2009-08-10Ensure the fsp->fsp_name stat_ex struct is alwaysJeremy Allison1-0/+1
up to date after the open. Jeremy.
2009-08-10Refactor the use of create_time and change time to goJeremy Allison6-28/+74
through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy.
2009-08-10s3 net: i18n support for net rpc rightsKai Blin2-45/+53
2009-08-10s3 net: i18n support net rpc registryKai Blin2-91/+99
2009-08-10s3 net: i18n support for net rpc printerKai Blin2-81/+107
2009-08-10s3 net: i18n support for net rpc joinKai Blin2-15/+19
2009-08-10s3-spoolss: remove device mode defines from nt_printing.h.Günther Deschner2-122/+17
Guenther