summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2002-11-02Remove obsolete function usage and some unused variablesJelmer Vernooij1-27/+1
(This used to be commit 162431a88ccb0811ae9873ce4ceda11d2f1de8b7)
2002-11-02Remove dummy function I used for testingJelmer Vernooij1-7/+0
(This used to be commit 15c71551db038071d981ca4e37ef505004e79b89)
2002-11-02Convert to popt.Jelmer Vernooij1-75/+23
Removed -o and -a options - these have been broken since 2.2 without complaints from users (This used to be commit c8589a567b96dacc0b6c88c91b34f8211532bbfa)
2002-11-02Add more options to popt_common and use them. Current ones are:Jelmer Vernooij3-28/+62
-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-02Clean up this a little - add comments describing a bit of what is going onAndrew Bartlett1-5/+6
here. (This used to be commit 88455313f6551a75eff4df2f0ba91430948c1c78)
2002-11-02Add a 'ldap trust ids' option that lets pdb_ldap check for posixAccountAndrew Bartlett2-33/+95
attributes rather than calling getpwnam() on the user. This should help fix some of metze's performance issues - particularly on enumerations. There is a consequential change to the operation of 'non unix account's in LDAP - they are no longer restricted to being 'within' the NUA range, but will always be added to that range. Finally, there is the doco for this and the previous LDAP SSL changes. (This used to be commit 18abaeffda300074a507561d8372d5bfddc8fe50)
2002-11-02Make sure that %u is used for SID elements ...Richard Sharpe1-1/+1
(This used to be commit 82f6b264037a2f1b882dc75bc43c6c8b41477270)
2002-11-02Return the result code, not false (0 == success) on error...Andrew Bartlett1-1/+1
(This used to be commit f91c363bc05d1c82ad8a99a5c0d59b46cf820aac)
2002-11-02Fixes for pdb_ldap:Andrew Bartlett2-111/+105
- Default is now for start-tls, on the ldap (not ldaps) port - We check for 'I am currently root' in the right place now, and don't accidentily use a cached connection. - We don't loop on failure to be root, or some other errors. - A bit cleaner error reporting for add/modify. - Both the OpenLDAP and manual URI parsing tested. Andrew Bartlett (This used to be commit cfa1e459d727764feddcfdd8c9c0404282e2d0e8)
2002-11-02Fix --set-auth-user command to delete entries from the secrets file when anTim Potter1-12/+68
empty username/password is passed on the command line. Previously we were leaving the domain name set and the password set to a NULL character. Added a --get-auth-user command to display the restrict anonymous username information. Can only be run successfully by root. (This used to be commit 0bb9bc196207fb35c9de6accbe101937a687762f)
2002-11-02Some winbindd cleanups I made trying to fix cr1020:Tim Potter2-38/+108
- move winbindd client handling into accessor functions in winbindd_util.c - move some winbindd socket routines into accessor functions in winbindd_utils.c (The deadlock situation mentioned in the appliance branch is probably not applicable since we don't clear the connection cache on SIGHUP. Perhaps we should?) (This used to be commit 846b5494942c73e68616e7eae0d2fd5ae4b2bc05)
2002-11-02Add popt_common_socket_optionsJelmer Vernooij1-0/+1
(This used to be commit a15434314fd8cd88eab40e7cbc8f06a7d0d0169e)
2002-11-02Handle the case where the password used in RPC connections (for restrictTim Potter1-3/+8
anonymous support) is blank. (This used to be commit 7badccda46a0837dd9da802b44c2fbcb4f38845a)
2002-11-02Display pipe name in rpc bind failure debug.Tim Potter1-1/+2
(This used to be commit 62ab0f8cbe7c517084383bdc9a8c97404ad27147)
2002-11-02Convert to poptJelmer Vernooij1-87/+30
(This used to be commit 9ea7440ac4a3dbb98e34ccb8ee78e0bd782fa704)
2002-11-01Add the changes to change the SIDs ...Richard Sharpe1-19/+45
You must make two passes over NTUSER.DAT, one for the OWNER SID and one for GROUP SID. I have not tested this yet ... that is, I have not tried to use this on a Win2K etc server. (This used to be commit 7eb89ba467a66190775943834683a42b693d2e3b)
2002-11-01Add more. Parse SIDs on the command line ... soon will actually mod theRichard Sharpe1-11/+88
SecDescs in the NTUSER.DAT ... (This used to be commit dbc608ba7e591175cd02f4adfdcfecd1350526a5)
2002-11-01Fix a problem with spaces vs tabsRichard Sharpe1-2/+2
(This used to be commit 26857be78cda1e6d6cae9bc87d34cdad12492748)
2002-11-01Revert that stupid one line change.Richard Sharpe1-1/+0
(This used to be commit 095af10ff2e549b82c646df5ed20cf05352a3994)
2002-11-01Fix small typo ...Richard Sharpe1-1/+1
(This used to be commit 59735a5aac88b076320874f06056d50947396fb3)
2002-11-01Add more code to the profiles program and add Makefile.in support.Richard Sharpe3-12/+358
(This used to be commit daefe52a56a7b977b8e561f8f668c42183de413b)
2002-11-01Tidyup of some DCERPC pipe connection debugs. The new LSA_DS stuffTim Potter1-4/+3
generates some errors we haven't seen before which are inappropriately logged at level 0. (This used to be commit bd64de3716ffa9c3ebec282aa5cc0f773d3d8096)
2002-10-31Fix slowdown because of enumerating all print queues on every smbd startup.Jeremy Allison3-19/+25
Jeremy. (This used to be commit d05b147fb3f32031a202cf61703dc2fd969f4617)
2002-10-31Re-enable use of existing kerberos tickets.Jim McDonough1-2/+6
(This used to be commit 6ec5dce69834e72e458a8acff7d1790cbdd46d67)
2002-10-31Check the long_archi name is not null.Jeremy Allison1-0/+6
Jeremy. (This used to be commit 9e47aa32ed96faff4a68a8e360c1353fc011adf1)
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-31search & replace doesn't always work reliably :-)Volker Lendecke1-2/+2
Volker (This used to be commit 54115fd16ff10d1958153268dfd0f22f3c400bb5)
2002-10-31Add a small utility that can print out the SEC DESCs in NTUSER.DAT.Richard Sharpe1-0/+250
This is an early, messy version of the code, but it illustrates what can be done. It currently only prints the Owner SID, Group SID, and Perms and SID from each ACE. Once more work is done, it could actually walk the SEC DESCs and ACEs and change the SIDS ... (This used to be commit 322151509c255aa288627ae239661154ab0c83d5)
2002-10-31Applied Buchan Milne's patches.John Terpstra1-1/+1
(This used to be commit ce5a7084540feff7354d2005e25cef581ad500db)
2002-10-30Rerun autoconfJelmer Vernooij2-1/+5
(This used to be commit ff10786c9d4662af355c12cc7363092dc5187e99)
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-30Fix boog in argument list for nt_create_andx.Tim Potter1-1/+1
(This used to be commit 6945e89e2d10743635f01420c83d405a2d4cb356)
2002-10-30- Remove RTLD_GLOBALJelmer Vernooij2-4/+5
- 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 Tridgell3-1/+27
(This used to be commit 732bc4519f1119100607cc84400e8f84e0c0ba9d)
2002-10-30Add init_module_function typedef for new module systemJelmer Vernooij1-0/+3
(This used to be commit 4d1206be5275a8af7dfb612f1747fba484a7d017)
2002-10-30Add initial vesion of new module systemJelmer Vernooij2-1/+65
(This used to be commit b5d05d3ec6808465d27e15db2a9ff48804e2e78e)
2002-10-30Added Buchan Milne's DESTDIR patch.John Terpstra1-15/+15
(This used to be commit d134d66f989026821b29b24c8c15a112213b61d6)
2002-10-29Add autom4te.cache (used by newer autoconfs)Jelmer Vernooij1-0/+1
(This used to be commit 94647051adc223e17997cd6688da0c71b7ea870a)
2002-10-29Fix a nice little memory leak in our uid changing code.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 5c4967c70dfab78733ef21e3a5eaf252a5958613)
2002-10-29Added close and unlink functions.Tim Potter1-0/+44
(This used to be commit 3a7f8a568e9d1608c2a065e0b98488e2d068911c)
2002-10-28Fix fd leak with kernel change notify.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 78df2c916ae3940f0124912f99b1e0ca3914fff5)
2002-10-28Implement 'net maxrid'. Needed to find the maximum current rid toVolker Lendecke1-0/+79
set 'algorithmic rid base' correctly after a 'net rpc vampire'. Volker (This used to be commit 5c0869be321852919dba1566c6bcab02e4657541)
2002-10-26Fix bug in '-d'Jelmer Vernooij1-1/+1
(This used to be commit 8c15db105addbafd822d96d29ff1692566b92267)
2002-10-26One more step towards to better PDC.Andrew Bartlett1-208/+330
This patch, from "Stefan (metze) Metzmacher" <metze@metzemix.de> implements an LDAP connection cache. This removes the quite silly situation where every single passdb operation involved a new LDAP connection. The hope is that this will give us a decent performance boost in some usrmgr related activities, and in the sid->name/sid->uid code. The remaining things I think are 'todo' for pdb_ldap (in the near term) are: - intergrate volker's next_rid patch for NUA accounts, - add a 'trust ldap ids' option (remove Get_Pwnam() hit on enumerations). - put the group mapping actually into ldap - Schema fixes and do utf8 conversion - server failover (try a second server for the rebind on fail) - ensure we block between an 'add' and the ldap master replicating to our local slave (mezte found this issue, kills domain joins) Andrew Bartlett (This used to be commit 3418da16456511490beb0d1045fff24576b48273)
2002-10-26Make sure that we always return False if the password change never returns.Andrew Bartlett1-4/+8
(A stuck 'unix passowrd sync' was gettting reported as 'success', causing all sorts of fun) Andrew Bartlett (This used to be commit b0d5745bb53b16e92160a6bdd2b984afb0e982ee)
2002-10-26Updates to winbind's PAM client and server - make the debug logsAndrew Bartlett2-19/+44
work a bit better for password changing. Andrew Bartlett (This used to be commit 425782ba32554b90d592493a1928a926e492bb2a)
2002-10-26Fix problem where an fd would be left open for every printer queue.Jeremy Allison1-0/+27
Jeremy. (This used to be commit 997c234e15a5f8d742320359a53e15a27661d456)
2002-10-25PURGE_PRINTER fix from APP_HEADGerald Carter1-2/+0
(This used to be commit 8af12875b0608b83187e4156843e37097de4cd13)
2002-10-25Fix memory leak (patch by Steve Langasek)Jelmer Vernooij1-0/+14
(This used to be commit 06362586cb754bd6bc89b50b966737958286ca2e)