summaryrefslogtreecommitdiffstats
path: root/source/utils/net_idmap.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* r11155: Remove warning in torturous logic.Jeremy Allison2007-10-101-5/+15
| | | | Jeremy.
* 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.
* r4972: Fix a warning and some debugging-outputs.Günther Deschner2007-10-101-1/+1
| | | | Guenther
* 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
* 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.
* 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.
* Remove unused variable.Volker Lendecke2004-02-241-1/+0
| | | | Volker
* '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
* Another round of uid/gid/pid format string changes I missed theTim Potter2003-07-221-2/+3
| | | | first time.
* 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.
* 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 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