summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4-drs: Function for accessing dsdb_load_partition_usn from PythonFernando J V da Silva2010-02-151-0/+50
| | | | | | | Returns both uSNHighest and uSNUrgent as a dict object in Python from a given partition dn. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drs: Fixes bugs regarding Urgent Replication on wrong situationsFernando J V da Silva2010-02-151-7/+16
| | | | | | | | | | | | It fixes the bug which causes an urgent replication to be enabled incorrectly when an object is modified, but it should happen only when it was created. This patch also fixes the bug that enable an urgent replication when an object is deleted, but it should happen only when it was modified and fixes the bug that does not enable an urgent replication when an object is deleted and it should happen only when it is deleted (not when it is modified). Signed-off-by: Andrew Tridgell <tridge@samba.org>
* spoolss: disable GetPrinterDriver level 101 (as called by XP).Günther Deschner2010-02-151-2/+6
| | | | | | | We still dont get the marshalling right, disable and XP will just fall back to level 6. Guenther
* s4-smbtorture: add some security descriptor tests to RPC-SPOOLSS and ↵Günther Deschner2010-02-151-0/+241
| | | | | | RPC-SPOOLSS-PRINTER. Guenther
* s4:provision.c - "provsion_store_self_join" - don't set the realm if it's NULLMatthias Dieter Wallnöfer2010-02-151-2/+4
| | | | | | The realm can be NULL when this function is called by "libnet_Join_primary_domain". This seems to be a valid value since "libnet_JoinDomain" is allowed to return an empty realm if we are not in a ADS domain.
* s4-drs: replace manual checks with dsdb_modify_permissive()Andrew Tridgell2010-02-151-32/+1
| | | | | Much simpler to use the permissive control instead of manually munging the SPN list.
* s4-drs: use a permissive modify in addentryAndrew Tridgell2010-02-151-1/+1
| | | | It is not an error if entries already exist.
* s4-dsdb: added dsdb_modify_permissive()Andrew Tridgell2010-02-151-0/+36
| | | | This will be used in the drsuapi server
* s3: eventlogadm.c: add -s option to use alternative config file.Holger Hetterich2010-02-152-4/+28
| | | | Update the manpage accordingly.
* s3: Fix initgroups return checkPeter Watkins2010-02-141-1/+1
| | | | | A return code of 1 from initgroups() is OK since apparently it means the gid has already been set. The man page doesn't mention this.
* s4:dcesrv_lsa.c - remove a superfluous empty lineMatthias Dieter Wallnöfer2010-02-141-1/+0
| | | | One empty line is enough for code part divisions.
* s4-rpcserver: teach the rpc server to cope with bad sig_size estimatesAndrew Tridgell2010-02-141-18/+14
|
* a4-dcerpc: another attempt at dcerpc auth paddingAndrew Tridgell2010-02-146-15/+35
| | | | The last change broke net vampire against w2k8r2
* util: update three other copies of our dlinklist.h macrosAndrew Tridgell2010-02-141-48/+115
| | | | | ldb and tevent have their own copies of these macros. This brings them in sync with the master copy of dlinklist.h
* s3: last part of TYPESAFE_QSORT() conversionAndrew Tridgell2010-02-143-6/+5
| | | | convert smbcacls, sharesec and web/
* s3-smbd: convert lanman and notify code to TYPESAFE_QSORT()Andrew Tridgell2010-02-142-12/+4
|
* s3-rpc: convert wkssvc to use TYPESAFE_QSORT()Andrew Tridgell2010-02-141-10/+4
|
* s3-locking: convert brlock to TYPESAFE_QSORT()Andrew Tridgell2010-02-141-3/+2
|
* s3: convert registry and printing code to TYPESAFE_QSORT()Andrew Tridgell2010-02-143-8/+6
|
* s3-nmbd: note TODO item for qsortAndrew Tridgell2010-02-141-0/+2
| | | | This uses another char* cast hack. Left alone for now.
* s3-vfs: use TYPESAFE_QSORT() in s3 VFS modulesAndrew Tridgell2010-02-142-8/+6
|
* s3-lib: use TYPESAFE_QSORT() in remaining s3 library codeAndrew Tridgell2010-02-143-3/+6
| | | | | the sort_query_replies() in nmblib.c is a TODO. It uses a hack that treats a char* as a structure. I've left that one alone for now.
* s3-libsmb: use TYPESAFE_QSORT() in namequery codeAndrew Tridgell2010-02-141-14/+12
| | | | | This one was a bit trickier. I'd appreciate it if someone else can look over this.
* s3-lib: use TYPESAFE_QSORT() in s3 interfaces codeAndrew Tridgell2010-02-141-1/+1
|
* lib: use TYPESAFE_QSORT() in lib/ and libcli/Andrew Tridgell2010-02-142-6/+6
|
* s3-includes: enable TYPESAFE_QSORT() in s3Andrew Tridgell2010-02-141-0/+1
|
* s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb codeAndrew Tridgell2010-02-146-12/+23
|
* s4:loadparm.c - prevent memory leaksMatthias Dieter Wallnöfer2010-02-131-0/+3
| | | | | If a "logfile" was already set, free the content up before setting a new location. This can happen on a loadparm reload.
* s4:loadparm.c - the logfile parameter value needs to be duplicatedMatthias Dieter Wallnöfer2010-02-131-1/+1
| | | | | Otherwise the "logfile" pointer tracks all changes of "pszParmValue" which content is only temporal. This was the cause of bug #6212.
* s4:popt_common.c - fix intendationMatthias Dieter Wallnöfer2010-02-131-1/+1
|
* s4:util.c - Corrected the location of the "Directory Service" objectMatthias Dieter Wallnöfer2010-02-131-1/+1
| | | | | I wonder why nobody noticed this since for sure this "tombstone" functionality was broken till now.
* s4:server.c - use always "return" instead of "exit" in the ↵Matthias Dieter Wallnöfer2010-02-131-4/+4
| | | | | | "binary_smbd_main" function Just to be consistent - no functional change
* libwbclient: Fix s4 build failure by fixing up includes.Kai Blin2010-02-136-3/+4
| | | | Sorry about this, folks.
* s3: Fix Coverity ID 629: DEADCODEVolker Lendecke2010-02-131-3/+0
| | | | We have already returned if (argc < 1) above
* s3: Fix bug 5198 -- parse chfn(1)-change gecos fieldVolker Lendecke2010-02-131-1/+34
|
* s3: Fix typo found by jhell <jhell@DataIX.net>Volker Lendecke2010-02-131-2/+2
|
* libwbclient: Separate out the async functionsKai Blin2010-02-1311-1769/+2078
|
* s3: Remove unused comparison fn from "struct sorted_tree"Volker Lendecke2010-02-133-10/+4
|
* s3: Make adt_tree data definitions private to adt_tree.cVolker Lendecke2010-02-132-16/+15
|
* s3: SORTED_TREE -> struct sorted_treeVolker Lendecke2010-02-133-14/+16
|
* s3: TREE_NODE -> struct tree_nodeVolker Lendecke2010-02-132-17/+23
|
* s3: Fix some nonempty blank linesVolker Lendecke2010-02-131-69/+68
|
* use ZERO_STRUCTVolker Lendecke2010-02-131-1/+2
|
* Use ZERO_STRUCTPVolker Lendecke2010-02-131-1/+1
|
* s3: Fix a typoVolker Lendecke2010-02-131-1/+1
|
* s3: Fix a C++ warningVolker Lendecke2010-02-131-1/+1
|
* s4-smbd: fix crash in notify code on client terminationAndrew Tridgell2010-02-131-2/+2
| | | | | | | | We need to free the lp_ctx after we free the event context, otherwise the teardown code in the notify backend dies when it tries to use the iconv_convenience ptr Fixes bug 7053
* s4-rpc: be more careful about DCERPC auth paddingAndrew Tridgell2010-02-136-137/+107
| | | | | | Cope with a wider range of auth padding in dcerpc bind_ack and alter_context packets. We now use a helper function that calculates the right auth padding.
* s4: use LDB_TYPESAFE_QSORT() instead of ldb_qsort()Andrew Tridgell2010-02-136-16/+8
|
* s4-ldb: added LDB_TYPESAFE_QSORT()Andrew Tridgell2010-02-131-0/+18
| | | | Like TYPESAFE_QSORT() but for the ldb_qsort() function