summaryrefslogtreecommitdiffstats
path: root/source3/utils/net_idmap.c
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:net factor out net_idmap_dbfileGregor Beck2011-02-091-33/+37
|
* s3:net idmap restore: fix segfault on missing input fileGregor Beck2011-02-091-0/+6
|
* s3:net: remove unused net_idmap_helpGregor Beck2011-02-081-16/+0
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Feb 8 11:50:37 CET 2011 on sn-devel-104
* s3:net: make idmap_store_secret static.Michael Adam2011-01-021-3/+4
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sun Jan 2 13:41:07 CET 2011 on sn-devel-104
* s3:net: fix the usage for net idmap secret (removing alloc)Michael Adam2011-01-021-5/+4
|
* s3:net: remove alloc parameter from idmap_store_secret() (net idmap store).Michael Adam2011-01-021-7/+3
|
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-0/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3-build: use dbwrap.h only where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-idmap: only include idmap headers where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3:net: remove the "net idmap secret alloc" functionality.Michael Adam2010-08-141-39/+18
| | | | | | | This is now not available any more, since allocation is moved below the id mapping layer. The functionality could be reintroduced on a per domain basis as an e.g "net idmap secret <domain> alloc" command.
* s3:net: rewrite "net idmap restore" using dbwrapMichael Adam2010-08-141-52/+130
| | | | | | | | | This removes the use of libwbclient from "net idmap". This detects the idmap backend from the current smb.conf and stores the id mapping tables in the corresponding data bases. Currently, only tdb and tdb2 backends are supported. Support for the ldap backend may be implemented later.
* s3:net: change "net idmap dump" to use dbwrap instead of direct tdb accessMichael Adam2010-08-141-15/+17
| | | | This way, it will also work in a samba-ctdb cluster.
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-1/+1
| | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3 net: Fix compile warningsKai Blin2010-01-191-10/+13
|
* s3 net/i18n: Use only one spelling for "Usage:"Kai Blin2010-01-191-1/+1
|
* s3/net: split up some printable stings to ease i18nBjörn Jacke2010-01-181-10/+11
| | | | | | If we put strings like "Usage:" into separate _() macros and not the whole "Usage:..." string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty.
* s3 net: i18n support for net idmapKai Blin2009-07-301-66/+77
|
* net: Rename functable3 to functable, get rid of old functablesKai Blin2008-06-101-2/+2
| | | | (This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
* net: Make "net idmap" use functable3Kai Blin2008-06-101-18/+80
| | | | (This used to be commit 9c88b16bebd0917a6a4e8d0e5fcc64c3581ceff5)
* net: more whitespace cleanupKai Blin2008-05-101-5/+5
| | | | (This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
* net: Remove globalsKai Blin2008-05-101-12/+13
| | | | (This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
* net_idmap: use wbcSet[U|G]idMapping() and wbcSet[U|G]idHwm() functionsStefan Metzmacher2008-04-111-19/+27
| | | | | metze (This used to be commit dc9a3f8db0af03b4e8223068857092fcaff404f2)
* Fix usage message for 'net idmap dump'.Karolin Seeger2008-03-251-1/+1
| | | | | Karolin (This used to be commit c967b62dd3c924419fa4a72aa2143d6bef959d18)
* Add "net idmap aclmapset"Volker Lendecke2008-03-171-0/+65
| | | | | | This is a merge from 3-0-ctdb that goes along with 1daad835, the option nfs4:sidmap option (This used to be commit f5e26d28be6581149bed0b599c38b82d1a44444e)
* Replace sid_string_static with sid_string_tosVolker Lendecke2007-12-151-1/+2
| | | | | In utils/ I was a bit lazy... (This used to be commit 60e830b0f4571bd5d9039f2edd199534f2a4c341)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-3/+3
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r23612: Revert 'net idmap dump' to the 3.0.24 behaviour.Volker Lendecke2007-10-101-31/+32
| | | | (This used to be commit 56a32f217a183f956ad1c57a62d61a43646aa391)
* r20116: Start merging in the work done to create the new idmap subsystem.Simo Sorce2007-10-101-199/+176
| | | | | Simo. (This used to be commit 50cd8bffeeed2cac755f75fc3d76fe41c451976b)
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-14/+12
| | | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
* r16270: Fix Klocwork #706 - ensure sscanf has correct formatJeremy Allison2007-10-101-4/+5
| | | | | | specifier. Jeremy. (This used to be commit dc53d35b0a1491da94e231943a81547be4c75631)
* r12986: Use d_fprintf(stderr, ...) for any error message in net.Lars Müller2007-10-101-14/+14
| | | | | | | | | All 'usage' messages are still printed to stdout. Fix some compiler warnings for system() calls where we didn't used the return code. Add appropriate error messages and return with the error code we got from system() or NT_STATUS_UNSUCCESSFUL. (This used to be commit f650e3bdafc4c6bcd7eb4bcf8b6b885b979919eb)
* r11155: Remove warning in torturous logic.Jeremy Allison2007-10-101-5/+15
| | | | | Jeremy. (This used to be commit c7373b39bae6dca8281d45d1ff3f2161465838df)
* r11137: Compile with only 2 warnings (I'm still working on that code) on a gcc4Jeremy Allison2007-10-101-4/+4
| | | | | | x86_64 box. Jeremy. (This used to be commit d720867a788c735e56d53d63265255830ec21208)
* r4972: Fix a warning and some debugging-outputs.Günther Deschner2007-10-101-1/+1
| | | | | Guenther (This used to be commit 1eabfa050b661168b42892c2d841c7891e59cf5f)
* r4254: Add an undocumented hack. I had to delete a wrong mapping (a user ↵Volker Lendecke2007-10-101-0/+54
| | | | | | | | | | | | | | that had ended up as a gid in winbindd_idmap.tdb) from winbindd_idmap.tdb. Stopping winbind was not an option on that machine.... net idmap delete <idmap-file> <SID> Thanks, Volker (This used to be commit 27c16733c13bb1c91d356f1c9f5c1f069e24cca2)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-1/+1
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid ofTim Potter2007-10-101-1/+1
| | | | | | '..' from all #include preprocessor commands. This fixes bugzilla #1880 where OpenVMS gets confused about the '.' characters. (This used to be commit 7f161702fa4916979602cc0295919b541912acd6)
* Remove unused variable.Volker Lendecke2004-02-241-1/+0
| | | | | Volker (This used to be commit eece7ff000a9589d56130e93a6105ad1052e9a14)
* 'net idmap restore' is too useful to be left broken :-)Volker Lendecke2004-02-241-1/+105
| | | | | | | Set the HWM values correctly after having manipulated the tdb. Volker (This used to be commit b1eba2188b1be183f37219a722903adc14b91369)
* Another round of uid/gid/pid format string changes I missed theTim Potter2003-07-221-2/+3
| | | | | first time. (This used to be commit 6616485dbad74dab7506609c6bfd183fc9c1f93c)
* Fixup a bunch of printf-style functions and debugs to use unsigned long whenTim Potter2003-07-221-0/+4
| | | | | | | displaying pid_t, uid_t and gid_t values. This removes a whole lot of warnings on some of the 64-bit build farm machines as well as help us out when 64-bit uid/gid/pid values come along. (This used to be commit f93528ba007c8800a850678f35f499fb7360fb9a)
* Some const correctness. Stop tdb being used as a remote backend. If anJeremy Allison2003-06-271-1/+1
| | | | | | | | idmap backend is specified cause smbd to ask winbindd (use winbindd if you want a consistant remote backend solution). Should work well enough for next beta now... Jeremy. (This used to be commit 8f830c509af5976d988a30f0b0aee4ec61dd97a3)
* This removes the StrCaseCmp() stuff from 'net idmap' and 'netAndrew Bartlett2003-06-211-0/+156
groupmap'. The correct way to implement this stuff is via a function table, as exampled in all the other parts of 'net'. This also moves the idmap code into a new file. Volker, is this your code? You might want to put your name on it. Andrew Bartlett (This used to be commit 477f2d9e390bb18d4f08d1cac9c981b73d628c4f)