summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2003-11-17Fix from Andrew Bartlett to fix up the munged-dial problem.Jeremy Allison2-6/+16
Jeremy. (This used to be commit 5df3d16c9226bf884226e8302b996a484017f8c3)
2003-11-17From 3_0:Volker Lendecke1-1/+2
This fixes a bug when establishing trust against a german W2k3 AD server. In the bind response to WKSSVC it does not send \PIPE\ntsvcs as NT4 (did not check w2k) but \PIPE\wkssvc. I'm not sure whether we should make this check at all, so making it a bit more liberal should hopefully not really hurt. Volker (This used to be commit dbd17dd0366d6cd20a2d5d8247dd5842563da2ca)
2003-11-17* make sure we only enumerate group mapping entriesGerald Carter3-152/+44
(not /etc/group) even when doing local aliases * remove "hide local users" parameter; we have this behavior built into 3.0 (This used to be commit 3b75e862dfba42c95e2279c300c06bb981f52993)
2003-11-16do not build config_ldap by defaultSimo Sorce1-1/+1
(forget to remove the module from the default list after testing :-) (This used to be commit aae13b2e63dd3aeafe7dcb48a484da9d51a0a589)
2003-11-15Split smbldap in a core file and a utility fileSimo Sorce9-179/+720
Add module support for configuration loading Add a first implementation of config_ldap module to put samba configuration on ldap It worked on my test machine, please try it out and send bugfixes :-) have fun, Simo. INSTRUCTIONS: Just add something like this to your smb.conf file: config backend = config_ldap:ldap://localhost config_ldap:basedn = dc=samba,dc=org the config tree must follow this scheme: ou=foo, dc=samba, dc=org <- global section |- sambaOptionName=log level, ou=foo, ... <- options |- ... |- sambaShareName=testlc, ou=foo, ... == [testlc] |- sambaOptionName=path, sambaShareName=testlc, ou=foo, ... <- option here is a sample ldif: # foo, samba, org dn: ou=foo, dc=samba, dc=org objectClass: organizationalUnit objectClass: sambaConfig ou: foo description: Test Foo # log level, foo, samba, org dn: sambaOptionName=log level, ou=foo, dc=samba, dc=org objectClass: sambaConfigOption sambaOptionName: log level sambaIntegerOption: 10 description: log level 10 is suitable for good debugging # testlc, foo, samba, org dn: sambaShareName=testlc, ou=foo, dc=samba, dc=org objectClass: sambaShare sambaShareName: testlc description: share to test ldap config module actually works # path, testlc, foo, samba, org dn: sambaOptionName=path, sambaShareName=testlc, ou=foo, dc=samba, dc=org objectClass: sambaConfigOption sambaOptionName: path sambaStringOption: /tmp description: Path for share testlc # read only, testlc, foo, samba, org dn: sambaOptionName=read only, sambaShareName=testlc, ou=foo, dc=samba, dc=org objectClass: sambaConfigOption sambaOptionName: read only sambaBoolOption: TRUE description: Share testlc is read only # guest ok, testlc, foo, samba, org dn: sambaOptionName=guest ok, sambaShareName=testlc, ou=foo, dc=samba, dc=org objectClass: sambaConfigOption sambaOptionName: guest ok sambaBoolOption: TRUE description: Guest users are allowed to connect to testlc share (This used to be commit 207968eafc2c2a185e50e2132702d7bab2142aba)
2003-11-14fix more memory leaks in the LDAP backend code; patches from metzeGerald Carter3-27/+52
(This used to be commit 89a8c607af4ca67fcefe285480f7c9b832f6720c)
2003-11-13* Fix from SATOH Fumiyasu for bug 660 (failing to view printGerald Carter2-7/+9
jobs) by only enforce the 'max reported print jobs' parameter when it is non-zero. * Fixed bug 338 by making sure that data values are written out when we are marshalling an EnumPrinterDataEx() reply. This probably fixes other bugs reported against point-n-print feature in 3.0.0 (This used to be commit d7026f6d178f6ed531bbf7d681d4efde0828616c)
2003-11-13Keep configure.in in sync with SAMBA-3.0.0Richard Sharpe2-20/+25
(This used to be commit 664cc4f46cf1be08c704a9d163ee33c8629ad065)
2003-11-12show locked files for -u <user>; bug 590Gerald Carter1-10/+41
(This used to be commit 3290582cb0542d1e2a7e1e5213614fca8788b070)
2003-11-12> Omit html documentation tree because it has been moved to the separateRafal Szczesniak1-6/+9
> module. Install though, in case one recreates the tree as it was before. > > > rafal Same as in SAMBA_3_0 source tree. rafal (This used to be commit af972c76158069efe3817a4e6dce4826d883edf1)
2003-11-11fix crash bug due to empyrt munged dial string; patch from metzeGerald Carter1-1/+1
(This used to be commit aef7f54355a71e36963ed7427e9c2f05d26cc222)
2003-11-10Patch from Andrew Bartlett <abartlet@samba.org> for security=server coreJeremy Allison1-6/+8
dump if server goes away. Jeremy. (This used to be commit a646cb60a24498451d379967a1da272fcd40875f)
2003-11-09From 3_0:Volker Lendecke1-0/+1
Skip over the winbind separator when looking up a user. Volker (This used to be commit efe36a44d3d35f2bbb3381916dfdfda80560b67c)
2003-11-09Merge from 3.0:Andrew Bartlett3-20/+1
source/passdb/pdb_get_set.c: I agree with vl's #if 0 here, and am not quite sure what I was thinking with regard to the original code. Let's keep samba simple, and just remove it. source/rpc_server/srv_netlog_nt.c: Remove compleatly wrong comments. (There were correct, 2 years ago...) source/intl/lang_tdb.c: Add newline to debug message Andrew Bartlett (This used to be commit 2a8dbe03690b60f3d9c83de3cf6ce873aa0657bc)
2003-11-07* only install swat html files onceGerald Carter3-17/+34
* revert the change that prevent the guest account from being added to a passdb backend since it broke the build farm. * apply patch from Alex Deiter to fix the "smbldap_open: cannot access when not root error" messages when looking up group information (bug 281) (This used to be commit 20bd309239199d85accb2b7aac6d4dd73e414f85)
2003-11-07Handle munged dial string. Patch from Aur?lien Degr?mont <adegremont@idealx.com>Jeremy Allison4-16/+121
with memory leak fixes by me. Jeremy. (This used to be commit daceed37387c517b3f0ab9c173f419215e3d676b)
2003-11-07fix for bug 680 (heads up). This gist is to map theGerald Carter3-385/+361
UNIX entity foo to DOMAIN\foo instead of SERVER\foo on members of a Samba domain when all UNIX accounts are shared via NIS, et. al. * allow winbindd to match local accounts to domain SID when 'winbind trusted domains only = yes' * remove code in idmap_ldap that searches the user suffix and group suffix. It's not needed and provides inconsistent functionality from the tdb backend. This has been tested. I'm still waiting on some more feedback but This needs to be in 3.0.1pre2 for widespread use. (This used to be commit cac4723e206bd001882011c9e12327064d032268)
2003-11-07don't allow setting of the guest accountGerald Carter1-0/+8
(This used to be commit 1e461f06ec492dc3f139165932c3518a6dd416f9)
2003-11-07From 3_0:Volker Lendecke2-0/+31
Implement %i-Macro for the locally used IP address. With this you can again have virtual hosts with different configurations on a single smbd even on port 445. Volker (This used to be commit 3a5130f231a0fd6f7490d3b028361ff0458bfae1)
2003-11-07From 3_0:Volker Lendecke5-18/+18
Simple rename of get_socket_addr to get_peer_addr and get_socket_name to get_peer_name. This is to get closer to the getsockname/getpeername system functions. Next step will be the %i macro for the local IP address. I still want to play %L-games in times of port 445. Volker (This used to be commit 99311b437be050fd9ee656cd184f299993d20bfb)
2003-11-06Fix bug #471. (const needed in lp_set_name_resolve_order).Jeremy Allison1-2/+2
Jeremy. (This used to be commit 5d52e6b3016960cc3be33d3cd15725cce5fd0580)
2003-11-06merge's tpot build fix from 3.0Gerald Carter1-2/+4
(This used to be commit ac9f9f9ea83b0419d3f1f95b57ff3ead625d7576)
2003-11-06run krb5 logins through the username map if the winbindd lookup fails; bug 698Gerald Carter1-4/+9
(This used to be commit f7798571178d18aae9c0be5f437838222bfc25b9)
2003-11-06patch from MORIYAMA Masayuki to save LDFLAGS during iconv detection; bug 570Gerald Carter1-0/+1
(This used to be commit 2277c6e06c2e5b3ace4b231ff8af03d2d29fac36)
2003-11-06bug 624; make sure to set the GUEST SID rather than using the PDB_DEFAULT flagGerald Carter1-1/+1
(This used to be commit 7a60693a47823c2a174886ad44e7af102440ba4d)
2003-11-06Make the recent changes more pretty.Richard Sharpe1-4/+1
(This used to be commit e490efd29a8a6b1fc7087b7dd51bbd41465803c3)
2003-11-05Better handling of iconv support and etc because gnu libiconv on FreeBSDRichard Sharpe1-3/+4
changed where it puts things :-) (This used to be commit 123a516a6095e3fb6c2ad372b2800a825bbd2a13)
2003-11-05Minor comment updates ...Richard Sharpe1-2/+2
(This used to be commit d7a0c6da0baf41faf0eb0b71f3576d3c3fbf7c62)
2003-11-05Merge of 64-bit printf warning fixes.Tim Potter14-35/+38
(This used to be commit a6cc763333943bc6e360bb7e78cf9bfb1bc936e8)
2003-11-05Compile tdbdump by default.Volker Lendecke1-1/+7
Volker (This used to be commit 11da19dd5c2a6434b73a03eadedb5b877776b1f7)
2003-11-05Merge from 3.0:Tim Potter1-3/+12
Revision 1.82.2.24: Patch from James Henstridge to allow rpcclient adddriver command to specify printer driver version. Closes bug #514. (This used to be commit b873832e33ba251741ae4f091f93f4bb79d57bee)
2003-11-05Merge of some compiler warning fixes.Tim Potter1-2/+2
(This used to be commit 6a001dbd13c11f22b5d3c444fd1da3055f3afb67)
2003-11-05Merge of setenv->putenv for winbind client.Tim Potter1-4/+10
(This used to be commit a26d425f93e43641195d0aaf0f9ce5ef0e69f5e1)
2003-11-05Merge from 3.0:Tim Potter1-1/+1
Revision 1.42.2.8: Use the actual size of the buffer in strftime instead of a made up value which just happens to be less than sizeof(fstring). Closes #713. (This used to be commit 45c28f8a2723b5e942d13d1c6e5db757921fb64f)
2003-11-05Merge from 3.0:Tim Potter1-1/+1
Revision 1.10.2.6: Cast to fix warning on Solaris sendfile - check buildfarm output to see if this works! Bug #706. (This used to be commit 06c4fc35a7226e719c2748b818ecf4e18dd1a4fb)
2003-11-05Merge from 3.0:Tim Potter1-0/+11
Revision 1.16.2.6: Add prototype for smbc_remove_unused_server() to fix compiler warning. Bug #706. (This used to be commit 99f70d86fe17ce39d803fa23a135169e24d8a34e)
2003-11-05Merge of uname cleanups from 3.0Tim Potter1-4/+4
(This used to be commit e7e17e6b4a6727088b0ea763db673de8035f2094)
2003-11-05Merge from 3.0:Tim Potter1-3/+2
Revision 1.209.2.44: Fix crash bug in smbclient completion. Closes bug #659. (This used to be commit decc5d9a2525176c70a17d8928587889f5f6e6af)
2003-11-05Merge from 3.0:Tim Potter1-1/+1
Revision 1.468.2.193: Add ldaplibs to pdbedit link line. Fixes bug #651. (This used to be commit 079e00d1030130943791acd54b2af6036891c534)
2003-11-05make sure that we expand %H (from vl); bug 612Gerald Carter1-0/+3
(This used to be commit d1cf39e2ecee7e76953a5eee386f723a46bf9b14)
2003-11-05Fix coredump in cli_get_backup_list.Jeremy Allison1-5/+2
Jeremy. (This used to be commit 13d32f561b23f2d69daf103a971acbdae547703d)
2003-11-05Fix for bug #771. Fix packet length for browse list reply.Jeremy Allison1-1/+1
Jeremy. (This used to be commit dfea28a7731a0625e37ac43658f21b25e2fcce21)
2003-11-04Fix for bug #703, try lowercase netgroups lookups.Jeremy Allison1-1/+18
Jeremy. (This used to be commit b7ce6294bbff9ef82b34d900fe836ff2e3c5abe1)
2003-11-03TDBSAM update code from Aur?lien Degr?mont <adegremont@idealx.com>.Jeremy Allison2-16/+620
Adds support for an additional field (uint32) which represents the lockout duration. I think this should be stored as an abolute UNIX time_t that specifies when the lockout should end - set it when the lockout is imposed. This new code also updates the on disk tdb version on load. Being merged into HEAD so Simo can add any other changes he wants before being back-ported to SAMBA_3_0. Jeremy. (This used to be commit 0eea3f22aba25c1d0a8800bb1725238422cb30eb)
2003-11-03Fix for winbindd on HPUX from albert chin (china@thewrittenword.com)Jeremy Allison1-4/+2
Jeremy. (This used to be commit c2f38eb66578affb50cb15c73b297fb866be140b)
2003-11-03removing #include <compat.h> in hopes to avoid problems with apache header ↵Gerald Carter2-5/+1
files; will watch the build farm on this to make sure things don't blow up (This used to be commit b4d80ee74727a72aa8fe070d13e3ca5de71837ca)
2003-11-03From 3_0:Volker Lendecke1-9/+23
AC_CHECK_MEMBER seems to have problems for some versions of autoconf, at least autoconf-2.53 on SLES8 does not correctly find the keyblock. Volker (This used to be commit f6cff956c441eec73360f71bbb4dd06f4f1ee897)
2003-11-02Fix duplicate libs problem in iconv detection code.Tim Potter1-1/+1
(This used to be commit a2feac08e89685c35a8cc18eaeac4c9316248f75)
2003-11-02Merge of fix for bug 661 from 3.0Tim Potter1-4/+8
(This used to be commit c96d470af8dd9b5782d7c4f3e9fe5fa92f416f77)
2003-11-01From 3_0:Volker Lendecke1-2/+2
This binds the nmbd sending socket to the 'socket address'. Hmmm. This is correct in 2.2. Obviously I did not test my 3.0 checkin at that time. Now it hit me at a customer's site... Volker (This used to be commit b9179aed4d7e8ec95e0f8ff79e36403377773f0a)