summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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)
1998-12-03moved get_unixgroups it will be needed by the unix instance of the groupLuke Leighton3-50/+50
DB API (This used to be commit ef58e48bc9af338ed6c734205d4faf82371284ac)
1998-12-03jean-f spotted race condition on generation of sam sid, from startingLuke Leighton1-1/+1
nmbd and smbd. nmbd is now client: smbd is solely responsible for creating sam_name.SID (This used to be commit 50fa4822df679b4d54b5a868179594ec087e811f)
1998-12-03jean-f spotted bug in test for existence of MACHINE.SID and SAM_NAME.SID.Luke Leighton1-1/+1
(This used to be commit 81be1e60764d380adf47737552659854d94ca626)
1998-12-03adding group parsing: add/modify/delete/add members.Luke Leighton3-99/+244
(This used to be commit 13a656b0e5c73e157b222765fb57a1bdafc67b80)
1998-12-02jeremy's going to do me in, again.Luke Leighton1-14/+14
jean-francois' going to get annoyed, again. andrew's going to threaten to take cvs access away, again. missed compilation of this file when updating sam_unknown_12 call. (This used to be commit 74f826af36a7af4e91f9325d11ef8432d343c3bd)
1998-12-02spotted the mistake in group_info1 parsing.Luke Leighton2-3/+6
(This used to be commit e39c0c76ae52bbd4539f8f254e78566a5511efc1)
1998-12-02added rid and sid_name_use to DOMAIN_GRP_MEMBER, for use in group memberLuke Leighton6-82/+90
query. domain groups now work, hurrah! only thing is that the description is one character long, don't know why (which is wierd in itself). (This used to be commit 78a86c64960a7823b0db8b7bebfffabb4a5ba864)
1998-12-02ERRmoredata is an acceptable error code, it is not an error.Luke Leighton1-2/+6
(This used to be commit 9bce7340d60a49594f67cc3c6cc6119b33a5358a)
1998-12-02removed check on name of domain having to be right, etc etc.Luke Leighton1-8/+0
(This used to be commit a74b6dcc76794c1fe350d6906f156fdf5189e18b)
1998-12-02trailing backslashes spotted by andrej.Luke Leighton1-2/+2
(This used to be commit 9266137fcb87b6e4b2cc45a55341ebaa69c594b7)
1998-12-02issues spotted by andrej: %s\\%s not %s\%sLuke Leighton3-3/+4
(This used to be commit 779a7aa30d4b8a3c8ca1d817a3fd9886c0437def)
1998-12-02string_to_sid was using next_token() this is bad as it stops you fromLuke Leighton1-43/+44
being able to use next_token() outside of string_to_sid calls. use strchr instead (This used to be commit 1c478ca1723558cc5dde693b4abacb56bd98cd43)
1998-12-02Updated HEAD branch version to 2.1.0-prealpha in response to a userJohn Terpstra1-1/+1
complaint about confusion because both the HEAD and SAMBA_2_0 reported the same version info. (This used to be commit 195b860b46b78a6a2dd83909477dbc2e9af8f845)
1998-12-02adding group member code, made a start. found that the group members'Luke Leighton6-88/+640
rid is needed not the name (see DOMAIN_GRP_MEMBER) decided to go home. (This used to be commit 9337049dfc98becfa74522d418dae64a97c7a304)
1998-12-01ok. unix-nt mapping code issuesLuke Leighton3-6/+6
need to check, when looking up group members, that a group member is a unix user [being mapped to an nt user] FIRST then if that fails check that a group member is a unix group [being mapped to an nt group]. why? because you can have group names in a unix /etc/group file with the same name as users. this _might_ be a problem... (This used to be commit 585d47644d3d709ccdfd5135c5f77166b609eb3b)
1998-12-01check server role before doing nt user to unix user mappingLuke Leighton1-12/+15
(This used to be commit 9d4e810e7dd8d6d80b47204636f9a37774f95455)
1998-12-01query_aliasmem code. it works (hurrah).Luke Leighton5-62/+68
(This used to be commit f7f2516df46dde1671235f788f7689c93d9395ae)
1998-12-01fixing smbpasswd to link to smbd to obtain domain sidLuke Leighton3-6/+9
(This used to be commit bfb75e58ced1082d3bb7d6b3f3367d50a0ca26ea)
1998-12-01rpc_samr.h parse_samr.c srv_samr.c :Luke Leighton10-74/+313
samr_query_aliasmembers (cool!) util_pwdb.c sids.c nmbd.c server.c smbpasswd.c swat.c : pwdb_initialise(BOOL is_server) now creates / reads DOMAIN_NAME.SID if is_server is True, and does LsaQueryInfoPolicy(levels 3 and 5) to obtain member and pdc sids. (This used to be commit 3e1eb4f26b67e484b05e1dde94fd4e4dae982631)
1998-12-01andrej spotted that entries _not_ in domain map user were being refused.Luke Leighton1-10/+6
modified map_nt_and_unix_names() to never refuse a mapping (returns void now not BOOL). (This used to be commit faffcb3c8955dcea3987e2978dc34b4dba580167)
1998-12-01hm. removed the "if failed to map nt name to unix name, fail tcon call"Luke Leighton1-8/+2
restriction and "domain user map" seems to work. amazing. (This used to be commit 2c0d91e64a6b330b209ca62c3306ec1a53fda873)
1998-12-01fix to domain_namemap (domain, ntname wrong way round oops)Luke Leighton4-8/+10
stupid compile errors with file_rename() call just created. (This used to be commit f5cedb8c9618b83b63b5e2db867d238eebc7e13c)
1998-12-01adding some samr parsing calls (group / alias adding / deleting)Luke Leighton7-501/+939
added code that moves MACHINE.SID to DOMAIN_NAME.SID if it exists. (This used to be commit 51c1c31768a92d9c57ee6c09b78419bcbc544f03)
1998-11-30attempting to fix "domain user map" up, but it's a bit complicated.Luke Leighton6-96/+192
i may simply go for a response in the NetSamLogon returning the unix username, forcing the NT user to appear to be a unix user, however even that is fraught with implications. might just have to go the whole hog and do this tuple thing, "unix_name + nt_name" always associated together... issue with api_net_sam_logon, getsam21pwent() being called twice, the second time overwriting static buffer data (argh) so had to make a copy. noticed a nested "become_root()"/"unbecome_root()" which will have to be tracked down... (This used to be commit 474f94f419a531e33b475249da7efb99ac22f454)
1998-11-30passdb.c now calls getpwnam() which returns results in a static buffer.Luke Leighton1-7/+21
a call _outside_ of this was _also_ calling getpwnam. the calls to getsmbpwnam() were therefore overwriting the static buffer. (This used to be commit c5ba5fa6feab2884a23b8bcb5dcb349ee1a7c139)