summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1999-01-15Finally committing my LDAP changes.Matthew Chapman7-101/+523
* Added new APIs for modifying groups. * RIDs are allocated similarly to NT, starting from 1000 and incrementing by 1 for each new user/group. * RIDs are now consistently in hex * Fixed bugs reported by Allan Bjorklund <allan@umich.edu>: - ldap_close_connection is exported by OpenLDAP - changed to ldap_disconnect - Missing ldap_connect() in getusergroups functions - ldap_next_entry was being called too early while retrieving a sam_struct - LDAP globals should be extern in sampassldap.c * Fixed bugs reported by Martin Hofbauer <mh@bacher.at> - Newly added workstation trust accounts had attributes DU rather than W. - User dn's were forced to start with "uid=XX" rather than using the existing dn. (This used to be commit 91c77f5432169553572bb4d85ad5f09d17524f20)
1999-01-13Fixed the "You password will expire in 0 days. Would you like toGerald Carter2-1/+30
change it now?" message when you login to a Samba Controlled domain. The fix is a hard coded 42 days from right now until you need to change you pasword again time (see passdb/sampassdb.c:pwdb_smb_to_sam()) Also fixed getsmbfilepwent() so that it will read in the last password change time correctly. * Related to this lib/util_pwdb.c:StrnCaseCmp() returns 0 if the strings match. Chouldn't this be the pther way? Oh well. I didn't change the return code as it was used in several other cases (see lib/util_pwdb.c:pwdb_get_last_set_time()) (This used to be commit 175e598dccd042c0f8b045db45fbe3ae928a7387)
1999-01-13fixed an uninitialized variable in lookupsmbgrpgid() andGerald Carter2-1/+3
lookupsmbpwuid that was causing a SEGFAULT in smbd. (This used to be commit cabc7e739cb6a6c8dfc4b6988a8ef5837e3312d2)
1998-12-29While writing the man page, I realized that it was a bit silly not to acceptChristopher R. Hertel1-32/+117
command-line parameters. I've added that capability. Of course, the man page is now wrong. Sigh. Chris -)----- (This used to be commit 300a8c9e5077206b706c522c0b4288b00b7afda7)
1998-12-28Sorry that this is going so slowly.Christopher R. Hertel2-3/+9
I've added debug2html to Makefile.in so that it compiles as part of the normal build. Fixed a typo in debug2html.c as well. One problem: I found it necessary to link with both $(PARAM_OBJ) and $(LIB_OBJ). The result is an executable that is much larger than it really needs to be. (This used to be commit d2d6f0bf362d376f39d0ec7e4b6651ca2b8c8819)
1998-12-20fix for potential lsass.exe crashing due to negative response fromLuke Leighton4-26/+30
LsaLookupNames being incorrect. this is a bit wierd: why would the lsass.exe on the nt _client_ crash due to an LsaLookupNames response from a samba _server_? (This used to be commit a15a3f95f2a14ab164ca758e2145444a803190b2)
1998-12-20adding start of remote lookup for domain member role.Luke Leighton1-29/+125
(This used to be commit 090512e18770bab9222a30e68dee83d1612eca10)
1998-12-20lib_sec_ctxt.o not .cLuke Leighton1-1/+1
(This used to be commit 2485b8e706a2d0358f075dcb8b03bc75fa122ee1)
1998-12-19Fixed problems in debug code because I did not compileRichard Sharpe1-4/+4
first :-( (This used to be commit 47e36bed8fc3cec3a63087f30d680f2431bcfe55)
1998-12-19Added some debugging to clitar ...Richard Sharpe1-0/+4
(This used to be commit b75af70990c3a9eaed9e3537b79e8e66a0ae8286)
1998-12-17Fixed tar recurse bug.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 7be5c8e8f734a2bd8f4e3c38b7f94c501ad35a19)
1998-12-17Fix bug with nmbd running wild due to recursion in ↵Jeremy Allison3-9/+30
retransmit_or_expire_response_records(). Jeremy. (This used to be commit d5f05b4faef50e7cfc0ed05a87d92e14102106c6)
1998-12-17and in head branch:Andrew Tridgell4-3/+6
make sure we include sys/mman.h if available (This used to be commit ccf644388732287da01a943ea826187b5394ebc6)
1998-12-16A while back, Andrew and I talked about making the debug parsing code aChristopher R. Hertel7-41/+184
better "fit" with other Samba code. This is a small first step toward doing what (I think) we agreed to do. I've moved the key function from ubiqx/debugparse.c into lib/debug.c. I have also moved the enum from ubiqx/debugparse.h into the debug section in smb.h. The next thing to do is to get debug2html added into the Makefile.in so that it is always produced when compiling the suite. Chris -)----- (This used to be commit 782474f41e0c2bc0b1f098758a3e5cb44e87d8b1)
1998-12-15on Linux force fcntl/mmap based shared memory and on other systemsAndrew Tridgell1-0/+13
force IPC/shmem based shared memory. (This used to be commit ef5f752a4ae818d9c739a064410a02fa48a477e3)
1998-12-14server_cryptkey() now calling cli_connectserverlist(). stupid microsoftLuke Leighton2-76/+15
idiotic *SMBSERVER connectionism added to cli_connect_serverlist(). also added check for protocol < LANMAN2. (This used to be commit c2bcb3a286f22ed4f0f55da2a3eb2bff17906fb1)
1998-12-14added sid_name_use array argument to lsa_lookup_names and lsa_lookup_sids.Luke Leighton8-12/+84
(This used to be commit 0b2095e092d747f741e78a3349f0b81a72811629)
1998-12-14trying to track down issues in get_home_dir().Luke Leighton4-7/+21
(This used to be commit 2cce78aa00f31b79d51aaf46da72019b926e8226)
1998-12-11%U substitution should be unix user not nt userLuke Leighton2-4/+9
(This used to be commit f4b8a283065a7c1ae233a0ae01ac76f32fea6b31)
1998-12-09adding svcctl parsing codeLuke Leighton4-9/+329
(This used to be commit c6f2f58c74cd79d84ec4a7802882da07a9af80d4)
1998-12-09bugfix in smb_err_msgLuke Leighton1-3/+2
(This used to be commit 870bccb174337dec5cc14a5e7740662de56e629c)
1998-12-09oops, util_pwdb.c appears to be included in PASSDB_OBJ not LIB_OBJ.Luke Leighton4-18/+17
(This used to be commit ca10eb44909e66a07dc7f88b0a740390f9ec3922)
1998-12-09adding some enumerate services code, client and server.Luke Leighton9-95/+394
(This used to be commit dacf5b152bf74cc3ee9a816911384a5eb0e77afa)
1998-12-09need to initialise global_myworkgroupLuke Leighton2-1/+19
(This used to be commit 501617307f3b9bbad76406d00b1bc82f5cb479a6)
1998-12-09removed the SID stuff from the head branch as well.Andrew Tridgell3-36/+6
This allows the removal of PASSDB_OBJ, RPC_CLIENT_OBJ and RPC_PARSE_OBJ from nmbd in the head branch. so nmbd just went on a diet :) (This used to be commit be697c9ef00f1b6366228dcdd3983d68158dd94f)
1998-12-08adding "Service Control Manager" commands to rpcclient.Luke Leighton8-41/+551
(This used to be commit e5ee965f8d8452ab694bc5d88e474c4b91dce5b0)
1998-12-08Adding George's Mac extension code.Jeremy Allison1-0/+140
Jeremy. (This used to be commit b993081db1d371b8f0d16db23a46a2d5fedcc9ef)
1998-12-08Adding George's Mac extension include files.Jeremy Allison2-0/+279
Jeremy. (This used to be commit 60c3e2f14d5c31fd1fd7aebf7196ac186e31d8f1)
1998-12-08ldap_getpw() also needs to be (void)Luke Leighton2-4/+3
(This used to be commit f36cf3b6a70d0a91bce923ab51780d20d69e3bd6)
1998-12-08compilation warnings due to missing (void) in ldap_close_connection.Luke Leighton2-3/+7
(This used to be commit f11eb4165836ce8d15a453d37c4e07913562d778)
1998-12-08adding srvsvc pipe.Luke Leighton15-11/+519
(This used to be commit d06d6369942828ec89e90f99bd0d0d3f91d61d13)
1998-12-07added ldap files by Matthew Chapman.Luke Leighton5-0/+1574
(This used to be commit 2bc031e8fafeafdc58c6a8056597b647d00657ae)
1998-12-07Matthew Chapman spotted that smbpasschange was assuming the existenceLuke Leighton1-29/+0
of a private/smbpasswd file, this will not be the case for other database APIs. removed startsmbdb and endsmbpwdb calls because add_smbpwd_entry() and mod_smbpwd_entry() don't need them. (This used to be commit 8b36c7c08ffa408506c35219e6453a595cbc3a4f)
1998-12-07fixed warnings (and potential errors) due to integer overflow whenAndrew Tridgell2-3/+5
creating locking masks (This used to be commit 5e2844d5edb15de29b976d2ff077ffbe012b860c)
1998-12-07updated for Matt Chapman's ldap codeLuke Leighton1-31/+32
(This used to be commit d11859041d4ec828b2262282cda98a021129d008)
1998-12-07issues spotted by herb.Luke Leighton2-3/+3
(This used to be commit 57e025494692b1e54d4d83192e6c15d4d1454353)
1998-12-07matthew chapman's ldap code, to date. plus docs!Luke Leighton6-828/+301
(This used to be commit 2c438c86cbb38833b3abd4fbead6324687633b25)
1998-12-07bugs in rpcclient. add_aliasmem uses a DOM_SID2 not a DOM_SID.Luke Leighton3-12/+12
(This used to be commit 8a85d7abed317fd06e3e0026d4b9e088311eede4)
1998-12-07first attempt at making unix setuid/setgid code that is independent ofLuke Leighton1-0/+303
cnums and snums. (This used to be commit 657f46edfbea852309505f5e3065506127eda6a2)
1998-12-07removed nt_pipe_fnum from struct cli_state. need to be able to callLuke Leighton20-568/+608
LsaLookupSids etc from within SamrQueryAliasMembers, for example. fnum is now a parameter to client functions. thanks to mike black for starting the ball rolling. (This used to be commit bee8f7fa6b0f7f995f71303f4e14a4aaed0c2437)
1998-12-07- lib/unix_sec_ctxt.cLuke Leighton23-341/+2068
attempt at taking lib/uid.c and getting a unix security context change module that is independent of "cnums" and "snums". a security context is needed for pipes, not just IPC$ or other services. - group database API added add_group/alias_member, del_group/alias_member, del_group/alias_entry functions. del_builtin_entry() is deliberately set to NULL to cause an exception, you cannot delete builtin aliases. - parse_lsa.c srv_lsa.c fixed lookup_names code, it was a load of trash and didn't do anything. - cmd_samr.c rpcclient.c srv_samr.c added "deletegroup", "deletealias", "delaliasmem", "delgroupmem", "addgroupmem", "addaliasmem", "createalias", "creategroup", to both client and server code. server code calls into unix stubs right now, which don't actually do anything. the only instance where they are expected to do anything is in appliance mode NOT even in the ldap code or anything. client code modified to call samr_lookup_names() for group code (because we can) and lsa_lookup_names() for alias code (because we have to). - srv_lookup.c oops, lookup on unsplit name, we got lookup on DOMAIN, DOMAIN\name instead of DOMAIN, name. (This used to be commit b8175702ef61b8b37b078f38e81452c00a5e2986)
1998-12-05oops - lock test was the wrong way aroundAndrew Tridgell1-1/+1
(This used to be commit 783d4b3477fa9e363aa1f7524bd060019648ab0d)
1998-12-05fixed pidfile handling to check for a lock on the file, so we can beAndrew Tridgell1-16/+33
sure it is a samba process that is running. (This used to be commit f7ad78e369ebf2f4d31e8259e3e1fdd4c087b037)
1998-12-05Sync up critical kernel oplock bugfix. I don't want to loseJeremy Allison1-4/+37
this.... Jeremy. (This used to be commit 5287f3d19b7d8e76970f1ce1abfd95b7341434e5)
1998-12-04added delete domain group and local group and delete domain group member.Luke Leighton3-1/+233
(This used to be commit bf15343def5b95ce4387ac4357674aff31431194)
1998-12-04fixing "addgroupmem" and "enumgroups -m" commands, samr_open_group()Luke Leighton3-6/+8
needed a flags fields as you get 0x0000 0010 and 0x0000 001f unknown values for different purposes, no-one's going to tell us what they are and i don't CARE! (This used to be commit aabb4b3bc5119ef317b5697ae6fcf5d36c2d474e)
1998-12-04- oops, i got "add alias member" and "delete alias member" swapped.Luke Leighton9-61/+61
- samr_enum_dom_users, the first 4 bytes is some sort of garbage, nt5-beta2 clears them out to zeros whereas nt4 does not. fixed bug where we were assuming that the first 4 bytes of a response _had_ to be non-zero. - cli_lsarpc.c: forgot to append the rid on the lsa_lookup_names() client call. - added in "addaliasmem" and "addgroupmem" commands. the addaliasmem command actually turned out to be a "delaliasmem" :-) :-) - parse_lsa.c: moved assert array check to after the size of useable array space is set... (This used to be commit 165b15a8cacc4bc7cf8cc0b9aaabb6b92cef7fdb)
1998-12-04- renamed do_samr_xxx to samr_xxxLuke Leighton13-291/+1425
- renamed do_lsa_xxx to lsa_xxx - added "enumgroups [-m]" command, enumerates groups, shows members. - added cmd_sam_add_groupmem(), need to call these in rpcclient.c - added cmd_sam_add_aliasmem(), need to call these in rpcclient.c - modified "enumaliases [-m]" command - improved "enumgroups" and "enumaliases" to display names not just RIDS/SIDs. - renamed "samr_unknown_12" to "samr_lookup_rids". - added the following client-side functions: get_samr_query_groupmem() get_samr_query_aliasmem() get_samr_query_groupinfo() samr_enum_dom_groups() samr_enum_dom_aliases() samr_add_aliasmem() samr_add_groupmem() - improved display output (display.c) (This used to be commit eacc5e581af2b4de24186b9be3238b352c54effe)
1998-12-03added createalias command to rpcclientLuke Leighton7-21/+327
(This used to be commit 4771d5451b49375cc2fd4246d7d746b0d03cd5ba)
1998-12-03create domain group command (creategroup) added to rpcclient.Luke Leighton7-118/+427
renamed do_samr_xxxx to samr_xxxx. (This used to be commit 1e5d81c154740349a2cda4c1892b33a21c0683a8)