summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* weekend work. user / group database API.Luke Leighton1998-11-2940-1862/+1415
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - split sam_passwd and smb_passwd into separate higher-order function tables - renamed struct smb_passwd's "smb_user" to "unix_user". added "nt_user" plus user_rid, and added a "wrap" function in both sam_passwd and smb_passwd password databases to fill in the blank entries that are not obtained from whatever password database API instance is being used. NOTE: whenever a struct smb_passwd or struct sam_passwd is used, it MUST be initialised with pwdb_sam_init() or pwd_smb_init(), see chgpasswd.c for the only example outside of the password database APIs i could find. - added query_useraliases code to rpcclient. - dealt with some nasty interdependencies involving non-smbd programs and the password database API. this is still not satisfactorily resolved completelely, but it's the best i can do for now. - #ifdef'd out some password database options so that people don't mistakenly set them unless they recompile to _use_ those options. lots of debugging done, it's still not finished. the unix/NT uid/gid and user-rid/group-rid issues are better, but not perfect. the "BUILTIN" domain is still missing: users cannot be added to "BUILTIN" groups yet, as we only have an "alias" db API and a "group" db API but not "builtin-alias" db API... (This used to be commit 5d5d7e4de7d1514ab87b07ede629de8aa00519a1)
* removed include of net/route.h because it prevents compilation underAndrew Tridgell1998-11-291-4/+6
| | | | | | | | | | SCO 3.2 (including it also requires lots of streams stuff, making it a total mess). If this causes problems on some other platform then please add a comment stating what platform and why the include is needed so we can work out how to test for it properly. (This used to be commit 21d779bf7def71d5d9c899eabbb6a110860bd8e2)
* don't allow ".." in service name when doing "default service"Andrew Tridgell1998-11-291-1/+3
| | | | | processing. (This used to be commit 702263bba555a1d7c7999d40e5789b7e920dbce4)
* Now uninstalls man pages from correct source location.Tim Potter1998-11-271-1/+1
| | | | | Fix by Andrej Borsenkow <borsenkow.msk@sni.de> (This used to be commit 5c0e31982e8eb1c93bc77925e59be65798f2dbad)
* make the help links appear in a separate window, so you can read theAndrew Tridgell1998-11-271-1/+1
| | | | | docs and do configuration at the same time. (This used to be commit 386a3bfd337f4b248f6c88b9c98b9d6471cc9b25)
* better layout of password options.Andrew Tridgell1998-11-271-19/+23
| | | | (This used to be commit d3fa0dd7a80a8d20e2d9db0b5ca24988059280fb)
* install all html docs in yodl help directoryAndrew Tridgell1998-11-271-0/+7
| | | | (This used to be commit ed4d1062b2655d59f6904344e708aa53af235ad5)
* Replaced ZERO_STRUCT() with ZERO_STRUCTP() in cli_connect_serverlist().Tim Potter1998-11-261-1/+1
| | | | | Fix by Matt Chapman <m.chapman@student.unsw.edu.au> (This used to be commit c44b418d6fd16a257af21f6b5b29b1cdf26015b7)
* we have a problem: resolution of "Primary Group RID" which we assumedLuke Leighton1998-11-263-2/+16
| | | | | | | | | | would only be a domain group rid. it can also be a local group rid, which causes us problems in attempting to turn a unix gid into the correct rid (domain group or local group). sooo.... the fix is _in_ there, we just can't use it because it causes link / knock-on problems in nmbd. (This used to be commit e4ee6538709c33000774eb1676608f2dd67d5a30)
* yeehaah got users to be included in S-1-5-xxx-yyy-zzz's local groups.Luke Leighton1998-11-255-51/+70
| | | | | | | now need search capability on S-1-5-20, which will need argh, a "group database API" on S-1-5-20, and the ability to add BUILTIN\Admins etc to "local group map" argh. (This used to be commit a24f6eb00ba7486479cbcf7fadf5456521c56179)
* fixing group database issuesLuke Leighton1998-11-258-67/+94
| | | | (This used to be commit 591c63e3e1e3201ddcd7582585b652fb848d80ca)
* Makefile.in: Added maintainer mode fixes.Jeremy Allison1998-11-2527-824/+2010
| | | | | | | | | | | | | | | | | | | | | | | | | aclocal.m4: Added AC_LIBTESTFUNC. configure.in: Fixed -lsecurity -lsec problems. client.c: dos_ fixes. groupdb/aliasunix.c: Dead code removal. include/includes.h: Added default PRINTCAP_NAME. lib/genrand.c: dos_ fixes. lib/replace.c: Added strtoul. lib/system.c: dos_ fixes. lib/util.c: dos_ fixes. lib/util_sid.c: Signed/unsigned fixes. lib/util_str.c: removed bad const. locking/locking_slow.c: dos_ fixes. printing/printing.c: dos_ fixes. rpc_server/srv_samr.c: Dead code removal. rpc_server/srv_sid.c: global_myworkgroup defined with wrong size AGAIN ! smbd/dir.c: dos_ fixes. smbd/open.c: dos_ fixes. smbd/oplock.c: dos_ fixes. smbd/reply.c smbd/server.c smbd/service.c smbd/uid.c: dos_ fixes. Jeremy. (This used to be commit 6acb4b68f68d516e2ac3c47e500f5600d653435e)
* LsaLookupNames client call (first used as lookupnames command in rpcclient).Luke Leighton1998-11-2513-131/+380
| | | | (This used to be commit 68342a29a892e515cf2b22d759476d61944bcd59)
* fixing domain join and domain login problemsLuke Leighton1998-11-255-11/+23
| | | | (This used to be commit 90a24664318da97a6e8cfe4622a8573c0e3cbe5e)
* clearer debug commentsLuke Leighton1998-11-241-2/+2
| | | | (This used to be commit 06b9100c1c1590bad392a8d9bdd79a6c554a3cac)
* oops, forgot to rename smbfilegrp to smbunixgrp.Luke Leighton1998-11-241-11/+11
| | | | (This used to be commit 6de2b03d1c6714d63c6dbe7a417fb442e95ee0d9)
* sorting out difference between aliases and groups in the cases whereLuke Leighton1998-11-243-21/+55
| | | | | | | | | | | | | | | | unix groups are not explicitly mapped. i.e as a PDC or BDC you can have domain groups, as a member of a domain you cannot. as a member of a domain, unmapped unix groups are assumed to be aliases, and as a PDC or BDC, unmapped unix groups are assumed to be unix groups. there is _one_ other check needed with aliases to be added: unmapped unix groups that have the same name as an NT group on the PDC (for which i will need to write an LsaLookupNames call) should be assumed to be domain groups on the PDC. (This used to be commit 53b49b44e13a4ca9818ebc947372b1374831b568)
* jean-francois pointed out problem with "lp_domain_role()" code, youLuke Leighton1998-11-241-2/+2
| | | | | could never be a PDC. (This used to be commit 2bcc540af80c37b8032a23d6d0045160a7c40e32)
* initialise not initialize...Luke Leighton1998-11-242-2/+2
| | | | (This used to be commit b67d66a1e9d879cd5960380c94422c0af8dedaad)
* Fixed oplock test path spec bug.Jeremy Allison1998-11-241-1/+1
| | | | | Jeremy. (This used to be commit 252dd8b8929adbdff9917395d4f8caad2d7882b2)
* Fixed -Wall -Wshadow warning.Jeremy Allison1998-11-231-2/+1
| | | | | Jeremy. (This used to be commit 81b90208910528a4ace683f30e39c54d8cfa12b7)
* uninitialised counterLuke Leighton1998-11-231-1/+1
| | | | (This used to be commit 403f53d696d17f34dd1afc035a72eda792dd20ea)
* yp_prot.h and ypclnt.h correct: ypprot.h and yp_clnt.h wrong...Luke Leighton1998-11-232-2/+2
| | | | (This used to be commit c89642ff3fa0c0bc2bca62304db0282676e0b649)
* re-added ypprot.h and yp_clnt.hLuke Leighton1998-11-232-2/+2
| | | | (This used to be commit d50238823411f07d5db112843d9a1e3a84c7dbd7)
* re-added includes for yp_prot.h and yp_clnt.hLuke Leighton1998-11-231-0/+13
| | | | (This used to be commit 53339b63897f51913fef183fd3b4565dad2ffad1)
* get rid of __wait boring warning, caused by rpc/clnt.hLuke Leighton1998-11-231-13/+4
| | | | (This used to be commit 0fdac4b42fb55a26cdd73d6d5f4a3017d1b4db46)
* cvs being STUPIDLuke Leighton1998-11-233-101/+58
| | | | (This used to be commit 22802195ed544b6042d791b34e704d608bbdfd84)
* remove unused variableLuke Leighton1998-11-231-1/+0
| | | | (This used to be commit 30b3f339f8d55c2d3a4cbc380b7f12eb040bf381)
* unused variable removedLuke Leighton1998-11-231-1/+1
| | | | (This used to be commit 16ac5c89b7417a6aa2596c5c7fbb1fa7542accfd)
* cvs being STUPIDLuke Leighton1998-11-231-3/+51
| | | | (This used to be commit ba78b5932a1ed3f7c07720703b9131234f035689)
* cvs is acting wierd.Luke Leighton1998-11-232-0/+573
| | | | (This used to be commit 10e4cbd2647eb629b60b0060fa184212a89e54f2)
* someone had added code to convert rids to rids, assuming that the ridsLuke Leighton1998-11-231-9/+1
| | | | | in the file were gids: they are not. (This used to be commit 8af860394fa3251a26285c8c96c9e4093346f20b)
* remove / add / attempt to stop remove didn't work.Luke Leighton1998-11-231-0/+651
| | | | (This used to be commit 82b6292dff38f4e22ee8feab1b54504b95d705fa)
* unix instance of group database APILuke Leighton1998-11-2326-1294/+1098
| | | | (This used to be commit e76f593b3572ac881f1aa1fb3326d8b7169b0078)
* replace ' with _ as wellAndrew Tridgell1998-11-232-13/+14
| | | | (This used to be commit e93491953a2555401a372de74ac2aee0cc44cb88)
* changed string_sub() to replace " ; and ` in the inserted string with _Andrew Tridgell1998-11-234-25/+59
| | | | | use all_string_sub() if you don't want this. (This used to be commit a3357ab49335106674fe7a7481cd0f146d74fbe5)
* deleted some old DEBUG() code that wasn't usedAndrew Tridgell1998-11-221-14/+0
| | | | (This used to be commit bdcee2557bd243a1bfbde3353ebcfe3d82bf9fc5)
* global change from samba.anu.edu.au to samba.orgAndrew Tridgell1998-11-213-3/+3
| | | | (This used to be commit 42d2509c9fab5c774fd33b9d4b5bd1ee125479c3)
* Added changes to smbtar submitted by Sandy WhiteselRichard Sharpe1998-11-211-1/+7
| | | | | | | | | Added some extra documentation for smbclient Grr, Jeremy beat me to a bug fix in client.c Will have to get Jeremy to tell me how to check out SAMBA_2_0 :-) (This used to be commit 8594c4bcae503972679c55a2fcab8eb69faf3ae3)
* make SWAT obey the global "hosts allow" and "hosts deny" settings.Andrew Tridgell1998-11-212-13/+29
| | | | | | any attempt to run swat from a host that is disallowed will give an error. (This used to be commit fe4ef4bbef01aed75807c884249ca8efa5de4140)
* try to use *SMBSERVER to connect to password server if the firstAndrew Tridgell1998-11-211-13/+11
| | | | | session_request fails. (This used to be commit ab2370e7ac770f1e32b8d726ab955457fcc8c2d7)
* add a error code when failed to get lockAndrew Tridgell1998-11-211-1/+1
| | | | (This used to be commit 05696b4bbfb66bfdbdc19f395efe062ac890bc41)
* formatting changeAndrew Tridgell1998-11-211-1/+1
| | | | (This used to be commit 94fc7fe3afa1dc5547050248738eb697c1eeef59)
* use bindir not sbindir in Makefile to ensure that we don't breakAndrew Tridgell1998-11-211-1/+3
| | | | | existing setups (This used to be commit e97cbd6912a58d4985c2b8a649cfe6982809892d)
* smbd/password.c: Added *SMBSERVER fix is name is too long.Jeremy Allison1998-11-212-2/+10
| | | | | | web/swat.c: Changed '?' to help. Jeremy. (This used to be commit 631913ea856926a77304692c74a1bd27faead179)
* Instrumented hack fix with debug level 10 statements just in case :-).Jeremy Allison1998-11-201-0/+3
| | | | | Jeremy. (This used to be commit 10f51b85722141f99ffecc3f19a39de108400828)
* acconfig.h configure configure.in include/config.h.in: Added -lsec and ↵Jeremy Allison1998-11-206-190/+672
| | | | | | | | | | -lsecurity checks in a more sane way. rpc_client/cli_netlogon.c: Removed correct bits check to see if this works with an NT3.51 PDC. rpc_parse/parse_samr.c: Fixed compile warnings. Jeremy. (This used to be commit 34d8f4b1c4d59ab3c009360fc67eef9361dd859b)
* Fixed stupid blunder where I renamed getpwanam to getpwnam.Jeremy Allison1998-11-203-4/+4
| | | | | Jeremy. (This used to be commit b02d21a73d7f098c5599c606abbb5c92ea4ba13e)
* wrong directory path for smbd and nmbdHerb Lewis1998-11-201-2/+2
| | | | (This used to be commit a33b4f623f196ca7e8056454b9212fe0ffa389c2)
* Makefile.in: Added passing of CPPFLAGS into Makefile.Jeremy Allison1998-11-194-415/+438
| | | | | | | | | | | | | configure configure.in include/config.h.in: Fixes for AIX4.x. AIX *will not* enable large file support of *any* description unless either -D_LARGE_FILES or -D_LARGE_FILES_API are defined. I chose "-D_LARGE_FILES" as this leads to cleaner code... Also fixed bug where getpwnam was listed as getpw(a)nam in configure.in. Jeremy. (This used to be commit 2d62dc26f4e3a171ecbe56f33d94db2fea0ef0ad)