s3/s4:libcli/tstream - add more "char *" casts in order to suppress Solaris warnings
[samba.git] / source3 / winbindd / idmap_rid.c
index b0beb271ad9d2198035a23857c6b57a826ad1cc0..982c4fde69c9b515adb165e7da0e178abb0c0b0b 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "includes.h"
 #include "winbindd.h"
+#include "idmap.h"
 
 #undef DBGC_CLASS
 #define DBGC_CLASS DBGC_IDMAP
@@ -118,10 +119,6 @@ static NTSTATUS idmap_rid_sid_to_id(struct idmap_domain *dom, struct id_map *map
                return NT_STATUS_NONE_MAPPED;
        }
 
-       /* We **really** should have some way of validating 
-          the SID exists and is the correct type here.  But 
-          that is a deficiency in the idmap_rid design. */
-
        map->status = ID_MAPPED;
 
        return NT_STATUS_OK;