summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2002-11-20more %U fixes for headAndrew Tridgell1-0/+3
(This used to be commit ea3787d819df14f8b451780a55d2bf76dc4030ef)
2002-11-19a better for for using %U in smb.confAndrew Tridgell1-5/+21
this follows the method used for remote_machine and also fixes the problem of anonymous connections clobbering the string (This used to be commit 9ead4fc3c3f8b83f03c762a4dab77a64aabccbf9)
2002-11-17Renamed uuid_to_string() to guid_to_string() to avoid conflict with OSF DECTim Potter1-1/+1
headers. (This used to be commit d813997c5a66f786b191459de0dd030f4a1c539e)
2002-11-15Merge from HEAD:Andrew Bartlett1-3/+3
- heimdal updates to configure - make DEBUG() const - add testsuite for: - preexec - preexec close - valid users - fix testsuite for 'invalid users' Andrew Bartlett (This used to be commit aa41fb8703db4a4ecd3b353874c99a994e8ed630)
2002-11-15Add const to DEBUG() macro.Andrew Bartlett1-3/+3
(This used to be commit 43020bb4e61e3b44c2637e49f9e98222262f09b1)
2002-11-13Move 'weird' character set into new 'developer' moduleJelmer Vernooij1-108/+0
(This used to be commit afbff33eba7edd98329114b5113b3360cd6dfcc6)
2002-11-13Add a DEBUG() that gives the number of successfully loaded modules - useful ↵Jelmer Vernooij1-0/+2
for debugging (This used to be commit 612ea35ab016c56e6ad9886283901bc7b417337a)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison10-718/+892
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison10-718/+892
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-11-12Don't throw out WEIRD - yet (I committed my local changes together with my ↵Jelmer Vernooij1-0/+108
last fix. D'oh!) (This used to be commit 5191719eeec7062118da2be3aefe35d065e97900)
2002-11-12Fix segfault with high debug levelsJelmer Vernooij1-109/+1
(This used to be commit a20676bc05f50bb89a55e67efef579eaaeac3f72)
2002-11-12Add smb_register_charset() and use itJelmer Vernooij1-33/+65
(This used to be commit 8b654658759a145c5c8aabb3c82220a70f70c3f7)
2002-11-11Fix all returns to be size_t (they are all unsigned). Fixup strlen beingJeremy Allison1-213/+244
done on ucs2 strings. Jeremy. (This used to be commit 9a6c6946193289eac5b91fe6fd236c0742ec6f8c)
2002-11-11Fix all returns to be size_t (they are all unsigned). Fixup strlen beingJeremy Allison1-213/+244
done on ucs2 strings. Jeremy. (This used to be commit 205e8f03015dd533ae62753f2098505f1231e3e4)
2002-11-10sync with headSimo Sorce1-75/+0
was: consolidate alla error mapping functions in one file (This used to be commit 2c9e8b79d94e3276e9eb9bd676af0a68ee3908ff)
2002-11-10consolidate error mapping functions into a single fileSimo Sorce1-75/+0
(This used to be commit 80086728f2b0d5d56a8ed9e427cba36898d68fc7)
2002-11-09Last sync with HEADJelmer Vernooij1-11/+2
(This used to be commit 1175b62337f5c29954cd5e8dfdc2327c9c80748c)
2002-11-09Sync with HEADJelmer Vernooij2-7/+71
(This used to be commit 1a25dc776ddc36de9a214e023becff1ceb10290c)
2002-11-08Compleatly remove support for logfile truncation. All logs are opened forAndrew Bartlett1-11/+2
append writes. (blessed by jra) Andrew Bartlett (This used to be commit 81633064dd196c40541ecece8def51745f514646)
2002-11-08patches from UrbanGerald Carter1-0/+2
(This used to be commit 850b185a6e33fa924fa59cdd6316c9160ba65270)
2002-11-08patches from UrbanGerald Carter1-0/+2
(This used to be commit da269a73edb7f637b1e1f8b3dafe677f46f66f85)
2002-11-06Fix compiler warnings.Tim Potter1-4/+5
(This used to be commit 3a68613e934e25f2ccfbf5afa5e26b5f47b40a53)
2002-11-02Remove dummy function I used for testingJelmer Vernooij1-7/+0
(This used to be commit 15c71551db038071d981ca4e37ef505004e79b89)
2002-11-02Add more options to popt_common and use them. Current ones are:Jelmer Vernooij1-7/+52
-V Version information -n Set netbios name -l Set directory to store log files in -d Set debuglevel -s Load specified configuration file -O Set socket options (This used to be commit 1602d5894947b59fd36c161053a66c0afe2c959c)
2002-11-02port sec_desc headers reordering from HEAD.Simo Sorce1-2/+2
Thanks to Andrew Brtlet for the diff :-) (This used to be commit cf67981e73cf52803eae589a6b86e1274bf72d2c)
2002-11-02Merge passdb from HEAD -> 3.0Andrew Bartlett1-0/+24
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 (This used to be commit 2044d60bbe0043cdbb9aba931115672bde975d2f)
2002-10-31add smb_load_modules() to load a list of modules - does this function look ok ?Jelmer Vernooij1-0/+22
(This used to be commit a82dbb3c22e6cb2096efb87c12a6006642806aac)
2002-10-30Fix build. Don't use BSD setenv. Use POSIX putenv.Jim McDonough1-3/+6
Jeremy, it wasn't me!!!!!! (This used to be commit 00d4e5c67b8a3b8eafa56fd46fbaf4922030dd81)
2002-10-30use sys_dlopen instead of dlopen (thanks to jra for noticing)Jelmer Vernooij1-1/+1
(This used to be commit 86eb0a25b1df8ca25872f9846a74d0f13a4ad045)
2002-10-30- Remove RTLD_GLOBALJelmer Vernooij1-3/+4
- make smb_load_module() return the return value of init_module() (This used to be commit a8d2dd8d009797486105188f8fdb898a65bb25b0)
2002-10-30added a timegm() function for systems that don't have itAndrew Tridgell1-0/+22
(This used to be commit 732bc4519f1119100607cc84400e8f84e0c0ba9d)
2002-10-30Add initial vesion of new module systemJelmer Vernooij1-0/+63
(This used to be commit b5d05d3ec6808465d27e15db2a9ff48804e2e78e)
2002-10-29Sync with HEADJelmer Vernooij1-1/+1
(This used to be commit a64affffb2acf68956dc25be45c0559e6139a571)
2002-10-29Move guid formatting functions over from HEAD.Jim McDonough1-4/+35
(This used to be commit 60b9e352b3c0769d0d3fe3067399bb3441f29502)
2002-10-28Sync with HEADJelmer Vernooij1-5/+53
(This used to be commit 4ae350671ef8aeae52995b3ca79e135cf444ae39)
2002-10-26Fix bug in '-d'Jelmer Vernooij1-1/+1
(This used to be commit 8c15db105addbafd822d96d29ff1692566b92267)
2002-10-26Try to catch up on the code I've put into HEAD that should be in 3.0:Andrew Bartlett3-7/+7
- vorlan's hosts allow with DNS names patch - use x_fileno() in debug.c, not the struct directly. - check for server timeout on password change (was reporting success) - better error/status loggin in both the pam_winbind client and winbindd_pam server code. - (pdb_ldap) don't set the ldap version twice - we do it on every bind anyway. (This used to be commit 9fa1863d8e7788eda83911ca2610754486b33069)
2002-10-23First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.Jeremy Allison1-92/+108
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. (This used to be commit a81d700ae9c82d4b7ea631ab7862162a2ed3d512)
2002-10-23First cut of new ACL mapping code from Andreas Gruenbacher <agruen@suse.de>.Jeremy Allison1-92/+108
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. (This used to be commit 40eafb9dde113af9f7f1808fda22908953f7e8c3)
2002-10-21reverted an incorrect fix. What I was trying to do was fix a problemAndrew Tridgell1-1/+1
with filenames with spaces in mangle_hash.c but the real problem is that mangle_hash.c assumes that the set of valid characters for 8.3 names is the same as the set of valid characters for long names. Thats an invalid assumption, with space being the obvious example. (This used to be commit e0065f4db4a1cfae03a3bb86e5cfea9c45dfa1c3)
2002-10-21a space is a standard valid character in a filenameAndrew Tridgell1-1/+1
(This used to be commit 0db79d4a379a502362c230a9019d5d71f5af8e0e)
2002-10-21Bugfix for pidfile_create() from Kelledin.Tim Potter1-1/+1
(This used to be commit 5a6ab85ea5479d103026032bdab8b2355b9c564c)
2002-10-21Bugfix for pidfile_create() from Kelledin.Tim Potter1-1/+1
(This used to be commit 4808a95f5f4536774d41bebca76660f010069117)
2002-10-18It seems that I'm meant to be using the helper function here, not the structAndrew Bartlett1-1/+1
directly... Andrew Bartlett (This used to be commit 0abeb8725e8ea53a468d6004457bb7fa89a0f8b2)
2002-10-18Format objectGUIDs on ads dumps.Jim McDonough1-4/+35
(This used to be commit 7eaf7e7115c75e682b1b9368c6f28c60429885e5)
2002-10-18Start to merge the new ACL mapping code from Andreas Gruenbacher ↵Jeremy Allison1-51/+97
<agruen@suse.de>. Jeremy. (This used to be commit 597c4610090d711fd30c1ffacc97212cf399a264)
2002-10-18Start to merge the new ACL mapping code from Andreas Gruenbacher ↵Jeremy Allison1-38/+68
<agruen@suse.de>. Jeremy. (This used to be commit f6103f866a5e698ab55fdab1444a14e3d8da16bb)
2002-10-12Nice *big* patch from metze.Andrew Bartlett1-0/+24
The actual design change is relitivly small however: It all goes back to jerry's 'BOOL store', added to many of the elements in a SAM_ACCOUNT. This ensured that smb.conf defaults did not get 'fixed' into ldap. This was a great win for admins, and this patch follows in the same way. This patch extends the concept - we don't store values back into LDAP unless they have been changed. So if we read a value, but don't update it, or we read a value, find it's not there and use a default, we will not update ldap with that value. This reduced clutter in our LDAP DB, and makes it easier to change defaults later on. Metze's particular problem was that when we 'write back' an unchanged value, we would clear any muliple values in that feild. Now he can still have his mulitivalued 'uid' feild, without Samba changing it for *every* other operation. This also applies to many other attributes, and helps to eliminate a nasty race condition. (Time between get and set) This patch is big, and needs more testing, but metze has tested usrmgr, and I've fixed some pdbedit bugs, and tested domain joins, so it isn't compleatly flawed ;-). The same system will be introduced into the SAM code shortly, but this fixes bugs that people were coming across in production uses of Samba 3.0/HEAD, hence it's inclusion here. Andrew Bartlett (This used to be commit 7f237bde212eb188df84a5d8adb598a93fba8155)
2002-10-06try to put every security descriptors related definitions in the same file.Simo Sorce2-14/+30
also try to uniform names to a clean scheme. first part. (This used to be commit a123e05877caf90c28980be2d84b1d0b46e4fd21)
2002-10-05Add more common options to popt_common - and start usingJelmer Vernooij1-6/+54
the ones for debuglevel and configuration file in pdbedit (This used to be commit cb0d03a393d9009c3e16b9d05d88c171de9a9414)