summaryrefslogtreecommitdiffstats
path: root/source/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | reverted locale patch put in by jht (originally from vorlon).Andrew Tridgell2003-06-161-37/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are lots of things wrong with this patch, including: 1) it overrides a user chosen configuration option 2) it adds lots of complexity inside a loop when a tiny piece of code outside the loop would do the same thing 3) it does no error checking, and is sure to crash on some systems If you want this functionality then try something like this at the end of charset_name(): #ifdef HAVE_NL_LANGINFO if (strcasecmp(ret, "LOCALE") == 0) { const char *ln = nl_langinfo(CODESET); if (ln) { DEBUG(5,("Substituting charset '%s' for LOCALE\n", ln)); return ln; } } #endif then users can set 'display charset = LOCALE' to get the locale based charset. You could even make that the default for systems that have nl_langinfo().
* | Patch from vorlon@debian.org, see bugzilal #122John Terpstra2003-06-151-0/+37
| | | | | | | | | | Samba should preferentially use the locale information from the native system, and only fall back on 'display charset' if this is unavailable or unsupported.
* | Rename some uuid functions so as not to conflict with systemTim Potter2003-06-131-3/+3
| | | | | | | | versions. Fixes bug #154.
* | applied patch from bug#140Andrew Tridgell2003-06-091-1/+2
| | | | | | | | this fixes a timestamp problem with 64 bit machines
* | * break out more common code used between pdb_ldap and idmap_ldapGerald Carter2003-06-061-6/+93
| | | | | | | | | | | | | | | | | | | | * remove 'winbind uid' and 'winbind gid' parameters (replaced by current idmap parameter) * create the sambaUnixIdPool entries automatically in the 'ldap idmap suffix' * add new 'ldap idmap suffix' and 'ldap group suffix' parametrer * "idmap backend = ldap" now accepts 'ldap:ldap://server/' format (parameters are passed to idmap init() function
* | Fix for valgrind - when doing a srvstr_push we must zero fillJeremy Allison2003-06-061-0/+13
| | | | | | | | | | | | any extra bytes, not clobber region them - otherwise valgrind thinks they are invalid on send() or write(). Jeremy.
* | Use filedes as first argument to fsetxattr, not the undefined variable ↵Jelmer Vernooij2003-06-061-1/+1
| | | | | | | | 'path' :-)
* | - the 8.3 name in BOTH_DIRECTORY_INFO is supposed to be always unicodeAndrew Tridgell2003-06-061-1/+1
| | | | | | | | | | | | | | | | (to match win2003 behaviour) - added the STR_TERMINATE_ASCII flag from samba4 so we can get the string termination right for the case where it is supposed to be non-terminated for UCS2 and terminated when ASCII
* | Get ready for EA code... Add Linux interface.Jeremy Allison2003-06-051-0/+125
| | | | | | | | Jeremy.
* | working draft of the idmap_ldap code.Gerald Carter2003-06-051-0/+259
| | | | | | | | | | | | | | | | Includes sambaUnixIdPool objectclass Still needs cleaning up wrt to name space. More changes to come, but at least we now have a a working distributed winbindd solution.
* | Remove module_path_get_name() - it's not used anywhere anymore and was a bad ↵Jelmer Vernooij2003-05-301-23/+0
| | | | | | | | idea anyway.
* | Get the events API right. Patch from metze with some minor modifications.Jelmer Vernooij2003-05-291-51/+103
| |
* | Fixed unused variable warning.Tim Potter2003-05-271-1/+2
| |
* | Evolve quotas configure check more. Patch from Stefan (metze) Metzemacher. ↵Alexander Bokovoy2003-05-141-0/+7
| | | | | | | | Now we are defaulting to --with-quotas=no but anyway trying to test them in configure. This is done to get information about as much quota API variations as possible -- when --with-quotas=no this does not affect build but provides us with more detailed information on build farm.
* | *****LDAP schema changes*****Gerald Carter2003-05-141-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Move some #ifdefs and function prototypes around to avoid a compilerTim Potter2003-05-141-13/+14
| | | | | | | | warning when we have a working version of snprintf()
* | And finally IDMAP in 3_0Simo Sorce2003-05-124-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-123-0/+991
| | | | | | | | | | | | | | 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
* | When checking if a SID is in a domain, make sure that indeed the user RID isAndrew Bartlett2003-05-091-0/+3
| | | | | | | | | | | | one element longer than the domain sid. Andrew Bartlett
* | fixed bug #75; add check for non-zero destlenGerald Carter2003-05-081-1/+1
| |
* | Another attempt at undoing my bogus patch 1.55.2.19Tim Potter2003-05-081-0/+2
| |
* | Whoops - that wasn't a whitespace syncup after all.Tim Potter2003-05-071-0/+2
| |
* | Remove unused variablesJelmer Vernooij2003-05-061-4/+0
| |
* | Patch from metze to add exit and interval events. Useful for modulesJelmer Vernooij2003-05-061-1/+110
| |
* | Fixed typo introduced in reverted patch from version 1.12.4.5Tim Potter2003-05-051-1/+1
| |
* | Add a comment about the use of string functions in the modules code, andAndrew Bartlett2003-05-031-4/+9
| | | | | | | | | | | | add \n to the end of the non-dlopen case DEBUGs. Andrew Bartlett
* | Refactor existing sock_exec() and socketpair_tcp() functions into their ownPaul Green2003-04-301-93/+0
| | | | | | | | | | | | source file. I will be making changes to sock_exec to work on VOS, which has a blocking connect() call, but first I want to get it in its own source file so that it can be called from a test program.
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.cvs2svn Import User2003-04-301-0/+115
|\|
| * Refactor existing sock_exec() and socketpair_tcp() functions into their ownPaul Green2003-04-302-93/+115
| | | | | | | | | | | | source file. I will be making changes to sock_exec to work on VOS, which has a blocking connect() call, but first I want to get it in its own source file so that it can be called from a test program.
| * Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij2003-04-282-18/+19
| | | | | | | | function. Patch by metze with some minor modifications.
| * Two character tabs - I don't think so.Tim Potter2003-04-281-10/+9
| |
| * round three of CIDR fixes; spotted by Tomoki AONOGerald Carter2003-04-261-3/+2
| |
| * Complain about duplicate charsets at debug level 0 instead of 2Jelmer Vernooij2003-04-241-1/+1
| |
| * Get rid of module_path_get_name()Jelmer Vernooij2003-04-241-10/+5
| |
| * Check for absolute paths by only checking the first character of the module ↵Jelmer Vernooij2003-04-241-1/+1
| | | | | | | | | | | | name. Don't use strchr_m, which caused race conditions.
| * Merge case handling table changes from 3.0 to HEAD.Andrew Bartlett2003-04-231-10/+8
| |
| * Limit the number of outstanding print notify messages for a process toJeremy Allison2003-04-231-0/+31
| | | | | | | | | | 1000. Jeremy.
| * Merge from 3.0 - try harder to get our real DNS domain name, and send thisAndrew Bartlett2003-04-221-6/+21
| | | | | | | | | | | | | | | | to the client when it asks for our DNS name and forest name. (needed for win2k to trust us as a trusted domain). Andrew Bartlett
| * Address gcc warnings.Volker Lendecke2003-04-191-1/+1
| | | | | | | | | | | | | | I could not fix the "passing arg 5 of `ldap_search_s'" completely with gcc -Wall. A non-developer compile does not complain though. Volker
| * some readline completion exancementsSimo Sorce2003-04-191-0/+24
| | | | | | | | still need working, does not complete remote names yet
| * fixesSimo Sorce2003-04-191-0/+1
| | | | | | | | | | | | | | | | fix debug, add "idmap" string to the list of classes fix idmap, check init failures, and enhance debugging fix idmap_tdb, _do_ init uid and gid low,high states (too bad I missed that before) fix smbd/uid.c, use gid_t for gids and uid_t for uids
| * fix byte ordering when using CIDR notation in hosts allow/deny; spotted by ↵Gerald Carter2003-04-181-0/+4
| | | | | | | | Eloy Paris
| * Only use backtrace variables when we can use themJelmer Vernooij2003-04-161-0/+2
| |
| * Remove SAFE_FREE() definition, which is not needed in this file.Martin Pool2003-04-141-13/+18
| | | | | | | | | | | | | | In TEST_SNPRINTF mode, always compile all the functions in this file even if they're normally available on this system. Fix typo in comment.
| * Add selected parts of the changelog to this file, to make merging intoMartin Pool2003-04-141-0/+21
| | | | | | | | other projects easier.
| * Merge test cases from rsync.Martin Pool2003-04-141-3/+3
| |
| * Doc.Martin Pool2003-04-141-1/+9
| | | | | | | | | | Add additional test case for a bug recently found in rsync by Paul Green. Appparently it was fixed here a while ago.
| * smbcquota patch from metzeGerald Carter2003-04-111-3/+3
| |
| * workaround streams leak on SCO openserver 5.0.xGerald Carter2003-04-111-0/+4
| |
| * A new RPC pipe! The \pipe\echo named pipe is for testing large RPCTim Potter2003-04-111-44/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | requests and responses and is only compiled in when --enable-developer is passed to configure. It includes server and client side code for generating and responding to functions on this pipe. The functions are: - AddOne: add one to the uint32 argument and return ig - EchoData: echo back a variable sized char array to the caller - SourceData: request a variable sized char array - SinkData: send a variable sized char array and throw it away There's a win32 implementation of the client and server in the junkcode CVS repository in the rpcecho-win32 subdirectory.