summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* Finally committing my LDAP changes.Matthew Chapman1999-01-157-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.
* Fixed the "You password will expire in 0 days. Would you like toGerald Carter1999-01-132-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())
* fixed an uninitialized variable in lookupsmbgrpgid() andGerald Carter1999-01-132-1/+3
| | | | lookupsmbpwuid that was causing a SEGFAULT in smbd.
* While writing the man page, I realized that it was a bit silly not to acceptChristopher R. Hertel1998-12-291-32/+117
| | | | | | | command-line parameters. I've added that capability. Of course, the man page is now wrong. Sigh. Chris -)-----
* Sorry that this is going so slowly.Christopher R. Hertel1998-12-282-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.
* fix for potential lsass.exe crashing due to negative response fromLuke Leighton1998-12-204-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_?
* adding start of remote lookup for domain member role.Luke Leighton1998-12-201-29/+125
|
* lib_sec_ctxt.o not .cLuke Leighton1998-12-201-1/+1
|
* Fixed problems in debug code because I did not compileRichard Sharpe1998-12-191-4/+4
| | | | first :-(
* Added some debugging to clitar ...Richard Sharpe1998-12-191-0/+4
|
* Fixed tar recurse bug.Jeremy Allison1998-12-171-1/+1
| | | | Jeremy.
* Fix bug with nmbd running wild due to recursion in ↵Jeremy Allison1998-12-173-9/+30
| | | | | | retransmit_or_expire_response_records(). Jeremy.
* and in head branch:Andrew Tridgell1998-12-174-3/+6
| | | | make sure we include sys/mman.h if available
* A while back, Andrew and I talked about making the debug parsing code aChristopher R. Hertel1998-12-167-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 -)-----
* on Linux force fcntl/mmap based shared memory and on other systemsAndrew Tridgell1998-12-151-0/+13
| | | | force IPC/shmem based shared memory.
* server_cryptkey() now calling cli_connectserverlist(). stupid microsoftLuke Leighton1998-12-142-76/+15
| | | | | idiotic *SMBSERVER connectionism added to cli_connect_serverlist(). also added check for protocol < LANMAN2.
* added sid_name_use array argument to lsa_lookup_names and lsa_lookup_sids.Luke Leighton1998-12-148-12/+84
|
* trying to track down issues in get_home_dir().Luke Leighton1998-12-144-7/+21
|
* %U substitution should be unix user not nt userLuke Leighton1998-12-112-4/+9
|
* adding svcctl parsing codeLuke Leighton1998-12-094-9/+329
|
* bugfix in smb_err_msgLuke Leighton1998-12-091-3/+2
|
* oops, util_pwdb.c appears to be included in PASSDB_OBJ not LIB_OBJ.Luke Leighton1998-12-094-18/+17
|
* adding some enumerate services code, client and server.Luke Leighton1998-12-099-95/+394
|
* need to initialise global_myworkgroupLuke Leighton1998-12-092-1/+19
|
* removed the SID stuff from the head branch as well.Andrew Tridgell1998-12-093-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 :)
* adding "Service Control Manager" commands to rpcclient.Luke Leighton1998-12-088-41/+551
|
* Adding George's Mac extension code.Jeremy Allison1998-12-081-0/+140
| | | | Jeremy.
* Adding George's Mac extension include files.Jeremy Allison1998-12-082-0/+279
| | | | Jeremy.
* ldap_getpw() also needs to be (void)Luke Leighton1998-12-082-4/+3
|
* compilation warnings due to missing (void) in ldap_close_connection.Luke Leighton1998-12-082-3/+7
|
* adding srvsvc pipe.Luke Leighton1998-12-0815-11/+519
|
* added ldap files by Matthew Chapman.Luke Leighton1998-12-075-0/+1574
|
* Matthew Chapman spotted that smbpasschange was assuming the existenceLuke Leighton1998-12-071-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.
* fixed warnings (and potential errors) due to integer overflow whenAndrew Tridgell1998-12-072-3/+5
| | | | creating locking masks
* updated for Matt Chapman's ldap codeLuke Leighton1998-12-071-31/+32
|
* issues spotted by herb.Luke Leighton1998-12-072-3/+3
|
* matthew chapman's ldap code, to date. plus docs!Luke Leighton1998-12-076-828/+301
|
* bugs in rpcclient. add_aliasmem uses a DOM_SID2 not a DOM_SID.Luke Leighton1998-12-073-12/+12
|
* first attempt at making unix setuid/setgid code that is independent ofLuke Leighton1998-12-071-0/+303
| | | | cnums and snums.
* removed nt_pipe_fnum from struct cli_state. need to be able to callLuke Leighton1998-12-0720-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.
* - lib/unix_sec_ctxt.cLuke Leighton1998-12-0723-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.
* oops - lock test was the wrong way aroundAndrew Tridgell1998-12-051-1/+1
|
* fixed pidfile handling to check for a lock on the file, so we can beAndrew Tridgell1998-12-051-16/+33
| | | | sure it is a samba process that is running.
* Sync up critical kernel oplock bugfix. I don't want to loseJeremy Allison1998-12-051-4/+37
| | | | | this.... Jeremy.
* added delete domain group and local group and delete domain group member.Luke Leighton1998-12-043-1/+233
|
* fixing "addgroupmem" and "enumgroups -m" commands, samr_open_group()Luke Leighton1998-12-043-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!
* - oops, i got "add alias member" and "delete alias member" swapped.Luke Leighton1998-12-049-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...
* - renamed do_samr_xxx to samr_xxxLuke Leighton1998-12-0413-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)
* added createalias command to rpcclientLuke Leighton1998-12-037-21/+327
|
* create domain group command (creategroup) added to rpcclient.Luke Leighton1998-12-037-118/+427
| | | | renamed do_samr_xxxx to samr_xxxx.