summaryrefslogtreecommitdiffstats
path: root/source/param/loadparm.c
Commit message (Collapse)AuthorAgeFilesLines
* *****LDAP schema changes*****Gerald Carter2003-05-141-1/+1
| | | | | | | | | | | | New objectclass named sambaSamAccount which uses attribute prefaced with the phrase 'samba' to prevent future name clashes. Change in functionality of the 'ldap filter' parameter. This always defaults to "(uid=%u)" now and is and'd with the approriate objectclass depending on whether you are using ldapsam_compat or ldapsam conversion script for migrating from sambaAccount to sambaSamAccount will come next.
* And finally IDMAP in 3_0Simo Sorce2003-05-121-35/+54
| | | | | | | | | | | | | | | | | | | | We really need idmap_ldap to have a good solution with ldapsam, porting it from the prvious code is beeing made, the code is really simple to do so I am confident it is not a problem to commit this code in. Not committing it would have been worst. I really would have been able to finish also the group code, maybe we can put it into a followin release after 3.0.0 even if it may be an upgrade problem. The code has been tested and seem to work right, more testing is needed for corner cases. Currently winbind pdc (working only for users and not for groups) is disabled as I was not able to make a complete group code replacement that works somewhat in a week (I have a complete patch, but there are bugs) Simo.
* Add NT quota support. Patch from Stefan (metze) MetzemacherAlexander Bokovoy2003-05-121-0/+6
| | | | | | | 1. Allows to change quota settings for shared mount points from Win2K and WinXP from Explorer properties tab 2. Disabled by default and when requested, will be probed and enabled only on Linux where it works 3. Was tested for approx. two weeks now on Linux by two independent QA teams, have not found any bugs so far Documentation to follow
* Fix VFS layer:Alexander Bokovoy2003-05-111-13/+6
| | | | | | | | | 1. Finally work with cascaded modules with private data storage per module 2. Convert VFS API to macro calls to simplify cascading 3. Add quota support to VFS layer (prepare to NT quota support) Patch by Stefan (metze) Metzemacher, with review of Jelmer and me Tested in past few weeks. Documentation to new VFS API for third-party developers to follow
* removing total print jobs since it is not used anymoreGerald Carter2003-05-091-2/+0
|
* Now that multi-pdu schannel works and a but in the negotiator has beenVolker Lendecke2003-05-021-2/+2
| | | | | | | fixed I would like to see this tested a bit more. Default the schannel stuff to auto which means 'offer, but do not enforce'. Volker
* removing printing = SOFTQ since no one knows what it isGerald Carter2003-04-291-12/+0
|
* A new pdb_ldap!Andrew Bartlett2003-04-281-40/+2
| | | | | | | | | | | | | | | | | | | | | | This patch removes 'non unix account range' (same as idra's change in HEAD), and uses the winbind uid range instead. More importanly, this patch changes the LDAP schema to use 'ntSid' instead of 'rid' as the primary attribute. This makes it in common with the group mapping code, and should allow it to be used closely with a future idmap_ldap. Existing installations can use the existing functionality by using the ldapsam_compat backend, and users who compile with --with-ldapsam will get this by default. More importantly, this patch adds a 'sambaDomain' object to our schema - which contains 2 'next rid' attributes, the domain name and the domain sid. Yes, there are *2* next rid attributes. The problem is that we don't 'own' the entire RID space - we can only allocate RIDs that could be 'algorithmic' RIDs. Therefore, we use the fact that UIDs in 'winbind uid' range will be mapped by IDMAP, not the algorithm. Andrew Bartlett
* Patch from Stephan Metzmacher to add default arguments to lp_parm() smb.confJelmer Vernooij2003-04-241-88/+362
| | | | parameters. Does not break binary compatibility with older modules.
* Updated FLAGs - Affects only SWAT.John Terpstra2003-04-231-7/+8
|
* Merge the 'safe' parts of my StrnCpy patch - many of the users really wantedAndrew Bartlett2003-04-231-2/+5
| | | | | | | | | | | | a pstrcpy/fstrcpy or at most a safe_strcpy(). These have the advantage of being compiler-verifiable. Get these out of the way, along with a rewrite of 'get_short_archi' in the spoolss client and server. (This pushes around const string pointers, rather than copied strings). Andrew Bartlett
* Merge HEAD's winbind into 3.0.Andrew Bartlett2003-04-231-0/+5
| | | | | | | | This includes the 'SIDs Rule' patch, mimir's trusted domains cacheing code, the winbind_idmap abstraction (not idmap proper, but the stuff that held up the winbind LDAP backend in HEAD). Andrew Bartlett
* Try to keep existing behaviour for our printing code - never returnAndrew Bartlett2003-04-231-17/+6
| | | | | | | | | global_myname(), always either the name the client called us, or if they didn't call us anything useful, our IP address. Jerry, can you check this? Andrew Bartlett
* Merge from HEAD - save the type of channel used to contact the DC.Andrew Bartlett2003-04-211-0/+1
| | | | | | | | | | | This allows us to join as a BDC, without appearing on the network as one until we have the database replicated, and the admin changes the configuration. This also change the SID retreval order from secrets.tdb, so we no longer require a 'net rpc getsid' - the sid fetch during the domain join is sufficient. Also minor fixes to 'net'. Andrew Bartlett
* 'vfs object' is a list not a string (we have cascaded VFS modules in 3_0 asJelmer Vernooij2003-04-181-20/+3
| | | | well now)
* Remove SamBackend variable (is already gone in HEAD)Jelmer Vernooij2003-04-171-1/+0
|
* Add some more functions for the modules (backport from HEAD):Jelmer Vernooij2003-04-141-0/+4
| | | | | - init_modules() - smb_probe_module()
* Set the default schannel parameters to False until we know more.Volker Lendecke2003-04-111-2/+2
| | | | Volker
* This is the netlogon schannel client code. Try aVolker Lendecke2003-04-091-0/+4
| | | | | | | | | rpcclient -S pdc -U% -c "samlogon user password" and it should work with the schannel. Needs testing against platforms different from NT4SP6. Volker
* Merge the TNG netlogon schannel from HEAD.Volker Lendecke2003-04-061-0/+4
| | | | | | | | No more XP requiresignorseal anymore! Thanks again to Luke :-) Volker
* 3 things:Volker Lendecke2003-03-311-1/+0
| | | | | | | | | | | * Remove 'ldap del only sam attr' after asking Lars Mueller from SuSE first. It is replaced by 'ldap delete dn' * Fix a typo in docs. * Document 'set primary group script'. Volker
* Merge from HEAD:Volker Lendecke2003-03-231-4/+5
| | | | | | | | | This adds 'ldap delete dn' as the recommended parameter for the 'ldap del only sam attr' functionality. So we are compatiple to the current SuSE patches as well as to TNG... ;-) Volker
* (merge from HEAD) Valgrind found some memory leaks!Andrew Bartlett2003-03-221-0/+1
|
* (merge from HEAD)Andrew Bartlett2003-03-221-0/+3
| | | | | | | | | | | | | | | Small clenaup patches: - safe_string.h - don't assume that __FUNCTION__ is available - process.c - use new workaround from safe_string.h for the same - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc() - gencache.c - Keep valgrind quiet by always null terminating. - clistr.c - Add copyright - srvstr.h - move srvstr_push into a .c file again, as a real function. - srvstr.c - revive, with 'safe' checked srvstr_push - loadparm.c - set a default for the display charset. - connection.c - use safe_strcpy() Andrew Bartlett
* Thanks to volker, merge passdb changes from HEAD:Andrew Bartlett2003-03-221-2/+2
| | | | | | | | | - pdb_guest (including change defaults) - 'default' passdb actions (instead of 'not implemented' stubs in each module) - net_rpc_samsync no longer assumes pdb_unix Andrew Bartlett
* Merge from HEAD.Volker Lendecke2003-03-191-0/+4
| | | | Volker
* const warning fix.Jeremy Allison2003-03-181-1/+2
| | | | Jeremy.
* fixed a strcat noticed by metzeAndrew Tridgell2003-03-121-1/+1
|
* Added limit to number of jobs enumerated. Set to 0 (means no limit).Jeremy Allison2003-03-011-0/+4
| | | | | Yes I will add the docs.... Jeremy.
* Merge paramaters for client-side-auth updates.Andrew Bartlett2003-02-241-0/+11
|
* Merge from HEAD client-side authentication changes:Andrew Bartlett2003-02-241-1/+5
| | | | | | | | | | - new kerberos code, allowing the account to change it's own password without special SD settings required - NTLMSSP client code, now seperated from cliconnect.c - NTLMv2 client code - SMB signing fixes Andrew Bartlett
* Added "passwd backend" to WIZARD section in SWAT.John Terpstra2003-01-291-1/+1
|
* Merge from HEAD - patch by metze to fill in 'workgroup' etc in testparm output,Andrew Bartlett2003-01-141-9/+32
| | | | | | and probably SWAT too.. Andrew Bartlett
* Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett2003-01-031-53/+53
| | | | | | warnings. (Adds a lot of const). Andrew Bartlett
* Add msdfs proxy functionality; a CIFS share can directly be a stand-in forShirish Kalele2002-12-271-0/+4
| | | | | another share, and when clients connect to the first share, they will be redirected to the proxied share.
* Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2002-12-201-1/+1
| | | | | named. Ensure we can query them. Jeremy.
* Merge from HEAD. lp_winbind_separator() is now a const string.Tim Potter2002-12-201-1/+1
|
* Added "kernel change notify" boolean to allow easier valgrind testing.Jeremy Allison2002-12-121-0/+4
| | | | Jeremy.
* Restrict anonymous=2 support merged from HEADAndrew Bartlett2002-11-221-1/+3
|
* Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2002-11-121-316/+220
| | | | | | dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy.
* remove 'sam backend'Jelmer Vernooij2002-11-041-3/+0
|
* Merge of my 'ldap trust ids' patch from HEAD.Andrew Bartlett2002-11-021-0/+3
| | | | | | | | | This hopefully provides a peformance boost by not hitting getpwnam() for every entry in an enumeration, instead reteriving entries directly (if available). idra has reviewed this patch. Andrew Bartlett
* Merge passdb from HEAD -> 3.0Andrew Bartlett2002-11-021-0/+2
| | | | | | | | | | | | | | | | | The work here includes: - metze' set/changed patch, which avoids making changes to ldap on unmodified attributes. - volker's group mapping in passdb patch - volker's samsync stuff - volkers SAMR changes. - mezte's connection caching patch - my recent changes (fix magic root check, ldap ssl) Andrew Bartlett
* First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.Jeremy Allison2002-10-231-1/+20
| | | | | | | This is not 100% the same as what SuSE shipped in their Samba, there is a crash bug fix, a race condition fix, and a few logic changes I'd like to discuss with Andreas. Added Andreas to (C) notices for posix_acls.c Jeremy.
* Merge mangle prefix code.Jeremy Allison2002-10-211-1/+5
| | | | Jeremy.
* removed the following parametersGerald Carter2002-10-211-19/+0
| | | | | | | | | * postscript * printer driver * printer driver location * printer driver file also removed the get_a_printer_driver_9x_compatible() function
* Change default of max_xmit to match W2K. Ensure NT negprot uses it.Jeremy Allison2002-10-151-1/+3
| | | | Jeremy.
* removed stat() call in lp_add_home()Gerald Carter2002-10-091-7/+0
|
* Turn on sendfile detection by default in HEAD and 3.0.Jeremy Allison2002-10-051-8/+0
| | | | Jeremy.
* Add a timeout to tdb_lock_bystring(). Ensure we never have more thanJeremy Allison2002-10-041-1/+13
| | | | | MAX_PRINT_JOBS in a queue. Jeremy.