summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix comment - the other bits of code don't call this any more.Andrew Bartlett2003-02-221-4/+1
| | | | (This used to be commit 523d1429b1072c999d376d2b4e13a1c08349990a)
* Add staticAndrew Bartlett2003-02-222-8/+8
| | | | (This used to be commit d0365f20c242bcfc4f5d8286c6c5654e310a9d45)
* With assuptions about unixsam gone, we can forget about looking upAndrew Bartlett2003-02-221-4/+1
| | | | | | | the user a second time now. Andrew Bartlett (This used to be commit a1e27a02f52315df0dd05ab8a94ae5a2bf398655)
* Remove 'unixsam' from the default passdb backends.Andrew Bartlett2003-02-2210-283/+264
| | | | | | | | | | | | | | | | | | | | | | | The intention is to remove the muliple passdb backends, but we need the 'guest' account to always be there. If the admin adds the guest account to (say) LDAP, there will only be one backend required for operation. This helps remove some nasty behaviours with adding accounts to the system for both the RPC 'create user' and the SAMSYNC code. Users 'added' with an 'add user/machine' script won't magicly appear, and machine accounts 'pre-added' to unix, but not the smbpasswd file will not cause mayhem. This commit also implements somthing tridge discussed with me, the concept of 'default' passdb operation pointers - so that each backend does not need it's own stub funcitons wrapping the default tdb privilages/group mapping code. This also removes an implicit 'sid->name' and 'name->sid' mapping from our own local SID space, to winbind usernames. When adding mapping for NIS/LDAP non-sam users in future, we need to be careful. Andrew Bartlett (This used to be commit 6f32fa234961a525760a05418a08ec48d22d7617)
* First check if the user is in the passdb, then check Get_Pwnam().Andrew Bartlett2003-02-222-31/+61
| | | | | | | | | | | We check passdb becouse the user might have things like a logon script set, but we have to check the passdb becouse the user might not be in smbpasswd at all. This is in preperation for the removal of unixsam as an assuption. Andrew Bartlett (This used to be commit 61e3e2695860c58f9b0e8d1856972318666682c8)
* When checking is_locked() new WRITE locks conflict with existing READ locks evenJeremy Allison2003-02-221-3/+10
| | | | | | if the context is the same. See LOCKTEST7 in smbtorture. Jeremy. (This used to be commit b362cc241b829f585a96b5d285ed12db50b21e2e)
* New locktest7 code based on patch from "Srikanta Shivanna" ↵Jeremy Allison2003-02-221-0/+134
| | | | | | | <sshivanna@pillardata.com> Jeremy. (This used to be commit caf298c3808cbdd683e884b32b7a0538505a3066)
* Fix a DEBUG() formatting, add some more debug to our SID pulling code andAndrew Bartlett2003-02-222-19/+34
| | | | | | | | | | inline the call to prs_copy_all_data_out() so that we can know we are not overrunning our buffer. Also check more return values. Andrew Bartlett (This used to be commit e3b73d5d658584428c81c9ef3ccf024687a56e2f)
* i patched the wrong branch! s/unistr2_to_dos/unistr2_to_ascii/Gerald Carter2003-02-211-1/+1
| | | | (This used to be commit 513fb2ddd85a74de7684a6cb09d57011af69161f)
* couple of merges from APP_HEADGerald Carter2003-02-212-4/+25
| | | | | | | | | * performance optimization in enumprinterdataex() when keyname is empty * fix a few typos in comments * reload services after addprinter_command() dump registry data in ascii when the key is REG_SZ or REG_MULTI_SZ (This used to be commit fde6ef7cc62c58d512dc8053b214f0a3c59a78ab)
* patch from Hal Roberts check for a valid [f]chmod_acl function pointer ↵Gerald Carter2003-02-211-2/+12
| | | | | | before calling it. Fixes seg fault in audit VFS module (This used to be commit 5e115d43812021f9a16111fc7c05d750026cca1e)
* Fix IRIX build...void fn can't return another void fnJim McDonough2003-02-211-1/+2
| | | | (This used to be commit df3c7c9cbb275e9c35356b4f1cab1a741de6f500)
* rename 'winbind backend' to 'idmap backend'. Put paramter in security ↵Jim McDonough2003-02-212-27/+27
| | | | | | section...does this make sense? (This used to be commit 822083f73e8ba4e096c53ff0f7578f47bc21b7b5)
* Added comments to make it clearer when we're assigning a pointer that itJeremy Allison2003-02-211-0/+12
| | | | | | must not be freed afterwards. Jeremy. (This used to be commit 80bad908c0235a57446c70b9632d3415c9d2fcf5)
* Ignore errors on python_clean target.Tim Potter2003-02-211-1/+1
| | | | (This used to be commit 3805a9c5d5e98e089e1cd9e794f7204fc354a311)
* Doesn't anyone run ./configure.developer anymore?Tim Potter2003-02-211-1/+1
| | | | (This used to be commit 09be123c6c1b67621eaf6c8ffb3016eccd375e5b)
* Fix another compiler warning.Tim Potter2003-02-211-1/+0
| | | | (This used to be commit 1ea27d7987d2c0f67977371a99efec3ded13c872)
* Fixed another compiler warning.Tim Potter2003-02-211-1/+1
| | | | (This used to be commit d15b7425d408f17505c4f3a91ec68bcfc4472c16)
* Fixed compiler warning.Tim Potter2003-02-212-2/+1
| | | | (This used to be commit b3f9cf8c1c293e905a536dfa5bb6a827627b7024)
* Added enumdomusers command.Tim Potter2003-02-211-0/+75
| | | | (This used to be commit 30353da3e94f732e9f1b258e62da906f628e09d0)
* Exit path cleanup for cli_samr_enum_dom_users()Tim Potter2003-02-211-34/+18
| | | | (This used to be commit 0bc1dfc68b0d411801a4209c9681c735cd7a73cc)
* Fix for only specifying one command with -cTim Potter2003-02-211-1/+4
| | | | (This used to be commit 7418351427071edccb2e825ddbbf31fce8ef381e)
* Doxygen janitorMartin Pool2003-02-211-3/+10
| | | | (This used to be commit 367997562998adb3f80602596c770d9ac319065b)
* From aliguori@us.ibm.com:Jim McDonough2003-02-205-438/+738
| | | | | | | This patch adds the architecture for an IDMAP backend system including a new smb.conf parameter "winbind backend". Right now, the only valid value is "tdb" but I'm currently working on an LDAP backend. (This used to be commit 35e4448dcb2deb0d5d34d9e974a49f2fb31f1356)
* Make init_module() and thus smb_load_module() return an int.Jelmer Vernooij2003-02-204-15/+15
| | | | | modules/developer.c: init_module() should return an int (This used to be commit 7f59703550378ff2333e3c851bf1a77037510abd)
* Added Volkers "print server role" patch.Jeremy Allison2003-02-201-0/+22
| | | | | Jeremy. (This used to be commit e81d72ac221023ded9e0932be7dd303ad5280665)
* Remove obsolete filesJelmer Vernooij2003-02-203-3038/+0
| | | | (This used to be commit f035cba2cf5764722318e9cd10dbe7bef56d0732)
* Ensure tdb error code is set for corrupt and i/o errors before callingJeremy Allison2003-02-201-0/+19
| | | | | | the log function. This allows the log function to take action. Jeremy. (This used to be commit 0fa310cbc3f7ced0b15be0ffaeb70dc82e1d5d12)
* For a number of months now, support for being a domain member without alsoAndrew Bartlett2003-02-201-25/+14
| | | | | | | | | running winbind has been broken. This fixes that, by removing assumptions about being able to call sid_to_uid() at will. This whole area needs revising when we get groups into the PDB. Andrew Bartlett (This used to be commit 980eda74b7df347c38b567ce976197826963324a)
* Like for NTLM logins, lookup the 'winbind' user first, then the 'local' user.Andrew Bartlett2003-02-201-18/+14
| | | | | | | This needs to change, to be a SID->UID lookup from the PAC. Andrew Bartlett (This used to be commit 4071ed06a051f87f27e10510427a69fcdf45ddac)
* for some (very weird) reason, the domain I was testing aginst would notAndrew Bartlett2003-02-201-0/+4
| | | | | | | return a DN for the user. Make sure we don't segfault. Andrew Bartlett (This used to be commit 9fdedeff6a3a9f8e8d048e6afd7001ad676c4e91)
* DocMartin Pool2003-02-201-1/+1
| | | | (This used to be commit 5d7d400d6c49b195a1174ef40c7bf95065427fbd)
* (Merge from APPLIANCE_HEAD)Martin Pool2003-02-201-0/+3
| | | | | | | | CR1829: Fix memory leak when unpacking 'B' buffers in Python. (PyList_Append creates a new reference to the added object, and so we have to release the existing one.) (This used to be commit 55e114f596e0edfdf176cabdbcfe7f01fae6f8aa)
* Fix inspired by Stefan (metze) Metzmacher - cache the sidtype also.Jeremy Allison2003-02-191-19/+27
| | | | | Jeremy. (This used to be commit 634f20dff63d255c317f9dcc9f4caf4e8e79123c)
* correct init for vfs.conn, thanks StefanSimo Sorce2003-02-191-1/+2
| | | | (This used to be commit 162683d2b5c15016fe1423876589573b48b9f5a6)
* libads/krb5_setpw.cJim McDonough2003-02-191-1/+2
| | | | (This used to be commit 4c52d7bd933f61bdba3d4159a204fe16db3d4f0f)
* Can't return SAFE_FREE...put on its own line.Jim McDonough2003-02-191-1/+2
| | | | (This used to be commit 9f1a4809b503f050189d5f87a294b7d8675b1e95)
* Correct way to keep fucntion from proto.hJim McDonough2003-02-192-8/+5
| | | | (This used to be commit 762b072efb0d6801775a874494cb19ea3d61fa97)
* Fix segv in net ads join...an extra & was the culpritJim McDonough2003-02-191-1/+1
| | | | (This used to be commit 9874b233d55a0b1aea7eb033848f4b63a531833b)
* Improve detection of iconv(3) for various platforms. M4 code is similar to ↵Alexander Bokovoy2003-02-193-17/+140
| | | | | | what I use in Midgard for past few years, modified for Samba needs. (This used to be commit 747d2d70a9eb4d9222d7b63e5fcec269eda76672)
* Missed one use of SETENV. (Compat macro no longer needed, as we have aAndrew Bartlett2003-02-191-1/+1
| | | | | replace.c function). (This used to be commit adad4c66fcfe756277de8c325ac9f8010f9d6f9c)
* Now we have setenv() in replace.c, we don't need a seperate copy here.Andrew Bartlett2003-02-191-5/+5
| | | | | Andrew Bartlett (This used to be commit c4834c46902380455d2ea1dd62661224e8d4eb11)
* Check return values of various join-related functions, and ensure we alwaysAndrew Bartlett2003-02-191-9/+16
| | | | | | | compare push_* returns with (size_t)-1, not < 0. Andrew Bartlett (This used to be commit 63f5e92536c6bcac54b796d6e91b755e7d328f66)
* Move to a in-memory ccache for winbind, and replace setenv() properly.Andrew Bartlett2003-02-194-17/+23
| | | | | | | | | (According to the manpages, you cannot put a stack variable into putenv()). Yes, this leaks memory. Andrew Bartlett (This used to be commit 50bced1e26434ecc7474964062746e2831e5f433)
* After a talloc_zero(), we don't need to ZERO_STRUCTP too..Andrew Bartlett2003-02-191-4/+0
| | | | (This used to be commit 4fe8066394143c64c79c052c00f0d747e872103a)
* Fix logfile formatting, we were missing a "\n"Andrew Bartlett2003-02-191-2/+2
| | | | (This used to be commit 53b8f8a44141a9f6d36ed1b237ff65c67119edd0)
* Only do a kinit if we got told to use kerberos.Andrew Bartlett2003-02-191-12/+12
| | | | | Andrew Bartlett (This used to be commit 6af9ec50e010d171cf5287f40ec774e79e4a93fe)
* Get non-krb systems to compile. How the heck do I keep something from being ↵Jim McDonough2003-02-192-9/+10
| | | | | | sucked into proto.h? (This used to be commit 7e84497882df5bf933ab7ae7fe9af3728393202c)
* Fix from Corny.Bondad@hp.com for missing if (setting_acls) on defaultJeremy Allison2003-02-191-3/+3
| | | | | | perms. Jeremy. (This used to be commit ac96fa173cc3bd1c3226634154d6f99e4034179f)
* Bit of a hack job to prevent smbprn.XXX jobs appearing in the queue if theJeremy Allison2003-02-191-9/+14
| | | | | | jobid is below the UNIX_JOB_START number. Jeremy. (This used to be commit e8a9bf67cbe5b3e33f99e6793fe4ec445d6e8819)