summaryrefslogtreecommitdiffstats
path: root/source/passdb/smbpassgroup.c
Commit message (Collapse)AuthorAgeFilesLines
* code from bertl to allow remap of default built-in names to anything.Luke Leighton1999-07-141-0/+6
| | | | | parameter is "builtin rid file". Copyright 1999 Bertl <bp@vpnet.at>
* renamed getfilepwent() and endfilepwent() to getfileent() and endfileent()Luke Leighton1999-07-131-2/+2
| | | | | | as they are generic "file line-by-line" reading routines. lines with "#" at the front are ignored (as comments). this code started out as the password file reading code.
* matthew chapman's ldap code, to date. plus docs!Luke Leighton1998-12-071-1/+1
|
* weekend work. user / group database API.Luke Leighton1998-11-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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...
* 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.
* unix instance of group database APILuke Leighton1998-11-231-5/+7
|
* Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.Jeremy Allison1998-11-171-3/+2
| | | | | | | | | | Tidied up some of the mess (no other word for it). Still doesn't compile cleanly. There are calls with incorrect parameters that don't seem to be doing the right thing. This code still needs surgery :-(. Jeremy.
* swapped username:uid:[groupridlist]:[aliasridlist] toLuke Leighton1998-11-171-9/+9
| | | | u:u:a:g
* the start of the start of the SAM database APILuke Leighton1998-11-051-0/+196